From owner-freebsd-current@FreeBSD.ORG Tue Sep 23 04:37:09 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 651BB1065674 for ; Tue, 23 Sep 2008 04:37:09 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by mx1.freebsd.org (Postfix) with ESMTP id B5FF18FC0A for ; Tue, 23 Sep 2008 04:37:08 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so953118tid.3 for ; Mon, 22 Sep 2008 21:37:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:x-face :references:x-uptime:x-url:x-openpgp-id:x-openpgp-fingerprint:x-os :x-mailer:x-mail-morse:x-attribution:organization:from:date :in-reply-to:message-id:user-agent:face:mime-version:content-type :sender; bh=njwcwgUaRvqu6X45+Osr+I9aVj0OxhlNMUKIxF09Qo0=; b=l7T3mGlmvGnx9ttt5j8lYTD9mFBFj6PApcfaQJI4WiBy+rdRB3n38BFq+RM8qHkUy+ 4IpwWe4xegVIqPjMVE0pZJOz4hynezL/TAjhxb3DUWkCH0Y228ZRTqQnrFurO6UzFT3b k/8IHBm6Z94vxiNxiYF0b5IS/kVzC48j8fUz4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:x-face:references:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution :organization:from:date:in-reply-to:message-id:user-agent:face :mime-version:content-type:sender; b=lntYZbf0NsNOw1Exmt64V8a1gO+49kZp/Qx3gf48EkmL/X2UUmrrdnIkG1VpTUCEkl 3Xj3LbSiVMfEjRqk+UPdXzdpCljsjMUjTeO8S5JGF8fY7VRPtzJWsmD4A1roBtLye4bz 060ULozdQrxeeKKH7zEDvYWW1vcOAGoJ3+i7Y= Received: by 10.110.68.4 with SMTP id q4mr4329861tia.0.1222144622798; Mon, 22 Sep 2008 21:37:02 -0700 (PDT) Received: from chateau.d.lf ( [122.162.250.54]) by mx.google.com with ESMTPS id i6sm3489990tid.5.2008.09.22.21.36.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Sep 2008 21:37:01 -0700 (PDT) To: "Paul B. Mahol" X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 References: <87bpyjkc6p.fsf@chateau.d.lf> <873ajr6ews.fsf@chateau.d.lf> <3a142e750809221511p47b59a40hcf3679adbc2642c7@mail.gmail.com> X-Uptime: 09:50:26 up 19 min, 1 user, load average: 0.07, 0.33, 0.25 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.11 (Oort 5.11) Emacs/22.3.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Organization: alt.religion.emacs From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) Date: Tue, 23 Sep 2008 10:07:11 +0530 In-Reply-To: <3a142e750809221511p47b59a40hcf3679adbc2642c7@mail.gmail.com> (Paul B. Mahol's message of "Tue\, 23 Sep 2008 00\:11\:17 +0200") Message-ID: <87y71jlbpk.fsf@chateau.d.lf> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= Cc: freebsd-current@freebsd.org Subject: Re: Setting up atheros (168c:001c) wireless NIC in FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2008 04:37:09 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 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 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjYcnsACgkQHy+EEHYuXnTHmACgmphdrpzjHkF8i79bjijxz5ZN XnkAn3WuadVTDp2aQfKqTVr+anxbE7YW =g866 -----END PGP SIGNATURE----- --=-=-=--