wireless Deactivate script

Timothy Murphy gayleard at eircom.net
Wed Feb 20 22:27:19 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

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

> /etc/sysconfig/network-scripts/ifcfg-wlan0
> already has "TYPE=Wireless" (note cap),
> and this does not appear where needed
> above.

OK - it was only a guess ...
Incidentally, as far as I can see, capitals don't matter here.
Eg "MODE=Managed" and "MODE=managed" seem to have the same effect.

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