wireless Deactivate script

Timothy Murphy gayleard at eircom.net
Wed Feb 20 13:22:03 UTC 2008


Mike -- EMAIL IGNORED wrote:

>> If you create an ifdown-wireless script, it should get called
>> automatically. You can look at the /sbin/ifdown script to see what
>> script it looks for, and when they are run.
>> 
> [...]
> 
> Your suggestion didn't work, because near the bottom of
> /sbin/ifdown it had:
>    DEVICE = wlan0
>    DEVICETYPE = eth
> whereas in order to work as indicated, it needed:
>    DEVICETYPE=wireless
> .
> This looks like a bug to me but I am sure there will be better
> informed judgments. In any case, the information provided
> allowed me to easily hack the result I needed.

Maybe you need to say "TYPE=wireless"
in /etc/sysconfig/network-scripts/ifcfg-wlan0  ?


-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland




More information about the fedora-list mailing list