WPA with ath

From: Bryan Bunch (bbunch_at_gmail.com)
Date: 01/22/05

  • Next message: Julian Elischer: "Re: Cannot install kernel as user"
    Date: Fri, 21 Jan 2005 19:18:47 -0600
    To: freebsd-current@freebsd.org
    
    

    Hello All,

    I am having a little trouble getting my WiFi card to work properly.

    --Card - Netgear WGS511T
    -- I am running FreeBSD 6.0-CURRENT #0: Fri Jan 21 16:03:10 CST 2005 .
    -- The latest port of wpa_supplicant.

    My kernel has the following necessary lines:
    # Wireless NIC cards
    device wlan # 802.11 support
    device ath
    device ath_hal
    device ath_rate_onoe

    Below is the process I am using:
    -- Boot machine
    -- kldload wlan_tkip
    -- Put card in PCMCIA slot and I get the message saying that it sees the card.
    -- do a ifconfig ath0 up
    -- wpa_supplicant -iath0 -c /usr/local/etc/wpa_supplicant.conf

    Below is some of the output I get:
    =========================
    Trying to associate with 00:0c:41:f3:bd:a2 (SSID='1024' freq=2437 MHz)
    Associated with 00:0c:41:f3:bd:a2
    WPA: Key negotiation completed with 00:0c:41:f3:bd:a2 [PTK=TKIP GTK=TKIP]
    WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
    WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
    WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
    Disconnect event - remove keys
    Associated with 00:0c:41:f3:bd:a2
    WPA: Key negotiation completed with 00:0c:41:f3:bd:a2 [PTK=TKIP GTK=TKIP]
    WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
    WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
    WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
    Disconnect event - remove keys
    Associated with 00:0c:41:f3:bd:a2
    WPA: Key negotiation completed with 00:0c:41:f3:bd:a2 [PTK=TKIP GTK=TKIP]
    WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
    WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
    WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
    =============================

    I keep getting the same thing over and over. I'm assuming it's working
    since if I go to a terminal window and do a ifconfig, I get:

    ==================
    ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
            inet6 fe80::209:5bff:fec8:2255%ath0 prefixlen 64 scopeid 0x4
            ether 00:09:5b:c8:22:55
            media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
            status: associated
            ssid 1024 channel 6 bssid 00:0c:41:f3:bd:a2
            authmode WPA1+WPA2/802.11i privacy ON deftxkey 1
            TKIP 1:128-bit <0a718f0eeaef5e32086fcccaca5ba6ba> rsc 3 tsc 1
            TKIP 3:128-bit <86d5577cc68329ad2fb6f9e7a212fb49> rsc 16 tsc 1
            txpowmax 43 protmode CTS roaming MANUAL bintval 100

    ==================

    BUT when I try and do a:

    ifconfig ath0 inet 192.168.1.40 netmask 255.255.255.0

    The address appears under the ifconfig, but I cannot go anywhere. I
    can ping the local interface, but nothing outside of it.

    What am I doing wrong?

    Thanks for any help/guidance.

    Bryan
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Julian Elischer: "Re: Cannot install kernel as user"

    Relevant Pages

    • Re: Internet connection
      ... > Check that your card is recognized with ifconfig. ... Windows IP Configuration ... Ethernet adapter Local Area Connection: ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Cant change MAC address of my WAG311
      ... >> which changed the MAC address in the ifconfig ath0 output. ... > exit 0 ... > # Random D-Link Card ...
      (freebsd-questions)
    • Re: : HEADSUP: new ath and hal - almost unusable?
      ... outbound traffic from the wired interface? ... the wired NIC is communicating normally to/from it's own IP address and it shows ifconfig when the card is dead as: ... the clients are other atheros cards on XP and FBSD, ndis on FBSD, orinoco on XP and FBSD, senao on XP and Fbsd ... Even if it does not help either, I change to boot releng_5 and the card works fine and stable on the exactly same hardware ...
      (freebsd-stable)
    • RE: Newbie wirless install question
      ... I am still trying to get my wireless card working. ... ifconfig shows that wi0 is: ... I am attempting to install FreeBSD on my Dell Inspiron 8100 laptop. ... sound and my wireless card are not working. ...
      (freebsd-questions)
    • Re: : HEADSUP: new ath and hal - almost unusable?
      ... shows ifconfig when the card is dead as: ... Once I have that I can try to reproduce the ... the clients are other atheros cards on XP and FBSD, ndis on FBSD, orinoco on ...
      (freebsd-stable)