This is a discussion on DHCP-Problem with new kernel within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hello, I hope you can help me with a problem concerning a new kernel I built on Debian woody. ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I hope you can help me with a problem concerning a new kernel I built on Debian woody. I can connect to my broadband router (Allied Telesyn) with my onboard network card (VIA Rhine II Fast Ethernet Adapter) when booting with the kernel that came with Debian. Then I compiled and set up a new kernel and I tried to use the same options as the Debian developers chose. For this reason I copied the file /boot/config-2.2.20-idepci to /usr/linux/.config (the directory where I compiled my kernel). However, I had to make some changes in the IDE-section in order to get linux mount the root file system (Thanks again to the people in this group that helped me doing this). But when I now boot with the new kernel, I cannot access to the internet. I get the following on startup: ------------------------- Running 0dns-down to make sure resolv.conf is ok...done. Cleaning: /etc/network/ifstate. Setting up IP spoofing protection: rp_filter. Configuring network interfaces... Internet Software Consortium DHCP Client 2.0pl5 opyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html Listening on LPF/eth0/00:e0:4c:95:7b:4d Sending on LPF/eth0/00:e0:4c:95:7b:4d Sending on Socket/fallback/fallback-net DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 No DHCPOFFERS received. Trying recorded lease 192.168.1.12 PING 192.168.1.1 (192.168.1.1): 56 data bytes --- 192.168.1.1 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss bound: renewal in 1073741011 seconds. ------------------------- As a reference, I normally get this: ------------------------- Running 0dns-down to make sure resolv.conf is ok...done. Cleaning: /etc/network/ifstate. Setting up IP spoofing protection: rp_filter. Configuring network interfaces... Internet Software Consortium DHCP Client 2.0pl5 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html Listening on LPF/eth0/00:e0:4c:95:7b:4d Sending on LPF/eth0/00:e0:4c:95:7b:4d Sending on Socket/fallback/fallback-net DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 192.168.1.1 bound to 192.168.1.12 -- renewal in 1073741823 seconds. ------------------------- Running ifconfig directly after the failing DHCP-connect, I get: 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:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:112 (112.0 b) TX bytes:112 (112.0 b) Instead of (what I get with the kernel that came with Debian): eth0 Link encap:Ethernet HWaddr 00:E0:4C:95:7B:4D inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1 errors:0 dropped:0 overruns:0 frame:0 TX packets:1 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:328 (328.0 b) TX bytes:342 (342.0 b) Interrupt:11 Base address:0xe800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:3924 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) I am using KDE as default and when I switch to tty1 with Ctrl+Alt+F1 I continuously get: eth0: Setting full-duplex based on MII #1 link partner capability of 45e1. NETDEV WATCHDOG: eth0: transmit timed out eth0:Transmit timed out, status 0003, PHY status 786d, resetting... eth0: Setting full-duplex based on MII #1 link partner capability of 45e1. NETDEV WATCHDOG: eth0: transmit timed out eth0:Transmit timed out, status 0003, PHY status 786d, resetting... [...] But I don't have CONFIG_WATCHDOG set in the kernel configuration. I cannot stop these messages with Ctrl+C unless I pull out the ethernet cable from my networking card. I have already tried to fix this problem with ifconfig, route and dhclient, but I had no success. I can configure the network with ifconfig so that ping 192.168.1.1 (the address of my router) works, but I cannot connect to the DHCP server with dhclient. It would be great if you could help me with this problem. I am new to linux and I don't know much about networking, so I am a bit confused with this messages. Thanks a lot, Robert |
| |||
| Robert Bamler <robert.bamler@gmx.de> wrote in message news:<oprxf9vzf9suegem@news.online.de>... > Hello, > Hi, got the same messages (and a not working nic) after an update to kernel 2.4.20. The onboard via rhine (6105M chip) and a rtl 8139 pci nic did not work. Resolved it by adding "acpi=off" to the boot parameters. Try to add this to your lilo or grub config file or enter it at the lilo boot promt. > > Thanks a lot, > Robert mfg erri |
| ||||
| Hello, > Resolved it by adding "acpi=off" > to the boot parameters. > > Try to add this to your lilo or grub config file or enter it at > the lilo boot promt. Thank you very much for your help. I added 'append="acpi=off"' to the appropriate section of my lilo.conf, run lilo afterwards and it worked! (if you can read this message, it really worked ;-) It also works without adding the 'append'-line to lilo.conf but disabling ACPI in the kernel-configuration. As I wish to have both an internet connection and ACPI I'll try to play with the kernel-configurations and send my results in a reply to this message to let future googlers know about it. Thanks again, Robert |