https://bugzilla.novell.com/show_bug.cgi?id=716652 https://bugzilla.novell.com/show_bug.cgi?id=716652#c2 Manuel Stol <ManuelStol@operamail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ManuelStol@operamail.com --- Comment #2 from Manuel Stol <ManuelStol@operamail.com> 2011-09-25 11:13:14 UTC --- If the wireless adapter or driver does not support power saving (anymore), the '/etc/sysconfig/network/scripts/ifup-wireless' script returns an error. Because the 'ifup-wireless' script returns an error, the DHCP client is not started. In '/etc/sysconfig/network/ifcfg.template' for 'WIRELESS_POWER' it says: " # Note, that this setting is not supported by all cards resp. drivers # and shall be tested before the user decides to set it. " However, nowhere is this tested. (Note that 'ifcfg.template' says '## Default: "none"', but the actual default is '""'.) In '/usr/share/YaST2/modules/LanItems.ycp' the 'WIRELESS_POWER' is always set to either 'no' or 'yes'. So when the 'Traditional Method with ifup' is used, YaST never sets 'WIRELESS_POWER' to ' "" ' nor ' "none" ' and 'iwconfig <iface> power ..' is always called. Error message: " # ifup wlan0 wlan0 device: Intel Corporation PRO/Wireless 4965 AG or AGN [Kedron] Network Connection (rev 61) command 'iwconfig wlan0 power period 2' returned Error for wireless request "Set Power Management" (8B2C) : SET failed on device wlan0 ; Invalid argument. wlan0 warning: WPA configured, but is untested wlan0 warning: with this device wlan0 starting wpa_supplicant " Notes: - The power saving in the driver for the Intel 4965 AGN has been disabled in the version in openSUSE 12.1 M5, but was enabled in openSUSE 11.4. Workaround: Set ' WIRELESS_POWER="" ' in '/etc/sysconfig/network/ifcfg-wlan0' and set this each time after you run 'YaST > Network Devices > Network Settings'. Attached Solution: If 'iwconfig <iface> power off' returns error 250, power saving is unsupported an the error is ignored. The patch tests for the error 250. And if iwconfig ever changes the error number for the 'unsupported operation' error, the ifup-wireless' script must be updated. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.