Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Oct 2008 22:18:27 -0700
From:      Sam Leffler <sam@freebsd.org>
To:        =?UTF-8?B?QXNoaXNoIFNodWtsYSDgpIbgpLbgpYDgpLcg4KS24KWB4KSV4KWN4KSy?= <wahjava.ml@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: I lost ath0 support on current sometime between	Sept	20	and	Sept 26.
Message-ID:  <48E84E23.3000002@freebsd.org>
In-Reply-To: <874p3sbjda.fsf@chateau.d.lf>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Ashish Shukla आशीष शुक्ल wrote:
> Sam Leffler writes:
>
> <snipped mess>
>
>   
>> 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<BROADCAST,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	options=8<VLAN_MTU>
> 	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<UP,LOOPBACK,RUNNING,MULTICAST> 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<BROADCAST,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	options=8<VLAN_MTU>
> 	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<UP,LOOPBACK,RUNNING,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48E84E23.3000002>