Gustav Haraldsson
April 15th, 2005, 09:26 PM
I just installed Ubuntu hoary 5.04-amd64 and im having some DHCP problems, im connected via my ISP with a DHCP. Works great in windows, but when i try e.g dhclient it tries to send DHCP request but without any luck (see dhclient output below). Now i can see my netcard trying to send out the DHCP request (via lights each time DHCPDISCOVER is sent). So the hardware is responding.
dhclient output
machine@ubuntu:~$ sudo dhclient eth0
Password:
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/xx:xx:xx:xx:xxf:xx
Sending on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping
Ifconfig output :
machine@ubuntu:~$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:A1:25:9F:C7
inet6 addr: some::crazy::IPv6::address:xxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:59 errors:0 dropped:0 overruns:0 frame:0
TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9015 (8.8 KiB) TX bytes:8226 (8.0 KiB)
Interrupt:17 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1033 errors:0 dropped:0 overruns:0 frame:0
TX packets:1033 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:89221 (87.1 KiB) TX bytes:89221 (87.1 KiB)
Netstat outcome
machine@ubuntu:~$ /bin/netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
Dmesg gives some crazy results :
eth%d: -- ERROR --
Class : Internal Software error
Nr: 0x2bd
msg: TWSI : transfer does not exists.
Mii-tool says : SIOCGMIIPHY on 'eth0' failed: Operation not supported.
My system ran fine before on fedora Core 2
My dhclient.conf is fine.
Each time i try dhclient my dmesg shows some fun results eth0: no IPv6 router present. Could it be that IPv6 is screwing it up, that it is actually just trying to connect with IPv6 instead of IPv4 ?
I've tried basicly everything, but i think the problem lies deeper then just us user stupidity because on the boards u can find variety of simular DHCP problems.
Well i hope someone has a good solution.
With Regards,
Gustav Haraldsson
dhclient output
machine@ubuntu:~$ sudo dhclient eth0
Password:
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/xx:xx:xx:xx:xxf:xx
Sending on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
No DHCPOFFERS received.
No working leases in persistent database - sleeping
Ifconfig output :
machine@ubuntu:~$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:A1:25:9F:C7
inet6 addr: some::crazy::IPv6::address:xxx/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:59 errors:0 dropped:0 overruns:0 frame:0
TX packets:95 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9015 (8.8 KiB) TX bytes:8226 (8.0 KiB)
Interrupt:17 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1033 errors:0 dropped:0 overruns:0 frame:0
TX packets:1033 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:89221 (87.1 KiB) TX bytes:89221 (87.1 KiB)
Netstat outcome
machine@ubuntu:~$ /bin/netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt
Iface
Dmesg gives some crazy results :
eth%d: -- ERROR --
Class : Internal Software error
Nr: 0x2bd
msg: TWSI : transfer does not exists.
Mii-tool says : SIOCGMIIPHY on 'eth0' failed: Operation not supported.
My system ran fine before on fedora Core 2
My dhclient.conf is fine.
Each time i try dhclient my dmesg shows some fun results eth0: no IPv6 router present. Could it be that IPv6 is screwing it up, that it is actually just trying to connect with IPv6 instead of IPv4 ?
I've tried basicly everything, but i think the problem lies deeper then just us user stupidity because on the boards u can find variety of simular DHCP problems.
Well i hope someone has a good solution.
With Regards,
Gustav Haraldsson