You are not logged in.

#1 2008-06-07 21:54:47

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Very simple question

I just installed Arch on a laptop for the first time. The ethernet works great but I would like to be able to use the built-in wifi for internet too. What do I need to install? If it helps, this laptop is a Compaq Presario F767NR Notebook PC.

Last edited by tony5429 (2008-08-31 19:47:26)


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

#2 2008-06-07 21:56:22

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: Very simple question

is time to know your system. find out what chipset has your wifi card and look at this: http://wiki.archlinux.org/index.php/Wireless


Give what you have. To someone, it may be better than you dare to think.
Blog

Offline

#3 2008-06-08 04:09:04

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Re: Very simple question

Okay; thanks for the link. But now I am really confused...

[karam@nikolai ~]$ hwdetect --show-net
NET    : forcedeth mac80211 ath5k cfg80211
[karam@nikolai ~]$ lspci
.............
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)

At this point, I realised I needed to use madwifi. I installed both madwifi and wireless_tools, verified that ath_pci was located in the modules list in /etc/rc.conf (it was), and tried to manually modprobe...

bash-3.2# modprobe ath_pci
bash-3.2# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
bash-3.2# modprobe ath_pci countrycode=0
bash-3.2# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

Can anyone help me? I am really lost now...


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

#4 2008-06-08 04:39:18

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Very simple question

Try lspci -nn, I think your card may be lying, (unsupported by madwifi) AR5007EG's always seem to identify as (supported by madwifi) AR5006EG's.

Last edited by elliott (2008-06-08 04:40:34)

Offline

#5 2008-06-08 04:55:06

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Very simple question

You might need to blacklist the ath5k module if you want to use the madwifi driver instead...  Just a guess...

Offline

#6 2008-06-08 09:48:06

hokasch
Member
Registered: 2007-09-23
Posts: 1,449

Re: Very simple question

dont no if i missed something, but if ath_pci is in your modules array, why would you modprobe it? shouldnt "ifconfig ath0 up" be the next step?

Offline

#7 2008-06-08 13:22:21

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Re: Very simple question

[kraam@nikolai ~]$ lspci -nn
................
03:00.0 Ethernet controller [0200]: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter [168c:001c] (rev 01)
bash-3.2# ifconfig ath0 up
ath0: unknown inteface: No such device

Just tried blacklisting the ath5k module (by adding !ath5k to the modules list in /etc/rc.conf and rebooting), but 'ifconfig ath0 up' still didn't work (same error) and 'iwconfig' still shows no extensions.....


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

#8 2008-06-08 17:08:58

Mimi
Member
From: Germany
Registered: 2008-06-06
Posts: 39

Re: Very simple question

Experimental support for AR5007 chipsets is now available through the patch that is attached to this ticket. These chipsets can only really be identified using the ath_info tool; however, all AR5007 chipsets will have the PCI vendor/system IDs: 168c:001c. The description given by lspci can not necessarily be trusted.

http://madwifi.org/ticket/1679
Worked for me.

Mimi


It is what you make it. Even if you don't know what to make it.

Offline

#9 2008-06-08 17:51:39

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Re: Very simple question

That patch you sent me is only for 32-bit. I am on Arch64.... is there any way for me to know whether I am running AR5006 or AR5007? I'd rather not switch over to 32-bit just to find out that I've actually got an AR5006....


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

#10 2008-06-08 18:14:13

hokasch
Member
Registered: 2007-09-23
Posts: 1,449

Re: Very simple question

use ath_info.

as root:

athmem=`lspci -vd 168c: |sed -n 's/.*Memory at \([^ ]*\).*/0x\1/p'`
ath_info $athmem

Offline

#11 2008-06-08 18:31:00

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Re: Very simple question

bash-3.2# athmem=`lspci -vd 168c: |sed -n 's/.*Memory at \([^ ]*\).*/0x\1/p'`
bash-3.2# ath_info $athmem
Unable to read EEPROM Magic value!

Any ideas?


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

#12 2008-06-08 18:49:18

jacko
Member
Registered: 2007-11-23
Posts: 838

Re: Very simple question

