Re: [Ndiswrapper-general] support for siemens gigaset usb adapter108 (atheros 5523) with ndiswrappe
Status: Beta
Brought to you by:
pgiri
|
From: Gentoopower <gen...@ya...> - 2006-01-23 14:27:35
|
From the wpa_supplicant output it looks like your connection is ok, what
is output of command:
route
and can you ping your accesspoint 192.168.2.1?
Did you specify a nameserver in /etc/resolv.conf
ruud vennink wrote:
> Gentoopower wrote:
> -----Original Message-----
> From: Gentoopower [mailto:gen...@ya...]
> Sent: zaterdag 21 januari 2006 15:59
> To: ruud vennink
> Cc: Laurent; ndi...@li...
> Subject: Re: [Ndiswrapper-general] support for siemens gigaset usb
> adapter108 (atheros 5523) with ndiswrapper-1,7
>
>
>
> Your configuration is empty, see:
>
> /etc/sysconfig/ifcfg.wlan0
>
> no ip not gateway adress etc.
>
> You can also get the interface up by running these commands:
>
>
> iwconfig wlan0 mode Ad-Hoc
> iwconfig wlan0 channel 11
> iwconfig wlan0 key open s:yourpassword
> iwconfig wlan0 essid whatever
>
> ifconfig wlan0 up
> ifconfig wlan0 192.168.0.2 netmask 255.255.255.0
> route add default gw 192.168.0.1
>
>
> In case you want to use WPA encryption you need wpa_supplicant.
> ----- End Original Message-----
>
> Thanks again for your support. However by doing this my system blocks. The wlan0 mode can't be Ad-Hoc but Managed.
>
> Consequently the first step I did was to create the wlan0 configuration file with a fixed address with the help of graphical wireless tools (configuration file see below). In /etc/sysconfig/network-scripts the file keys-wlan0 is there too with the correct used key. By using the graphical network tool device the network can be made active. BUT STILL NO CONNECTION WITH AN INTERNET BROWSER.
>
> A possibility is the absence of security. So I continue with the next step: to include wpa_supplicant for use WPA_PSK. No problems with the compilation and installation (see below the used configuration files). Then wpa_supplicant is started with the command
> wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -D ndiswrapper -d
>
> AGAIN STILL NO CONNECTION WITH THE INTERNET BROWSER. In addition programs like ssh or telnet shows an error:
> Temporary failure in name resolution
> and indicate no connection. Included in this mail is the debug-output (see below).
>
> Can you (or anybody-else) say what is the cause of having no connection while it seems that wlan0 is up and connected to the router ? It looks me being very close to be succesful with this adapter of having wireless internet connction via ndiswrapper, an adapter which is not on the list.
>
> --------------------------------------------------------------
> Configuration file /etc/sysconfig/network-scripts/ifcfg.wlan0
> IPV6INIT=no
> ONBOOT=no
> USERCTL=no
> PEERDNS=yes
> GATEWAY=192.168.2.1
> TYPE=Wireless
> DEVICE=wlan0
> HWADDR=00:01:e3:4f:13:70
> BOOTPROTO=none
> NETMASK=255.255.255.0
> DHCP_HOSTNAME=
> IPADDR=192.168.2.2
> DOMAIN=
> ESSID=SX55154A6FA
> CHANNEL=1
> MODE=Managed
> RATE='108 Mb/s'
>
> The /usr/local/wpa_supplicant-0.4.7/.config file
> CONFIG_WIRELESS_EXTENSION=y
> CONFIG_DRIVER_HOSTAP=y
> CONFIG_DRIVER_NDISWRAPPER=y
> CONFIG_DRIVER_WEXT=y
> CONFIG_CTRL_IFACE=y
> The /etc/wpa_supplicant.conf file
> network={
> ssid="SX55154A6FA"
> proto=WPA
> key_mgmt=WPA-PSK
> pairwise=TKIP
> group=TKIP
> psk="my key"
> }
> The key in psk="my key" agrees with the key in /etc/sysconfig/network-scripts/keys-wlan0.
>
>
> Debug-output wpa_supplicant:
>
> Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface 'N/A'
> Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
> Reading configuration file '/etc/wpa_supplicant.conf'
> ctrl_interface='/var/run/wpa_supplicant'
> ctrl_interface_group=10 (from group name 'wheel')
> Priority group 0
> id=0 ssid='SX55154A6FA'
> Initializing interface (2) 'wlan0'
> ioctl[SIOCSIWPMKSA]: No such device
> SIOCGIWRANGE: too old (short) data - assuming WPA is not supported
> Own MAC address: 00:01:e3:4f:13:70
> wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
> ioctl[SIOCSIWENCODEEXT]: No such device
> Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
> wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
> ioctl[SIOCSIWENCODEEXT]: No such device
> Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
> wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
> ioctl[SIOCSIWENCODEEXT]: No such device
> Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
> wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
> ioctl[SIOCSIWENCODEEXT]: No such device
> Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
> Setting scan request: 0 sec 100000 usec
> Added interface wlan0
> Wireless event: cmd=0x8b06 len=8
> Wireless event: cmd=0x8b2a len=12
> Wireless event: cmd=0x8b2a len=12
> Wireless event: cmd=0x8b2a len=12
> Wireless event: cmd=0x8b2a len=12
> State: DISCONNECTED -> SCANNING
> Starting AP scan (broadcast SSID)
> Scan timeout - try to get results
> Received 568 bytes of scan results (2 BSSes)
> Scan results: 2
> Selecting BSS from priority group 0
> 0: 00:01:e3:54:a6:fa ssid='SX55154A6FA' wpa_ie_len=28 rsn_ie_len=0 caps=0x11
> selected based on WPA IE
> Trying to associate with 00:01:e3:54:a6:fa (SSID='SX55154A6FA' freq=2412 MHz)
> Cancelling scan request
> WPA: clearing own WPA/RSN IE
> Automatic auth_alg selection: 0x1
> WPA: using IEEE 802.11i/D3.0
> WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2
> WPA: set AP WPA IE - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 00 50 f2 04 01 00 00 50 f2 02
> WPA: clearing AP RSN IE
> WPA: using GTK TKIP
> WPA: using PTK TKIP
> WPA: using KEY_MGMT WPA-PSK
> WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
> No keys have been configured - skip key clearing
> State: SCANNING -> ASSOCIATING
> Setting authentication timeout: 10 sec 0 usec
> Wireless event: cmd=0x8c02 len=177
> Custom wireless event: 'ASSOCINFO(ReqIEs=000b5358353531353441364641010802040b160c18304832041224606cdd160050f20101000050f20201000050f20201000050f202 RespIEs=010882848b968c98b04832041224606c)'
> Association info event
> req_ies - hexdump(len=53): 00 0b 53 58 35 35 31 35 34 41 36 46 41 01 08 02 04 0b 16 0c 18 30 48 32 04 12 24 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
> resp_ies - hexdump(len=16): 01 08 82 84 8b 96 8c 98 b0 48 32 04 12 24 60 6c
> WPA: set own WPA/RSN IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
> Wireless event: cmd=0x8b15 len=20
> Wireless event: new AP: 00:01:e3:54:a6:fa
> State: ASSOCIATING -> ASSOCIATED
> Associated to a new BSS: BSSID=00:01:e3:54:a6:fa
> No keys have been configured - skip key clearing
> Associated with 00:01:e3:54:a6:fa
> WPA: Association event - clear replay counter
> Setting authentication timeout: 10 sec 0 usec
> RX EAPOL from 00:01:e3:54:a6:fa
> Setting authentication timeout: 10 sec 0 usec
> IEEE 802.1X RX: version=1 type=3 length=95
> EAPOL-Key type=254
> State: ASSOCIATED -> 4WAY_HANDSHAKE
> WPA: RX message 1 of 4-Way Handshake from 00:01:e3:54:a6:fa (ver=1)
> WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
> WPA: Renewed SNonce - hexdump(len=32): db 16 22 bf fb 36 52 25 4b 1d f3 c6 61 56 66 c8 1b 76 47 de 8e 46 33 ea 48 00 f8 06 f6 e5 00 b4
> WPA: PMK - hexdump(len=32): [REMOVED]
> WPA: PTK - hexdump(len=64): [REMOVED]
> WPA: Sending EAPOL-Key 2/4
> RX EAPOL from 00:01:e3:54:a6:fa
> IEEE 802.1X RX: version=1 type=3 length=123
> EAPOL-Key type=254
> State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
> WPA: RX message 3 of 4-Way Handshake from 00:01:e3:54:a6:fa (ver=1)
> WPA: IE KeyData - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 00 50 f2 04 01 00 00 50 f2 02
> WPA: Sending EAPOL-Key 4/4
> WPA: Installing PTK to the driver.
> WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
> State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
> RX EAPOL from 00:01:e3:54:a6:fa
> IEEE 802.1X RX: version=1 type=3 length=127
> EAPOL-Key type=254
> State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
> WPA: RX message 1 of Group Key Handshake from 00:01:e3:54:a6:fa (ver=1)
> WPA: Group Key - hexdump(len=32): [REMOVED]
> WPA: Installing GTK to the driver (keyidx=3 tx=0).
> WPA: RSC - hexdump(len=6): 2c 00 00 00 00 00
> WPA: Sending EAPOL-Key 2/2
> WPA: Key negotiation completed with 00:01:e3:54:a6:fa [PTK=TKIP GTK=TKIP]
> Cancelling authentication timeout
> State: GROUP_HANDSHAKE -> COMPLETED
> CTRL-EVENT-CONNECTED - Connection to 00:01:e3:54:a6:fa completed (auth)
> RX EAPOL from 00:01:e3:54:a6:fa
> IEEE 802.1X RX: version=1 type=3 length=95
> EAPOL-Key type=254
> State: COMPLETED -> 4WAY_HANDSHAKE
> WPA: RX message 1 of 4-Way Handshake from 00:01:e3:54:a6:fa (ver=1)
> WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
> WPA: Renewed SNonce - hexdump(len=32): 35 05 a6 eb 47 5c c5 2a 89 c5 95 70 d1 f8 70 3c 2f d2 4c c5 07 d8 51 e5 67 d8 37 91 0f 17 4a c3
> WPA: PMK - hexdump(len=32): [REMOVED]
> WPA: PTK - hexdump(len=64): [REMOVED]
> WPA: Sending EAPOL-Key 2/4
> RX EAPOL from 00:01:e3:54:a6:fa
> IEEE 802.1X RX: version=1 type=3 length=123
> EAPOL-Key type=254
> State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
> WPA: RX message 3 of 4-Way Handshake from 00:01:e3:54:a6:fa (ver=1)
> WPA: IE KeyData - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 00 50 f2 04 01 00 00 50 f2 02
> WPA: Sending EAPOL-Key 4/4
> WPA: Installing PTK to the driver.
> WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
> State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
> RX EAPOL from 00:01:e3:54:a6:fa
> IEEE 802.1X RX: version=1 type=3 length=127
> EAPOL-Key type=254
> State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
> WPA: RX message 1 of Group Key Handshake from 00:01:e3:54:a6:fa (ver=1)
> WPA: Group Key - hexdump(len=32): [REMOVED]
> WPA: Installing GTK to the driver (keyidx=3 tx=0).
> WPA: RSC - hexdump(len=6): 5e 00 00 00 00 00
> WPA: Sending EAPOL-Key 2/2
> WPA: Key negotiation completed with 00:01:e3:54:a6:fa [PTK=TKIP GTK=TKIP]
> Cancelling authentication timeout
> State: GROUP_HANDSHAKE -> COMPLETED
> RX EAPOL from 00:01:e3:54:a6:fa
> IEEE 802.1X RX: version=1 type=3 length=95
> EAPOL-Key type=254
> State: COMPLETED -> 4WAY_HANDSHAKE
> WPA: RX message 1 of 4-Way Handshake from 00:01:e3:54:a6:fa (ver=1)
> WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
> WPA: Renewed SNonce - hexdump(len=32): 81 ff 29 ca b6 66 d9 66 05 ab 36 9e 57 8e 65 e8 02 76 b8 b5 22 40 d4 17 a2 4a 59 9c 72 d8 5a ea
> WPA: PMK - hexdump(len=32): [REMOVED]
> WPA: PTK - hexdump(len=64): [REMOVED]
> WPA: Sending EAPOL-Key 2/4
> RX EAPOL from 00:01:e3:54:a6:fa
> IEEE 802.1X RX: version=1 type=3 length=123
> EAPOL-Key type=254
> State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
> WPA: RX message 3 of 4-Way Handshake from 00:01:e3:54:a6:fa (ver=1)
> WPA: IE KeyData - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 02 00 50 f2 04 01 00 00 50 f2 02
> WPA: Sending EAPOL-Key 4/4
> WPA: Installing PTK to the driver.
> WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
> State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
> RX EAPOL from 00:01:e3:54:a6:fa
> IEEE 802.1X RX: version=1 type=3 length=127
> EAPOL-Key type=254
> State: GROUP_HANDSHAKE -> GROUP_HANDSHAKE
> WPA: RX message 1 of Group Key Handshake from 00:01:e3:54:a6:fa (ver=1)
> WPA: Group Key - hexdump(len=32): [REMOVED]
> WPA: Installing GTK to the driver (keyidx=3 tx=0).
> WPA: RSC - hexdump(len=6): 8b 00 00 00 00 00
> WPA: Sending EAPOL-Key 2/2
> WPA: Key negotiation completed with 00:01:e3:54:a6:fa [PTK=TKIP GTK=TKIP]
> Cancelling authentication timeout
> State: GROUP_HANDSHAKE -> COMPLETED
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
> _______________________________________________
> Ndiswrapper-general mailing list
> Ndi...@li...
> https://lists.sourceforge.net/lists/listinfo/ndiswrapper-general
>
>
>
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
|