Hi,
When booting Mandriva LE 2005, dhclient is unable to get an IP address for my computer. Strangely, after the computer has finished booting, I can run manually
and it gets an IP address without problems and within 5 seconds. What should I do to get an IP address during booting?
Relevant output is posted below. There is a wlan card at ra0 and an (unconnected) Ethernet card at eth0.
Thanks for any suggestions!
dj
Relevant output of /var/log/messages:
----------------------------------------------
ifup: Determining IP information for ra0...
dhclient: sit0: unknown hardware address type 776
dhclient: sit0: unknown hardware address type 776
dhclient: DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 6
dhclient: DHCPDISCOVER on ra0 to 255.255.255.255 port 67 interval 5
dhclient: No DHCPOFFERS received.
ifup: failed.
network: Bringing up interface ra0: failed
Output of $sudo dhclient:
-------------------------------
sit0: unknown hardware address type 776
/sbin/dhclient-script: configuration for sit0 not found
sit0: unknown hardware address type 776
Listening on LPF/sit0/
Sending on LPF/sit0/
Listening on LPF/ra0/00:38:47:07:a0:75
Sending on LPF/ra0/00:38:47:07:a0:75
Listening on LPF/eth0/00:06:e9:37:98:58
Sending on LPF/eth0/00:06:e9:37:98:58
Listening on LPF/lo/
Sending on LPF/lo/
Sending on Socket/fallback
DHCPDISCOVER on sit0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 7
DHCPREQUEST on ra0 to 255.255.255.255 port 67
DHCPACK from 10.0.0.138
bound to 10.0.0.166 -- renewal in 2911 seconds.
Contents of /etc/sysconfig/network-scripts/ifcfg-ra0:
--------------------------------------------------------------
DEVICE=ra0
BOOTPROTO=dhcp
ONBOOT=yes
METRIC=10
MII_NOT_SUPPORTED=no
USERCTL=yes
WIRELESS_MODE=Managed
WIRELESS_ESSID=Mywlan
WIRELESS_ENC_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXX
DHCP_CLIENT=dhclient
NEEDHOSTNAME=no
PEERDNS=no
PEERYP=no
PEERNTPD=no
DHCP_TIMEOUT=20