Professional Web Applications Themes

DHCP-Problem with new kernel - Linux Setup, Configuration & Administration

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 ...

  1. #1

    Default DHCP-Problem with new kernel

    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 Guest

  2. #2

    Default Re: DHCP-Problem with new kernel

    Robert Bamler <de> wrote in message news:<online.de>... 
    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.
     

    mfg erri
    Erwin Guest

  3. #3

    Default Re: DHCP-Problem with new kernel

    Hello,
     

    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
    Robert Guest

Similar Threads

  1. Newbie DHCP Problem AIX 5.1
    By Jeff I in forum AIX
    Replies: 2
    Last Post: August 13th, 01:25 AM
  2. Kernel problem
    By David in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: August 8th, 04:49 PM
  3. Kernel module 'mga_vid' problem / XV problem
    By Jakob Sandholm in forum Debian
    Replies: 2
    Last Post: July 12th, 10:00 PM
  4. wierd problem with DHCP
    By Matt DuBois [MSFT] in forum Windows Networking
    Replies: 0
    Last Post: July 8th, 12:23 AM
  5. DHCP problem?
    By Iain Firkins in forum Sun Solaris
    Replies: 1
    Last Post: July 7th, 09:10 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139