Start only loopback network interface on boot
by vondyke from LinuxQuestions.org on (#6FED6)
Hello, everyone
I run slackware on a laptop primarily with wireless networking and have `wlan0` configured to use `wpa_supplicant` for connection authentication, however, initial WPA handshakes fail regularly for me. It's not a big issue, I just need to run `/etc/rc.d/rc.inet1 wlan0_restart` (I have a `restart_wlan` script for this which is important for my workflow) so it tries the WPA handshake again.
For this occasional failures I disable the `rc.inet1` script from boot as to not wait for the WiFi to connect before I can start using the computer; I've configured my xsession to run my `restart_wlan` script which works fine but my issue is that it only starts the `wlan0` interface and not the rest, namely, the `lo` interface so I have no 127.0.0.1 device unless I run `/etc/rc.d/rc.inet1 restart` which will trigger another WPA handshake negotiation with the wireless access point.
Is there a way I can configure the `wlan0` interface to **not** start during boot (i.e., `/etc/rc.d/rc.inet1 start`)?
Is there a better workflow I could give a try?
I run slackware on a laptop primarily with wireless networking and have `wlan0` configured to use `wpa_supplicant` for connection authentication, however, initial WPA handshakes fail regularly for me. It's not a big issue, I just need to run `/etc/rc.d/rc.inet1 wlan0_restart` (I have a `restart_wlan` script for this which is important for my workflow) so it tries the WPA handshake again.
For this occasional failures I disable the `rc.inet1` script from boot as to not wait for the WiFi to connect before I can start using the computer; I've configured my xsession to run my `restart_wlan` script which works fine but my issue is that it only starts the `wlan0` interface and not the rest, namely, the `lo` interface so I have no 127.0.0.1 device unless I run `/etc/rc.d/rc.inet1 restart` which will trigger another WPA handshake negotiation with the wireless access point.
Is there a way I can configure the `wlan0` interface to **not** start during boot (i.e., `/etc/rc.d/rc.inet1 start`)?
Is there a better workflow I could give a try?