https://bugzilla.novell.com/show_bug.cgi?id=407689
User marcoant@arrakis.es added comment
https://bugzilla.novell.com/show_bug.cgi?id=407689#c6
Marco Antonio Garcia Prieto changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |ASSIGNED
Info Provider|marcoant@arrakis.es |
--- Comment #6 from Marco Antonio Garcia Prieto 2008-07-22 13:53:54 MDT ---
Using YaST + NetworkManager it seems NetworkManager detects the adapter as an
ethernet adapter. YaST shows prism2_usb as a wireless interface but under
NetworkManager the wlan0 option shows the ethernet icon and you can only
configure IP, mask and dns, no ssid or key at all. So it doesn't work.
What I don't know is why NetworkManager wrongly detects the wlan0 as ethernet
instead of wireless. This is the NetworkManager log:
Jul 22 20:36:31 linux-torre NetworkManager: <info> starting...
Jul 22 20:36:31 linux-torre NetworkManager: <info> wlan0: Driver 'prism2_usb'
does not support carrier detection. You must switch to it manually.
Jul 22 20:36:31 linux-torre NetworkManager: <info> Found new Ethernet device
'wlan0'.
Jul 22 20:36:31 linux-torre NetworkManager: <info> (wlan0): exported as
/org/freedesktop/Hal/devices/net_usb_device_9aa_3642_01310126_if1
Jul 22 20:36:31 linux-torre NetworkManager: <info> eth0: Device is
fully-supported using driver 'e100'.
Jul 22 20:36:31 linux-torre NetworkManager: <info> Found new Ethernet device
'eth0'.
Jul 22 20:36:31 linux-torre NetworkManager: <info> (eth0): exported as
/org/freedesktop/Hal/devices/net_00_02_b3_8c_7f_c1
Jul 22 20:36:31 linux-torre NetworkManager: <info> Trying to start the
supplicant...
Jul 22 20:36:31 linux-torre NetworkManager: <info> Trying to start the system
settings daemon...
Jul 22 20:36:35 linux-torre NetworkManager: <info> (wlan0): device state
change: 1 -> 2
Jul 22 20:36:35 linux-torre NetworkManager: <info> (wlan0): bringing up
device.
Jul 22 20:36:35 linux-torre NetworkManager: <WARN> nm_device_hw_bring_up():
(wlan0): device not up after timeout!
Jul 22 20:36:35 linux-torre NetworkManager: <info> (wlan0): deactivating
device.
Jul 22 20:36:35 linux-torre NetworkManager: <info> (eth0): device state
change: 1 -> 2
Jul 22 20:36:35 linux-torre NetworkManager: <info> (eth0): bringing up device.
Jul 22 20:36:35 linux-torre NetworkManager: <info> (eth0): preparing device.
Jul 22 20:36:35 linux-torre NetworkManager: <info> (eth0): deactivating
device.
Jul 22 20:36:35 linux-torre NetworkManager: <info> (eth0): carrier now ON
(device state 2)
Jul 22 20:36:35 linux-torre NetworkManager: <info> (eth0): device state
change: 2 -> 3
Jul 22 20:36:35 linux-torre NetworkManager: <info> (eth0): carrier now OFF
(device state 3)
Jul 22 20:36:35 linux-torre NetworkManager: <info> (eth0): device state
change: 3 -> 2
Jul 22 20:36:35 linux-torre NetworkManager: <info> (eth0): deactivating
device.
Jul 22 20:36:35 linux-torre NetworkManager: <info> (wlan0): device state
change: 2 -> 3
Jul 22 20:36:36 linux-torre NetworkManager: <info> Activation (wlan0) starting
connection 'Auto wlan0'
Jul 22 20:36:36 linux-torre NetworkManager: <info> (wlan0): device state
change: 3 -> 4
Jul 22 20:36:36 linux-torre NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) scheduled...
Jul 22 20:36:36 linux-torre NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) started...
Jul 22 20:36:36 linux-torre NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) scheduled...
Jul 22 20:36:36 linux-torre NetworkManager: <info> Activation (wlan0) Stage 1
of 5 (Device Prepare) complete.
Jul 22 20:36:36 linux-torre NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) starting...
Jul 22 20:36:36 linux-torre NetworkManager: <info> (wlan0): device state
change: 4 -> 5
Jul 22 20:36:36 linux-torre NetworkManager: <info> (wlan0): bringing up
device.
Jul 22 20:36:36 linux-torre NetworkManager: <WARN> nm_device_hw_bring_up():
(wlan0): device not up after timeout!
Jul 22 20:36:36 linux-torre NetworkManager: <info> (wlan0): device state
change: 5 -> 9
Jul 22 20:36:36 linux-torre NetworkManager: <info> Marking connection 'Auto
wlan0' invalid.
Jul 22 20:36:36 linux-torre NetworkManager: <info> Activation (wlan0) failed.
Jul 22 20:36:36 linux-torre NetworkManager: <info> Activation (wlan0) Stage 2
of 5 (Device Configure) complete.
Jul 22 20:36:36 linux-torre NetworkManager: <info> (wlan0): device state
change: 9 -> 3
Jul 22 20:36:36 linux-torre NetworkManager: <info> (wlan0): deactivating
device.
But... it works ok when I change to ifup method and use the same script as I
did on previous versions (10.x):
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_hostwep decrypt=true encrypt=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKey0="XX:XX:XX..."
wlanctl-ng wlan0 lnxreq_autojoin ssid="MySSID" authtype="opensystem"
ifconfig wlan0 192.168.1.4 netmask 255.255.255.0 up
route add default gw 192.168.1.1
I've added this lines to boot.local so system starts with the wlan0 up and
connected to the network.
Regards,
Marco
--
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.