Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2008 18:25:20 -0500
From:      "Edwin L. Culp" <eculp@cloudmaster.info>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Ath0 802.11 comes up with Sam's patch but shows no carrier and I can't make it connect.
Message-ID:  <20080619182520.736036jkb7736k8w@intranet.cloudmaster.info>
In-Reply-To: <3a142e750806190631u4d7e9d6ajd5b85f0a97cbb1d1@mail.gmail.com>
References:  <20080619061612.39782fyb1v5rcnb4@intranet.cloudmaster.info> <3a142e750806190631u4d7e9d6ajd5b85f0a97cbb1d1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting "Paul B. Mahol" <onemda@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 =20
pages and the UPDATING file but my end result hasn't changed - "no =20
carrier".  I'm sure that I am still missing something else.

My rc.conf has changed from:
>> if_ath_load=3D"yes"
>> ifconfig_ath0=3D"DHCP"
to
#  ath new config
wlans_ath0=3Dwlan0
ifconfig_wlan0=3D"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 =20
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 =20
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=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
=09ether 00:1d:d9:27:5c:e5
=09media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
=09status: no carrier

wlan0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
=09ether 00:1d:d9:27:5c:e5
=09media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
=09status: no carrier
=09ssid "" channel 1 (2412 Mhz 11b)
=09regdomain 101 indoor ecm authmode OPEN privacy OFF txpower 16 bmiss 7
=09scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
=09roam: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 =20
tried assigning a AP and ip and it accepts them but still no carrier =20
and no communication.

I'm going to erase the previous report because this has changed =20
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



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