The website that you posted doesn't configure the /etc/ifplugd/ifplugd.action file. Check if it exists. It also uses /etc/default/ifplug. I assume this is used in place of /etc/ifplugd/ifplugd.conf if it doesn't exist. Perhaps there is an /etc/ifplugd/ifplugd.conf present that takes precedence. I looked in the "man ifplugd.conf" and "man ifplugd" man pages and "HOTPLUG_INTERFACES" isn't one of the listed options. Perhaps this variable is used by one of the network or hotplug scripts on your system, in which case you will need to read through your hotplug, ifplugd.action and other scripts in your own system to understand where it is used. Of course, you may have a different version of ifplugd.
By default, ifplugd writes its messages to a log, so you could shut down the wireless card, and re-insert it to see if ifplugd and hotplugd detect it. Actually, this sounds more like something that hotplugd should be doing instead. If the signal drops of for your wireless, but you don't want to rescan for a different network, I don't know what you want triggered. I think it would be more useful for connecting to available networks on the fly, when you are on the road.
The ARGS value given is the default, but I don't know if you want those same values for both eth0 and ath0.
On my laptop, ifplug is started from the /etc/init.d/network script instead of a ifplugd service.
A debian user might be able to provide you with better answers. Given the work ahead, this may be case where you do more work trying to save some work the the work itself. In other words, configuring wireless the standard debian way may turn out to be easier than relying on the solution supplied by a web page.
----
Here is a stupid idea. Try reversing the order of the interfaces in /etc/network/interfaces. List ath0 before eth0.
Last edited by jschiwal; 04-25-2006 at 10:05 PM.
|