Re: Setting up atheros (168c:001c) wireless NIC in FreeBSD - FreeBSD

This is a discussion on Re: Setting up atheros (168c:001c) wireless NIC in FreeBSD - FreeBSD ; Hi all, I've just built and installed recently checked out kernel and world. But this time, wpa_supplicant is able to detect my access point and associate it for a moment. But thats it. ----8 % ifconfig wlan0 wlan0: flags=8843 metric ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Re: Setting up atheros (168c:001c) wireless NIC in FreeBSD

  1. Re: Setting up atheros (168c:001c) wireless NIC in FreeBSD

    Hi all,

    I've just built and installed recently checked out kernel and world. But
    this time, wpa_supplicant is able to detect my access point and
    associate it for a moment. But thats it.

    ----8<----8<----
    % ifconfig wlan0
    wlan0: flags=8843 metric 0 mtu 1500
    ether 00:1f:3a:1a:50:b3
    inet6 fe80::21f:3aff:fe1a:50b3%wlan0 prefixlen 64 scopeid 0x4
    media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
    status: associated
    ssid 18-B-PARVATIYA channel 6 (2437 Mhz 11g) bssid 00:1e:2a:76:f4:60
    regdomain 103 indoor ecm authmode WPA2/802.11i privacy ON
    deftxkey UNDEF txpower 16 bmiss 7 scanvalid 450 bgscan bgscanintvl 300
    bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst
    roaming MANUAL
    ---->8---->8----

    Though it shows associated but I'm not able to ping any other nodes on
    my wireless network. OpenBSD pf is disabled on my notebook during this
    testing. Following is the link to the output of 'wpa_supplicant -dd
    -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf':

    http://pastebin.ca/1208660

    Thanks
    Ashish Shukla
    --
    () ascii ribbon campaign - against HTML e-mail
    /\ www.asciiribbon.org - against proprietary attachments
    ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
    % dig +short cname cdac.in @::1
    ms.gov.in

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)

    iEYEARECAAYFAkjYEAcACgkQHy+EEHYuXnRaMwCeMGDsf/h/TU/57rTRfkZKCFOf
    sf0An1qBhRYsB14JH2qyjNUp+58qgzoB
    =iREQ
    -----END PGP SIGNATURE-----

  2. Re: Setting up atheros (168c:001c) wireless NIC in FreeBSD

    On 9/22/08, Ashish Shukla ************ ***************
    wrote:
    > Hi all,
    >
    > I've just built and installed recently checked out kernel and world. But
    > this time, wpa_supplicant is able to detect my access point and
    > associate it for a moment. But thats it.
    >
    > ----8<----8<----
    > % ifconfig wlan0
    > wlan0: flags=8843 metric 0 mtu 1500
    > ether 00:1f:3a:1a:50:b3
    > inet6 fe80::21f:3aff:fe1a:50b3%wlan0 prefixlen 64 scopeid 0x4
    > media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
    > status: associated
    > ssid 18-B-PARVATIYA channel 6 (2437 Mhz 11g) bssid 00:1e:2a:76:f4:60
    > regdomain 103 indoor ecm authmode WPA2/802.11i privacy ON
    > deftxkey UNDEF txpower 16 bmiss 7 scanvalid 450 bgscan bgscanintvl
    > 300
    > bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst
    > roaming MANUAL
    > ---->8---->8----
    >
    > Though it shows associated but I'm not able to ping any other nodes on


    Why? You got some errors when using ping(1)?

    ifconfig output doesnt have inet, netmask and broadcast configured so
    pinging will not work anyway.
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...reebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  3. Re: Setting up atheros (168c:001c) wireless NIC in FreeBSD

    On 9/23/08, Paul B. Mahol wrote:
    > On 9/22/08, Ashish Shukla ************ ***************
    > wrote:
    >> Hi all,
    >>
    >> I've just built and installed recently checked out kernel and world. But
    >> this time, wpa_supplicant is able to detect my access point and
    >> associate it for a moment. But thats it.
    >>
    >> ----8<----8<----
    >> % ifconfig wlan0
    >> wlan0: flags=8843 metric 0 mtu
    >> 1500
    >> ether 00:1f:3a:1a:50:b3
    >> inet6 fe80::21f:3aff:fe1a:50b3%wlan0 prefixlen 64 scopeid 0x4
    >> media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
    >> status: associated
    >> ssid 18-B-PARVATIYA channel 6 (2437 Mhz 11g) bssid
    >> 00:1e:2a:76:f4:60
    >> regdomain 103 indoor ecm authmode WPA2/802.11i privacy ON
    >> deftxkey UNDEF txpower 16 bmiss 7 scanvalid 450 bgscan bgscanintvl
    >> 300
    >> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst
    >> roaming MANUAL
    >> ---->8---->8----
    >>
    >> Though it shows associated but I'm not able to ping any other nodes on

    >
    > Why? You got some errors when using ping(1)?
    >
    > ifconfig output doesnt have inet, netmask and broadcast configured so
    > pinging will not work anyway.
    >

    except if you use only ip6
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/lis...reebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  4. Re: Setting up atheros (168c:001c) wireless NIC in FreeBSD

    Paul B Mahol writes:
    > On 9/22/08, Ashish Shukla ************ ***************
    > wrote:
    >> Hi all,
    >>
    >> I've just built and installed recently checked out kernel and world. But
    >> this time, wpa_supplicant is able to detect my access point and
    >> associate it for a moment. But thats it.
    >>
    >> ----8<----8<----
    >> % ifconfig wlan0
    >> wlan0: flags=8843 metric 0 mtu 1500
    >> ether 00:1f:3a:1a:50:b3
    >> inet6 fe80::21f:3aff:fe1a:50b3%wlan0 prefixlen 64 scopeid 0x4
    >> media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
    >> status: associated
    >> ssid 18-B-PARVATIYA channel 6 (2437 Mhz 11g) bssid 00:1e:2a:76:f4:60
    >> regdomain 103 indoor ecm authmode WPA2/802.11i privacy ON
    >> deftxkey UNDEF txpower 16 bmiss 7 scanvalid 450 bgscan bgscanintvl
    >> 300
    >> bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst
    >> roaming MANUAL

    ----> 8---->8----
    >>
    >> Though it shows associated but I'm not able to ping any other nodes on


    > Why? You got some errors when using ping(1)?


    > ifconfig output doesnt have inet, netmask and broadcast configured so
    > pinging will not work anyway.


    Sorry I didn't mentioned it there, but I've assigned one of the address
    from the RFC1918 address range in use at my wireless network.

    ----8<----8<----
    abbe [~] monte-cristo% ifconfig
    ath0: flags=8843 metric 0 mtu 2290
    ether 00:1f:3a:1a:50:b3
    media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
    status: associated
    rl0: flags=8843 metric 0 mtu 1500
    options=8
    ether 00:1b:38:ea:5c:76
    inet 172.16.0.7 netmask 0xffffffe0 broadcast 172.16.0.31
    inet6 fe80::21b:38ff:feea:5c76%rl0 prefixlen 64 scopeid 0x2
    media: Ethernet autoselect (100baseTX )
    status: active
    lo0: flags=8049 metric 0 mtu 16384
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
    wlan0: flags=8843 metric 0 mtu 1500
    ether 00:1f:3a:1a:50:b3
    inet6 fe80::21f:3aff:fe1a:50b3%wlan0 prefixlen 64 scopeid 0x4
    media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11g
    status: associated
    ssid 18-B-PARVATIYA channel 6 (2437 Mhz 11g) bssid 00:1e:2a:76:f4:60
    regdomain 103 indoor ecm authmode WPA2/802.11i privacy ON
    deftxkey UNDEF txpower 16 bmiss 7 scanvalid 450 bgscan bgscanintvl 300
    bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst
    roaming MANUAL
    abbe [~] monte-cristo% sudo ifconfig rl0 172.16.0.7 -alias
    abbe [~] monte-cristo% sudo ifconfig wlan0 172.16.0.7/27
    abbe [~] monte-cristo% ping -c 4 172.16.0.2
    PING 172.16.0.2 (172.16.0.2): 56 data bytes
    ping: sendto: Operation not permitted
    ping: sendto: Operation not permitted
    ping: sendto: Operation not permitted
    ping: sendto: Operation not permitted
    ^C
    --- 172.16.0.2 ping statistics ---
    4 packets transmitted, 0 packets received, 100.0% packet loss
    abbe [~] monte-cristo% sudo pfctl -d
    No ALTQ support in kernel
    ALTQ related functions disabled
    pf disabled
    abbe [~] monte-cristo% ping -c 4 172.16.0.2
    PING 172.16.0.2 (172.16.0.2): 56 data bytes

    --- 172.16.0.2 ping statistics ---
    4 packets transmitted, 0 packets received, 100.0% packet loss
    abbe [~] monte-cristo% sudo ifconfig wlan0 172.16.0.7 -alias
    abbe [~] monte-cristo% sudo ifconfig rl0 172.16.0.7/27
    abbe [~] monte-cristo% ping -c 4 172.16.0.2
    PING 172.16.0.2 (172.16.0.2): 56 data bytes
    64 bytes from 172.16.0.2: icmp_seq=0 ttl=64 time=0.489 ms
    64 bytes from 172.16.0.2: icmp_seq=1 ttl=64 time=0.161 ms
    64 bytes from 172.16.0.2: icmp_seq=2 ttl=64 time=0.173 ms
    64 bytes from 172.16.0.2: icmp_seq=3 ttl=64 time=0.180 ms

    --- 172.16.0.2 ping statistics ---
    4 packets transmitted, 4 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 0.161/0.251/0.489/0.138 ms
    ---->8---->8----

    Both rl0 and wlan0 interfaces of my notebook connects to the same
    wireless router (802.11 abg + 4 802.3 ports, used in a switch
    fashion). And this notebook also has Gentoo GNU/Linux, where wireless
    functionality works fine with HAL 0.10.5.6 and madwifi drivers.

    Ashish
    --
    () ascii ribbon campaign - against HTML e-mail
    /\ www.asciiribbon.org - against proprietary attachments
    ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
    % dig +short cname cdac.in @::1
    ms.gov.in

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)

    iEYEARECAAYFAkjYcnsACgkQHy+EEHYuXnTHmACgmphdrpzjHk F8i79bjijxz5ZN
    XnkAn3WuadVTDp2aQfKqTVr+anxbE7YW
    =g866
    -----END PGP SIGNATURE-----

+ Reply to Thread