I&#39;m trying to convert an old P3 into a wireless router + AP with 2 ethernet ports and a wlan port.<br>I&#39;m using a Asus
  WL-138G v2 PCI Card with 4318 chipset.<br>I&#39;m running Ubuntu 8.10 with 2.6.27-7 kernel and I&#39;ve build the latest b43 and ssb drivers/modules from compat-wireless-2.6, as described on <a href="http://www.linuxwireless.org">http://www.linuxwireless.org</a>, which includes the latest firmware for the b43. Also, as suggested, I&#39;ve build and installed the latest version of HostAPD from the git repository.<br>
<br>Apart from initial setup problems, I have three problems remaining from getting a perfect setup:<br>1) On system start-up, the b43 module will not load, because ssb is already loaded and is not the right version (&#39;b43: disagrees about version of symbol ssb_device_is_enabled&#39;). After start-up I unload module ssb and then load b43 and it will work fine. I&#39;m not sure how to solve this problem that i don&#39;t need to unload and load after start-up (and also having to restart networking, hostapd and dhcp3-server).<br>
<br>2) My Windows XP laptop (with intel 802.11g wireless and using standard XP toolset) is having difficulties connecting with the wireless AP when I use WPA2 Personal security. It will connect, but often only after disabling and enabling the radio on the laptop. On the same laptop in my Ubuntu environment it works perfectly, as for Windows XP with open system (no WPA2). Another XP laptop with intel 802.11g wireless with Intel toolset is having no difficulties with the WPA2 Personal security enabled. So far I&#39;m unsure what to do to solve this problem. However, it might be related to my 3rd problem.<br>
<br>3) The third and last problem is the most problematic one, as it will actually block me from using this setup. When the connection is made, and the client is reporting an excellent link, the maximum transfer speed is about 100 kbytes/s (both up and down). With WPA2 security the transfer rate is a little lower compared to open system. While transferring, it is nearly impossible to setup another connection or to browse some where else. However, the system load on the P3 is still very low. I&#39;ve been testing numerous things:<br>
- Set different channels.<br>- Limiting the rates to 5.5M (in hostapd)<br>- Disabling security.<br>- Not using bridge of wlan0 and eth0 (eth1 is the WAN port)<br>- Different b43 firmware (not working) and original b43/ssb module (not possible to run in master mode)<br>
None of the above gave me any clue to where the problem lies. I&#39;ve kept most settings at their default settings and hostapd logging doesn&#39;t show anything unusual, except for the occasional &#39;b43-phy0 ERROR: PHY transmission error&#39;, but these are not that often to cause this huge drop in performance.<br>
To test the cards&#39; capabilities, i used the b43 in normal mode connecting to my current ADSL router: about 950 kbytes/s, so it is possible to go faster.<br><br>Any help to debug this problem is appreciated.<br>Below I&#39;ve listed some useful information, if more is needed, I&#39;ll try to retrieve it.<br>
<br>Thanks!<br><br>Some useful information:<br>ino@router:~$ uname -a<br>Linux router 2.6.27-7-server #1 SMP Tue Nov 4 20:18:35 UTC 2008 i686 GNU/Linux<br><br>Excerpt from dmesg:<br>[&nbsp;&nbsp; 39.844244] b43-pci-bridge 0000:02:0a.0: PCI INT A disabled<br>
[&nbsp;&nbsp; 39.926191] b43-pci-bridge 0000:02:0a.0: PCI INT A -&gt; GSI 21 (level, low) -&gt; IRQ 21<br>[&nbsp;&nbsp; 40.040137] ssb: Sonics Silicon Backplane found on PCI device 0000:02:0a.0<br>[&nbsp;&nbsp; 40.082437] b43-phy0: Broadcom 4318 WLAN found<br>
[&nbsp;&nbsp; 40.241470] phy0: Selected rate control algorithm &#39;pid&#39;<br>[&nbsp;&nbsp; 40.405151] Broadcom 43xx driver loaded [ Features: PMLR, Firmware-ID: FW13 ]<br>[&nbsp;&nbsp; 50.832520] input: b43-phy0 as /devices/virtual/input/input5<br>
[&nbsp;&nbsp; 51.030098] firmware: requesting b43/ucode5.fw<br>[&nbsp;&nbsp; 51.105630] firmware: requesting b43/pcm5.fw<br>[&nbsp;&nbsp; 51.119585] firmware: requesting b43/b0g0initvals5.fw<br>[&nbsp;&nbsp; 51.132490] firmware: requesting b43/b0g0bsinitvals5.fw<br>
[&nbsp;&nbsp; 51.260089] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)<br>[&nbsp;&nbsp; 51.330476] Registered led device: b43-phy0::tx<br>[&nbsp;&nbsp; 51.330539] Registered led device: b43-phy0::rx<br>[&nbsp;&nbsp; 51.330586] Registered led device: b43-phy0::assoc<br>
[&nbsp;&nbsp; 51.330635] Registered led device: b43-phy0::radio<br>[&nbsp;&nbsp; 51.370133] b43-phy0: Radio turned on by software<br>[&nbsp;&nbsp; 52.316951] input: b43-phy0 as /devices/virtual/input/input6<br>[&nbsp;&nbsp; 52.630036] b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)<br>
[&nbsp;&nbsp; 52.700474] Registered led device: b43-phy0::tx<br>[&nbsp;&nbsp; 52.700536] Registered led device: b43-phy0::rx<br>[&nbsp;&nbsp; 52.700581] Registered led device: b43-phy0::assoc<br>[&nbsp;&nbsp; 52.700631] Registered led device: b43-phy0::radio<br>
<br>
My hostapd.conf (partly):<br>interface=wlan0<br>driver=nl80211<br>ssid=DekkerHome<br>country_code=EU<br>hw_mode=g<br>channel=1<br>beacon_int=100<br>dtim_period=2<br>max_num_sta=255<br>rts_threshold=2347<br>fragm_threshold=2346<br>
macaddr_acl=0<br>auth_algs=3<br>ignore_broadcast_ssid=0<br>wme_enabled=1<br>wme_ac_bk_cwmin=4<br>wme_ac_bk_cwmax=10<br>wme_ac_bk_aifs=7<br>wme_ac_bk_txop_limit=0<br>wme_ac_bk_acm=0<br>wme_ac_be_aifs=3<br>wme_ac_be_cwmin=4<br>
wme_ac_be_cwmax=10<br>wme_ac_be_txop_limit=0<br>wme_ac_be_acm=0<br>wme_ac_vi_aifs=2<br>wme_ac_vi_cwmin=3<br>wme_ac_vi_cwmax=4<br>wme_ac_vi_txop_limit=94<br>wme_ac_vi_acm=0<br>wme_ac_vo_aifs=2<br>wme_ac_vo_cwmin=2<br>wme_ac_vo_cwmax=3<br>
wme_ac_vo_txop_limit=47<br>wme_ac_vo_acm=0<br>own_ip_addr=<a href="http://192.168.0.1">192.168.0.1</a><br>wpa=0<br>