Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 07-16-2007, 02:38 AM   #1
LQ Newbie
Registered: May 2007
Posts: 27

Rep: Reputation: 15
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.
Old 07-17-2007, 08:27 PM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to correct "yum" and "modprobe" when using ndiswrapper? BootLaptop Linux - Wireless Networking 2 07-15-2007 07:14 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
"Back" and "Forward" side-buttons of my mouse Unforgiven79 Linux - Hardware 1 10-31-2006 12:10 AM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 01:34 PM
K3b: - Howto re-dock "Directories" and "Contents" windows back into the main window? hagies Linux - Software 4 04-26-2006 08:38 AM > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration