You are not logged in.

#1 2009-05-13 03:17:18

Crisis
Member
Registered: 2009-04-04
Posts: 24

Just getting started with arch, wireless troubles.

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

#2 2009-05-13 04:06:28

fphillips
Member
From: Austin, TX
Registered: 2009-01-24
Posts: 202

Re: Just getting started with arch, wireless troubles.

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. smile

Offline

#3 2009-05-13 05:44:11

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Just getting started with arch, wireless troubles.

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

#4 2009-05-13 14:13:19

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Just getting started with arch, wireless troubles.

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

#5 2009-05-14 00:10:50

Crisis
Member
Registered: 2009-04-04
Posts: 24

Re: Just getting started with arch, wireless troubles.

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

#6 2009-05-14 06:06:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Just getting started with arch, wireless troubles.

Check dmesg for any errors related to ath5k.

Offline

#7 2009-07-05 13:17:17

Crisis
Member
Registered: 2009-04-04
Posts: 24

Re: Just getting started with arch, wireless troubles.

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

#8 2009-07-05 16:38:47

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Just getting started with arch, wireless troubles.

Unload and reload ath5k, then check dmesg again.

Offline

#9 2009-07-05 16:43:00

Crisis
Member
Registered: 2009-04-04
Posts: 24

Re: Just getting started with arch, wireless troubles.

So I would do -

modprobe -r ath5k

to unload.
Then how would I reload it?
Thanks!

Offline

#10 2009-07-05 17:06:57

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Just getting started with arch, wireless troubles.

Just run it again:
modprobe ath5


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#11 2009-07-05 17:23:33

Crisis
Member
Registered: 2009-04-04
Posts: 24

Re: Just getting started with arch, wireless troubles.

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

#12 2009-07-05 17:45:59

SpeedVin
Member
From: Poland
Registered: 2009-04-29
Posts: 955

Re: Just getting started with arch, wireless troubles.

You see that when you load ath5 module he (module) give you inforamtions about device that are using this moudle smile


Shell Scripter | C/C++/Python/Java Coder | ZSH

Offline

#13 2009-07-05 17:46:59

Crisis
Member
Registered: 2009-04-04
Posts: 24

Re: Just getting started with arch, wireless troubles.

SpeedVin wrote:

You see that when you load ath5 module he (module) give you inforamtions about device that are using this moudle smile

Yes thanks!
So how should I proceed?

Offline

#14 2009-07-06 01:00:06

Daemonjax
Member
Registered: 2009-07-02
Posts: 48

Re: Just getting started with arch, wireless troubles.

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

#15 2009-07-06 03:13:47

Zerathidune
Member
Registered: 2007-02-25
Posts: 102

Re: Just getting started with arch, wireless troubles.

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:

http://wiki.archlinux.org/index.php/Wir … Management

Offline

#16 2009-07-06 03:32:36

Daemonjax
Member
Registered: 2009-07-02
Posts: 48

Re: Just getting started with arch, wireless troubles.

Zerathidune wrote:

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:

http://wiki.archlinux.org/index.php/Wir … Management

Keyword there is shouldn't big_smile  If he can't get iwconfig to list the device, he's stuck at that point...

Offline

#17 2009-07-06 09:51:05

Crisis
Member
Registered: 2009-04-04
Posts: 24

Re: Just getting started with arch, wireless troubles.

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

#18 2009-07-06 10:37:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Just getting started with arch, wireless troubles.

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

#19 2009-07-06 10:46:34

Crisis
Member
Registered: 2009-04-04
Posts: 24

Re: Just getting started with arch, wireless troubles.

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

#20 2009-07-06 12:59:25

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Just getting started with arch, wireless troubles.

netcfg works quite well here... you should check its wiki: http://wiki.archlinux.org/index.php/Netcfg

Offline

#21 2009-07-06 13:01:00

Crisis
Member
Registered: 2009-04-04
Posts: 24

Re: Just getting started with arch, wireless troubles.

Hi, thanks for the response. Unfortunately I don't have access to a wired internet connection, so I can't download it.

Offline

#22 2009-07-06 13:19:28

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Just getting started with arch, wireless troubles.

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

#23 2009-07-06 13:28:50

Crisis
Member
Registered: 2009-04-04
Posts: 24

Re: Just getting started with arch, wireless troubles.

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

#24 2009-07-06 13:49:22

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Just getting started with arch, wireless troubles.

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

#25 2009-07-06 13:52:03

Brownigan09
Member
Registered: 2008-08-01
Posts: 27

Re: Just getting started with arch, wireless troubles.

Crisis wrote:

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

Board footer

Powered by FluxBB