Re: wireless Deactivate script

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

 



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.


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

  Powered by Linux