* [gentoo-user] config with wireless @ 2011-01-14 13:41 doherty pete 2011-01-14 13:49 ` Xavier Parizet 2011-01-14 13:51 ` Vortex 3 0 siblings, 2 replies; 16+ messages in thread From: doherty pete @ 2011-01-14 13:41 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 668 bytes --] when i input iwconfig,display wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off is information OK? i emerge net-wireless/wpa_supplicant edit /etc/conf.d/net config_eth0=("null") modules=("wpa_supplicant") wpa_supplicant_wlan0="-Dmadwifi" ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 network={ ssid="huang" proto=WPA2 psk="Xda111524*&^" } but kernel start show that network config is't correct, unexpected with "}" -- pete_doherty [-- Attachment #2: Type: text/html, Size: 1181 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 13:41 [gentoo-user] config with wireless doherty pete @ 2011-01-14 13:49 ` Xavier Parizet 2011-01-14 13:51 ` Vortex 3 1 sibling, 0 replies; 16+ messages in thread From: Xavier Parizet @ 2011-01-14 13:49 UTC (permalink / raw To: gentoo-user On Fri, 14 Jan 2011 21:41:07 +0800, doherty pete <nishizawa23@gmail.com> wrote: > when i input iwconfig,display > > wlan0 IEEE 802.11bgn ESSID:off/any > Mode:Managed Access Point: Not-Associated > Tx-Power=0 dBm > Retry long limit:7 RTS thr:off Fragment > thr:off > Encryption key:off > Power Management:off > is information OK? > > i emerge net-wireless/wpa_supplicant > > edit /etc/conf.d/net > > config_eth0=("null") > > modules=("wpa_supplicant") > > wpa_supplicant_wlan0="-Dmadwifi" Everything under this line should go in /etc/wpa_supplicant/wpa_supplicant.conf. > ctrl_interface=/var/run/wpa_supplicant > > ctrl_interface_group=0 > > ap_scan=1 > > network={ > ssid="huang" > proto=WPA2 > psk="Xda111524*&^" > } > > but kernel start show that > > network config ist correct, > unexpected with "}" -- Xavier Parizet http://gentooist.com ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 13:41 [gentoo-user] config with wireless doherty pete 2011-01-14 13:49 ` Xavier Parizet @ 2011-01-14 13:51 ` Vortex 3 2011-01-14 14:37 ` doherty pete 1 sibling, 1 reply; 16+ messages in thread From: Vortex 3 @ 2011-01-14 13:51 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 360 bytes --] > > > ctrl_interface=/var/run/wpa_supplicant > > ctrl_interface_group=0 > > ap_scan=1 > > network={ > ssid="huang" > proto=WPA2 > psk="Xda111524*&^" > } > > This lines don't belog to the /etc/conf.d/net file, but to the /etc/wpa_supplicant/wpa_supplicant.conf Take a look here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4 [-- Attachment #2: Type: text/html, Size: 922 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 13:51 ` Vortex 3 @ 2011-01-14 14:37 ` doherty pete 2011-01-14 14:53 ` doherty pete 2011-01-14 14:56 ` Vortex 3 0 siblings, 2 replies; 16+ messages in thread From: doherty pete @ 2011-01-14 14:37 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 686 bytes --] i creat the /etc/wpa_supplicant/wpa_supplicant.conf and i input ifconfig wlan0 up and wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf that Failed to read or parse configuration /etc/wpa_supplicant/wpa_supplicant.conf 2011/1/14 Vortex 3 <vortex3@gmail.com> > >> ctrl_interface=/var/run/wpa_supplicant >> >> ctrl_interface_group=0 >> >> ap_scan=1 >> >> network={ >> ssid="huang" >> proto=WPA2 >> psk="Xda111524*&^" >> } >> >> > This lines don't belog to the /etc/conf.d/net file, but to the > /etc/wpa_supplicant/wpa_supplicant.conf > > Take a look here: > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4 > -- pete_doherty [-- Attachment #2: Type: text/html, Size: 3291 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 14:37 ` doherty pete @ 2011-01-14 14:53 ` doherty pete 2011-01-14 15:18 ` Adam Carter 2011-01-14 14:56 ` Vortex 3 1 sibling, 1 reply; 16+ messages in thread From: doherty pete @ 2011-01-14 14:53 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 878 bytes --] i think the wireless didn't start because the wireless light is extinguish 2011/1/14 doherty pete <nishizawa23@gmail.com> > i creat the /etc/wpa_supplicant/wpa_supplicant.conf > and i input ifconfig wlan0 up > and > wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf > > that > > Failed to read or parse configuration > /etc/wpa_supplicant/wpa_supplicant.conf > > 2011/1/14 Vortex 3 <vortex3@gmail.com> > > >>> ctrl_interface=/var/run/wpa_supplicant >>> >>> ctrl_interface_group=0 >>> >>> ap_scan=1 >>> >>> network={ >>> ssid="huang" >>> proto=WPA2 >>> psk="Xda111524*&^" >>> } >>> >>> >> This lines don't belog to the /etc/conf.d/net file, but to the >> /etc/wpa_supplicant/wpa_supplicant.conf >> >> Take a look here: >> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=4 >> > > > > -- > pete_doherty > -- pete_doherty [-- Attachment #2: Type: text/html, Size: 3115 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 14:53 ` doherty pete @ 2011-01-14 15:18 ` Adam Carter 0 siblings, 0 replies; 16+ messages in thread From: Adam Carter @ 2011-01-14 15:18 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 307 bytes --] On Sat, Jan 15, 2011 at 1:53 AM, doherty pete <nishizawa23@gmail.com> wrote: > i think the wireless didn't start because the wireless light is extinguish > You probably haven't built the correct driver (module). Does ifconfig -a show the device? Does lshw (you might need to emerge it) show the device? [-- Attachment #2: Type: text/html, Size: 577 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 14:37 ` doherty pete 2011-01-14 14:53 ` doherty pete @ 2011-01-14 14:56 ` Vortex 3 2011-01-14 15:14 ` doherty pete 2011-01-14 15:24 ` doherty pete 1 sibling, 2 replies; 16+ messages in thread From: Vortex 3 @ 2011-01-14 14:56 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 285 bytes --] Pete, > wpa_supplicant_wlan0="-Dmadwifi" > From your previous message, your are using the "madwifi" driver. However, you are executing wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf > Where now you specify the "wext" driver. Maybe that's the problem (?) [-- Attachment #2: Type: text/html, Size: 1276 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 14:56 ` Vortex 3 @ 2011-01-14 15:14 ` doherty pete 2011-01-14 15:24 ` doherty pete 1 sibling, 0 replies; 16+ messages in thread From: doherty pete @ 2011-01-14 15:14 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 13154 bytes --] it's my fail i use wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf but correct is wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf and i get Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant' ctrl_interface_group='0' ap_scan=1 Priority group 0 id=0 ssid='huang' WEXT: cfg80211-based driver detected SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf capabilities: key_mgmt 0xf enc 0xf flags 0x0 netlink: Operstate: linkmode=1, operstate=5 Own MAC address: f0:7b:cb:16:52:ec wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_countermeasures RSN: flushing PMKID list in the driver Setting scan request: 0 sec 100000 usec EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: Supplicant port status: Unauthorized EAPOL: Supplicant port status: Unauthorized ctrl_interface_group=0 Added interface wlan0 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b06 len=8 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b1a len=8 Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (0 BSSes) BSS: Start scan result update 1 Cached scan results are empty - not posting Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable network found Setting scan request: 0 sec 0 usec State: DISCONNECTED -> SCANNING Starting AP scan for wildcard SSID Scan requested (ret=0) - scan timeout 5 seconds EAPOL: disable timer tick EAPOL: Supplicant port status: Unauthorized RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b19 len=8 Received 2504 bytes of scan results (6 BSSes) BSS: Start scan result update 2 BSS: Add new id 0 BSSID d8:5d:4c:30:7b:82 SSID 'TP-LINK_8G' BSS: Add new id 1 BSSID 00:22:3f:a5:ab:f4 SSID 'huang' BSS: Add new id 2 BSSID 74:ea:3a:69:97:fa SSID 'CHINACRC' BSS: Add new id 3 BSSID d8:5d:4c:41:5d:04 SSID 'TP-LINK_12-A' BSS: Add new id 4 BSSID 00:16:01:f6:fe:53 SSID 'AOSS-2663879CE43' BSS: Add new id 5 BSSID 00:0a:eb:89:56:67 SSID 'Suen wireless' New scan results available Selecting BSS from priority group 0 Try to find WPA-enabled AP 0: d8:5d:4c:30:7b:82 ssid='TP-LINK_8G' wpa_ie_len=22 rsn_ie_len=20 caps=0x11 skip - SSID mismatch 1: 00:22:3f:a5:ab:f4 ssid='huang' wpa_ie_len=26 rsn_ie_len=24 caps=0x11 selected based on RSN IE selected WPA AP 00:22:3f:a5:ab:f4 ssid='huang' Trying to associate with 00:22:3f:a5:ab:f4 (SSID='huang' freq=2412 MHz) Cancelling scan request WPA: clearing own WPA/RSN IE Automatic auth_alg selection: 0x1 RSN: using IEEE 802.11i/D9.0 WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 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 04 00 50 f2 02 01 00 00 50 f2 02 WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 00 00 WPA: using GTK TKIP WPA: using PTK CCMP WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 No keys have been configured - skip key clearing State: SCANNING -> ASSOCIATING wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) netlink: Operstate: linkmode=-1, operstate=5 wpa_driver_wext_associate wpa_driver_wext_set_drop_unencrypted wpa_driver_wext_set_psk Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b1a len=8 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b06 len=8 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b04 len=12 RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b1a len=13 RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8c08 len=61 AssocResp IE wireless event - hexdump(len=53): 01 08 82 84 8b 0c 12 96 18 24 32 04 30 48 60 6c dd 18 00 50 f2 02 01 01 82 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 dd 09 00 03 7f 01 01 00 00 ff 7f RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added Wireless event: cmd=0x8b15 len=20 Wireless event: new AP: 00:22:3f:a5:ab:f4 Association info event resp_ies - hexdump(len=53): 01 08 82 84 8b 0c 12 96 18 24 32 04 30 48 60 6c dd 18 00 50 f2 02 01 01 82 00 03 a4 00 00 27 a4 00 00 42 43 5e 00 62 32 2f 00 dd 09 00 03 7f 01 01 00 00 ff 7f State: ASSOCIATING -> ASSOCIATED wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) netlink: Operstate: linkmode=-1, operstate=5 Associated to a new BSS: BSSID=00:22:3f:a5:ab:f4 No keys have been configured - skip key clearing Associated with 00:22:3f:a5:ab:f4 WPA: Association event - clear replay counter WPA: Clear old PTK EAPOL: External notification - portEnabled=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portEnabled=1 EAPOL: SUPP_PAE entering state CONNECTING EAPOL: enable timer tick EAPOL: SUPP_BE entering state IDLE Setting authentication timeout: 10 sec 0 usec Cancelling scan request RX EAPOL from 00:22:3f:a5:ab:f4 Setting authentication timeout: 10 sec 0 usec IEEE 802.1X RX: version=1 type=3 length=95 EAPOL-Key type=2 key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack) key_length=16 key_data_length=0 replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01 key_nonce - hexdump(len=32): 8d a4 44 fa 77 6e 9d cf 74 cf dd ee f4 ca 9a 8e 02 7c 13 8a 4d dd f9 e5 b2 b3 79 1c 66 41 85 45 key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00 key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00 key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 State: ASSOCIATED -> 4WAY_HANDSHAKE WPA: RX message 1 of 4-Way Handshake from 00:22:3f:a5:ab:f4 (ver=2) RSN: msg 1/4 key data - hexdump(len=0): WPA: Renewed SNonce - hexdump(len=32): 9c d0 ea 5b 04 23 cb 31 df ec b5 ff 60 15 10 a1 39 22 14 8f 73 a8 0b 1a 45 43 3c c7 1e 6a 91 e0 WPA: PTK derivation - A1=f0:7b:cb:16:52:ec A2=00:22:3f:a5:ab:f4 WPA: PMK - hexdump(len=32): [REMOVED] WPA: PTK - hexdump(len=48): [REMOVED] WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 WPA: Sending EAPOL-Key 2/4 RX EAPOL from 00:22:3f:a5:ab:f4 IEEE 802.1X RX: version=1 type=3 length=199 EAPOL-Key type=2 key_info 0x13ca (ver=2 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure Encr) key_length=16 key_data_length=104 replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02 key_nonce - hexdump(len=32): 8d a4 44 fa 77 6e 9d cf 74 cf dd ee f4 ca 9a 8e 02 7c 13 8a 4d dd f9 e5 b2 b3 79 1c 66 41 85 45 key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 key_rsc - hexdump(len=8): 4b 00 00 00 00 00 00 00 key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00 key_mic - hexdump(len=16): 94 9b 31 f7 68 fb e7 8b ea 1b ca 27 0a 90 6b 52 RSN: encrypted key data - hexdump(len=104): 3e 9f 34 00 53 06 de 7f 6f 1b af d9 e7 ee c4 f3 03 23 a5 4b ff f5 ed 60 02 01 62 6e 53 ba eb f2 7c 0e 05 c1 8e 0a 66 7a cd 12 fb 45 54 c9 00 6a 5f eb 43 01 19 14 fa b1 0f a4 a9 60 90 9c 1f 3d bf 68 21 0f 5a 37 94 38 61 4d 58 4d 52 b8 06 b0 ef 95 25 48 7b ad c5 b3 44 6f a2 84 e2 25 27 da 98 e5 46 30 54 50 1c 19 WPA: decrypted EAPOL-Key key data - hexdump(len=96): [REMOVED] State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE WPA: RX message 3 of 4-Way Handshake from 00:22:3f:a5:ab:f4 (ver=2) WPA: IE KeyData - hexdump(len=96): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 00 00 dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02 dd 26 00 0f ac 01 02 00 44 47 1c 66 20 ef 60 c0 62 56 3c e4 32 bd 8f ed f4 d1 ff 6f 11 94 d6 db 4c 44 3a 2b b4 84 51 93 dd 00 WPA: RSN IE in EAPOL-Key - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00 0f ac 04 00 0f ac 02 01 00 00 0f ac 02 00 00 WPA: WPA IE in EAPOL-Key - hexdump(len=28): dd 1a 00 50 f2 01 01 00 00 50 f2 02 02 00 00 50 f2 04 00 50 f2 02 01 00 00 50 f2 02 WPA: GTK in EAPOL-Key - hexdump(len=40): [REMOVED] WPA: Sending EAPOL-Key 4/4 WPA: Installing PTK to the driver. wpa_driver_wext_set_key: alg=3 key_idx=0 set_tx=1 seq_len=6 key_len=16 EAPOL: External notification - portValid=1 State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE RSN: received GTK in pairwise handshake - hexdump(len=34): [REMOVED] WPA: Group Key - hexdump(len=32): [REMOVED] WPA: Installing GTK to the driver (keyidx=2 tx=0 len=32). WPA: RSC - hexdump(len=6): 4b 00 00 00 00 00 wpa_driver_wext_set_key: alg=2 key_idx=2 set_tx=0 seq_len=6 key_len=32 WPA: Key negotiation completed with 00:22:3f:a5:ab:f4 [PTK=CCMP GTK=TKIP] Cancelling authentication timeout State: GROUP_HANDSHAKE -> COMPLETED CTRL-EVENT-CONNECTED - Connection to 00:22:3f:a5:ab:f4 completed (auth) [id=0 id_str=] wpa_driver_wext_set_operstate: operstate 0->1 (UP) netlink: Operstate: linkmode=-1, operstate=6 EAPOL: External notification - portValid=1 EAPOL: External notification - EAP success=1 EAPOL: SUPP_PAE entering state AUTHENTICATING EAPOL: SUPP_BE entering state SUCCESS EAP: EAP entering state DISABLED EAPOL: SUPP_PAE entering state AUTHENTICATED EAPOL: Supplicant port status: Authorized EAPOL: SUPP_BE entering state IDLE EAPOL authentication completed successfully RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP]) RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added EAPOL: startWhen --> 0 EAPOL: disable timer tick CTRL-EVENT-TERMINATING - signal 2 received Removing interface wlan0 wpa_driver_wext_deauthenticate wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 State: COMPLETED -> DISCONNECTED wpa_driver_wext_set_operstate: operstate 1->0 (DORMANT) netlink: Operstate: linkmode=-1, operstate=5 EAPOL: External notification - portEnabled=0 EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: Supplicant port status: Unauthorized EAPOL: SUPP_BE entering state INITIALIZE EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portValid=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized wpa_driver_wext_set_countermeasures No keys have been configured - skip key clearing BSS: Remove id 0 BSSID d8:5d:4c:30:7b:82 SSID 'TP-LINK_8G' BSS: Remove id 1 BSSID 00:22:3f:a5:ab:f4 SSID 'huang' BSS: Remove id 2 BSSID 74:ea:3a:69:97:fa SSID 'CHINACRC' BSS: Remove id 3 BSSID d8:5d:4c:41:5d:04 SSID 'TP-LINK_12-A' BSS: Remove id 4 BSSID 00:16:01:f6:fe:53 SSID 'AOSS-2663879CE43' BSS: Remove id 5 BSSID 00:0a:eb:89:56:67 SSID 'Suen wireless' Cancelling scan request Cancelling authentication timeout netlink: Operstate: linkmode=0, operstate=6 is that OK? 2011/1/14 Vortex 3 <vortex3@gmail.com> > Pete, > > >> wpa_supplicant_wlan0="-Dmadwifi" >> > > From your previous message, your are using the "madwifi" driver. However, > you are executing > > > wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf >> > > Where now you specify the "wext" driver. Maybe that's the problem (?) > -- pete_doherty [-- Attachment #2: Type: text/html, Size: 18233 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 14:56 ` Vortex 3 2011-01-14 15:14 ` doherty pete @ 2011-01-14 15:24 ` doherty pete 2011-01-14 15:41 ` doherty pete 2011-01-14 16:02 ` Mick 1 sibling, 2 replies; 16+ messages in thread From: doherty pete @ 2011-01-14 15:24 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 462 bytes --] i donn't known what different form wext and madwifi.... i just known my wireless is bcm4357... 2011/1/14 Vortex 3 <vortex3@gmail.com> > Pete, > > >> wpa_supplicant_wlan0="-Dmadwifi" >> > > From your previous message, your are using the "madwifi" driver. However, > you are executing > > > wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf >> > > Where now you specify the "wext" driver. Maybe that's the problem (?) > -- pete_doherty [-- Attachment #2: Type: text/html, Size: 1635 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 15:24 ` doherty pete @ 2011-01-14 15:41 ` doherty pete 2011-01-14 16:02 ` Mick 1 sibling, 0 replies; 16+ messages in thread From: doherty pete @ 2011-01-14 15:41 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2160 bytes --] ifconfig -a is eth0 Link encap:Ethernet HWaddr 00:26:2d:97:8b:85 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:16 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) wlan0 Link encap:Ethernet HWaddr f0:7b:cb:16:52:ec BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ifconfig wlan0 up wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf & ifconfig wlan0 192.168.1.99 and can ping 192.168.1.1 but cann't ping www.g.cn Network is unreachable(101) i have edit /etc/resolv.conf nameserver 192.168.1.1 2011/1/14 doherty pete <nishizawa23@gmail.com> > > i donn't known what different form wext and madwifi.... > i just known my wireless is bcm4357... > > 2011/1/14 Vortex 3 <vortex3@gmail.com> > >> Pete, >> >> >>> wpa_supplicant_wlan0="-Dmadwifi" >>> >> >> From your previous message, your are using the "madwifi" driver. However, >> you are executing >> >> >> wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf >>> >> >> Where now you specify the "wext" driver. Maybe that's the problem (?) >> > > > > -- > pete_doherty > -- pete_doherty [-- Attachment #2: Type: text/html, Size: 4177 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 15:24 ` doherty pete 2011-01-14 15:41 ` doherty pete @ 2011-01-14 16:02 ` Mick 2011-01-14 16:45 ` Zhu Sha Zang 1 sibling, 1 reply; 16+ messages in thread From: Mick @ 2011-01-14 16:02 UTC (permalink / raw To: gentoo-user On 14 January 2011 15:24, doherty pete <nishizawa23@gmail.com> wrote: > > i donn't known what different form wext and madwifi.... > i just known my wireless is bcm4357... If there's a driver in the kernel for your wireless hardware, select it and use -Dwext. The madwifi driver will work with particular wireless chipsets only (atheros). If there is no wireless driver in Linux, then use ndiswrapper (you'll need to emerge it) and use the MSWindows driver with it - it may work. -- Regards, Mick ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 16:02 ` Mick @ 2011-01-14 16:45 ` Zhu Sha Zang 2011-01-15 11:03 ` doherty pete 0 siblings, 1 reply; 16+ messages in thread From: Zhu Sha Zang @ 2011-01-14 16:45 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1238 bytes --] Em 14-01-2011 14:02, Mick escreveu: > On 14 January 2011 15:24, doherty pete <nishizawa23@gmail.com> wrote: >> i donn't known what different form wext and madwifi.... >> i just known my wireless is bcm4357... > If there's a driver in the kernel for your wireless hardware, select > it and use -Dwext. The madwifi driver will work with particular > wireless chipsets only (atheros). If there is no wireless driver in > Linux, then use ndiswrapper (you'll need to emerge it) and use the > MSWindows driver with it - it may work. > I'm using wpa with openrc: / [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 eapol_version=1 ap_scan=2 fast_reauth=1 network={ ssid="VALHALLA" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk="****************" }/ /[rodolfo@asgard ~]$ cat /etc/conf.d/net modules="wpa_supplicant" wpa_supplicant_wlan0="-Dwext" wpa_timeout_wlan0=60 config_wlan0="10.10.10.25 netmask 255.255.255.0" routes_wlan0="default gw 10.10.10.1" /And works well with /etc/init.d/net.wlan0 start (in boot too) Att / / [-- Attachment #2: Type: text/html, Size: 2768 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-14 16:45 ` Zhu Sha Zang @ 2011-01-15 11:03 ` doherty pete 2011-01-16 20:29 ` Valmor de Almeida 0 siblings, 1 reply; 16+ messages in thread From: doherty pete @ 2011-01-15 11:03 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1833 bytes --] yeah!it can work,now,this is my configure: /etc/conf.d/net config_eth0=("null") modules="wpa_supplicant" wpa_supplicant_wlan0="-Dwext" config_wlan0="192.168.1.99 netmask 255.255.255.0" routes_wlan0="default gw 192.168.1.1" */etc/wpa_supplicant/wpa_supplicant.conf* * * * ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 ap_scan=1 network={ ssid="huang" proto=WPA2 key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk="Xda111524*&^" } * 2011/1/15 Zhu Sha Zang <zhushazang@yahoo.com.br> > Em 14-01-2011 14:02, Mick escreveu: > > On 14 January 2011 15:24, doherty pete <nishizawa23@gmail.com> <nishizawa23@gmail.com> wrote: > > i donn't known what different form wext and madwifi.... > i just known my wireless is bcm4357... > > If there's a driver in the kernel for your wireless hardware, select > it and use -Dwext. The madwifi driver will work with particular > wireless chipsets only (atheros). If there is no wireless driver in > Linux, then use ndiswrapper (you'll need to emerge it) and use the > MSWindows driver with it - it may work. > > > I'm using wpa with openrc: > * > [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=0 > eapol_version=1 > > ap_scan=2 > fast_reauth=1 > > network={ > ssid="VALHALLA" > proto=RSN > key_mgmt=WPA-PSK > pairwise=CCMP TKIP > group=CCMP TKIP > psk="****************" > }* > > *[rodolfo@asgard ~]$ cat > /etc/conf.d/net > > modules="wpa_supplicant" > > > wpa_supplicant_wlan0="-Dwext" > wpa_timeout_wlan0=60 > > config_wlan0="10.10.10.25 netmask 255.255.255.0" > routes_wlan0="default gw 10.10.10.1" > > > *And works well with /etc/init.d/net.wlan0 start (in boot too) > > Att > * > * > -- pete_doherty [-- Attachment #2: Type: text/html, Size: 6182 bytes --] ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-15 11:03 ` doherty pete @ 2011-01-16 20:29 ` Valmor de Almeida 2011-01-17 1:27 ` Zhu Sha Zang 0 siblings, 1 reply; 16+ messages in thread From: Valmor de Almeida @ 2011-01-16 20:29 UTC (permalink / raw To: gentoo-user On 01/15/2011 06:03 AM, doherty pete wrote: > yeah!it can work,now,this is my configure: > /etc/conf.d/net > > config_eth0=("null") > > modules="wpa_supplicant" > > wpa_supplicant_wlan0="-Dwext" > > config_wlan0="192.168.1.99 netmask 255.255.255.0" > > routes_wlan0="default gw 192.168.1.1" > > //etc/wpa_supplicant/wpa_supplicant.conf/ > / > / > / > ctrl_interface=/var/run/wpa_supplicant > > ctrl_interface_group=0 > > ap_scan=1 > > network={ > ssid="huang" > proto=WPA2 > key_mgmt=WPA-PSK > pairwise=CCMP TKIP > group=CCMP TKIP > psk="Xda111524*&^" > } > > / > > 2011/1/15 Zhu Sha Zang <zhushazang@yahoo.com.br > <mailto:zhushazang@yahoo.com.br>> > > Em 14-01-2011 14:02, Mick escreveu: >> On 14 January 2011 15:24, doherty pete <nishizawa23@gmail.com> <mailto:nishizawa23@gmail.com> wrote: >>> i donn't known what different form wext and madwifi.... >>> i just known my wireless is bcm4357... >> If there's a driver in the kernel for your wireless hardware, select >> it and use -Dwext. The madwifi driver will work with particular >> wireless chipsets only (atheros). If there is no wireless driver in >> Linux, then use ndiswrapper (you'll need to emerge it) and use the >> MSWindows driver with it - it may work. >> > I'm using wpa with openrc: > / > [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf > > ctrl_interface=/var/run/wpa_supplicant > ctrl_interface_group=0 > eapol_version=1 > > ap_scan=2 > fast_reauth=1 > > network={ > ssid="VALHALLA" > proto=RSN > key_mgmt=WPA-PSK > pairwise=CCMP TKIP > group=CCMP TKIP > psk="****************" > }/ > > /[rodolfo@asgard ~]$ cat > /etc/conf.d/net > > modules="wpa_supplicant" > > > wpa_supplicant_wlan0="-Dwext" > wpa_timeout_wlan0=60 > > config_wlan0="10.10.10.25 netmask 255.255.255.0" > routes_wlan0="default gw 10.10.10.1" > > > /And works well with /etc/init.d/net.wlan0 start (in boot too) > > Att > / > / > > > > > -- > pete_doherty Check the e-mail thread on this list with the subject: starting wlan0 only when wireless is turned on http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg108144.html Just dump all of the network config and use wicd. -- Valmor ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-16 20:29 ` Valmor de Almeida @ 2011-01-17 1:27 ` Zhu Sha Zang 2011-01-17 2:37 ` Willie Wong 0 siblings, 1 reply; 16+ messages in thread From: Zhu Sha Zang @ 2011-01-17 1:27 UTC (permalink / raw To: gentoo-user Em 16-01-2011 18:29, Valmor de Almeida escreveu: > On 01/15/2011 06:03 AM, doherty pete wrote: >> yeah!it can work,now,this is my configure: >> /etc/conf.d/net >> >> config_eth0=("null") >> >> modules="wpa_supplicant" >> >> wpa_supplicant_wlan0="-Dwext" >> >> config_wlan0="192.168.1.99 netmask 255.255.255.0" >> >> routes_wlan0="default gw 192.168.1.1" >> >> //etc/wpa_supplicant/wpa_supplicant.conf/ >> / >> / >> / >> ctrl_interface=/var/run/wpa_supplicant >> >> ctrl_interface_group=0 >> >> ap_scan=1 >> >> network={ >> ssid="huang" >> proto=WPA2 >> key_mgmt=WPA-PSK >> pairwise=CCMP TKIP >> group=CCMP TKIP >> psk="Xda111524*&^" >> } >> >> / >> >> 2011/1/15 Zhu Sha Zang <zhushazang@yahoo.com.br >> <mailto:zhushazang@yahoo.com.br>> >> >> Em 14-01-2011 14:02, Mick escreveu: >>> On 14 January 2011 15:24, doherty pete <nishizawa23@gmail.com> <mailto:nishizawa23@gmail.com> wrote: >>>> i donn't known what different form wext and madwifi.... >>>> i just known my wireless is bcm4357... >>> If there's a driver in the kernel for your wireless hardware, select >>> it and use -Dwext. The madwifi driver will work with particular >>> wireless chipsets only (atheros). If there is no wireless driver in >>> Linux, then use ndiswrapper (you'll need to emerge it) and use the >>> MSWindows driver with it - it may work. >>> >> I'm using wpa with openrc: >> / >> [rodolfo@asgard ~]$ cat /etc/wpa_supplicant/wpa_supplicant.conf >> >> ctrl_interface=/var/run/wpa_supplicant >> ctrl_interface_group=0 >> eapol_version=1 >> >> ap_scan=2 >> fast_reauth=1 >> >> network={ >> ssid="VALHALLA" >> proto=RSN >> key_mgmt=WPA-PSK >> pairwise=CCMP TKIP >> group=CCMP TKIP >> psk="****************" >> }/ >> >> /[rodolfo@asgard ~]$ cat >> /etc/conf.d/net >> >> modules="wpa_supplicant" >> >> >> wpa_supplicant_wlan0="-Dwext" >> wpa_timeout_wlan0=60 >> >> config_wlan0="10.10.10.25 netmask 255.255.255.0" >> routes_wlan0="default gw 10.10.10.1" >> >> >> /And works well with /etc/init.d/net.wlan0 start (in boot too) >> >> Att >> / >> / >> >> >> >> >> -- >> pete_doherty > Check the e-mail thread on this list with the subject: > > starting wlan0 only when wireless is turned on > > > http://www.mail-archive.com/gentoo-user@lists.gentoo.org/msg108144.html > > > Just dump all of the network config and use wicd. > > -- > Valmor > > > I think that this software, wicd, is just to ubuntu's users not to Gentoo. If work without gui,, why i need a gui? Att ^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] config with wireless 2011-01-17 1:27 ` Zhu Sha Zang @ 2011-01-17 2:37 ` Willie Wong 0 siblings, 0 replies; 16+ messages in thread From: Willie Wong @ 2011-01-17 2:37 UTC (permalink / raw To: gentoo-user On Sun, Jan 16, 2011 at 11:27:27PM -0200, Zhu Sha Zang wrote: > I think that this software, wicd, is just to ubuntu's users not to > Gentoo. You are in the minority. Many on this list (including me) use wicd for desktop/laptop use. > If work without gui,, why i need a gui? wicd doesn't require a GUI. It has a CLI interface and a curses one (I prefer to use the curses interface myself), in addition to the GTK one. Which you install can be controlled by USE. W -- Willie W. Wong wwong@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton ^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2011-01-17 2:38 UTC | newest] Thread overview: 16+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-01-14 13:41 [gentoo-user] config with wireless doherty pete 2011-01-14 13:49 ` Xavier Parizet 2011-01-14 13:51 ` Vortex 3 2011-01-14 14:37 ` doherty pete 2011-01-14 14:53 ` doherty pete 2011-01-14 15:18 ` Adam Carter 2011-01-14 14:56 ` Vortex 3 2011-01-14 15:14 ` doherty pete 2011-01-14 15:24 ` doherty pete 2011-01-14 15:41 ` doherty pete 2011-01-14 16:02 ` Mick 2011-01-14 16:45 ` Zhu Sha Zang 2011-01-15 11:03 ` doherty pete 2011-01-16 20:29 ` Valmor de Almeida 2011-01-17 1:27 ` Zhu Sha Zang 2011-01-17 2:37 ` Willie Wong
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox