Re: [Wireless] Can't connect to wlan
Mel, Do the recent patches by Andrew make a difference? http://people.freebsd.org/~thompsa/wpi_head.diff http://people.freebsd.org/~thompsa/wpi_releng7.diff Mel wrote: Redirect - freebsd-mobile, cc Ben Ref: http://lists.freebsd.org/pipermail/freebsd-current/2007-November/080653.html On Sunday 24 February 2008 16:50:47 Alphons Fonz van Werven wrote: Okay, so here goes: SYNOPSIS Wireless network gets detected, but has no carrier. So I can't connect. PROMPT All prompts are indicated as $ to avoid confusion with #-comment lines, but in reality most things are done by root. THE NETWORK SSID: SpeedTouch1EC5E8 radio type: 11g security type: WPA2-PSK PSK: known Station: Thomson ST 780 WL Wireless modem Signal: present (Windows picks it up right away) and generally excellent THE COMPUTER Thoshiba Satellite P200 1A4 notebook Wireless card: Intel 3945ABG OS: FreeBSD 7.0-RC3 KERNEL The driver for the Intel 3945ABG card is wpi. As instructed by its manpage, my /boot/loader.conf reads: $ cat /boot/loader.conf if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES wlan_xauth_load=YES legal.intel_wpi.license_ack=1 $ Relevant dmesg greps: $ dmesg|grep wpi wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xd800-0xd8000fff irq 17 at device 0.0 on pci4 wpi0: Ethernet address: 00:1b:77:b5:98:bd wpi0: [ITHREAD] wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps $ dmesg|grep wlan $ dmesg|grep firmware $ CONFIGURATION My /etc/wpa_supplicant.conf: As you can see in the aboved mentioned URL, wpi and wpa_supplicant don't play nice. I had the same problem yesterday, setting wpi through ifconfig (WEP in my case) and the card just works. I also had the bluetooth message, but Fonz doesn't seem to have that. # ident /boot/kernel/if_wpi.ko /boot/kernel/if_wpi.ko: $FreeBSD: src/sys/dev/wpi/if_wpi.c,v 1.5.2.2 2008/02/02 06:49:57 sam Exp $ My kernel is GENERIC with ULE scheduler rather then 4BSD. I want to investigate more this week, with a debug kernel and/or wpi in debug mode. Since RELENG_7 is probably thawed/frozen, is there patches from -current you can backport to have tested? Leaving the rest of the email in tact so you have a full report. $ cat /etc/wpa_supplicant.conf #eapol_version=2 network={ ssid=SpeedTouch1EC5E8 psk= (the correct preshared key, that is) # bssid=00:90:d0:f3:e1:d2 mode=0 proto=WPA RSN # key_mgmt=WPA-PSK # pairwise=CCMP # group=CCMP scan_ssid=1 } $ STEPS $ wpa_supplicant -d -i wpi0 -c /etc/wpa_supplicant Initializing interface 'wpi0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' - '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Priority group 0 id=0 ssid='SpeedTouch1EC5E8' Initializing interface (2) 'wpi0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:1b:77:b5:98:bd wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 10 usec Added interface wpi0 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec State: DISCONNECTED - SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 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) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (broadcast SSID) Received 0
Re: [Wireless] Can't connect to wlan
Okay, so here goes: SYNOPSIS Wireless network gets detected, but has no carrier. So I can't connect. PROMPT All prompts are indicated as $ to avoid confusion with #-comment lines, but in reality most things are done by root. THE NETWORK SSID: SpeedTouch1EC5E8 radio type: 11g security type: WPA2-PSK PSK: known Station: Thomson ST 780 WL Wireless modem Signal: present (Windows picks it up right away) and generally excellent THE COMPUTER Thoshiba Satellite P200 1A4 notebook Wireless card: Intel 3945ABG OS: FreeBSD 7.0-RC3 KERNEL The driver for the Intel 3945ABG card is wpi. As instructed by its manpage, my /boot/loader.conf reads: $ cat /boot/loader.conf if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES wlan_xauth_load=YES legal.intel_wpi.license_ack=1 $ Relevant dmesg greps: $ dmesg|grep wpi wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xd800-0xd8000fff irq 17 at device 0.0 on pci4 wpi0: Ethernet address: 00:1b:77:b5:98:bd wpi0: [ITHREAD] wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps $ dmesg|grep wlan $ dmesg|grep firmware $ CONFIGURATION My /etc/wpa_supplicant.conf: $ cat /etc/wpa_supplicant.conf #eapol_version=2 network={ ssid=SpeedTouch1EC5E8 psk= (the correct preshared key, that is) # bssid=00:90:d0:f3:e1:d2 mode=0 proto=WPA RSN # key_mgmt=WPA-PSK # pairwise=CCMP # group=CCMP scan_ssid=1 } $ STEPS $ wpa_supplicant -d -i wpi0 -c /etc/wpa_supplicant Initializing interface 'wpi0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' - '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Priority group 0 id=0 ssid='SpeedTouch1EC5E8' Initializing interface (2) 'wpi0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:1b:77:b5:98:bd wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 10 usec Added interface wpi0 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec State: DISCONNECTED - SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 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) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request:
Re: [Wireless] Can't connect to wlan
Redirect - freebsd-mobile, cc Ben Ref: http://lists.freebsd.org/pipermail/freebsd-current/2007-November/080653.html On Sunday 24 February 2008 16:50:47 Alphons Fonz van Werven wrote: Okay, so here goes: SYNOPSIS Wireless network gets detected, but has no carrier. So I can't connect. PROMPT All prompts are indicated as $ to avoid confusion with #-comment lines, but in reality most things are done by root. THE NETWORK SSID: SpeedTouch1EC5E8 radio type: 11g security type: WPA2-PSK PSK: known Station: Thomson ST 780 WL Wireless modem Signal: present (Windows picks it up right away) and generally excellent THE COMPUTER Thoshiba Satellite P200 1A4 notebook Wireless card: Intel 3945ABG OS: FreeBSD 7.0-RC3 KERNEL The driver for the Intel 3945ABG card is wpi. As instructed by its manpage, my /boot/loader.conf reads: $ cat /boot/loader.conf if_wpi_load=YES wlan_load=YES wlan_amrr_load=YES firmware_load=YES wpifw_load=YES wlan_xauth_load=YES legal.intel_wpi.license_ack=1 $ Relevant dmesg greps: $ dmesg|grep wpi wpi0: Intel(R) PRO/Wireless 3945ABG mem 0xd800-0xd8000fff irq 17 at device 0.0 on pci4 wpi0: Ethernet address: 00:1b:77:b5:98:bd wpi0: [ITHREAD] wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps $ dmesg|grep wlan $ dmesg|grep firmware $ CONFIGURATION My /etc/wpa_supplicant.conf: As you can see in the aboved mentioned URL, wpi and wpa_supplicant don't play nice. I had the same problem yesterday, setting wpi through ifconfig (WEP in my case) and the card just works. I also had the bluetooth message, but Fonz doesn't seem to have that. # ident /boot/kernel/if_wpi.ko /boot/kernel/if_wpi.ko: $FreeBSD: src/sys/dev/wpi/if_wpi.c,v 1.5.2.2 2008/02/02 06:49:57 sam Exp $ My kernel is GENERIC with ULE scheduler rather then 4BSD. I want to investigate more this week, with a debug kernel and/or wpi in debug mode. Since RELENG_7 is probably thawed/frozen, is there patches from -current you can backport to have tested? Leaving the rest of the email in tact so you have a full report. $ cat /etc/wpa_supplicant.conf #eapol_version=2 network={ ssid=SpeedTouch1EC5E8 psk= (the correct preshared key, that is) # bssid=00:90:d0:f3:e1:d2 mode=0 proto=WPA RSN # key_mgmt=WPA-PSK # pairwise=CCMP # group=CCMP scan_ssid=1 } $ STEPS $ wpa_supplicant -d -i wpi0 -c /etc/wpa_supplicant Initializing interface 'wpi0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' - '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Priority group 0 id=0 ssid='SpeedTouch1EC5E8' Initializing interface (2) 'wpi0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:1b:77:b5:98:bd wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 10 usec Added interface wpi0 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec State: DISCONNECTED - SCANNING Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 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) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (specific SSID) Scan SSID - hexdump_ascii(len=16): 53 70 65 65 64 54 6f 75 63 68 31 45 43 35 45 38 SpeedTouch1EC5E8 Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from
[Wireless] Can't connect to wlan
Howdy, I've been trying to connect my laptop, running 7.0-RC3, to my wireless network but It Isn't Working. Wpa_supplicant can find the network ok and ifconfig shows the correct SSID, authentication mode, protocol, BSSID etc. However, it also says no carrier. So needless to say DHCP cries no link and fails. Any idea what the problem could be here? If you need more information, let me know and I'll cook up a more elaborate message, but I thought I'd keep it short at first, so as not to swamp the list with lots of output right away. Any help will be greatly appreciated because at the moment I'm stuck with Vista if I need the Internet and I don't like Windows... Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Wireless] Can't connect to wlan
On Saturday 23 February 2008 20:50:04 Alphons Fonz van Werven wrote: Howdy, I've been trying to connect my laptop, running 7.0-RC3, to my wireless network but It Isn't Working. Wpa_supplicant can find the network ok and ifconfig shows the correct SSID, authentication mode, protocol, BSSID etc. However, it also says no carrier. So needless to say DHCP cries no link and fails. First cause to check is authentication keys. I'm going to assume you're using WEP, in which case the nr.1 cause with wpa_supplicant is that you're trying to use wepkey1 rather then wepkey0. It should look like this: wep_key0=FE0lblablablehexkey wep_tx_keyidx=0 If it's not wep you're using, now would be a good time to mention what you are using :) -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Wireless] Can't connect to wlan
Mel wrote: If it's not wep you're using, now would be a good time to mention what you are using :) Okay. I was hoping that the no carrier thing indicated some trivial mistake on my part but since it's WPA2 I'm using I'll post a more elaborate message. It may take a while to gather all the data, commands, output, dmesg greps etc. though. To be continued, Alphons -- All right, that does it Bill [Donahue]. I'm pretty sure that killing Jesus is not very Christian. -- pope Benedict XVI, South Park episode #158 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Wireless] Can't connect to wlan
Alphons Fonz van Werven wrote: Mel wrote: If it's not wep you're using, now would be a good time to mention what you are using :) Okay. I was hoping that the no carrier thing indicated some trivial mistake on my part but since it's WPA2 I'm using I'll post a more elaborate message. It may take a while to gather all the data, commands, output, dmesg greps etc. though. To be continued, Alphons Did you read the handbook about wireless support. The chapter is very well written. The first thing I would make sure is that you have proper drivers loaded into the kernel. Generic kernel doesn't contain drivers for wpa support. wpa supplicant file looks good. Other things to notice is that some Wi cards do not support WPA or/and WPA2:-( if I remember correctly. Make sure your WiFi router is in Wi mode. We had people trouble shooting WiFi network for hours just to realize that they use WEP. Do not use WPE unless you set up IPsec or OpenVPN. I would definitely set IPsec even with WAP or WAP2. You might want to turn off the PF until you configure thins. Other than that much more info is needed to trouble shoot Best, Predrag Best ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]