Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

Cannot get ath0 wifi anymore [SOLVED]

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
28 posts
  • 1
  • 2
  • Next
Author
Message
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

Cannot get ath0 wifi anymore [SOLVED]

  • Quote

Post by orangecakez » Sun Jul 01, 2007 3:39 pm

I have a Linksys PCMCIA card and it was working fine with the old kernel, but now it says ath0 cannot be found in the new 2.6.20.7 vanilla sources. Did the name change or something? I make a ln -s /etc/init.d/net.lo to /etc/init.d/net.ath0 and kernel support and modules wlan_scan_sta and ath_pci in modules.autoload and pcmcia-cs and rc-update add pcmcia default but still no working. What's the problem here?
Last edited by orangecakez on Tue Jul 10, 2007 4:57 pm, edited 1 time in total.
Top
yuwy
n00b
n00b
Posts: 38
Joined: Mon May 22, 2006 5:47 pm

  • Quote

Post by yuwy » Mon Jul 02, 2007 1:03 am

Imma take a stab in the dark here, rmmod all the related wifi stuff like ath_pci, rmmod wlan rmmod ath_hal

then do this:

modprobe ath_rate_sample
modprobe wlan_scan_sta
modprobe wlan_wep
modprobe ath_pci

Reason: for some reason at least on my laptop, the order of brining up the modules matter which is kinda stupid?
Anyways I hope this helps
Top
pdr
l33t
l33t
User avatar
Posts: 618
Joined: Sat Mar 20, 2004 10:28 pm

  • Quote

Post by pdr » Mon Jul 02, 2007 11:11 am

lsmod - do you have ath_pci module loaded? I only ask because after making a new kernel you have to re-emerge madwifi-ng to get it into the new kernel's /lib/modules/.. directory.
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Mon Jul 02, 2007 2:23 pm

yuwy wrote:Imma take a stab in the dark here, rmmod all the related wifi stuff like ath_pci, rmmod wlan rmmod ath_hal

then do this:

modprobe ath_rate_sample
modprobe wlan_scan_sta
modprobe wlan_wep
modprobe ath_pci

Reason: for some reason at least on my laptop, the order of brining up the modules matter which is kinda stupid?
Anyways I hope this helps
It still says device not found after all that and a reboot too
pdr wrote:lsmod - do you have ath_pci module loaded? I only ask because after making a new kernel you have to re-emerge madwifi-ng to get it into the new kernel's /lib/modules/.. directory.
Yes it's loaded because I didn't just get the new kernel, I did a full Gentoo install with the same exact settings as my old install
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Tue Jul 03, 2007 2:39 am

Do you think it's maybe a udev issue?
Top
pdr
l33t
l33t
User avatar
Posts: 618
Joined: Sat Mar 20, 2004 10:28 pm

  • Quote

Post by pdr » Tue Jul 03, 2007 6:45 pm

