wireless Deactivate script

Mike -- EMAIL IGNORED m_d_berger_1900 at yahoo.com
Fri Feb 22 17:21:00 UTC 2008


On Wed, 20 Feb 2008 22:27:19 +0000, Timothy Murphy wrote:

> 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.
> 
[...]

DEVICETYPE is used to construct a file name.  I think case would be 
important.

Mike.




More information about the fedora-list mailing list