Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AR5006EG 802.11 b/g Wireless doesnt work at gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Wed Oct 03, 2007 6:47 pm    Post subject: Reply with quote

Here's an ndiswrapper install guide:
http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,installation/

According to that your inf file might be under WINDOWS/inf
Back to top
View user's profile Send private message
r420r
n00b
n00b


Joined: 03 Sep 2006
Posts: 38

PostPosted: Fri Oct 05, 2007 1:24 pm    Post subject: Reply with quote

StringCheesian wrote:
Here's an ndiswrapper install guide:
http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,installation/

According to that your inf file might be under WINDOWS/inf

how i can found which *.inf is good for me ?
ls|grep inf | nopaste
http://rafb.net/p/3Ee3bu20.html
i do that.. i am waiting for your answer
_________________
hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux
Back to top
View user's profile Send private message
David8525
n00b
n00b


Joined: 13 Oct 2007
Posts: 1

PostPosted: Sat Oct 13, 2007 7:51 pm    Post subject: help Reply with quote

i loaded madwifi and it works but i cant log in to different networks. i cant find the tool that lets me see other wireless networks that are around me. can anyone help please.
Back to top
View user's profile Send private message
StringCheesian
l33t
l33t


Joined: 21 Oct 2003
Posts: 887

PostPosted: Sun Oct 14, 2007 4:51 am    Post subject: Re: help Reply with quote

David8525 wrote:
i loaded madwifi and it works but i cant log in to different networks. i cant find the tool that lets me see other wireless networks that are around me. can anyone help please.

For command line, there's "iwlist name-of-interface-like-wlan0-for-example scan". I think networkmanager might provide an interface.

r420r wrote:
how i can found which *.inf is good for me ?
ls|grep inf | nopaste
http://rafb.net/p/3Ee3bu20.html
i do that.. i am waiting for your answer

I'm sorry I didn't notice that you had replied. The link gives me a 404. The .inf file's name is probably similar to the name of your .sys or .cat file. Try "*5211*inf", for example.
Back to top
View user's profile Send private message
r420r
n00b
n00b


Joined: 03 Sep 2006
Posts: 38

PostPosted: Sun Oct 14, 2007 10:49 am    Post subject: Re: help Reply with quote

StringCheesian wrote:
David8525 wrote:
i loaded madwifi and it works but i cant log in to different networks. i cant find the tool that lets me see other wireless networks that are around me. can anyone help please.

For command line, there's "iwlist name-of-interface-like-wlan0-for-example scan". I think networkmanager might provide an interface.

r420r wrote:
how i can found which *.inf is good for me ?
ls|grep inf | nopaste
http://rafb.net/p/3Ee3bu20.html
i do that.. i am waiting for your answer

I'm sorry I didn't notice that you had replied. The link gives me a 404. The .inf file's name is probably similar to the name of your .sys or .cat file. Try "*5211*inf", for example.

i havent this file...
i downloaded madwifi driver svn version , i was try svn update, and install again
it doesnt work again...
_________________
hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux
Back to top
View user's profile Send private message
r420r
n00b
n00b


Joined: 03 Sep 2006
Posts: 38

PostPosted: Sun Oct 21, 2007 1:49 am    Post subject: Reply with quote

i found inf file..
Code:

# ls
ar5211.sys  oem1.inf
# ndiswrapper -l
oem1 : driver installed
   device (168C:001C) present (alternate driver: ath_pci)

# lsmod
Code:

Module                  Size  Used by
ipv6                  213156  10
i915                   22016  2
drm                    58772  3 i915
snd_seq_oss            25984  0
snd_seq_midi_event      7552  1 snd_seq_oss
snd_seq                35408  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          8588  2 snd_seq_oss,snd_seq
snd_pcm_oss            33696  0
snd_mixer_oss          16128  1 snd_pcm_oss
rtc                    12952  0
fuse                   37140  2
ndiswrapper           137116  0
gspca                 612816  0
videodev               26752  1 gspca
v4l2_common            15104  1 videodev
v4l1_compat            15364  1 videodev
ohci1394               31280  0
ieee1394               59704  1 ohci1394
yenta_socket           22412  0
rsrc_nonstatic         13056  1 yenta_socket
pcmcia_core            27284  2 yenta_socket,rsrc_nonstatic
i2c_i801               10256  0
i2c_core               17408  1 i2c_i801
ath_pci                95016  0
wlan                  149552  1 ath_pci
ath_hal               220256  1 ath_pci
tifm_7xx1               9216  0
tifm_core               9476  1 tifm_7xx1
sdhci                  16780  0
mmc_core               21252  1 sdhci
snd_hda_intel         203416  0
snd_pcm                47492  2 snd_pcm_oss,snd_hda_intel
snd_timer              18180  2 snd_seq,snd_pcm
snd                    33508  8 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer
snd_page_alloc         10504  2 snd_hda_intel,snd_pcm
tg3                    93316  0
e1000                  96192  0
nfs                    94016  0
lockd                  50568  1 nfs
sunrpc                117884  2 nfs,lockd
jfs                   147820  0
scsi_wait_scan          4864  0
pdc_adma                9860  0
sata_mv                17544  0
ata_piix               13956  0
ahci                   18948  0
sata_qstor             10244  0
sata_vsc                9860  0
sata_uli                8836  0
sata_sis               10244  0
pata_sis               13060  1 sata_sis
sata_sx4               13444  0
sata_nv                17540  0
sata_via               12036  0
sata_svw                9092  0
sata_sil24             14084  0
sata_sil               11528  0
sata_promise           12420  0
libata                 80692  16 pdc_adma,sata_mv,ata_piix,ahci,sata_qstor,sata_vsc,sata_uli,sata_sis,pata_sis,sata_sx4,sata_nv,sata_via,sata_svw,sata_sil24,sata_sil,sata_promise
sl811_hcd              13184  0
usbhid                 24160  0
ohci_hcd               19716  0
uhci_hcd               22028  0
usb_storage            63040  0
ehci_hcd               27404  0
usbcore                89352  9 ndiswrapper,gspca,sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd

