LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 12-27-2007, 05:00 PM   #16
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72

Yes, you need root privileges to do that. It doesn't matter where you extract the driver.
 
Old 12-28-2007, 02:10 AM   #17
apche93
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by elliott678 View Post
Yes, you need root privileges to do that. It doesn't matter where you extract the driver.
here is what ive done (w/ root priveleges):

after extracting the downloaded 32-bit xp driver,

1. ndiswrapper ~/xp32/net5416.inf
Code:
installing net5416 ...
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
2. ndiswrapper -l
Code:
net5416 : driver installed
        device (168C:001C) present (alternate driver: ath_pci)
3. modprobe ndiswrapper- nothing happens. it just skips to the next command...


Can you tell me what if anything went wrong?
 
Old 12-28-2007, 06:40 AM   #18
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
Did you blacklist the ath_pci driver so it isn't trying to load? What version of ndiswrapper are you running (ndiswrapper -v)?

Also, 168C:001C does tell me that it really is a 5007EG, so ndiswrapper is your only hope.

Last edited by elliott678; 12-28-2007 at 06:44 AM.
 
Old 12-28-2007, 10:55 AM   #19
apche93
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by elliott678 View Post
Did you blacklist the ath_pci driver so it isn't trying to load? What version of ndiswrapper are you running (ndiswrapper -v)?

Also, 168C:001C does tell me that it really is a 5007EG, so ndiswrapper is your only hope.

ndiswrapper -v
Code:
utils version: 1.9
driver filename:       /lib/modules/2.6.22-14-generic/ubuntu/misc/ndiswrapper/ndiswrapper.ko
version:        1.45
vermagic:       2.6.22-14-generic SMP mod_unload 586
wut do u mean by blacklisting it? and how?
 
Old 12-28-2007, 11:24 AM   #20
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
Blacklisting a driver keeps it from loading. I believe you blacklist drivers in Ubuntu by adding an entry to /etc/modprobe.d/blacklist, try adding something like this:
Code:
blacklist ath_pci
blacklist ath_hal

Last edited by elliott678; 12-28-2007 at 11:26 AM.
 
Old 12-28-2007, 02:32 PM   #21
apche93
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by elliott678 View Post
Blacklisting a driver keeps it from loading. I believe you blacklist drivers in Ubuntu by adding an entry to /etc/modprobe.d/blacklist, try adding something like this:
Code:
blacklist ath_pci
blacklist ath_hal
yes, i think its in my blacklist. here look:
Code:
# This file lists those modules which we don't want to be loaded by
# alias expansion, usually so some other driver will be loaded for the
# device instead.

# evbug is a debug tool that should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# causes no end of confusion by creating unexpected network interfaces
blacklist eth1394

# snd_intel8x0m can interfere with snd_intel8x0, doesn't seem to support much
# hardware on its own (Ubuntu bug #2011, #6810)
blacklist snd_intel8x0m

# causes failure to suspend on HP compaq nc6000 (Ubuntu: #10306)
blacklist i2c_i801
blacklist bcm43xx
blacklist bcm43xx
blacklist bcm43xx
blacklist bcm43xx
blacklist bcm43xx
blacklist ath_hal
blacklist ath_pci
see the blacklisting is in there. so still why isnt it working?
 
Old 12-28-2007, 02:36 PM   #22
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
What have you tried to get the wireless connection to start after the module was loaded? Does the wlan0 interface show up in 'ifconfig -a'?
 
Old 12-28-2007, 03:29 PM   #23
apche93
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by elliott678 View Post
What have you tried to get the wireless connection to start after the module was loaded? Does the wlan0 interface show up in 'ifconfig -a'?
no, it doesnt. ive typed in modprobe ndiswrapper as root though.
 
Old 12-28-2007, 03:29 PM   #24
apche93
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
i only have eth0 and lo
 
Old 12-28-2007, 03:59 PM   #25
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
I think I left something out, remove the module then run 'ndiswrapper -m' then reload the module. I didn't have to do this on my system, but apparently it is necessary on Ubuntu.
 
Old 12-28-2007, 04:29 PM   #26
apche93
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by elliott678 View Post
I think I left something out, remove the module then run 'ndiswrapper -m' then reload the module. I didn't have to do this on my system, but apparently it is necessary on Ubuntu.
yea, after i remove the net5416.inf thing from the windows wirless menu (ndisgtk).
i typed in ndiswrapper -m into terminal i get:
Code:
 module configuration already contains alias directive
im pretty sure i did remove the *.inf file i previously installed. wuts wrong?
 
Old 12-28-2007, 04:34 PM   #27
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 72
I'm not sure what is wrong, I'm not familiar with Ubuntu or ndisgtk. The steps I listed are exactly what I did to make it work for me.
 
Old 12-29-2007, 12:43 PM   #28
apche93
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by elliott678 View Post
I'm not sure what is wrong, I'm not familiar with Ubuntu or ndisgtk. The steps I listed are exactly what I did to make it work for me.
So, am i just left hopeless?
 
  


Reply

Tags
atheros, gutsy, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
wireless Atheros driver for Acer laptop craigconrad Slackware 22 05-28-2007 08:52 AM
Linux (CentOS) and Atheros Wireless Driver nentendo Linux - Newbie 33 08-28-2006 01:43 AM
driver for atheros 802.11 wireless 57210788 Linux - Laptop and Netbook 1 01-14-2006 04:12 AM
Help me get the Atheros 5001X wireless driver to work for fujitsu N5010. OS: SUSE 10 pitchblack Linux - Hardware 2 10-09-2005 10:00 PM
Planet 8310 wireless card driver? (atheros) nvidiausr Linux - Wireless Networking 4 11-01-2004 11:44 AM


All times are GMT -5. The time now is 03:15 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration