Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 11:24:14 -0500
From:      "Kernel Jake" <kerneljake@hotmail.com>
To:        freebsd-mobile@freebsd.org
Subject:   Re: ath 802.11g throughput in 6.2-RELEASE
Message-ID:  <BAY136-F28409EAE3F640953AA5395D1370@phx.gbl>
In-Reply-To: <464CE18C.2070202@errno.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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