and
my dmesg
Code:

ndiswrapper version 1.49rc2 loaded (smp=yes, preempt=no)
ndiswrapper: driver oem1 (,04/05/2007,5.3.0.35) loaded
PCI: Enabling device 0000:04:00.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 16
ndiswrapper (ZwClose:2228): closing handle 0xf78f49e8 not implemented
PCI: Setting latency timer of device 0000:04:00.0 to 64
ndiswrapper (NdisWriteErrorLogEntry:191): log: C0001389, count: 4, return_address: f9941054
ndiswrapper (NdisWriteErrorLogEntry:194): code: 0xf7cf4800
ndiswrapper (NdisWriteErrorLogEntry:194): code: 0x28
ndiswrapper (NdisWriteErrorLogEntry:194): code: 0xf9801000
ndiswrapper (NdisWriteErrorLogEntry:194): code: 0xf9801000
ndiswrapper (mp_init:216): couldn't initialize device: C000009A
ndiswrapper (pnp_start_device:439): Windows driver couldn't initialize the device (C0000001)
ndiswrapper (mp_halt:259): device f7857500 is not initialized - not halting
ndiswrapper: device eth%d removed
ndiswrapper: probe of 0000:04:00.0 failed with error -22
usbcore: registered new interface driver ndiswrapper

how i can use it?
_________________
hexbox ~ # uname -a
Linux hexbox 2.6.17-gentoo-r8 #2 SMP Fri Sep 22 04:47:26 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GNU/Linux
Back to top
View user's profile Send private message
mpiter
n00b
n00b


Joined: 21 Feb 2005
Posts: 65
Location: France

PostPosted: Wed Nov 21, 2007 11:01 pm    Post subject: Reply with quote

As was previously written, Atheros AR5007EG cards are sometime erroneously reported by lspci as AR5006EG. You have to reboot in Windows to know what is your real card. If you have a real AR5006EG, you might try madwifi-ng drivers with madwifi-ng-tools utilities version 0.9.3.3 to create your ath0 interface:
Code:
wlanconfig ath0 create wlandev wifi0 wlanmode sta

See other posts on this topic to have a tutorial. This is likely to work.

On the other hand, if you have an AR5007EG card, there are presently no working drivers yet. Madwifi team has been waiting for an Atheros HAL for more than 8 months. Without it, they cannot provide us with a correct driver. They are now working on an ath5k driver to try to solve the problem, but it is still in progress with no announced deadlines. Hence, the only present solution is using ndiswrapper with a 64-bit Windows XP driver if you use a 64-bit kernel. Do not try with a Vista driver because some people reported problems with them.

The first thing to do is to know which wifi card you actually have in your computer. Reboot in Windows if you have a dual boot to have the answer. If it is not possible, type "your_computer_name your_computer_model AR5007EG" in google to see if this triggers pages explaining that your computer has the AR5007EG card despite an erroneous claim of lspci. Then, go on http://www.atheros.cz/ and bring back the right XP driver and run ndiswrapper -i right_file to create your driver. For example, I have an Acer 7520G which has an AR5007EG card, and it works well with ndiswrapper using the 64-bit XP driver downloaded from the web page. I used ndiswrapper -i net5211.inf to create a working wlan0 interface. Good luck,

pit
_________________
Michel Pitermann
Back to top
View user's profile Send private message
mimosinnet
l33t
l33t


Joined: 10 Aug 2006
Posts: 717
Location: Barcelona, Spain

PostPosted: Thu Dec 27, 2007 8:55 pm    Post subject: Reply with quote

This thread has been really helpful. I have a Fujitsu Esprimo Mobile V5535 and I have been trying to configure my atheros card. I have been unable to use the madwifi driver, but I have got the wireless working with ndiswrapper. Thanks a lot!

Code:
# lspci
02:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
# lsmod
Module                  Size  Used by
ath_pci                77808  0
wlan                  161544  1 ath_pci
ath_hal               216048  1 ath_pci
# emerge -s madwifi-ng
*  net-wireless/madwifi-ng
      Latest version available: 0.9.3.3
      Latest version installed: 0.9.3.3
*  net-wireless/madwifi-ng-tools
      Latest version available: 0.9.3.3
      Latest version installed: 0.9.3.3
# iwconfig
lo        no wireless extensions.

sit0      no wireless extensions.

eth1      no wireless extensions.


With ndiswrapper:

Code:
 # lsmod
Module                  Size  Used by
ndiswrapper           198400  0
# iwconfig
lo        no wireless extensions.

sit0      no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11g  ESSID:off/any
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Bit Rate:54 Mb/s
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


UPDATE: I have been able to get the atheros card with the madwifi drivers using a patched snapshot (madwifi-ng-r2756+ar5007.tar.gz), install/make install, and followed the FirstTimeHowTo. The discussion on this patch (only works with x86-32) can be followed in the following madwifi ticket.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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