tony5429 wrote:
bash-3.2# athmem=`lspci -vd 168c: |sed -n 's/.*Memory at \([^ ]*\).*/0x\1/p'`
bash-3.2# ath_info $athmem
Unable to read EEPROM Magic value!

Any ideas?

did u run those as root?

Offline

#13 2008-06-08 19:02:45

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Very simple question

tony5429 wrote:

That patch you sent me is only for 32-bit. I am on Arch64.... is there any way for me to know whether I am running AR5006 or AR5007? I'd rather not switch over to 32-bit just to find out that I've actually got an AR5006....

[168c:001c] is an AR5007EG, I have the same thing in one of my laptops. I have to use ndiswrapper, the experimental drivers never worked well for me.

Offline

#14 2008-06-08 20:36:08

Mimi
Member
From: Germany
Registered: 2008-06-06
Posts: 39

Re: Very simple question

tony5429 wrote:

That patch you sent me is only for 32-bit. I am on Arch64.... is there any way for me to know whether I am running AR5006 or AR5007? I'd rather not switch over to 32-bit just to find out that I've actually got an AR5006....

Maybe that's for you.
http://madwifi.org/ticket/1679#comment:182
There is an PKGBUILD too, but still experimental.
http://www.pc-forum24.de/suse-treiber/9 … _64-a.html
I think this one:
http://www.pc-forum24.de/downloads.php?do=file&id=1210

I did not test it!

Mimi

Last edited by Mimi (2008-06-09 10:26:09)


It is what you make it. Even if you don't know what to make it.

Offline

#15 2008-06-09 01:21:26

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Re: Very simple question

jacko: Yes, that was run as root.

elliott: Can I install ndiswrapper on arch64 and use my AR5007 w/o having to switch to 32-bit arch?


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

#16 2008-06-09 05:29:21

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Very simple question

tony5429 wrote:

elliott: Can I install ndiswrapper on arch64 and use my AR5007 w/o having to switch to 32-bit arch?

I use 32-bit so I can't know for sure, but it wouldn't hurt to try, grab the 64bit XP driver from here: http://www.atheros.cz/

Offline

#17 2008-06-09 12:44:04

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Re: Very simple question

Thanks for the link. I have downloaded the xp3264-7.4.2.111-whql.zip file. How can I install this on linux?


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

#18 2008-06-09 15:00:01

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Very simple question

Just follow the directions in the wiki, I'm not sure which .inf file you need from that zip, there are two, you can always remove it if it doesn't work and try the other.

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

Offline

#19 2008-06-10 02:09:41

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Re: Very simple question

Thanks for all the help guys. However, I am still having difficulty. Here's what happens when I try the xp drivers...

bash-3.2# ndiswrapper -l
netathw : driver installed
        device (168C:001C) present (alternate driver: ath5k)
bash-3.2# ndiswrapper -m
module configuration already contains alias directive

bash-3.2# depmod -a
bash-3.2# modprobe ndiswrapper
bash-3.2# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
bash-3.2# ndiswrapper -l
netathwx : driver installed
        device (168C:001C) present (alternate driver: ath5k)
bash-3.2# ndiswrapper -m
module configuration already contains alias directive

bash-3.2# depmod -a
bash-3.2# modprobe ndiswrapper
bash-3.2# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

Any ideas?


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

#20 2008-06-10 02:44:52

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Very simple question

The ath5k module is blacklisted and not currently loaded, correct?

Last edited by elliott (2008-06-10 02:46:30)

Offline

#21 2008-06-20 07:34:10

tony5429
Member
Registered: 2006-03-28
Posts: 861
Website

Re: Very simple question

Okay; ndiswrapper broke my computer. After installing, I got a kernel panic each time I tried to boot linux. I have reinstalled Arch Linux now, this time using 32-bit. However, I am still very confused by this "patch"...

http://madwifi.org/ticket/1679

Someone who has used this patch for an AR5007EG on 32-bit Arch Linux (such as Mimi), could you help me? Please let me know where to go after installing Arch Linux and KDE; how can I use my wifi chip now? Any help is greatly appreciated; thanks!


Yellowcot: A free, lightweight, open-source, cross-platform, Qt-based multimedia flash card simulator.

Offline

Board footer

Powered by FluxBB