You are not logged in.
Pages: 1
Hi,
I have configured ifplugd to switch between my wlan and eth0 (this is my ifplug.action):
#!/bin/sh
#
# ifplugd.action script for Arch Linux
. /etc/rc.conf
. /etc/rc.d/functions
case "$2" in
up)
netcfg2 -a || echo "Unable to bring all profiles down"
dhcpcd eth0
;;
down)
netcfg-auto-wireless wlan0
;;
*)
echo "Wrong arguments" > /dev/stderr
;;
esac
exit 1
This works fine! But not on startup!
Because on startup, if the cable is not plugged in, it does not start the wlan.
On the other hand, if I add net-auto to the startup daemons in rc.conf, wlan is always started (also the cable might be pluged in).
Suggestions for how to solve this?
Thanks!
Nathan
Offline
Pages: 1