LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 08-11-2005, 05:12 AM   #1
Raze31
LQ Newbie
 
Registered: Aug 2005
Location: new york
Posts: 8

Rep: Reputation: 0
Trying to get USB linksys wireless g 802.11g network card to connect in linux mandriv


I have my windows pc connected to a linksys wireless g WRT45G router which is connected to my modem (this is my main internet connection). I have the USB linksys wireless g 802.11g wireless network adapter and want to share the internet on the linux machine with this. Can anyone help me please???????
 
Old 08-12-2005, 02:38 PM   #2
PenguinPwrdBox
Member
 
Registered: Oct 2003
Posts: 568

Rep: Reputation: 31
You need to use ndiswrapper, which may or may not be installed on your system.

You can check this by running:

Code:
which ndiswrapper
If you see "no ndiswrapper found in: " and then a list of directories - then you do not have it.
If you see something like /usr/bin/ndiswrapper - then it is installed.

Assuming it is installed, here is what you do with it.

ndiswrapper is a utility that allows you to run any .inf device driver that employs NDIS (windows network drivers) in Linux. So, you will need to put your CD in your drive, because we are using the Windows driver.

Once you have the CD in the drive, and you have mounted it, go into the directory, and in one of the folders, find the .inf file. cp this file to your home directory, or wherever you want to keep it.

Once you have done that, make sure your device is plugged in, and do the following:

Code:
cd /directory/where/you/put/the/inffile
ndiswrapper -i (your inf file)
ndiswrapper -l
At this point, you should see your driver listed. If not, there is a problem. Try it again. If you do see it listed, then do the following:
Code:
insmod ndiswrapper
You should now be up and running, and you can use iwconfig to check signal, and ifconfig to assign IP's.

Good luck!
 
Old 08-12-2005, 03:50 PM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Moved to the Wireless Forum for better exposure..
 
Old 08-12-2005, 07:35 PM   #4
Raze31
LQ Newbie
 
Registered: Aug 2005
Location: new york
Posts: 8

Original Poster
Rep: Reputation: 0
OK

I have ndiswrapper installed.

I typed ndiswrapper -i

I typed ndiswrapper -l

it says driver present, hardware present


I typed insmod ndiswrapper it says

insmod: can't read 'ndiswrapper' : No such file or directory


I type IWCONFIG


It says

lo no wireless extensions

et0 no wireless extensions

eth1 no wireless extensions

sit0 no wireless extensions


not sure what Im doing wrong???


by the way above it says just that driver present, hadware present

it DOSENT SAY what driver like WUSB54Gv4 driver present, hardware present. It just says driver present, hardware present. Dont know if this means anything. Also when i do modprobe ndiswrapper it locks up

Last edited by Raze31; 08-12-2005 at 08:15 PM.
 
Old 08-12-2005, 11:04 PM   #5
kz26
Member
 
Registered: Aug 2005
Location: USA
Distribution: Fedora, Ubuntu, Backtrack
Posts: 70

Rep: Reputation: 15
Try reinstalling ndiswrapper and your drivers. Follow the installation wiki at ndiswrapper.sourceforge.net, they have very detailed instructions there.

What model of adapter do you have? Is it a WUSB54G version4?
 
Old 08-12-2005, 11:16 PM   #6
comatozed
LQ Newbie
 
Registered: Aug 2005
Location: Dubai
Distribution: RH9 & Fedora * & knoppix
Posts: 6

Rep: Reputation: 0
i think you might have to check to make sure you have the kernel-source-version code on your system before you can use ndiswrapper. check out the wiki mentioned above.
 
Old 08-12-2005, 11:32 PM   #7
Raze31
LQ Newbie
 
Registered: Aug 2005
Location: new york
Posts: 8

Original Poster
Rep: Reputation: 0
Yes I have the WUSB54Gv4. Also it says ndiswrapper is installed and the driver is showing when I use the ndiswrapper command. Ok I will reinstall ndiswrapper and let you know from there thanks. I appreciate all the help you are giving me.

Last edited by Raze31; 08-12-2005 at 11:33 PM.
 
Old 08-13-2005, 05:37 AM   #8
Raze31
LQ Newbie
 
Registered: Aug 2005
Location: new york
Posts: 8

Original Poster
Rep: Reputation: 0
I have reinstalled twice followed instructions. Not sure. Ready to scream. Every time I run modprobe ndiswrapper the terminal freezes I have to reboot or open a new terminal and when I do none of ndiswrappers commands work. This is driving me crazy. I have been spending days on this. ugggggggggggggggggggggggggggggggghhhhhhhhhhhhhhh????
 
Old 08-13-2005, 04:27 PM   #9
kz26
Member
 
Registered: Aug 2005
Location: USA
Distribution: Fedora, Ubuntu, Backtrack
Posts: 70

Rep: Reputation: 15
Sounds like you need a 16K stack kernel.
Google 'linuxant kernel 16K' and search for your distro.
Then recompile ndiswrapper, reinstall your drivers, and configure your connection again.
 
Old 08-13-2005, 04:51 PM   #10
Raze31
LQ Newbie
 
Registered: Aug 2005
Location: new york
Posts: 8

Original Poster
Rep: Reputation: 0
I got it. I GOOOOOOOOOOOOOOTTTTTTTT IT.

YESSSSSSSSSSSSSSSSSSSSSSSS !!!!!!!

Perserverance wins. SWEEET

OK everytime I modprobe ndiswrapper

The terminal would hang. I would get no more prompt. Well after trying everything in every forum and google search I could come up with. I finally tried modprobe one last time while unpluging and pluging in my wireless adapter. Something was wrong with USB some where. It worked. I just kept pluging and unpluging in the adapter in different USB ports. Well its in a different port then it was so it must have been the USB port or not receiving a good or proper connection in that port. BUT IT NOW WORKS. I appreciate your help alot. Thanks.

I do have one question though. Will I be connected if I restart my linux machine???? Or do I have to do something each time I restart or power goes out??????
 
Old 08-13-2005, 09:39 PM   #11
kz26
Member
 
Registered: Aug 2005
Location: USA
Distribution: Fedora, Ubuntu, Backtrack
Posts: 70

Rep: Reputation: 15
Follow the installation page at ndiswrapper.sourceforge.net for how to configure ndiswrapper to autoload on boot with modprobe.
 
  


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
802.11g Wireless Desktop network card (F5D7000) V1rus Linux - Wireless Networking 4 05-15-2006 10:40 PM
Linksys Wireless G 802.11g V.4 driver needed dexter30 Linux - Wireless Networking 1 07-15-2005 01:59 PM
Belkin 802.11g Wireless Desktop network card (F5D7000) V1rus Linux - Wireless Networking 1 05-21-2005 03:56 PM
Linksys 802.11g 2.4gz wireless card borken KConner Linux - Wireless Networking 0 06-18-2004 07:37 AM
linksys wireless 802.11g ronss Linux - Wireless Networking 2 11-10-2003 05:11 PM

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

All times are GMT -5. The time now is 02:00 PM.

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