Bugzilla – Bug 118765
improve wireless in sysconfig editor (wireless)
Last modified: 2007-06-05 09:37:44 UTC
1. Minor bug: /etc/sysconfig/network/wireless, key WIRELESS. Type is yesno, but default is empty string. Setting to default, YaST complains. 2. Minor bug: /etc/sysconfig/network/wireless, key WIRELESS_MODE. Type is string, but description says, that it should be list(Ad-hoc,Managed,Master,Repeater,Secondary,Auto) (with one of them as Default). 3. Enhancement: It would be nice, if sysconfig editor will be able to edit /etc/sysconfig/network/ifcfg-* 4. Enhancement: /etc/sysconfig/network/wireless, key WIRELESS. Description says: "If you have only one network interface card and it is wireless..." I guess that it can be improved to "If you have only one wireless card..." by starting this settings only for interfaces, which provide wireless extension.
ad 3) sysconfig editor already configures that - see Hardware/Network node. /etc/sysconfig/network/wireless is part of sysconfig package - reassigned
ad 1) There are many sysconfig files which use empty variables by default, despite the metadata says yesno and default yes. This is a new approach to be able to change the default values in an update case easily: As long as the user did never change the variable, it is still empty and the new script can use a new default value. When the user changed it, this setting will still be used. (Example: all powersave variables) Therefore we need a general solution for that new style sysconfig files. YesNo must allow "" and 'setting to default' must empty the variable even if meta data default says something else. I guess this needs still some discussion. Ludwig, Seife, please comment. Of course ## Type: yesno ## Default: "" is wrong and will be changed. Joe should we drop the wireless file completely? ad2) See 1) wireless file should be removed completely. ad 3) Would be nice to get the metadata there. ad4) This are different statements. The first allows max one NIC at all, your version speaks only about wireless NICs.. This setting is used only in very rare cases.
What about introducing another metadata tag that tells the sysconfig editor that empty means default? The sysconfig editor must then clear the value rather than actually setting the variables to their default value.
To lslezak - comment #1: I don't mean editing /etc/sysconfig/network/wireless but /etc/sysconfig/network/ifcfg-*, eventually ifroute-*.
/etc/sysconfig/network: wireless was removed ifcfg.template is mostly up to date.