LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-06-2006, 12:45 AM   #1
wantabee
LQ Newbie
 
Registered: Apr 2006
Posts: 25

Rep: Reputation: 15
installing ko files v ndiswrapper


Advice / suggestions phase please.

I have a small old hd (4110Mb) that I've installed FC4 and later FC5 on. In both cases, I'm trying to get linksys wireless (I've tried both WUSB11 and WMB11) cards detected. I don't care which version or which card...I just want to get online with this hd/box.

Question 1:
In FC-4 there are several .ko files in /lib/modules/<kernel,FCnumber>/kernel/drivers/net/wireless that I would like to 'install'. I don't know how (ie, where/if to move the file to be detected (I'm not good with links) and, if it needs compiled & or linked into the kernel (presuming an object file needs linking, not compiling). Finally, because of the small hd size, I've hesitant to add a huge 'development' installation, just for one driver. So, do I need an 'environment' to compile/link? If so, where might I find the 'bones' mimimum?

Question 2:
RPM's. Totally lost where to find what I need to use this option...

Question 3:
I'm reading alot about ndiswrappers (windows devise drivers right..?). Well, another option, but still appears that I have to compile/link...so, which one is better for the linux / c novice?

Thanks in advance.

Last edited by wantabee; 05-06-2006 at 12:50 AM.
 
Old 05-06-2006, 04:10 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
The wiki on this site has instructions on installing a wireless device with ndiswrapper. I wrote a small section on how to use "rpmbuild" to install it from source. The advantage for me is later after a kernel security update. I can rebuild the RPMs and install the new ndiswrapper-kernel RPM package. Then I'm back in business. I'll do it before rebooting to the new kernel.

Before you do that you will want to run "lspci -v" to obtain information on what controller chip your card uses. Sometimes there may be different controller chips used on identical models. "lspci -n" will list the manufacturer/model code number for the device. With this information you can check the HCL on this site or search in google. If it uses a broadcom chip, you will need to use ndiswrapper.

You will also need to install the wireless-tools and wpa_supplicant packages.
The wiki will guide you in wrapping the windows driver. The programs mentioned later such as "iwlist" and "iwconfig" come from the wireless tools package. The program from the "wpa_supplicant" package will be needed for authentication.

After you get ndiswrapper installed, if the command "/usr/sbin/iwlist wlan0 scan" shows you information about access points that were detected, that means that ndiswrapper and the device are working. Your regular network configuration program may allow you configure the rest, such as if you want to use DHCP to obtain an ip address. There should be a section where you can set wpa-psk, and enter the key that matches what the router wants.

I'll try to answer your questions in order:
1) There may be an ndiswrapper RPM package that you can install using your software installation program. It may do the job without the need to download the ndiswrapper source.
2) Since Fedora Core uses RPM packages, you need to read your fine manual. This is the most common method of installing software on Red Hat, Fedora Core, Mandriva, SuSE and others.
3) There may be an ndiswrapper RPM as I already mentioned. Also look for a ndiswrapper-kernel package. This contains the ndiswrapper.ko kernel module that you need. ( I'm basing this on SuSE, and assuming that they are two separate packages in Fedora Core ) Installing this way, you don't need to compile or link. You will need to use some root programs that should be on your system already, such as "modprobe" and "lsmod". The Wiki should guide you through it.

Last edited by jschiwal; 05-06-2006 at 04:20 AM.
 
  


Reply


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
Missing kernel build files (2.6.11-mdksmp) - need them for ndiswrapper Scyphon Linux - Software 2 04-24-2006 01:59 PM
Installing ndiswrapper harisund Ubuntu 5 02-28-2006 09:26 AM
installing ndiswrapper xaptux SUSE / openSUSE 2 02-10-2005 01:05 AM
Need help installing ndiswrapper unclejessie77 Linux - Wireless Networking 8 11-21-2004 09:01 AM
help installing ndiswrapper. rjcrews Linux - Wireless Networking 10 10-07-2004 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:14 AM.

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