Line Command
Greetings all,
I've encountered a small problem attempting to install ndiswrapper. This post has nothing to do with the installation or configuration of the wrapper but of my interpatation of of the installation instructions. Sourceforge's 1st installation instruction states: (http://ndiswrapper.sourceforge.net/w...p/Installation) recent kernel with source and the sources can be installed using the package kernel-source<kernel-version>.rpm Does ?kernel- source? mean; the cdrom ? /mnt/cdrom/2.4.21-0.13mdk.rpm (which didn't work anyway) or /lib/modules/2.4.21-0.13mdk/ directory ? or /lib/modules/2.4.21-0.13mdk/kernel/ directory ? Understanding this very first step will assist me in more ways than one. Thanks for the assistance, tomap |
The kernel source is the all of the source code that is compiled to create the modules and kernel. It is located in /usr/src directory. If it wasn't selected when you installed the OS you will need to load the RPM package.
If not installed you can use the GUI package manager or via the command line rpm -iv kernel-source ..... rpm |
All that's in the /usr/src directory is - RPM/
I don't recall (upon installation) anything about installing the source?? Regards, tomap |
So you will need to install the source from the rpm.
|
michaelk,
Please explain what / where is the kernal source; cdrom? I've run the command: rpm -iv kernel-source 2.4.21-0.13mdk.rpm it reply's no such directory Tomap |
The current working directory needs to be at the location where the rpm exists and are you logged in as root?
|
yes - I'm root
working from the /usr/src/RPM directory |
I've run the command(s);
rpm -iv kernel-source /usr/src/RPM/linux-2.4.21-0.13mdk.rpm & rpm -iv /usr/src/RPM/linux-2.4.21-0.13mdk.rpm & rpm -iv kernel-source /usr/src/RPM/linux-2.4.21-0.13mdk.rpm & rpm -iv kernel-source linux-2.4.21-0.13mdk.rpm & rpm -iv kernel-source linux-2.4.21-0.13mdk.rpm no such file or directory..... |
Do you know which CD contains the kernel source RPM?
Stick that in the drive, then cd to the directory cd /mnt/cdrom/RPMS I think that is the correct directory. If you ust cd to /mnt/cdrom and look via the ls command to see the subdirectories. Then cd to that directory, then install the source. It might be easier for you to use the GUI package manager. |
I did as suggested. Used the GUI and it did install the kernel source. Unfortunately, the /lusr/src still contains only the RPM directory.
That's all the time today I can devote to this issue. Much thanks for your assistance, it is truely appreciated. Regards, tomap |
cd to /usr/src/rpm then ls to see what is in there,then install it the normal way for a rpm. rpm -ivh /usr/src/RPM/whatever
|
I'm back !!!
Hello all, I finally got the kernek source installed (properly) and got ndiswrapper installed (with no error messages). Now it looks like I must be doing something wrong with the "inf" files and unsure of what it may be? The bcmw15.inf is the driver my windows OS is using, without any problems. Following is the output from my attempts: [root@localhost ndiswrapper-0.11]# ndiswrapper -i /mnt/win_d/r74091/ar/bcmw15.inf ls: /etc/ndiswrapper: No such file or directory Installing bcmw15 cp: cannot stat `/mnt/win_d/r74091/ar/bcmw15.inf': No such file or directory [root@localhost ndiswrapper-0.11]# ndiswrapper -i INF /mnt/win_d/r74091/ar/bcmw15.inf Usage: ndiswrapper OPTION Manage ndis drivers for ndiswrapper. -i inffile Install driver described by 'inffile' -d pciid driver Use installed 'driver' for 'pciid' -e driver Remove 'driver' -l List installed drivers -m Write configuration for modprobe [root@localhost ndiswrapper-0.11]# ndiswrapper -i INF /mnt/win_d/r74091/ar/bcmw15 Usage: ndiswrapper OPTION Manage ndis drivers for ndiswrapper. -i inffile Install driver described by 'inffile' -d pciid driver Use installed 'driver' for 'pciid' -e driver Remove 'driver' -l List installed drivers -m Write configuration for modprobe [root@localhost ndiswrapper-0.11]# ndiswrapper l Usage: ndiswrapper OPTION Manage ndis drivers for ndiswrapper. -i inffile Install driver described by 'inffile' -d pciid driver Use installed 'driver' for 'pciid' -e driver Remove 'driver' -l List installed drivers -m Write configuration for modprobe [root@localhost ndiswrapper-0.11]# ndiswrapper -l Invalid product/subclass spec at line 2650 Installed ndis drivers: bcmw15 invalid driver! [root@localhost ndiswrapper-0.11]# I'm wide open for suggestions................... Regards, tomap |
All times are GMT -5. The time now is 06:22 AM. |