USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

Atheros chipset & Arch Linux? [SOLVED]

 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Networking
View previous topic :: View next topic  
Author Message
lberg
Sr. Member


Joined: 28 Jul 2024
Posts: 1289

PostPosted: Sun Oct 12, 2024 5:49 am    Post subject: Atheros chipset & Arch Linux? [SOLVED] Reply with quote

So I'm absolutely fed up with my rt73 usb wireless dongle. In Ubuntu, it only works like it should half the time, and ever since the rt2x00 integration into the kernel, I have not succeeded to get it working once in Arch Linux. And yes, I've put a few hours into trying to get it working in Arch.

I would REALLY like to get back to Arch Linux, and this dongle (and therefore the lack of wireless internet that it causes me) is the only thing that is stopping me. So....I want to purchase a new wireless dongle. From what I've read, it seems like the Atheros chipset is well-supported in Linux. However, I read the same thing when I decided on the dongle with the rt73 chipset. Rolling Eyes Can anyone confirm that the Atheros chipset should work under Arch Linux*? I'm thinking about this card, which should have an Atheros card, according to this site.

*I AM very willing to do any work that it takes to get it working. By asking this question, I'm not implying plug-and-play compatibility. I'm just asking if I should be able to get an Atheros card working in Arch Linux with minimal work/tweaking on my part. I am VERY used to having to work to get my usb dongle working. I've finally given up on my rt73 dongle. Maybe I have a lemon or something, but I'm ready to find a new wireless adapter.



_________________
2 Computers: Arch Linux, 64-bit
3 Computers: Arch Linux, 32-bit


Last edited by lberg on Mon Oct 13, 2024 2:26 am; edited 1 time in total
Back to top
View user's profile Send private message
jada
Linux Guru


Joined: 13 May 2024
Posts: 3064
Location: Sun City, CA 92585

PostPosted: Sun Oct 12, 2024 6:12 am    Post subject: Reply with quote

Atheros chipset & Arch Linux? It's still broken. I have a Atheros Wlan, sometime it works but every time when they update the Kernel it breaks again.



_________________
openSUSE 11.1 Desktop KDE 4.3.1 buildservice Factory
Linux Mint 7 Desktop Gnome
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Germ
Keeper of the BIG STICK


Joined: 30 Apr 2024
Posts: 12452
Location: Planet Earth

PostPosted: Sun Oct 12, 2024 1:52 pm    Post subject: Reply with quote

Atheros should work with no problems. The driver is in the kernel. I don't know what arch is doing to break it. Mine worked out of the box with Mandriva.



_________________
Laptop: Mandriva 2024 PowerPack - 2.6.33.5-0.2mnb
Desktop: Mandriva 2024 Free - kernel 2.6.33.2-1mib
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jada
Linux Guru


Joined: 13 May 2024
Posts: 3064
Location: Sun City, CA 92585

PostPosted: Sun Oct 12, 2024 3:04 pm    Post subject: Reply with quote

Germ wrote:
Atheros should work with no problems. The driver is in the kernel. I don't know what arch is doing to break it. Mine worked out of the box with Mandriva.


Archlinux using Madwifi, and the most problem I have with WPA2.



_________________
openSUSE 11.1 Desktop KDE 4.3.1 buildservice Factory
Linux Mint 7 Desktop Gnome
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
lberg
Sr. Member


Joined: 28 Jul 2024
Posts: 1289

PostPosted: Sun Oct 12, 2024 3:13 pm    Post subject: Reply with quote

Thanks, Germ. I'll be ordering that dongle pretty soon.

Oh, WPA2... I can understand if that's still not fully functional. I am even wary of messing with WPA--mainly because of my almost-constant struggle with even WEP on this rt73 dongle...From what I read, I guess that WPA isn't too hard anymore. When I started out with wireless, WPA support was not good..

BTW, I admit I was a little worked up when I wrote that original post...but everything in it is still true. I had just spent almost an hour trying to get that dongle working in a fresh Arch install.



_________________
2 Computers: Arch Linux, 64-bit
3 Computers: Arch Linux, 32-bit
Back to top
View user's profile Send private message
nukes
Linux Guru


Joined: 29 Aug 2024
Posts: 4558

PostPosted: Sun Oct 12, 2024 6:17 pm    Post subject: Reply with quote

rt2x00 isn't atheros, it's ralink.

I've got a realtek8187 usb dongle onboard, and it's been nothing but trouble. I have an old rt2500 which I plugged in and it's been working great ever since.
Here's what I did:

go to http://rt2x00.serialmonkey.com/wiki//Downloads
Grab the CVS version for your card (the stable one wouldn't compile).
untar, make and install it (read the readme).
now for this card you don't use wpa_supplicant, everything is done with iwpriv (kinda like ioctl for wireless). There's supposedly a gui for this but I couldn't find it.
Read the readme again, and create the config file and set all the options - not just the ones you use (don't worry about the path).
I wrote this script to bring it up when I start up:
Code:
ifconfig ra0 down
rmmod rt2500
sleep 2
modprobe rt2500
grep -v Default /etc/wireless/RT2500STA/RT2500STA.dat  | while read
do
    iwpriv ra0 set $REPLY
done
ifconfig ra0 up 192.168.2.2
route add default gw 192.168.2.1
iwconfig ra0 rate 11M auto
iwconfig ra0 channel 1
iwconfig ra0 essid XXXXX
(where /etc/wireless/RT2500STA/RT2500STA.dat is the path to the config, the first line reads Default, so skip that)
Obviously replace essid/channel/ip addresses with your own. You could also just replace them all with dhcpcd or whatever.
then it should work within a few seconds (some of the ioctl's throw errors, ignore them).

if indeed you do mean atheros, you need madwifi (last I checked)



_________________
Gentoo x86-64 2.6.29.1
FreeBSD 7-CURRENT
Arch x86 2.6.30
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Germ
Keeper of the BIG STICK


Joined: 30 Apr 2024
Posts: 12452
Location: Planet Earth

PostPosted: Sun Oct 12, 2024 9:09 pm    Post subject: Reply with quote

Quote:
rt2x00 isn't atheros, it's ralink.


Correct. He's replacing that with a Atheros based dongle.



_________________
Laptop: Mandriva 2024 PowerPack - 2.6.33.5-0.2mnb
Desktop: Mandriva 2024 Free - kernel 2.6.33.2-1mib
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
lberg
Sr. Member


Joined: 28 Jul 2024
Posts: 1289

PostPosted: Sun Oct 12, 2024 10:02 pm    Post subject: Reply with quote

Yeah. Sorry, nukes, if my posts were not clear. I want an Atheros chip, and am simply making sure that it should "behave" in Arch Linux. Of course, based on my experience with my current wireless dongle, I won't know until I get the card and actually try it Rolling Eyes .

I've tried the CVS rt2x00 drivers already, as well as the stable ones, as well as the legacy rt73usb drivers, as well as the built-in kernel module, as well as the windows drivers through ndiswrapper, etc, etc, etc... And I'm tired of it.


Edit: I actually have another question... I am fairly sure that it's been asked before, but since then wireless drivers have undoubtedly come a long way. Is there a general consensus as to whether USB or PCI-based cards work "better" with Linux? Or are they about equal these days? Originally I went with USB for the ability to move it around for the best signal, but if PCI (Atheros chipset) is more "guaranteed" of working, then I'll go for it over the USB, by all means.



_________________
2 Computers: Arch Linux, 64-bit
3 Computers: Arch Linux, 32-bit
Back to top
View user's profile Send private message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Sun Oct 12, 2024 10:49 pm    Post subject: Reply with quote

http://www.newegg.com/Product/Product.aspx?Item=N82E16833150018

# ยป netgear wg111v3 usb adapter for wireless network [Solved]
http://bbs.archlinux.org/viewtopic.html?id=54487

hth's



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
jada
Linux Guru


Joined: 13 May 2024
Posts: 3064
Location: Sun City, CA 92585

PostPosted: Sun Oct 12, 2024 11:06 pm    Post subject: Reply with quote

lberg wrote:
Originally I went with USB for the ability to move it around for the best signal, but if PCI (Atheros chipset) is more "guaranteed" of working, then I'll go for it over the USB, by all means.


I never hade luck with USB Wlan Cards. I stopped using it. On my Laptop I tried this USB Card from AT&T for there Wireless Network 3G GPRS etc. but it doesn't run with Linux. I got now the PCMCIA and it works.



_________________
openSUSE 11.1 Desktop KDE 4.3.1 buildservice Factory
Linux Mint 7 Desktop Gnome
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
lberg
Sr. Member


Joined: 28 Jul 2024
Posts: 1289

PostPosted: Mon Oct 13, 2024 12:26 am    Post subject: Reply with quote

Hmm! Crouse, I hadn't stopped to think that arch64 may be the issue here... Thanks for pointing that out. Right now I'll go ahead and download the 32-bit Arch and see if I can make any headway. If it doesn't work within 10 mins or so of fiddling tonight, then I'm afraid that I don't know when I'll get back to it, because as of now, I'm looking at about 3 weeks of heavy homework, and not much free time. So I may go ahead and order that Atheros card, depending on my success with the 32 bit version of Arch.



_________________
2 Computers: Arch Linux, 64-bit
3 Computers: Arch Linux, 32-bit
Back to top
View user's profile Send private message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Mon Oct 13, 2024 12:51 am    Post subject: Reply with quote

Good luck lberg Smile



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
lberg
Sr. Member


Joined: 28 Jul 2024
Posts: 1289

PostPosted: Mon Oct 13, 2024 1:51 am    Post subject: Reply with quote

/me heaves a sigh of relief

Guess what? As I'm typing this, I'm getting about 275K/s on a pacman -Syu on a new 32 bit install of Arch--wirelessly. With my rt73 dongle.

Thank you very much, crouse, for the suggestion of 32 bit Arch instead of arch64 Exclamation My wireless dongle worked on the first try--which didn't even happen in Ubuntu! Very Happy Very Happy I'm very glad for your suggestion. I don't know why I didn't think of it myself...but thanks again!

And thanks everyone for your replies.



_________________
2 Computers: Arch Linux, 64-bit
3 Computers: Arch Linux, 32-bit
Back to top
View user's profile Send private message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Mon Oct 13, 2024 1:58 am    Post subject: Reply with quote

Glad you got it working Wink



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
Germ
Keeper of the BIG STICK


Joined: 30 Apr 2024
Posts: 12452
Location: Planet Earth

PostPosted: Mon Oct 13, 2024 11:14 am    Post subject: Reply with quote

Excellent. Very Happy



_________________
Laptop: Mandriva 2024 PowerPack - 2.6.33.5-0.2mnb
Desktop: Mandriva 2024 Free - kernel 2.6.33.2-1mib
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Networking All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse