Can not get DHCP client lease on startup
Okay I have been having this problem for a while when I boot up I do not get an ip address from my router. When I initially updated my kernel to 2.4.25 my dhcp lease would no longer start on startup, it had been on the kernel that came with the initial install. It is not kernel parameters however since I now just run pump and get my lease, however I would like to be able to automaticly get a lease when I start up my computer. While booting the following is outputted:
eth0: VIA VT6102 Rhine-II at 0xe000, 00:50:8d:54:8e:f5, IRQ 23.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
and then after running pump I get the output of:
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
if I run ifconfig before pump I get:
eth0 Link encap:Ethernet HWaddr 00:50:8D:54:8E:F5
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:483 (483.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1944 (1.8 KiB) TX bytes:1944 (1.8 KiB)
and then after running pump ifconfig outputs:
eth0 Link encap:Ethernet HWaddr 00:50:8D:54:8E:F5
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2321 errors:0 dropped:0 overruns:0 frame:0
TX packets:2272 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1486417 (1.4 MiB) TX bytes:416716 (406.9 KiB)
Interrupt:23 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:28 errors:0 dropped:0 overruns:0 frame:0
TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1944 (1.8 KiB) TX bytes:1944 (1.8 KiB)
however when I recently updated to 2.6.6 I now get an output line I never got before when running dhclient:
Unrecognized kernel version
So I decided to run strace -eopen dhclient to see what file I might be able to change to get it to work, that outputs:
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
open("/lib/libncurses.so.5", O_RDONLY) = 3
open("/lib/tls/libdl.so.2", O_RDONLY) = 3
open("/lib/tls/libc.so.6", O_RDONLY) = 3
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
open("/etc/mtab", O_RDONLY) = 3
open("/proc/meminfo", O_RDONLY) = 3
open("/sbin/dhclient", O_RDONLY|O_LARGEFILE) = 3
--- SIGCHLD (Child exited) @ 0 (0) ---
Unrecognized kernel version
oh and my /etc/network/interfaces file has not been changed since the one that works. I really don't know what to do so any help would be much appreciated.
Thanks in advance,
tucker
|