Re: I lost ath0 support on current sometime between Sept 20 and Sept 26.

From: Ashish Shukla आशीष शुक्ल <wahjava.ml_at_gmail.com>
Date: Sat, 04 Oct 2008 18:35:53 +0530
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_at_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 ? 

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

Received on Sat Oct 04 2008 - 11:05:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:36 UTC