Re: wireless Deactivate script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux