ath 802.11g throughput in 6.2-RELEASE

Kernel Jake kerneljake at hotmail.com
Mon May 21 16:24:16 UTC 2007


The problem was that my ath0 was acting as an access point instead of a 
client.  Note the DS (Distribution System) in the original ifconfig output:

% ifconfig ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.55 netmask 0xffffff00 broadcast 192.168.1.255
        inet 192.168.1.54 netmask 0xffffffff broadcast 192.168.1.54
        ether 00:11:95:92:72:55
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g (DS/11Mbps)
        status: associated
        ssid yagi channel 2 bssid 00:14:bf:27:f1:bc
        authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit
        txpowmax 36 bmiss 7 protmode OFF burst roaming MANUAL bintval 100

I did 'ifconfig ath0 scan' and rebooted, and now it's a client in OFDM mode 
like it should be:

% ifconfig ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.55 netmask 0xffffff00 broadcast 192.168.1.255
        inet 192.168.1.54 netmask 0xffffffff broadcast 192.168.1.54
        ether 00:11:95:92:72:55
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11g 
(OFDM/54Mbps)
        status: associated
        ssid yagi channel 2 bssid 00:14:bf:27:f1:bc
        authmode WPA privacy ON deftxkey UNDEF TKIP 3:128-bit txpowmax 36
        bmiss 7 protmode OFF burst roaming MANUAL bintval 100

% grep ath /etc/rc.conf
ifconfig_ath0="inet 192.168.1.55 netmask 255.255.255.0 protmode off mode 
11g"


P.S. Any idea why 'athstats 1' goes kaboom after two iterations?

# athstats 1
   input   output altrate   short    long xretry crcerr crypt  phyerr rssi 
rate
       0        0       0       0       0      0      0     0       0    0  
11M
       0        0       0       0       0      0      0     0       0    0   
0M
athstats: ath0: Inappropriate ioctl for device

_________________________________________________________________
Like the way Microsoft Office Outlook works? You’ll love Windows Live 
Hotmail. 
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_outlook_0507



More information about the freebsd-mobile mailing list