Stuck at "eth0: waiting for carrier" on boot on -current
Whenever I boot up my laptop, I get stuck at
Code:
eth0: waiting for carrier Code:
wpa_supplicant -iwlan0 -B -c/etc/wpa_supplicant.conf Code:
dhcpcd /etc/rc.d/rc.inet1.conf: Code:
# Config information for eth0: |
Quote:
Terminated means there is a terminator PLUG into the eth0 port, so that it will echo probes TO that port. And then fill in the fields for wlan0 in that config. I do not have any, so cannot tell you how. Anyway, that is different on each system. |
Here's the answer to your question
Hi. I'm going to help you (I hope)
In order to avoid getting stuck at boot time trying to connect through Ethernet do the following step(s): Edit the file /etc/rc.d/rc.inet1.conf > Just comment out the lines that were enabled to connect through Ethernet during your Slackware installation. Just like this: Code:
# Config information for eth0: NOW! In order to connect to a wireless network using wpa_supplicant during boot time you need to follow this/these step(s): Edit the file /etc/rc.d/rc.inet1.conf and enable (remove the '#') these lines, OR you can write directly these lines by your own (just like I did): Code:
IFNAME[4]="wlan0" NOW! Let's configure which wpa_supplicant config file is going to be used to connect to the wireless network. Edit the file /etc/rc.d/rc.wireless: Look up for these lines and edit according to your needs, ie: Code:
WPACONF=${WLAN_WPACONF[$i]:-${WPACONF:="/etc/wpa_supplicant/wpa_supplicant-wlan0.conf"}} AND THAT'S IT! Let's resume: Doing the above steps is the same as doing these commands manually: # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant-wlan0.conf # dhcpcd wlan0 ... but now they're done automatically at boot time! Hope it works, if you are still in doubt you can ask again. |
There is possible switch on your laptop ethernet/wifi. On my laptop this is being set in BIOS: enabling one network interface disables another. So you may have just hardware lock on on your network card: this is why kernel stops and waits. Also you may have a look for kernel boot parameters. There is possible workaround for such lock setting apriopriate boot parameter (there is above 200 of them).
|
All times are GMT -5. The time now is 07:19 AM. |