LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-07-2008, 08:51 AM   #1
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Rep: Reputation: 33
Dhcpcd rebooting router upon startup


I recently obtained a dsl connection for my home, and am using Dropline Gnome 2.20 with Slackware 12. I have enabled NetworkManager for this system. Now, each time I start up my machine, when it gets to where it attempts to obtain an IP address with dhcpcd, this process appears to hang for a long period of time, and then appears to reboot my router in the process. After it finally gets past this point, the message displayed is that it has obtained an IP address from the router, but when I then log into the router, the IP address for the machine is different. For example, the message reported from dhcpcd reports that my IP address is 192.168.1.47, but when I check this in the router it is 192.168.1.46. I am relatively new to setting up a high-speed connection, coming from years of dial-up. Any help is much appreciated. Thank you.

In addition, the router is set up as a DHCP server. The model is a Westell 327W which is from Verizon. I also experienced this problem with my OpenSuSE 10.2 machine as well.

Last edited by swampdog2002; 01-07-2008 at 08:56 AM.
 
Old 01-09-2008, 02:16 AM   #2
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
If a DHCP query is rebooting your router, it's a safe bet that it's time to replace the router. ISC's dhclient doesn't do anything fancy when it makes it's query, and that's what dhcdbd is calling to get an IP.
 
Old 01-09-2008, 07:47 AM   #3
swampdog2002
Member
 
Registered: Jul 2005
Distribution: Slackware 12.2, 13.0, openSUSE 11.2
Posts: 400

Original Poster
Rep: Reputation: 33
The router is brand new, and I don't have this problem otherwise. It's strange that I have NetworkManager now enabled on an openSuSE 10.3 computer and this does not appear to happen. It doesn't really matter to me, as I can utilize the network w/o the use of NetworkManager on Slackware. I was just curious as to why this behavior occurs.
 
Old 01-09-2008, 08:23 PM   #4
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
instead of running dhcpcd eth0 try running dhclient eth0.

I know this doesn't make much sense ,but many times I have seen dhclient solve a few problems caused by dhcpcd.
 
Old 01-10-2008, 06:01 AM   #5
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Yo, pay attention.

He's using NetworkManager, which calls dhcdbd to do the work of handling leases, which in turn calls ISC's dhclient. NetworkManager does not nor can it invoke dhcpcd. I know there's a bit of alphabet soup going on here, but the details are important.

Before someone can even go "there", dhclient doesn't do anything particularly out of the ordinary (or differently from dhcpcd) when it makes it's query. Fire up tcpdump and check if you like. DHCP messages are blessedly short and easy to figure out when you're looking at the raw packet.

Last edited by evilDagmar; 01-10-2008 at 06:03 AM.
 
  


Reply



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
dhcpcd at startup blueAlien Linux - Software 1 01-01-2006 05:59 AM
k(g)dm won't start when dhcpcd happens during startup ricalicious Linux - Software 0 01-27-2005 11:02 PM
Adding dhcpcd to startup? drache777 Linux - Newbie 6 01-18-2005 08:44 PM
NIC - dhcpcd trouble on startup tw001_tw Slackware 7 07-30-2004 06:01 PM
Dhcpcd at startup dr_van_nostrand Linux - Networking 4 04-15-2003 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration