You are not logged in.
I had to do a clean install today after cooking a root partition and got to try out the Overlord install image. I got everything working pretty quick, but my wireless is being really weird. I got it to work at one point with ndiswrapper, then suddenly after a reboot it stopped working. Installed madwifi for the wlan module, loaded that, and it worked again. Set up net-profiles, reboot, stopped working again. Decided to try patched madwifi. ath0 and wifi0 come up. Scanning with ath0 brings up nothing. I'd really like to get it working with madwifi just to avoid ndiswrapper anymore if possible, and ndiswrapper is giving me exactly the same problem. Am I missing something stupid here?
From rc.conf:
MODULES=(r8169 !ath5k ath_hal ath_pci wlan !ndiswrapper snd-mixer-oss snd-pcm-oss sn
d-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
eth0="eth0 192.168.0.102 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0 ath0)
NETWORKS=(wep eth any)
DAEMONS=(syslog-ng @network @netfs @crond)
The network profile I'm trying to use:
CONNECTION="wireless"
DESCRIPTION="A simple WEP encrypted wireless connection"
INTERFACE=ath0
SCAN="yes"
SECURITY="wep"
ESSID="jotv"
KEY="a bunch of numbers"
IP="dhcp"
Any dmesg I could imagine would be helpful:
ath_hal: 0.10.2.2-ATHEROS (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425)
ath_pci: trunk
MadWifi: ath_attach: Switching rfkill capability off
ath_rate_sample: 1.2 (trunk)
MadWifi: ath_attach: Switching per-packet transmit power control off
wifi0: ath_announce: Use hw queue 1 for WME_AC_BE traffic
wifi0: ath_announce: Use hw queue 0 for WME_AC_BK traffic
wifi0: ath_announce: Use hw queue 2 for WME_AC_VI traffic
wifi0: ath_announce: Use hw queue 3 for WME_AC_VO traffic
wifi0: ath_announce: Use hw queue 8 for CAB traffic
wifi0: ath_announce: Use hw queue 9 for beacons
ath_pci: wifi0: Atheros 5424/2424: mem=0xf8000000, irq=18
ath0: no IPv6 routers present
iwconfig:
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
ath0 IEEE 802.11g ESSID:"jotv" Nickname:"jotv"
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Bit Rate:0 kb/s Tx-Power:16 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:48C8-2232-DEEC-B678-CB06-B548-23 Security mode:restricted
Power Management:off
Link Quality=0/70 Signal level=-101 dBm Noise level=-101 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
and ifconfig lines for the relevant devices:
ath0 Link encap:Ethernet HWaddr 00:1F:E1:7A:0D:4D
inet6 addr: fe80::21f:e1ff:fe7a:d4d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
wifi0 Link encap:UNSPEC HWaddr 00-1F-E1-7A-0D-4D-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:416 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:195
RX bytes:0 (0.0 b) TX bytes:19864 (19.3 Kb)
Interrupt:18
So anybody know what could keep the card from finding anything with iwlist ath0 scan with this setup? Especially when it did a couple of times and then quit suddenly? My wifi router is up and about a foot away, and nothing hardware-wise has changed since it last worked.
EDIT: ok suddenly reboot and it works again. I'm not marking this solved until I'm positive it's gonna stay working now and net-profiles are up to par with where they were yesterday before I hosed my system.
Last edited by josomebody (2008-07-13 05:40:55)
: () { : | :& } ;:
Offline
i have 2 questions.
does ath5k replace both ath_pci and ath_hal?
i assume installing madwifi installs both ath_pci and ath_hal, but shouldn't ath5k be installed by default, since it's mainline (i get a 'ath5k module not found' on boot)
i also get a 'wlan module not found' on boot. how can i install that?
Offline
I got wlan, ath5k, ath_pci and ath_hal with the madwifi package I'm pretty sure. I got 'wlan module not found' when I didn't have madwifi installed, and it went away after I installed it. Not sure if ath5k replaces one or both of the others, But I'm also not sure if it's useable or not yet. I haven't had any luck with it.
: () { : | :& } ;:
Offline
I'm pretty new to linux, but I missed this the last time. Have you tried:
ifconfig ath0 up
Offline
Wait a minute, how did you even get madwifi to work for your card? Currently it's not supposed to work at all, and neither is ath5k.
Offline
Wait a minute, how did you even get madwifi to work for your card? Currently it's not supposed to work at all, and neither is ath5k.
I think there's a patch for the madwifi drivers: http://madwifi.org/ticket/1679
Offline
Yeah I built the patched version.
: () { : | :& } ;:
Offline