Oddity with an(4): Channel reported by ifconfig is wrong

Andrew Thompson thompsa at FreeBSD.org
Thu Jul 12 01:12:28 UTC 2007


On Wed, Jul 11, 2007 at 10:24:48AM -0700, David Wolfskill wrote:
> This may be an off-by-one issue:  I have two APs with the same SSID;
> one on channel 1; the other on channel 6.  But:
> 
> g1-1(7.0-C)[1] uname -a
> FreeBSD g1-1.catwhisker.org. 7.0-CURRENT FreeBSD 7.0-CURRENT #480: Wed Jul 11 09:44:13 PDT 2007     root at g1-1.catwhisker.org.:/common/S4/obj/usr/src/sys/CANARY  i386
> g1-1(7.0-C)[2] 
> 
> g1-1(7.0-C)[3] ifconfig
> xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=9<RXCSUM,VLAN_MTU>
>         ether 00:08:74:e5:95:cb
>         media: Ethernet autoselect (none)
>         status: no carrier
> fwe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=8<VLAN_MTU>
>         ether 46:4f:c0:76:40:41
>         ch 1 dma -1
> fwip0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         lladdr 44.4f.c0.0.30.76.40.41.a.2.ff.fe.0.0.0.0
> plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> metric 0 mtu 1500
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 
>         inet6 ::1 prefixlen 128 
>         inet 127.0.0.1 netmask 0xff000000 
> wi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         ether 00:02:2d:5b:2c:78
>         media: IEEE 802.11 Wireless Ethernet autoselect (none)
>         status: no carrier
>         ssid catwhisker channel 1 (2412 Mhz 11b)
>         stationname "FreeBSD WaveLAN/IEEE node"
>         authmode OPEN privacy ON deftxkey 1 wepkey 1:40-bit txpowmax 100
>         bmiss 7 scanvalid 60
> 
> As you see, the an0 NIC (a PCMCIA part) is the only one in use (as
> the miniPCI wi0 still doesn't associate).

So wi is still not working at all? Can you post the log again with
debug.wi set to 2.

Does 'ifconfig wi0 scan' show anything?


Andrew


More information about the freebsd-current mailing list