Re: ifconfig ath0 list mac - no list

From: Sam Leffler <sam_at_errno.com>
Date: Sun, 03 Feb 2008 10:31:39 -0800
JoaoBR wrote:
> On Sunday 03 February 2008 03:20:48 Sam Leffler wrote:
>   
>> JoaoBR wrote:
>>     
>>> # ifconfig ath0 list mac
>>> policy: allow
>>> #
>>>
>>> actually on recent sources this command does not return the mac acl only
>>> the state
>>>       
>> This lists installed acls.  I don't see you installing any.
>>     
>
> macs are added and the acl is working 
> the thing is that the macs are not listed any more like before
>
>
>   
>>> -------------
>>>
>>> next problem that the rate is shown always as 1M, before last buildworld
>>> it still was 11M
>>>
>>> # ifconfig ath0 list stat
>>> ADDR               AID CHAN RATE RSSI IDLE  TXSEQ  RXSEQ CAPS FLAG
>>> 00:0e:2e:89:23:30    1    1   1M 18.0   15  20496  55152 EPS  A
>>> 00:0e:2e:86:d4:14    3    1   1M 19.5   15   1016  35552 EPS  A
>>> 00:06:4f:44:a0:d6    4    1   1M 11.5    0  21467  10624 EPS  A
>>> 00:08:54:ac:54:3e    5    1   1M 13.5    0    804  59408 EPS  A
>>> 00:0f:3d:68:1d:31    6    1   1M 14.5    0  10187  12928 EP   A
>>>       
>> What rate control algorithm?
>>     
>
> rate_sample
>
>
>   
>>> FreeBSD ap-n.matik.com.br 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sat
>>> Jan 19 21:36:10 BRST 2008    
>>> hmm_at_ap-n.matik.com.br:/usr/obj/usr/src/sys/wce7  amd64
>>>
>>> ath0: <Atheros 5212> mem 0xec000000-0xec00ffff irq 16 at device 8.0 on
>>> pci0 ath0: [ITHREAD]
>>> ath0: using obsoleted if_watchdog interface
>>> ath0: Ethernet address: 00:02:6f:47:c1:42
>>> ath0: mac 10.4 phy 6.1 radio 6.3
>>>       
>> Please show how your devices is setup.
>>     
>
>
> ifconfig -v ath0
> ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 
> 1500
>         ether 00:02:6f:47:c1:42
>         media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b <hostap>
>         status: associated
>         ssid LUC-N channel 1 (2412 Mhz 11b) bssid 00:02:6f:47:c1:42
>         authmode OPEN privacy ON deftxkey 1
>         wepkey 1:40-bit
>         wepkey 2:40-bit
>         wepkey 3:40-bit
>         wepkey 4:40-bit powersavemode OFF powersavesleep 100 txpower 31.5
>         txpowmax 18.5 rtsthreshold 2346 fragthreshold 2346 bmiss 7
>         scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11a 7
>         roam:rate11a 12 roam:rssi11b 7 roam:rate11b 1 roam:rssi11g 7
>         roam:rate11g 5 -pureg protmode CTS -ht -htcompat -ampdu ampdulimit 8k
>         ampdudensity - -amsdu -shortgi htprotmode RTSCTS -puren wme burst -ff
>         -dturbo hidessid -apbridge dtimperiod 1 doth inact bintval 100
>   

Both these were bugs in ifconfig and should be fixed in HEAD.  I'll MFC 
to RELENG_7 shortly and request they get pulled into 7.0.  Thanks for 
spotting them.

    Sam
Received on Sun Feb 03 2008 - 17:31:43 UTC

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