You are not logged in.
Hello!
I've just installed arch and I have wireless internet at home. I'm having trouble getting it set up. I've been following the wiki, but I'm unclear about something.
When I do:
hwdetect --show-net
I get...
ppp_generic slhc mac 80211 ath5k ath_hal ath_pci wlan cfg80211
as my output. I'm not sure what to make of that.
Help is greatly appreciated!
Offline
As hwdetect --help says, --show-net gives you the network kernel modules that are loaded. The only one you need to concern yourself with is ath5k. The others are there for support.
Offline
Not exactly. You have installed the madwifi package, which is no longer necessary, so you now have both ath5k and ath_pci on your system. This causes conflicts. Remove madwifi and configure your net on ath5k only.
Offline
One more thing you may want to note is that ath_pci (the old Madwifi module) created the ath0 interface, whereas the new ath5k module will typically create a wlan0 (i.m.e.).
Just FYI.
Offline
Thank you all. I removed the madwifi package.
I run
iwconfig
My output is:
lo no wireless extentions
When I ran
# lsmod | grep ath5k
It displayed ath5k and mac80211.
I'm not sure how to proceed. Thanks all.
Offline
Check dmesg for any errors related to ath5k.
Offline
Sorry for bringing this back, I had to abandon my arch installation because school got really crazy with ISU's and exams, but now summer's here I'm willing to try again. I'm at the same point as I was at last time, and this time hopefully I can make it to a working desktop environment!
Thanks for the previous help.
I ran "dmesg" and I don't see anything related to my wireless, do I have to enter any additional arguements?
Thanks!
Offline
Unload and reload ath5k, then check dmesg again.
Offline
So I would do -
modprobe -r ath5k
to unload.
Then how would I reload it?
Thanks!
Offline
Just run it again:
modprobe ath5
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Now I see some interesting stuff:
ACPI: Interupted for device 0000 :04 :00.0 disabled
ACPI: Interupted for device 0000 :04 :00.0[A] -> GSI 16 (level, low) -> IRQ 16
ath5k_pci 0000 :04 :00.0: registered as 'phy2'
phy2: Selected rate control algorithm 'pid'
ath5k phy2: Atheros AR5213A chip found (Mac: 0x79, PHY: 0x45)
ath5k phy2: RF2112A 2GHz radio found (0x56)
Last edited by Crisis (2009-07-05 17:24:33)
Offline
You see that when you load ath5 module he (module) give you inforamtions about device that are using this moudle
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
You see that when you load ath5 module he (module) give you inforamtions about device that are using this moudle
Yes thanks!
So how should I proceed?
Offline
definately the first step is getting iwconfig to recognize that you have the device...
I've always used ndiswrapper to the drivers installed, then modprobe it, and then it was visible in iwconfig.
Offline
You shouldn't need to use ndiswrapper to get things working if you have an ath5k card. ndiswrapper is for cards with no working linux drivers.
type 'iwconfig' at the command prompt. if you see a section for wlan0, you're all set with getting the hardware recognized, and can move on to part II:
Offline
You shouldn't need to use ndiswrapper to get things working if you have an ath5k card. ndiswrapper is for cards with no working linux drivers.
type 'iwconfig' at the command prompt. if you see a section for wlan0, you're all set with getting the hardware recognized, and can move on to part II:
Keyword there is shouldn't If he can't get iwconfig to list the device, he's stuck at that point...
Offline
I ran
iwconfig wlan0
I can see:
IEEE 802.11g
ESSID:"arch"
Mode:Managed
Frequency 2.412ghz
Access Point: Not associated
etc...
I ran ifconfig wlan0 and got an inet addr, a Bcasr, and a Mask.
I tried running iwlist wlan0 scan but got no results.
Offline
You have the wlan0 interface, so your card has been detected correctly. All you need to do now is configure it - the wiki has the details.
Offline
I'm trying, but I'm stuck.
I'm reading the wiki now.
Correct me if I'm wrong, but I should be doing "Manual Setup" under Part II: Wireless Management?
When I scan i can't see anything, have I skipped ahead?
Offline
netcfg works quite well here... you should check its wiki: http://wiki.archlinux.org/index.php/Netcfg
Offline
Hi, thanks for the response. Unfortunately I don't have access to a wired internet connection, so I can't download it.
Offline
Can you not use the computer that you're posting from?
Don't worry about the scan not working. Continue on to the next step - setting the essid and key (if required) for your AP.
Offline
Right now I'm on a laptop with windows XP. My USB key is at a friends so downloading it on my laptop wouldn't be much use.
I continued, and set my essid.
Then I entered:
dhcpcd wlan0
and got:
err, wlan0: dhcpcd is already running on pid 2958 (var/run/dhcpcd-wlan0.pid)
Is that an error? Or should I continue to the next step?
Offline
Hello Crisis, first time I am seeing every one trying to help to the basic. In my experience there is a chance for your cards description to get interchanged ie wlan0<-->eth0 for eg.
btw. remove the said lock using rm /var/run/dhcpcd-wlan0.pid try again. In case your cards description got interchanged
try
ifconfig eth0 up ; dhcpcd eth0 as root. To avoid the cards interchange either load the right modules in order (rc.conf) or use udev rules.
(figure out the cards using ifconfig -a)
Hope this helps. (AR42x default modules works fine here)
Offline
Right now I'm on a laptop with windows XP. My USB key is at a friends so downloading it on my laptop wouldn't be much use.
I continued, and set my essid.
Then I entered:dhcpcd wlan0
and got:
err, wlan0: dhcpcd is already running on pid 2958 (var/run/dhcpcd-wlan0.pid)
Is that an error? Or should I continue to the next step?
run a "killall dhcpcd" or "kill -9 2958" then try again
Simplicity is the ultimate sophistication
~Leonardo da Vinci
Offline