Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-18-2005, 09:05 PM
|
#1
|
|
Member
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230
Rep:
|
Connect to vpn server, no DNS specified
Every once in a while, i connect to my schools VPN network to access data. I use vpnc to connect. Everything works ok, except that as soon as i connect to the VPN, i lose my DNS server....so i cant ping www.google.com or go to www.google.com, but i can go to http://216.239.37.99 and i can ping 216.239.37.99......basiclly, i need to know how to specify a DNS server after i connect..
|
|
|
|
12-19-2005, 04:28 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,711
|
if you're just resetting your default route to go down the vpn, just add the dns servers to your /etc/resolv.conf permanently along with your normal ones... afaik vpnc won't overwrite any. personally though i'd recommened configuring vpnc to NOT change your default route, instaed only make it route the individual netowrks you ned and keep your internet traffic going the same way as before. the newer versions of vpnc come with an example wrapper script vpnc-script or something, into with you can define some variables to show what specific subnets to route. if you define none, it will suck everything into it.
|
|
|
|
12-19-2005, 08:08 PM
|
#3
|
|
Member
Registered: Jun 2004
Location: new jersey
Distribution: anything debian based, long live apt-get
Posts: 230
Original Poster
Rep:
|
editing the vpnc-script did the trick...my vpnc client was old and didnt come with a script by default, upgrading the package created the emaple script and i was able to get it all working, thank you.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:39 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|