Find the answer to your Linux question:
Results 1 to 4 of 4
Slackware 9.1, desktop - no server stuff running. dhcpcd cable connection. it seems so simple. For reasons I won't explain I decided to activate rc.bind in /etc/rc.d. upon rebooting, dhcpcd ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2004
    Location
    Belgium
    Posts
    3

    DHCP client now runs off eth1 instead of eth0


    Slackware 9.1, desktop - no server stuff running. dhcpcd cable connection.

    it seems so simple. For reasons I won't explain I decided to activate rc.bind in /etc/rc.d.

    upon rebooting, dhcpcd did not start automatically anymore from rc.inet1.

    To fix this this I deactivated rc.bind - no difference.

    I restored rc.inet1 from a backup because it seemed to me that maybe it had been changed.

    Now start up is normal, except that when it tries to start eth0, says it can't - no such device, and then goes on to start up with eth1 later on in the script.

    I would like to have eth0 back simply in order to get rid of the error message regaring eth0 - but I would also love to hear an explanation of what had happened to cause this change.

    Has anyone an idea?

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    well i'd assume you have two NIC's installed on your box?

  3. #3
    Just Joined!
    Join Date
    Sep 2004
    Location
    Belgium
    Posts
    3

    mis-reporting problem

    No, I have just the one nic.

    This is embarrasing - i jumped to a conclusion.

    The problem is not as stated, but in fact it tries to find eth0, does not find it, and then later in the script it does find it.

    Sorry for the confusion - the problem being I cannot see this in the logs so I have to "capture" it quickly off the console screen before I do any other work.

    Here is a copy of what appears on the screen:
    • INIT: Entering runlevel: 3
      Going multiuser...
      Attempting to configure eth0 by contacting a DHCP server...
      dhcpcd[53]: dhcpStart: ioctl SIOCGIFHWADDR: No such device

      usb.c: registered new driver usbdevfs
      usb.c: registered new driver hub
      uhci.c: USB Universal Host Controller Interface driver v1.1
      PCI: Found IRQ 11 for device 00:14.2
      uhci.c: USB UHCI at I/O 0x1000, IRQ 11
      usb.c: new USB bus registered, assigned bus number 1
      usb.c: registered new driver hub
      uhci.c: USB Universal Host Controller Interface driver v1.1
      PCI: Found IRQ 11 for device 00:14.2
      uhci.c: USB UHCI at I/O 0x1000, IRQ 11
      usb.c: new USB bus registered, assigned bus number 1
      hub.c: USB hub found
      hub.c: 2 ports detected
      ThunderLAN driver v1.15
      PCI: Found IRQ 11 for device 00:10.0
      TLAN: eth0 irq=11, io=1020, Compaq Netelligent 10/100 TX Embedded UTP, Rev. 16
      TLAN: 1 device installed, PCI: 1 EISA: 0
      dhcpcd[147]: broadcasting DHCP_REQUEST for xxx.xx.xxx.xx


    At the beginning you can see it looking for eth0:

    Attempting to configure eth0 by contacting a DHCP server...
    dhcpcd[53]: dhcpStart: ioctl SIOCGIFHWADDR: No such device



    and then later it tries again and succeeds.


    • PCI: Found IRQ 11 for device 00:10.0
      TLAN: eth0 irq=11, io=1020, Compaq Netelligent 10/100 TX Embedded UTP, Rev. 16
      TLAN: 1 device installed, PCI: 1 EISA: 0



    I find it very difficult to read the script and see how it is doing this, but since the scripts are pretty much standard, I hope someone may be familiar with this.

    there seems to be some sort of loop which I can't see.


    Sorry again for misreporting the problem.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    there seems to be a problem with linux fetching the device.
    is there any firmware required by this card that you haven't installed?

Posting Permissions

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