LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-11-2009, 10:43 AM   #1
alan9339
LQ Newbie
 
Registered: Sep 2008
Location: Tennessee
Distribution: Ubuntu
Posts: 19

Rep: Reputation: 0
NDISWrapper issues


Hi. I'm new to Linux and I'm not sure this is the appropriate thread to ask this question. I'm running Ubuntu 8.04 (with Kernal 2.6.24-19-generic) on an old Pentium III laptop. I was connected to the internet, but my Router went down and I received a new router (Linksys WRT54G). Since I've received the new router I haven't been able to connect to the internet. Im using Linksys WUSB54GC dongle with this setup.
I've re-downloaded NDISWrapper and have tried to install it. I type in the command ndiswrapper -l and get the following:

rt73 : driver installed
device (13B1:0020) present (alternate driver: rt73usb)
wusb54g : driver installed

My first question is:
Does this mean that the usb driver (rt73usb) is installed? If so, how do I make it the default driver?

My next question is:
If it's NOT installed (just merely present) how do I install the usb driver (rt73usb) and make it default and where could it be located?

I've been working on this for weeks (as time allows) and I'm getting pretty frustrated. Any help or ideas would be greatly appreciated.
 
Old 01-11-2009, 04:47 PM   #2
bapigoo9
Member
 
Registered: Aug 2008
Posts: 107

Rep: Reputation: 16
Quote:
Originally Posted by alan9339 View Post
I'm new to Linux
Welcome to Linux!
Quote:
old Pentium III
That is old!
Quote:
ndiswrapper -l:

rt73 : driver installed
device (13B1:0020) present (alternate driver: rt73usb)
wusb54g : driver installed
This means that the rt73 driver is installed. Just what it says. To use the alternate driver, you need to tell ndiswrapper to use it, or you need to manually install it with ndiswrapper. Try to read about ndiswrapper:

> man ndiswrapper

Tell us what distro you are using so that we can be more specific. You need to unload the driver, and then load the other driver. To see what is loaded on your system as modules:

# lsmod

To remove the ndiswrapper module:

# modprobe -r ndiswrapper

Read about how to install the new driver. You may need to use the uninstall command option for ndiswrapper before removing it, and you might not have to remove the ndiswrapper module at all. Read the documentation on it. You can also blacklist the rt73 driver so that it is not used. Find an "ndiswrapper" howto. There are many of them.
Quote:
I've been working on this for weeks (as time allows) and I'm getting pretty frustrated. Any help or ideas would be greatly appreciated.
Try to ask sooner!
 
Old 02-11-2009, 12:15 PM   #3
michielv
LQ Newbie
 
Registered: Feb 2009
Location: Belgium, Antwerp
Distribution: Mint
Posts: 24

Rep: Reputation: 1
WUSB54GC on linux

Hi,

I'm using the WUSB54GC adaptor and it works fine for Linux.

You don't really need ndiswrapper.
You can download the source for this usb adaptor on
http://rt2x00.serialmonkey.com/wiki/index.php/Downloads
Choose for rt73

After download, untar it and compile it (README instructions are provided).

If you want automatic internet connection on start up, add the following code to
Code:
/etc/network/interfaces
Code:
auto wlan0
iface wlan0 inet dhcp
pre-up ifconfig wlan0 up
pre-up iwconfig wlan0 essid "your essid"
pre-up iwconfig wlan0 mode managed
pre-up iwconfig wlan0 channel 9 #your channel number
pre-up iwpriv wlan0 set AuthMode=WPAPSK #your type of incryption, WPA in this case
pre-up iwpriv wlan0 set EncrypType=TKIP
pre-up iwpriv wlan0 set WPAPSK=*********** #your key
pre-up iwpriv wlan0 set SSID="your essid"
wlan0 is the name of your wireless interface, it can be something else for you. Check it out by typing
Code:
iwconfig
You also need to blacklist some things.
Add the following code to the file:
Code:
/etc/modprobe.d/blacklist
Code:
blacklist rt73usb
blacklist ehci_hcd
 
Old 02-12-2009, 04:19 PM   #4
alan9339
LQ Newbie
 
Registered: Sep 2008
Location: Tennessee
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
Which directory do I untar it? I tried four or five directories, but I keep getting error messages like "Command Line Output" and "There is no default action associated with this location".
 
Old 02-12-2009, 04:45 PM   #5
alan9339
LQ Newbie
 
Registered: Sep 2008
Location: Tennessee
Distribution: Ubuntu
Posts: 19

Original Poster
Rep: Reputation: 0
Ok. I got it onto my desktop. I opened a terminal window in the untared file and opened the README file. The Build Instructions state:

1. Unpack the driver sources and go to the Module directory:
$ tar -xvzf rt73-cvs-daily.tar.gz
$ cd ./rt73-cvs-YYYYMMDDHH/Module

2. Compile the driver sources:
$ make

3. Install the driver (as root):
$ make install

My bash is complaining that -xvzf and xvzf are not commands. I get the error message "-xvzf: command not found" and "xvzf: command not found" :

Did I untar this package correctly? I should be able to see this folder somewhere in my directory tree, but I don't. Also, when I "ls" from the desktop I don't see the folder or the file.

So, my question is... What am I doing wrong and how do I do it correctly?
 
Old 02-13-2009, 03:28 AM   #6
michielv
LQ Newbie
 
Registered: Feb 2009
Location: Belgium, Antwerp
Distribution: Mint
Posts: 24

Rep: Reputation: 1
I guess the tar command is installed on your PC.

You can do the command in a terminal window in your home directory.

Code:
tar -xvzf rt73-cvs-daily.tar.gz
It should work.

I did it again to test it and it worked.

Untarring will create a extra directory

Code:
/home/"yourlogin"/rt73-cvs-YYYYMMDDHH
Like you state, after that:

Code:
cd ./rt73-cvs-YYYYMMDDHH/Module
2. Compile the driver sources (don't have to be root):
Code:
$ make
3. Install the driver (as root!):
Code:
$ sudo make install
 
  


Reply

Tags
wusb54gc


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
NDisWrapper Issues corteplaneta Slackware 16 10-14-2008 08:14 AM
Wifi and ndiswrapper issues NoahT1BM Linux - Software 2 05-09-2008 12:24 PM
Ndiswrapper Issues BlindFate Linux - Wireless Networking 2 03-26-2008 04:54 PM
ndiswrapper and broadcom issues DJCreation Linux - Wireless Networking 1 01-17-2007 06:22 AM
issues with ndiswrapper frogg609 Linux - Wireless Networking 1 08-16-2004 10:42 AM


All times are GMT -5. The time now is 06:27 AM.

Main Menu
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