VPN error at last week's SIG

Discussion in 'Linux' started by jimkd1yv, May 26, 2015.

  1. jimkd1yv

    jimkd1yv Well-Known Member

    Jul 6, 2010
    Likes Received:
    At the Linux SIG, I was demonstrating my forays into the VPN world, but encountered problems with a stable connection.  After the meeting, researched it and found why.

    At the Resource Center, the first WiFi connection my laptop made automatically was to a Comcast hotspot (presumably one of the other residents of the building).  It turns out that when Comcast makes such a connection, it updates the DNS entries on my laptop, which are held in /etc/resolv.conf . Even after I reset these back to to those given me by my VPN provider, Comcast again overwrote them with their own DNS.  This file was already write protected to only root, but still was updated.

    Ever the loyal friend, Google pointed me to a page that said after I made the updates to the file, to perform chattr -i /etc/resolv.conf .  This successfully locked it so that Comcast and other unscrupulous ISPs cannot override.  Following that, my VPN worked exactly as it shoud.


Share This Page