Ath0 802.11 comes up with Sam's patch but shows no carrier and I can't make it connect.

Edwin L. Culp eculp at cloudmaster.info
Thu Jun 19 23:25:37 UTC 2008


Quoting "Paul B. Mahol" <onemda at gmail.com>:

> Because it looks like you are using CURRENT, first you need to create
> wlanX interface:
>
> ifconfig wlan create wlandev ath0
>
> Read man page of ath (if you did installed new world) and/or entry in
> /usr/src/UPDATING dated 20080420.

Sorry I missed that Paul.  Thanks for calling it to my attention.

I have tried to follow the instructions in the ath and wlan manual  
pages and the UPDATING file but my end result hasn't changed - "no  
carrier".  I'm sure that I am still missing something else.

My rc.conf has changed from:
>> if_ath_load="yes"
>> ifconfig_ath0="DHCP"
to
#  ath new config
wlans_ath0=wlan0
ifconfig_wlan0="WPA DHCP"

The only reference to ath0 being in the wlans_ath0 line.

The related parts of my verbose dmesg are:

ath_rate: version 1.2 <SampleRate bit-rate selection algorithm>
wlan: <802.11 Link Layer>

ath0: <Atheros 5424/2424> mem 0xf2200000-0xf220ffff irq 19 at device  
0.0 on pci5
ath0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xf2200000
ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64
ath0: [MPSAFE]
ath0: [ITHREAD]
ath0: hal channel 2412/a0 -> 1 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2412/c0 -> 1 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2417/a0 -> 2 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2417/c0 -> 2 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2422/a0 -> 3 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2422/c0 -> 3 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2427/a0 -> 4 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2427/c0 -> 4 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2432/a0 -> 5 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2432/c0 -> 5 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2437/a0 -> 6 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2437/c0 -> 6 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2442/a0 -> 7 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2442/c0 -> 7 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2447/a0 -> 8 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2447/c0 -> 8 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2452/a0 -> 9 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2452/c0 -> 9 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2457/a0 -> 10 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2457/c0 -> 10 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2462/a0 -> 11 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2462/c0 -> 11 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2467/a0 -> 12 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2467/c0 -> 12 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2472/a0 -> 13 maxpow 32 minpow 0 maxreg 20
ath0: hal channel 2472/c0 -> 13 maxpow 32 minpow 0 maxreg 20
ath0: WARNING: using obsoleted if_watchdog interface
ath0: bpf attached
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps  
24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 14.2 phy 7.0 radio 10.2
ath0: Use hw queue 1 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Use hw queue 8 for CAB traffic
ath0: Use hw queue 9 for beacons

wlan0: bpf attached
wlan0: Ethernet address: 00:1d:d9:27:5c:e5
wlan0: bpf attached

Which in my ignorance seem fine.

My ifconfig is now:

ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
	ether 00:1d:d9:27:5c:e5
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier

wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 00:1d:d9:27:5c:e5
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
	ssid "" channel 1 (2412 Mhz 11b)
	regdomain 101 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

Both have "no carrier" and neither will do scan

ifconfig wlan0 scan

seems to be ignored and

  # ifconfig ath0 scan
ifconfig: unable to get results

I have been looking for more examples of how to get it up and have  
tried assigning a AP and ip and it accepts them but still no carrier  
and no communication.

I'm going to erase the previous report because this has changed  
completely to save space.

Thanks to anyone who can give me a bit more guidence.

Maybe my rc.conf is missing something or scan no longer works or . . . .

ed


More information about the freebsd-mobile mailing list