LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Help installing ndiswrapper-1.21 on Ubuntu (https://www.linuxquestions.org/questions/linux-wireless-networking-41/help-installing-ndiswrapper-1-21-on-ubuntu-467268/)

Ray>Ubuntu-User 07-24-2006 07:45 PM

Help installing ndiswrapper-1.21 on Ubuntu
 
:Pengy: Here is a view of where I have put some of my files:

/home/ray/ndiswrapper-1.21.tar.gz

/home/ray/ndiswrapper-1.21

/home/ray/Linksys Driver

..........

I have unwrapped the tar.gz file as you can see above.
Also here is the driver im planning on installing...

Card: Linksys #[WMP54GS] Wireless-G PCI Adapter with Speedbooster -- [link here|List#WMP54GS]
Chipset: Broadcom Corporation BCM94306 802.11g (rev 03)
pciid: 14e4:4320
Driver: Linksys ftp://ftp.linksys.com/pub/network/WMP54GS_20050406.exe (new version)
Other: Ndiswrapper 0.11 and 0.12. Works fine with 64-bit WEP key and WPA supplicant (Fedora core-2, Kernel 2.6.8 and 2.6.9). Use WMP54GS.inf

..........

I have unzipped it on another machine which worked out fine. It is waiting for the ndiswrapper to work.


Ok, I've got a problem. I've got the directories where I think they are supposed to be... I cant use ndiswrapper -i WMP54GS.inf.... When I attempt too install the driver it doesnt even recognize ndiswrapper as a command. "bash: ndiswrapper: command not found"

Even when people write out the commands and i enter them in perfectly. It wont work. Sometimes I spend 10 minutes on a 1 line command making sure I wrote it perfectly checking capatilization, and I've also learned about italicized parts where you enter in your user specific info... which I learned the hard way, but even then nothing seems to work. I've googled lots of forums and I've learned lots but nothing to actually install the dang thing please help. The generalized commands that people put on forums that work for like 99% of people just dont seem to be working for me. They will enter a command then be like "yadda yadda then it should do this and now u can enter this and it will do that" It's like a seven or eight step process and I cant even get past step 1.

I'm probably gonna need some interactive help on this 1. I dunno if 1 post will save me. PLeAsE HeLP!! I'll give you any info just ask... I've been trying to set this up for prob 15 hours running.

The_Outlander 07-25-2006 06:57 AM

Do you have make and gcc installed. It may be useful to have gcc-g++ installed also.

Having unwrapped the tar.gz file, you should cd into the newly created folder and type;
#make
and then as superuser;
#make install

Providing you have the kernel source installed and linked to /lib/modules/linux-.....
as per the instructions on the ndiswrapper site, the module should compile and install. (If you installed your kernel, kernel modules and kernel source, using your package management system, the links will most likely be present).

Following this
#ndiswrapper -i path to file.inf
Then do;
#moprobe ndiswrapper
Then;
#depmod -a
following this do;
#iwconfig (to see if your card shows up as wlan0)
You then of course assign an IP address using;
#ifconfig IPaddress netmask 255.255.255.0 up
#route add default gw IPaddress (this is the address to your wireless router)
Or do;
#dhcpcd wlan0 (to assign an address using dhcp).

Hope this gets you out of trouble.


All times are GMT -5. The time now is 07:29 PM.