LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Trying to get USB linksys wireless g 802.11g network card to connect in linux mandriv (https://www.linuxquestions.org/questions/linux-wireless-networking-41/trying-to-get-usb-linksys-wireless-g-802-11g-network-card-to-connect-in-linux-mandriv-352136/)

Raze31 08-11-2005 05:12 AM

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???????

PenguinPwrdBox 08-12-2005 02:38 PM

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!

peter_robb 08-12-2005 03:50 PM

Moved to the Wireless Forum for better exposure..

Raze31 08-12-2005 07:35 PM

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

kz26 08-12-2005 11:04 PM

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?

comatozed 08-12-2005 11:16 PM

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.

Raze31 08-12-2005 11:32 PM

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.

Raze31 08-13-2005 05:37 AM

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????

kz26 08-13-2005 04:27 PM

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.

Raze31 08-13-2005 04:51 PM

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??????

kz26 08-13-2005 09:39 PM

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


All times are GMT -5. The time now is 04:38 AM.