wireless Deactivate script

Mike -- EMAIL IGNORED m_d_berger_1900 at yahoo.com
Wed Feb 20 15:13:47 UTC 2008


On Wed, 20 Feb 2008 13:22:03 +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
>> .
>> 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  ?
>
[...]

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

Mike.






More information about the fedora-list mailing list