LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 01-11-2004, 08:45 AM   #1
saurya_s
Member
 
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Rep: Reputation: 30
Resolv.conf problem


Hi guys
I have got linux on my laptop. I connect to LAN at work and when I bring it to home I use dialup.
Now, when I come to home, the dial up doesn't wok unless I remove the resolv.conf while which had DNS of my LAN. Actually, it connects to the ISP but webpages etc are not dispalyed unless i remove it.
Though it works perfectly at work ,probably because of DHCP.

Can I make it to work with dialup without removing resolv.conf of lan. I did try to put the DNS entry of dialup and LAN in resolv.conf but the problem still exists. I would like something as easy as Mac or Win whereby it detects LAN automatically, while it does the dialup when at home without playing with resolv.conf.
Thanks
SS
 
Old 01-11-2004, 11:26 AM   #2
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
I dont think there is any need to remove resolv.conf every time u want to connect using dial up...

You should instead de-activate the eth0 interface ...on the console, as root, give

ifdown eth0

OR

from the Network Device Control dialog (if its there in Mandrake), deactivate interface eth0...

You can use dial up then...and whenever u want to restore eth0 say

service network restart OR
ifup eth0

Hope that works for you...

Regards,

amit
 
Old 01-11-2004, 12:41 PM   #3
saurya_s
Member
 
Registered: Nov 2003
Location: Oxford
Distribution: Mandrake
Posts: 158

Original Poster
Rep: Reputation: 30
Thanks Amit
Will try that! BTW where are u in delhi? Delhi is my hometown, I am just doing research here at Oxford Univ.
Cheeres
 
Old 01-11-2004, 12:53 PM   #4
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Well...ya...I am in New Delhi and its my hometown too....its good to hear that you're into research stuff....would be nice if u would tell something more abt urself and what stuff u r into.....

Regards,

amit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with resolv.conf divdude Linux - Networking 6 08-01-2005 09:43 PM
problem with resolv.conf file romel Linux - Networking 1 07-23-2004 11:49 AM
resolv.conf?? wrat Linux - Newbie 3 06-14-2004 04:37 PM
/etc/resolv.conf problem I guess...... cvlinux Linux - Networking 3 09-13-2001 03:46 PM
resolv.conf SCSI problem Rutnut Linux - Newbie 1 12-22-2000 08:22 AM


All times are GMT -5. The time now is 10:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration