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 |
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 |
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 |
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 |
All times are GMT -5. The time now is 06:25 AM. |