Does anyone use the ath5k driver ([url]http://madwifi.org/wiki/About/ath5k[/url])
regularly? I can't seem to get it to work. For the last kernel I built
(22.214.171.124), I thought I'd give it a try for my AR5212 Atheros card. While
the Madwifi drivers work great, I can't get any real results out of ath5k.
The first test was just monitor mode, to see if it saw traffic. It
mangaged to grab 3 packets, all invalid (unreadable via
tcpdump/tshark/etc). Another strange thing is that it sets the light on
the back of the card to a constant "on" state. This light usually blinks
during normal use while using the Madwifi drivers. The module loads OK,
the card is recognized. It will take parameters via iwconfig and take an
IP address. In other words, it appears to work fine - only doesn't ;)
su -l -s /bin/ksh
Today is Boomtime, the 16th day of Confusion in the YOLD 3174
root@ root $ ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:11:11:2b:6f:83 brd ff:ff:ff:ff:ff:ff
root@ root $ modinfo ath5k
version: 0.1.1 (EXPERIMENTAL)
license: Dual BSD/GPL
description: Support for 5xxx series of Atheros 802.11 wireless LAN cards.
author: Nick Kossifidis
author: Jiri Slaby
vermagic: 126.96.36.199 mod_unload PENTIUM4
root@ root $ modprobe ath5k
root@ root $ ip addr add 192.168.30.1/24 broadcast + dev wlan0
root@ root $ iwconfig wlan0 mode monitor
root@ root $ iwconfig wlan0
wlan0 IEEE 802.11g Mode:Monitor Channel:0 Tx-Power=0 dBm
Retry min limit:7 RTS thr:off Fragment thr=2352 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
root@ root $ cd /tmp
root@ tmp $ ip link set wlan0 up
Try with channel hopping -
CH 1 ][ Elapsed: 2 mins ][ 2008-06-11 12:40
BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID
root@ tmp $ iwconfig wlan0 channel 6
root@ tmp $ tcpdump -s0 -i wlan0 -vv -A
tcpdump: listening on wlan0, link-type IEEE802_11_RADIO (
BSSID STATION PWR Rate Lost Packets Probes
Now try a specific channel. I know ch6 has traffic because the other
station is seeing it.
802.11 plus BSD radio information header), capture size 65535 bytes
0 packets captured
0 packets received by filter
0 packets dropped by kernel
root@ tmp $
Nothing. Not even an invalid/broken packet this time.
[** America, the police state **]
Whoooose! What's that noise? Why, it's US citizen's
rights, going down the toilet with Bush flushing.
Re: ath5k usage
I've been using it with my laptop and a D-Link WNA-2330 PCMCIA
wireless card. I'm running Fedora 8. Have not tested with the
very latest kernel update for F8.
You probably know a lot more about this than I do. All I know is
ifconfig wlan0 UP and then iwlist wlan0 scan to see what is out
there and then iwconfig wlan0 with what it takes to get connected,
and then dhclient wlan0.
On a Fedora 7 system with madwifi, if there is only one wireless
access point the thing comes up automatically working at boot time.
I have not had ath5k to work at boot time, so I took it out of
things to be started during boot and always start it manually.
What I learned on a recent trip: At a friend's house where there
is only one access point I just bring it up with the essid argument
to iwconfig and it all worked.
At a motel where they sell you a card with a code for wireless access,
I used the above to get it connected. Then nothing works until I start
the web browser, and it brings up a page asking for the code from the
card, and after that things work as they should.
At a motel where the wireless was free but they gave me a "password" at
the desk, the password turned out to be the encryption key. As I
recall I had to use the format XXXX-XXXX-XXXX-XXXX to get it to work
when doing iwconfig.
At another motel where they sell a card, there were two access points
with the same essid. So I had to use the ap argument to iwconfig
to select the better one.
Are you on the ath5k-users mailing list?
Re: ath5k usage
Whoa. A little slow getting back on this one, sorry.
[email]email@example.com[/email] (Jim Haynes) writes:
> I've been using it with my laptop and a D-Link WNA-2330 PCMCIA
> wireless card. I'm running Fedora 8. Have not tested with the
> very latest kernel update for F8.[/color]
I've played around with it a little since, now the kernel is at 188.8.131.52
here and the code is probably more complete. I noticed some modes don't
work, such as AP. When I set up wireless with Madwifi, I do one AP, one
station. If monitoring, then it's obviously monitor mode, and ad-hoc
isn't touched. Apparently ad-hoc is working, and monitor too, but not AP
> At a motel where they sell you a card with a code for wireless access,
> I used the above to get it connected. Then nothing works until I start
> the web browser, and it brings up a page asking for the code from the
> card, and after that things work as they should.[/color]
These I've heard of, but haven't seen. I wonder how they work? How can
they tell me from another they already let in? The mac address? That is
> At a motel where the wireless was free but they gave me a "password" at
> the desk, the password turned out to be the encryption key. As I
> recall I had to use the format XXXX-XXXX-XXXX-XXXX to get it to work
> when doing iwconfig.[/color]
Probably a WEP key?
I can see one WEP network here, and usually all the rest are open, about
3-4. I'm on the 5th floor, but the cards aren't close to the windows at
all. I bet if I moved the box closer to the street on the other side of
the room I'd see more.
> At another motel where they sell a card, there were two access points
> with the same essid. So I had to use the ap argument to iwconfig
> to select the better one.
> Are you on the ath5k-users mailing list?[/color]
No, I may check it out later though. Now I heard about an "ath9k".
Protect? [** America, The Police State **] Serve?
Teen Tazered 19 times: [url]http://www.ky3.com/news/local/26158674.html[/url]
Guns For TX Teachers: [url]http://news.bbc.co.uk/1/hi/world/americas/7564654.stm[/url]
Castration Punishment: [url]http://www.foxnews.com/story/0,2933,348171,00.html[/url]