LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   I started from the top and downloaded ndiswrapper and ran tar ... (https://www.linuxquestions.org/questions/linux-wireless-networking-41/i-started-from-the-top-and-downloaded-ndiswrapper-and-ran-tar-570241/)

BootLaptop 07-17-2007 07:44 PM

I started from the top and downloaded ndiswrapper and ran tar ...
 
Hello

The reason I was getting the no such file or directory error message was because when you download ndiswrapper from the ndiswrapper site the filename is "ndiswrapper-1.47.tar.tar" so I remembered that I had to rename the file to get rid of the last "tar" by substituting it with gz in order for the tar command to run.

Also I dont unzip the 80211g.zip file to get the bcmwl5.inf and sys files, I just go into the Windows directory where the folder with the 2 files are, bypassing the parent folder containing all of the other bcmwl files are such as bcmwl5.hlp, bcmwl5.dll, etc.

The first thing that happens is that "yum" doesn't work. Then when I ran "ndiswrapper -i" it said the module was already installed but either way modprobe still can't insert the bcmwl5 driver even though it installed. I listed the steps I took below:

I typed "su -c 'yum install kmod-ndiswrapper'"
the response was:
"setting up install process"
"setting up repositories"
however the error message was:
"cannot find a valid baseurl for repo: update"
Therefore I didn't use yum and proceeded as follows
1)created a directed named "ndiswrapper_drivers"
2)tar -zxvf ndiswrapper-1.47.tar.gz
3)make uninstall
4)make distclean
5)make
6)make install
NOTE: this gave two warnings:
a)'task_nice': (/ndiswrapper_drivers/ndiswrapper-1.47 /ndiswrapper.ko) undefined!
b)this kernel seems to use 4k stack size option
(CONFIG_4KSTACKS): many Windows dirver will not work
with the option enabled . Disable CONFIG_4KSTACKS
option recompile and install kernel
NOTE:Windows config file format changed since 1.5 you must reinstall windows driver if they wre installed before
7)ndiswrapper -i bcmwl5.inf
(driver now installed)
8)ndiswrapper -i bcmwl5.sys
(driver already installed)
9)ndiswrapper -l
(driver now present)
10)demod -a
11)modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/
2.6.9-55.0.0.0.2ELsmp/misc/ndiswrapper.ko); unknown
symbol in module or unknown parameter.

Note: The error file ndiswrapper.0 file in step 11 seems to be the same error file in ndiswrapper.k0 file after step 6.

2Gnu 07-17-2007 10:23 PM

A couple of things:

Unresolved symbols are usually caused by a too-old kernel, per the docs: http://ndiswrapper.sourceforge.net/j...oubleshooting/

This error - "cannot find a valid baseurl for repo: update" - means you either have no Internet connectivity or the repositories are not listed. Check your yum configuration.

This error - "this kernel seems to use 4k stack size option
(CONFIG_4KSTACKS): many Windows dirver will not work
with the option enabled . Disable CONFIG_4KSTACKS
option recompile and install kernel" - and the use of yum means you're using Fedora. FC uses a kernel that's incompatible with ndiswrapper. Recompile per the NDiswrapper wiki.

Don't try to install both the .sys and .inf, but make sure they are both in the same directory when you install the .inf. Re-read the instructions.

Make sure you're using the precise Windows drivers for your card. Uninstall everything and start over when you're sure you have the right ones.

Ensure that the bcm43xx module is not loading. If it is, blacklist it and remove it.


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