From owner-freebsd-current@FreeBSD.ORG Sun Oct 5 05:18:28 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 89B18106568E for ; Sun, 5 Oct 2008 05:18:28 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 513AB8FC18 for ; Sun, 5 Oct 2008 05:18:28 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id m955IRSh057290 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Oct 2008 22:18:27 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <48E84E23.3000002@freebsd.org> Date: Sat, 04 Oct 2008 22:18:27 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: =?UTF-8?B?QXNoaXNoIFNodWtsYSDgpIbgpLbgpYDgpLcg4KS24KWB4KSV4KWN4KSy?= References: <20080929173223.183035ohkgl7jk3b@econet.encontacto.net> <20080930054432.GB5863@chateau.d.lf> <48E24842.4070409@freebsd.org> <87bpy5imh8.fsf@chateau.d.lf> <48E3A944.3030809@freebsd.org> <8763oct2u8.fsf@chateau.d.lf> <871vyze15z.fsf@chateau.d.lf> <48E6E6BF.2020908@freebsd.org> <874p3sbjda.fsf@chateau.d.lf> In-Reply-To: <874p3sbjda.fsf@chateau.d.lf> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-current Subject: Re: I lost ath0 support on current sometime between Sept 20 and Sept 26. 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: Sun, 05 Oct 2008 05:18:28 -0000 Ashish Shukla आशीष शुक्ल wrote: > Sam Leffler writes: > > > > >> I've lost track of what you've tried. Try to simplify your >> configuration to isolate what is causing the problem. For example, >> disable WPA and see if you can associate and pass traffic. If that >> works then we know this is a crypto problem. If you cannot setup an >> open association then I probably need a packet trace from a 3rd >> station to see what's happening. >> > > Following is what I did when I booted my FreeBSD notebook: > > ---->8---->8---- > abbe [~] monte-cristo% ifconfig > ath0: flags=8802 metric 0 mtu 2290 > ether 00:1f:3a:1a:50:b3 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > 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 > inet6 fdxx:xxxx:xxxx:xxxx::3 prefixlen 64 > media: Ethernet autoselect (none) > status: no carrier > 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=8802 metric 0 mtu 1500 > ether 00:1f:3a:1a:50:b3 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > ssid "" channel 1 (2412 Mhz 11b) > regdomain 103 indoor ecm authmode OPEN privacy OFF txpower 16 bmiss 7 > scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 > roam:rate 1 wme burst bintval 0 > abbe [~] monte-cristo% sudo ifconfig wlan0 up > Password: > abbe [~] monte-cristo% sudo ifconfig wlan0 list scan > SSID BSSID CHAN RATE S:N INT CAPS > 18-B-PARVATIYA 00:1e:2a:76:f4:60 6 54M -66:-96 100 ES WME ATH > abbe [~] monte-cristo% sudo ifconfig wlan0 bssid 00:1e:2a:76:f4:60 > 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 > inet6 fdxx:xxxx:xxxx:xxxx::3 prefixlen 64 > media: Ethernet autoselect (none) > status: no carrier > 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 OPEN privacy OFF txpower 16 bmiss 7 > scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 > roam:rate 5 protmode CTS wme burst > abbe [~] monte-cristo% sudo ifconfig rl0 172.16.0.7 -alias > abbe [~] monte-cristo% sudo ifconfig wlan0 172.16.0.8/27 > abbe [~] monte-cristo% ping 172.16.0.2 > PING 172.16.0.2 (172.16.0.2): 56 data bytes > ping: sendto: Operation not permitted > ^C > --- 172.16.0.2 ping statistics --- > 1 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 172.16.0.2 > PING 172.16.0.2 (172.16.0.2): 56 data bytes > ^C > --- 172.16.0.2 ping statistics --- > 19 packets transmitted, 0 packets received, 100.0% packet loss > abbe [~] monte-cristo% ping 172.16.0.1 > PING 172.16.0.1 (172.16.0.1): 56 data bytes > ^C > --- 172.16.0.1 ping statistics --- > 1 packets transmitted, 0 packets received, 100.0% packet loss > abbe [~] monte-cristo% ping 172.16.0.3 > PING 172.16.0.3 (172.16.0.3): 56 data bytes > ^C > --- 172.16.0.3 ping statistics --- > 2 packets transmitted, 0 packets received, 100.0% packet loss > abbe [~] monte-cristo% 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 > inet 172.16.0.8 netmask 0xffffffe0 broadcast 172.16.0.31 > 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 OPEN privacy OFF txpower 16 bmiss 7 > scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 > roam:rate 5 protmode CTS wme burst > abbe [~] monte-cristo% netstat -f inet -rn > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > 127.0.0.1 127.0.0.1 UH 0 0 lo0 > 172.16.0.0/27 link#4 UC 0 0 wlan0 > abbe [~] monte-cristo% fgrep wlan /etc/rc.conf > wlans_ath0="wlan0" > #ifconfig_wlan0="WPA" > abbe [~] monte-cristo% uname -a > FreeBSD monte-cristo.france 8.0-CURRENT FreeBSD 8.0-CURRENT #10: Thu Oct 2 15:11:19 IST 2008 root@monte-cristo.france:/usr/obj/usr/src/sys/ULE amd64 > ----8<----8<---- > > The wlan0 interface is already created for me by rc scripts executing at > bootup. I've disabled authentication in my wireless access point > (Netgear WGT624). 172.16.0.{1,2,3} are my other boxes available on wired > network. I've a pf setup on this notebook, which I disabled later, as > you can see above. My rl0 interface also connects to the same router, so > I've removed 172.16.0.0/27 address assigned to my rl0, so I can assign > other address of the same network to my other interface wlan0. > > If there is some information which I missed, please tell me ? > Your problem is not wireless related. I just pulled out an identical card to yours and ran lengthy tests w/o any issues. You appear to have your network misconfigured. Sam