LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-26-2009, 04:45 PM   #1
azurepancake
LQ Newbie
 
Registered: Apr 2006
Posts: 7

Rep: Reputation: 0
Setting-up Wireless Card (Using Ndiswrapper)


I've recently setup Arch-Linux on my laptop and I am now trying to get my wireless card to work. I've got this card to work with Ubuntu Linux using Ndiswrapper, so I know it should be possible. The card is 'Atheros AR5007EG' and my laptop model is a Toshiba p205-s6307.

I have the drivers that I used on Ubuntu and I installed Ndiswrapper from source. I then went through the following steps (I didn't document my original driver installation, so I will just write what the commands now output. The installation had no errors):

Code:
[tristan@asuka wdriver]$ pwd
/home/tristan/wdriver
[tristan@asuka wdriver]$ ls
ar5211.sys  net5211.inf
[tristan@asuka wdriver]$ sudo ndiswrapper -i net5211.inf
Password: 
driver net5211 is already installed
[tristan@asuka wdriver]$ sudo ndiswrapper -m
module configuration already contains alias directive

[tristan@asuka wdriver]$ sudo modprobe ndiswrapper
[tristan@asuka wdriver]$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
To my knowledge, this should work. But, unfortunately 'wlan' is not showing.

I've been doing a little experimenting and still haven't been able to get wlan0 up. I uninstalled the driver and reinstalled it using the ArchWiki:

Code:
ndiswrapper -i filename.inf
ndiswrapper -l
ndiswrapper -m
depmod -a

(Add 'ndiswrapper' to '/etc/rc.conf' modules section)
modprobe ndiswrapper
Still nothing.

Results of ndiswrapper -l:

Code:
net5211 : driver installed
	device (168C:001C) present (alternate driver: ath5k)
But, I have found a few things that might be related to the problem.

When I attempt to run 'ndiswrapper -m' - I get the following error:

Code:
[tristan@asuka ~]$ ndiswrapper -m
module configuration contains directive install pci:v0000168Cd00000013sv*sd*bc*sc*i* /sbin/modprobe ndiswrapper
;you should delete that at /usr/sbin/ndiswrapper line 868, <MODPROBE> line 4.
module configuration contains directive install pci:v0000168Cd00000013sv00000406sd00001468bc*sc*i* /sbin/modprobe ndiswrapper
;you should delete that at /usr/sbin/ndiswrapper line 868, <MODPROBE> line 5.
module configuration contains directive install pci:v0000168Cd00000013sv00000407sd00001468bc*sc*i* /sbin/modprobe ndiswrapper
;you should delete that at /usr/sbin/ndiswrapper line 868, <MODPROBE> line 6.
module configuration contains directive install pci:v0000168Cd00000013sv00000408sd00001468bc*sc*i* /sbin/modprobe ndiswrapper
;you should delete that at /usr/sbin/ndiswrapper line 868, <MODPROBE> line 7.
module configuration contains directive install pci:v0000168Cd00000013sv00001025sd0000168Cbc*sc*i* /sbin/modprobe ndiswrapper
;you should delete that at /usr/sbin/ndiswrapper line 868, <MODPROBE> line 8.
module configuration contains directive install pci:v0000168Cd00000013sv00001026sd0000168Cbc*sc*i* /sbin/modprobe ndiswrapper
This pretty much repeats its self for quite a bit.

I've noticed that when I boot my system up, it complains about the following:

Code:
FATAL: Module ath_pci not found
FATAL: Module ath_hal not found
FATAL: Module wlan not found
I found a post about my particular card saying to blacklist ath_pci and ath_hal. So I added the following to my /etc/modprobe.d/framebuffer_blacklist

Code:
blacklist ath_pci
blacklist hal_pci
Still no luck. So I then noticed that these were part of my modules in /etc/rc.conf:

So I then removed them, making my MODULES line look like so:

Code:
MODULES=(r8169 ath5k wlan snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc sn$
ndiswrapper)
I'm afraid this hasn't resolved the issue yet. If anyone has any advice at all, please share!
 
Old 01-26-2009, 06:09 PM   #2
vinnywrite
Member
 
Registered: Jan 2007
Location: lexington NC.
Distribution: Ultimalinux 8.4 & Slackware 12.0.0
Posts: 82

Rep: Reputation: 16
your wirless device should have ben suported by your kernel!

try undoing all your......fixis .......and uninstall the ndiswrapper driver then reboot and see if the eror's reacur and if iwconfig will show the device.

allso ndiswrapper neads all of this

-i inffile install driver described by 'inffile'
-m write configuration for modprobe
-ma write module alias configuration for all devices
-mi write module install configuration for all devices

when you half to use it!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2008 not holding wireless connection setting (ndiswrapper) TuxLives Mandriva 8 03-14-2008 04:36 PM
need help setting up my dell 1370 wireless card....with ndiswrapper carspidey Linux - Wireless Networking 11 10-01-2007 04:30 PM
Using ndiswrapper with my wireless card Aranel Linux - Newbie 9 07-14-2006 07:12 PM
ndiswrapper & my wireless card vital_101 Mandriva 1 09-13-2005 05:27 PM
what wireless card do you have working without ndiswrapper? Savet Linux - Wireless Networking 7 06-15-2005 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration