Sunday, July 1

Install USB wireless network card in Ubuntu

After installing Ubuntu, the first thing is to get it online. It is important to get it online before installing USB wireless network card. Yes, bring it close to your router and connect it with cable. Plug in your network card, we will use it very soon.

The best information I can get is from Czarism. Since most USB network cards come with Windows driver, ndiswrapper is developed to transfer the driver into LINUX. First, install ndiswrapper-utils. The best way to install it is through the System->Administration->Synatic Package Manager. Czarism tells a command line which doesn't work for me, because the name changed over time. Search "ndiskwrapper" in the Synatic Package Manager and you can download the newest version of this utility.

Then, find driver files from the network card CD. They should be in CD://driver/winXP/xxxx.inf. run the downloaded utility using Administrator previlidge to load this inf file:
sudo ndiswrapper -i xxxxx.inf
and put it into system configuration file:
sudo ndiswrapper -m
and load ndiswrapper module:
sudo modprobe ndiswrapper
Now you try to input "iwconfig", and should be able to see somthing like:
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ........

that means your driver is activated, and the device is call "wlan0". This name will be different in some system.
then run it now:
sudo ifup wlan0
to run the device. Done! After this action, I plugged out my wired cable, and surf internet before I came here to blog!

Labels:

3 Comments:

At August 27, 2007 8:58 AM, Blogger Inderpal said...

Hello Ben
I followed your instructions and got-
~$ sudo ifup wlan0
wlan0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

SIOCSIFADDR: No such device
wlan0: ERROR while getting interface flags: No such device
wlan0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up wlan0.
I am using a Marvell USB device.
Any help will be highly appreciated.

 
At August 27, 2007 10:15 PM, Blogger Ben said...

"wlan0" is default name for this USB network card. "rausb0" is default name for my another card. You can type "iwconfig" to find out what is the name of yours, then use "sudo ifup xxxx" to start your card.

 
At May 21, 2010 12:45 AM, Blogger Kon Abaga said...

i have gone through your site information and it is the sae oppertunity that i was looking for thr facilities,
the process that what you are offering , are perfectely matched to my expection, very soon you will get
responce from my side


online job

 

Links to this post:

Create a Link

<< Home