1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Atheros card doesn't work w/ WLAN under Linux

Discussion in 'Linksys Official Firmware' started by mmueller, Jul 31, 2005.

  1. mmueller

    mmueller Network Guru Member

    Hi,

    I have a WRT54GS router which I just flashed with the latest official Linksys firmware. I am able to use the WLAN from my Windows partition, but it doesn't work under Linux. I run Slackware w/ Madwifi for the Atheros card on my laptop.

    ifconfig indicates that every received packet has an error:

    root@turing:/home/mark# ifconfig
    ath0 Link encap:UNSPEC HWaddr 99-24-33-8F-2B-E9-00-00-00-00-00-00-00-00-00-00
    UP BROADCAST PROMISC MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:1485 dropped:0 overruns:0 frame:1485
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:200
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:5 Memory:e0aa0000-e0ab0000


    Here's some relevant stuff from dmesg:

    root@turing:/home/mark# ifconfig
    ath0 Link encap:UNSPEC HWaddr 99-24-33-8F-2B-E9-00-00-00-00-00-00-00-00-00-00
    UP BROADCAST PROMISC MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:1485 dropped:0 overruns:0 frame:1485
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:200
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
    Interrupt:5 Memory:e0aa0000-e0ab0000


    Finally, here's what Kismet says:

    <wireless-network number="2" type="infrastructure" wep="false" cloaked="false"
    first-time="Thu Jul 28 17:50:31 2005" last-time="Thu Jul 28 17:56:59 2005">
    <SSID>turandot</SSID>
    <BSSID>11:11:11:11:11:11</BSSID>
    <channel>11</channel>
    <maxrate>54.0</maxrate>
    <maxseenrate>0</maxseenrate>
    <carrier>IEEE 802.11b</carrier>
    <carrier>IEEE 802.11g</carrier>
    <packets>
    <LLC>3120</LLC>
    <data>18</data>
    <crypt>0</crypt>
    <weak>0</weak>
    <dupeiv>0</dupeiv>
    <total>3138</total>
    </packets>
    <datasize>5332</datasize>
    <gps-info unit="english">
    <min-lat>90.000000</min-lat>
    <min-lon>180.000000</min-lon>
    <min-alt>0.000000</min-alt>
    <min-spd>0.000000</min-spd>
    <max-lat>-90.000000</max-lat>
    <max-lon>-180.000000</max-lon>
    <max-alt>0.000000</max-alt>
    <max-spd>0.000000</max-spd>
    </gps-info>
    <ip-address type="udp">
    <ip-range>192.168.1.1</ip-range>
    </ip-address>


    Any ideas about what's going wrong? Could it be that the Atheros card doesn't speak Linksys Speedbooster?

    Mark
     
  2. mmueller

    mmueller Network Guru Member

    Got it working

    Figured I'd give an update since I got this working. I had been trying to connet to the wireless router from Linux using no encryption, figuring that that was the place to begin. I spent many hours trying to get it to work, without success.

    I intended to use WPA-PSK eventually, so I decided it wouldn't hurt to install wpa_supplicant before I was ready to use it. Configuration was not obvious since I had no idea what all the options were, and which ones I needed. Furthermore, in the madwifi source code directory there was no /wpa subdirectory, so I really doubted that the compile would work. But it did. I installed and configured the program, configured the Linksys router to use WPA-PSK, and it worked!
     

Share This Page