Emerge updated dhcp and now I can't get online [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Re: Emerge updated dhcp and now I can't get online [Solved]

Postby Rhywden » Mon Sep 17, 2007 14:50

Okay, one part of the problem seems to have been the router. I exchanged the thing and suddenly my Laptop gets a valid IP adress via DHCP (Windows XP didn't have any problems right from the start, by the way).

However, the DHCP client does not set DNS-server adresses, thus forcing me to use net-setup once again.

Extremely annoying.
Rhywden
Baby Hen
 
Posts: 7
Joined: Fri Aug 31, 2007 19:21

Re: Emerge updated dhcp and now I can't get online [Solved]

Postby Rhywden » Mon Sep 17, 2007 15:14

Okay, it gets weirder still. I just looked into /etc/resolv.conf and 'lo and behold! The proper IP-adresses for my DNS-servers were all there.

Shame that they're not used for some weird reason. If I use the exact same settings with net-setup, everything runs fine.
Rhywden
Baby Hen
 
Posts: 7
Joined: Fri Aug 31, 2007 19:21

Re: Emerge updated dhcp and now I can't get online [Solved]

Postby j7uy5 » Mon Sep 24, 2007 5:11

Look in the directory /usr/portage/net-misc/dhcp. Find the lowest ebuild there, for example dhcp-3.0.3-r9, they type

Code: Select all
emerge =net-misc/dhcp-3.0.3-r9


The files needed to rebuild the lower version should still be on your drive, so it should work even if you have no internet connection.

If you do have a connection, but want to revert to an older version so that the connection does not have to be configured manually each time, you can still use that syntax to specify installation of a lower version.
j7uy5
Simple Hen
 
Posts: 85
Joined: Tue Nov 07, 2006 4:03
Location: Las Cruces, New Mexico, USA

Re: Emerge updated dhcp and now I can't get online [Solved]

Postby Rhywden » Thu Oct 04, 2007 14:10

I found the source of the problem:

NetworkManager adds this line to /etc/resolv.conf:

Code: Select all
search rbw.wh.local


If I comment this line, everything works fine. The funny thing is: The LiveCD does work, every other Linux distribution I tried doesn't care about this line as well and Windows has no problems either...
Rhywden
Baby Hen
 
Posts: 7
Joined: Fri Aug 31, 2007 19:21

Re: Emerge updated dhcp and now I can't get online [Solved]

Postby sparehead1 » Mon Oct 22, 2007 8:22

Rhywden wrote:I found the source of the problem:

NetworkManager adds this line to /etc/resolv.conf:

Code: Select all
search rbw.wh.local


If I comment this line, everything works fine. The funny thing is: The LiveCD does work, every other Linux distribution I tried doesn't care about this line as well and Windows has no problems either...


same problem with my works DHCP, solved the same way.
sparehead1
Baby Hen
 
Posts: 1
Joined: Mon Oct 22, 2007 8:17

Previous

Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 2 guests

cron