-   Linux - Wireless Networking (
-   -   Post back , How to get "yum" and "ndiswrapper" to work? (

BootLaptop 07-16-2007 02:38 AM

Post back , How to get "yum" and "ndiswrapper" to work?
Here is the background information

I installed "Oracle Enterprise Unbreakable Linux(2.6.9-" on my laptop which I dual boot with "Windows XP". This 2.6.9- version is used for computers with multiple processor however the boot menu allows you to use the version for a computer with only one processor as well. "Oracle Enterprise Unbreakable Linux" can't access the internet by itself so I am using Windows XP's wireless driver for the kernel to create an implementation that will allow "Oracle Enterprise Unbreakable Linux Firefox" to access the internet.

I downloaded ndiswrapper-1.47 which is the latest version from the ndiswrapper website I downloaded ndiswrapper using Windows and burned it to disk so that I could install it onto "Oracle Enterprise Unbreakable Linux". The filename that I downloaded is named "ndiswrapper-1.47.tar.tar" but since the "tar" command didn't work on that filename I truncated the filename's last "tar" and issued the command "tar -zxvf ndiswrapper-1.47.tar.gz" instead of "tar -zxvf ndiswrapper-1.47.tar.tar", however either way it is probably source package.

Once I get "Oracle Enterprise Unbreakable Linux" to access the internet I can install other software that need to use web services. "Oracle Enterprise Unbreakable Linux" is supposed to be a "support program" as opposed to a "distribution" so I don't see it listed with distributions. For that reason I need to know:

Where can I find the ndiswrapper pre-compiled binary and dependencies for "Oracle Unbreakable Enterprise Linux" for yum to install?

What are the commands to compile and install the ndiswrapper pre-compiled binary and dependencies for "Oracle Unbreakable Enterprise Linux" to be used by yum?

How will yum look for packages at mirror sites in spite of the fact that currently "Oracle Enterprise Unbreakable Linux" on my computer can't access the internet until yum is installed?

Do I need to uninstall the bcmwl5.inf Windows driver and the ndiswrapper that I were installed earlier during the failed ndiswrapper installation with the warnings and errors and if so how do I uninstall the bcmwl5.inf Windows driver and ndiswrapper from "Oracle Enterprise Unbreakable Linux"?

I am using yum because it is the package manager and figure it will know how to utilize the resouces correctly, however just in case is there another way to install ndiswrapper successfully without using yum?

Below are steps listed again that I took during the first installation that failed:

I downloaded ndiswrappers version 1.47.
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
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-; 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.

Lenard 07-17-2007 08:27 PM

Hopefully "Oracle Enterprise Unbreakable Linux(2.6.9-" is close enough to the upstream North American provider(Red Hat) that you can use the the rpmforge-release packages. These will make life a bit easier in the long run;

You will need to have the kernel development packages (kernel-devel and kernel-smp-devel) installed in either case.

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