I'm having a problem acquiring an ip address from my netgear broadband router. My windows boxes and my print server have no problems acquiring an IP address through dhcp, so I know its not the router. When configuring eth0 with DHCP in YAST all is well and I receive an IP address from my router. However during boot up I receive a "dhcp failed" error message, during the configuring eth0 dhcp phase. Not really sure what to do here. I'm usually OK if one of the other clients on my network doesn't grab the IP address of my linux box. If for instance, the power on the router goes off, all my clients receive new IPs and I must reconfigure eth0 with DHCP through YAST to get an IP from the router. Here is the boot log error message: eth0 (DHCP) <notice>startproc: execve (/sbin/dhcpcd) [ /sbin/dhcpcd -D -N -t 999999 -B -h linux eth0 ], [ CONSOLE=/dev/console TERM=linux SHELL=/ bin/sh OLDPWD=/etc/sysconfig/network progress=18 INIT_VERSION=sysvinit-2.82 RUN_FROM_RC=yes REDIRECT=/dev/tty1 COLUMNS=118 PATH=/sbin:/usr/sbin:/bin:/ usr/bin:/etc/sysconfig/network/scripts vga=0x317 RUNLEVEL=5 PWD=/etc/ sysconfig/network PREVLEVEL=N LINES=38 HOME=/ SHLVL=4 splash=silent sscripts=39 _=/sbin/startproc DAEMON=/sbin/dhcpcd ] <notice>pidofproc: dhcpcd 885 failed <notice>exit status of (network) is (0) Any help would be greatly appreciated. Thanks, Rodney
On Saturday 03 Apr 2004 21:05 pm, Rodney Wishart wrote:
I'm having a problem acquiring an ip address from my netgear broadband router.<SNIP> Here is the boot log error message:
eth0 (DHCP) <notice>startproc: execve (/sbin/dhcpcd) [ /sbin/dhcpcd -D -N -t 999999 -B -h linux eth0 ], [ CONSOLE=/dev/console TERM=linux SHELL=/ bin/sh OLDPWD=/etc/sysconfig/network progress=18 INIT_VERSION=sysvinit-2.82 RUN_FROM_RC=yes REDIRECT=/dev/tty1 COLUMNS=118 PATH=/sbin:/usr/sbin:/bin:/ usr/bin:/etc/sysconfig/network/scripts vga=0x317 RUNLEVEL=5 PWD=/etc/ sysconfig/network PREVLEVEL=N LINES=38 HOME=/ SHLVL=4 splash=silent sscripts=39 _=/sbin/startproc DAEMON=/sbin/dhcpcd ] <notice>pidofproc: dhcpcd 885 failed <notice>exit status of (network) is (0)
Any help would be greatly appreciated.
You could try using dhclient instead - it's on the installation set. Just remove dhcpcd and install dhclient should do it. HTH Dylan
Thanks, Rodney
-- "I see your Schwartz is as big as mine" -Big Helmet
On Saturday 03 April 2004 22:08, Dylan wrote:
On Saturday 03 Apr 2004 21:05 pm, Rodney Wishart wrote:
I'm having a problem acquiring an ip address from my netgear broadband router.<SNIP> Here is the boot log error message:
Hmm.. I think there was someone who reported that the Suse DHCP client (dhcpcd) was requesting an inifinite lease, which made it go haywire - on someone's corprorate DHCP server..something like that. He made the dhcpcd request a shorter lease time - and it worked. Myself: II had some kind of problem too with a Dlink at home, my Suse box just wouldn't get an adress, well, I just decided to change the environment parameters slightly, just to be done with it. Instead of having the Suse PC just get an address from the Dlinks default private scope, I told DLink to fix an IP address by registering the box's MAC. to it. -- just to change the parameters a bit. Worked fine after that. jk -- Suse Linux 9.0 | 2.4.21-166-smp4G | KDE 3.1.4 | XFree86 v4.3.0.1
On Sat, Apr 03, 2004 at 03:05:40PM -0500, Rodney Wishart wrote:
I'm having a problem acquiring an ip address from my netgear broadband router. My windows boxes and my print server have no problems acquiring an IP address through dhcp, so I know its not the router. When configuring eth0 with DHCP in YAST all is well and I receive an IP address from my router. However during boot up I receive a "dhcp failed" error message, during the configuring eth0 dhcp phase. Not really sure what to do here. I'm usually OK if one of the other clients on my network doesn't grab the IP address of my linux box. If for instance, the power on the router goes off, all my clients receive new IPs and I must reconfigure eth0 with DHCP through YAST to get an IP from the router. Here is the boot log error message:
eth0 (DHCP) <notice>startproc: execve (/sbin/dhcpcd) [ /sbin/dhcpcd -D -N -t 999999 -B -h linux eth0 ], [ CONSOLE=/dev/console TERM=linux SHELL=/ bin/sh OLDPWD=/etc/sysconfig/network progress=18 INIT_VERSION=sysvinit-2.82 RUN_FROM_RC=yes REDIRECT=/dev/tty1 COLUMNS=118 PATH=/sbin:/usr/sbin:/bin:/ usr/bin:/etc/sysconfig/network/scripts vga=0x317 RUNLEVEL=5 PWD=/etc/ sysconfig/network PREVLEVEL=N LINES=38 HOME=/ SHLVL=4 splash=silent sscripts=39 _=/sbin/startproc DAEMON=/sbin/dhcpcd ] <notice>pidofproc: dhcpcd 885 failed <notice>exit status of (network) is (0)
Any help would be greatly appreciated.
Don't worry, it is a cosmetical problem. Your router gives you a lease that is valid infinitely. Fixed in 9.1. If your router (i.e. DHCP server doesn't store leases over power cycles, it is quite sad and there is nothing that SUSE Linux can do about it. Peter
participants (4)
-
Dylan
-
Jaan Kold
-
poeml@cmdline.net
-
Rodney Wishart