Linux Mint - Free and powerful

Monday, 20 August 2012

So you have installed AT&T VPN and now you can't browse without being connected

So much to moan about and so little time.

Everything works great. You install the AT&T VPN dialer and now you can not connect to the internet without starting the vpn.

Check resolv.conf
Sudo apt-get install medit
medit /etc/reolv.conf &
What a mess.







-----------------------------------------

#@NETVPN_GENERATED@ -- this file is generated by NetVPN
# and will be overwritten by NetVPN
# as long as the above mark is intact
nameserver 9.0.148.50
nameserver 9.0.146.50

nameserver 9.0.146.50
...

search ibm.com notes.ibm.com ibm.com notes.ibm.com ... ibm.com
options ndots:2
search ibm.com
...
------------------------------------------


Make a safe copy and edit and add your name server.

nameserver 192.168.0.1

Start AT&T VPN


/etc/init.d/agnclientd stop
/etc/init.d/agnclientd start

The new resolv.conf. Still messy but it works now.

------------------------------------------


#@NETVPN_GENERATED@ -- this file is generated by NetVPN
# and will be overwritten by NetVPN
# as long as the above mark is intact
nameserver 9.0.148.50
nameserver 9.0.146.50
nameserver 192.168.0.1
search ibm.com
options ndots:2
------------------------------------------




2 comments :

  1. There square measure scores of totally different LINUX VPN server packages obtainable on the web these days. Initially look this would possibly really sound sort of a sensible factor. With lots of various software packages to choose from, one would possibly suppose that it makes putting in your own VPN abundant easier or higher. However, the reality is it really makes it a euphemism of lots harder and confusing. LINUX may be a extremely popular operating system for servers, and if you’re trying to line up a VPN of your own that runs one among the numerous variations of the operating system obtainable these days, then I powerfully suggest that you simply Visit Linux vpn Website

    ReplyDelete
  2. Hello,
    Every time that I connect to the VPN I have to add manually a line in the resolv.conf file:
    "search ibm.com"
    Can I do in order to get this line automatically when I get connected to the VPN? Thanks in advance!

    ReplyDelete

Thank you for taking the time to comment. Your opinion is important and of value and we appreciate the positive feedback! If you are "Negative Nancy" then please do us, and humanity, a favor, and piss off.

Total Pageviews

Google+ Followers

Pages

Blog Archive

Popular Posts

Recent Comments

Rays Twitter feed

Ads

Web sites come and go and information is lost and therefore some pages are archived. @rayd123. Powered by Blogger.