I wouldn't think so (udev problem) - I've never had a problem. Although I believe I DO autoload ath_pci (you only need that - it will pull in it's dependency modules). However mine is PCI, not pcmcia..
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Wed Jul 04, 2007 2:23 am

Well it worked for the old kernel but now it doesn't work for the new one
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Wed Jul 04, 2007 2:03 pm

Maybe there is some new features in the kernel I need to select? I have a WPC55AG v1.3; can someone tell me all the kernel stuff it needs to work automatically?
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Wed Jul 04, 2007 4:35 pm

When I do iwconfig, I see lo, eth0 (my hardline) and sit0 (I have no clue what that is). So no ath0 is showing up yet even though I have madwifi-ng and wpa_supplicant and dhclient.
Top
opopanax
Apprentice
Apprentice
Posts: 244
Joined: Mon Aug 30, 2004 5:30 pm

  • Quote

Post by opopanax » Wed Jul 04, 2007 4:49 pm

pdr's right. this happened to me all the time (and it was really frustrating.) When doing a kernel upgrade, I'd forget to re-emerge madwifi after a kernel upgrade, and then wifi fails on boot. the module still has to be compiled against the current kernel, unless you're doing a very incremental kernel upgrade.

Same thing if you're using alsa modules.

Happy Freedom Taco Day.

Steve K.
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Wed Jul 04, 2007 4:54 pm

I just emerged madwifi-ng right now and it still doesn't work. And I emerged wpa_supplicant too.
Top
opopanax
Apprentice
Apprentice
Posts: 244
Joined: Mon Aug 30, 2004 5:30 pm

  • Quote

Post by opopanax » Wed Jul 04, 2007 5:06 pm

right. I'm sorry, I've forgotten, but I believe wpa_supplicant is built against the driver, so you may have to re-emerge that, too. And, just to be safe, go ahead and reboot so you know you're not dealing with the old module. Then see what happens.

If it still doesn't work after recompiling wpa_supplicant and after reboot, try disabling WPA on your router and just connecting with the barebones driver, no wpa_supplicant. If it works, it's not the driver directly causing the problem, it's probably wpa_supplicant.

Cheers.
Top
opopanax
Apprentice
Apprentice
Posts: 244
Joined: Mon Aug 30, 2004 5:30 pm

  • Quote

Post by opopanax » Wed Jul 04, 2007 5:07 pm

no, wait, it's the other way around, the driver is built against wpa_supplicant, isn't it?

so, re-merge madwifi-ng once more, reboot, and report back!
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Wed Jul 04, 2007 5:30 pm

But that's what I did 2 days ago


And I use WEP
Top
opopanax
Apprentice
Apprentice
Posts: 244
Joined: Mon Aug 30, 2004 5:30 pm

  • Quote

Post by opopanax » Wed Jul 04, 2007 5:44 pm

hmmmm
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Thu Jul 05, 2007 1:15 am

Hmmmmm
Top
opopanax
Apprentice
Apprentice
Posts: 244
Joined: Mon Aug 30, 2004 5:30 pm

  • Quote

Post by opopanax » Thu Jul 05, 2007 3:15 am

so...

modprobe ath_pci isn't working for you?

what output do you get when you try to bring up net.ath0?
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Thu Jul 05, 2007 1:56 pm

sketelsen wrote:so...

modprobe ath_pci isn't working for you?

what output do you get when you try to bring up net.ath0?
modprobe ath_pci does work. When I try to bring up net.ath0 it says ath0 device not found
Top
opopanax
Apprentice
Apprentice
Posts: 244
Joined: Mon Aug 30, 2004 5:30 pm

  • Quote

Post by opopanax » Thu Jul 05, 2007 3:03 pm

what interfaces do iwconfig and ifconfig list?
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Fri Jul 06, 2007 3:06 am

sketelsen wrote:what interfaces do iwconfig and ifconfig list?
orangecakez wrote:When I do iwconfig, I see lo, eth0 (my hardline) and sit0 (I have no clue what that is). So no ath0 is showing up yet even though I have madwifi-ng and wpa_supplicant and dhclient.
Same thing and same thing for ifconfig
Top
orangecakez
Tux's lil' helper
Tux's lil' helper
Posts: 116
Joined: Wed Feb 14, 2007 5:48 pm

  • Quote

Post by orangecakez » Fri Jul 06, 2007 11:23 am

So I just unmerged pcmcia-cs and emerged pcmciautils or something (the new one). It tells me to add "pcmcia" and "yenta-socket" (since that's what I use) to /etc/modules.autoload.d/kernel.2.6 but it says both of the modules are not found when I try to modprobe both of them
Top
pdr
l33t
l33t
User avatar
Posts: 618
Joined: Sat Mar 20, 2004 10:28 pm

  • Quote

Post by pdr » Fri Jul 06, 2007 11:28 pm

If you compiled them into the kernel (statically linked them instead of select to build as a module) you won't find them. Hopefully it should not matter, but I saw at least one software (don't remember what it was) that actually required a module - it was checking via the equivalent of lsmod and, if not found, failed to run.
Top
yuwy
n00b
n00b
Posts: 38
Joined: Mon May 22, 2006 5:47 pm

  • Quote

Post by yuwy » Sat Jul 07, 2007 11:24 am

if you do ath_pci and the module now correctly loads, but cant see the ath0 interface
its probably because you need to load the modules in the correct order now.
Top
pdr
l33t
l33t
User avatar
Posts: 618
Joined: Sat Mar 20, 2004 10:28 pm

  • Quote

Post by pdr » Sat Jul 07, 2007 1:05 pm

Is this the genkernel thing? I'm gonna be no help with that because I have never used it - I always compile my kernel (specific to my hardware).

However if you do "modprobe ath_pci" and lsmod does not show ath_pci (and a few dependencies that it pulls in), then if it said that it could not find the module, madwifi-ng was not compiled against the currently running kernel and is not in /lib/modules/<currently running kernel's version> directory. If it does not say it could not find the module then the module exists but it failed to load - you have to check /var/log/messages to see why it failed. If it says it could not find an atheros chip then either 1) you don't actually have an atheros-based chip, or 2) the kernel cannot access the hardware because intermediate drivers are not loaded (pcmcia, etc).
Top
Polynomial-C
Retired Dev
Retired Dev
User avatar
Posts: 1432
Joined: Sun Jun 01, 2003 4:19 pm
Location: Germany

  • Quote

Post by Polynomial-C » Sun Jul 08, 2007 11:27 am

Hi,

if you still have this problem, just refer to this thread:
ath0 & wifi0 disappeared (Acer 5102, wireless-tools)[SOLVED]

Cheers
Poly-C
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Top
Post Reply

28 posts
  • 1
  • 2
  • Next

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic