LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-17-2006, 12:47 PM   #1
guima
LQ Newbie
 
Registered: May 2006
Posts: 2

Rep: Reputation: 0
FC5 WIFI with unsupported device (LinkSys WPC11 V4 - PCMCIA)


This has worked for me 100% so I'd like to share it. Apologize if it's already out there of this is the wrong place to post it - I'm new here!

FC5 Wireless with unsupported devices (specifically the LinkSys WPC11 V4 - PCMCIA)
First of all forget about everything else, ndiswrapper is your best option at the moment!

If you run ‘lspci’ you will see that linux sees the card as a rtl8180L (realtek chipset) and that is the driver which needs to be installed using ndiswrapper. But first things first…


Getting and installing ndiswrapper
*From now on I assume the user is root or has root privileges.

Unfortunately, we will need a network connection in order to use yum.

Once internet connection is up (somehow) run ‘yum install kernel-devel-$(uname –r)’. That will install kernel include files, which is pretty much what ndiswrapper needs from the kernel.

Then download ndiswrapper tarball unpack and run “make uninstall && make && make install”

If no errors voila!

/sbin/ndiswrapper should now be available.

The driver
Ok now the tricky part. Get the windows XP drivers, from manufacturer website or elsewhere. Remember that what you really want is the chipset not the vendor’s brand name driver, in our case the rtl8180L.

Tip: normally the .exe can be unpacked with ‘unzip drivername.exe’

We want to run ndiswrapper –i LNDSXXX.INF (use the .INF file) that will use the driver rtl8180.sys. Typing ndiswrapper –l should tell you whether the hardware is present and functional.

Now run ‘depmod && modprobe ndiswrapper’ and your wlan0 interface should come up.

You may want to configure the wireless interface now to see if it works. In order to do that, use the iwconfig tool. However, it’s probably easier to deal with ifcfg-wlan0 file directly (next section).

Load everything up at boot
First you must make sure ndiswrapper module is loaded before linux tries to bring wlan0 up. You do that by typing ‘ndiswrapper –m’ which will create the proper alias for wlan0 interface.

Finally, create a file called /etc/sysconfig/network-scripts/ifcfg-wlan0 with the following entries:
(this is an example)

DEVICE=wlan0
IPV6INIT=no
ONBOOT=yes
BOOTPROTO=static
TYPE=Wireless
IPADDR=x.x.x.x
NETMASK=255.255.255.0
GATEWAY=y.y.y.y
MODE=Managed
ESSID="NAME"
CHANNEL=6
HWADDR=HH:HH:HH:HH:HH:HH
KEY="ec56abb90003b7f7ff8dd7f4"
WPA=no
USERCTL=no

Reboot and the wireless should be functional.
 
Old 06-30-2006, 04:14 PM   #2
hanakj
LQ Newbie
 
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
Question

When I do
yum install kernel-devel-$(uname –r)

I get:
Bash: syntax error near unexpected token `('

What happened?


I am running FC 5
 
Old 07-05-2006, 08:19 AM   #3
guima
LQ Newbie
 
Registered: May 2006
Posts: 2

Original Poster
Rep: Reputation: 0
make sure your running bash (type 'bash' and run the yum command again).

Update:
* livna has ndiswrapper as a package so all you have to do is:

rpm -ivh http://rpm.livna.org/livna-release-5.rpm
yum install ndiswrapper

However, I'd still make sure the ndiswrapper is compiled against whatever you have using the procedure in the OP.

Last edited by guima; 07-05-2006 at 08:24 AM.
 
Old 08-15-2006, 03:13 PM   #4
quantum_leaf
LQ Newbie
 
Registered: Jul 2005
Posts: 10

Rep: Reputation: 0
ive been struggling with the wpc11 v4 all day and still so far no joy.
this thread is very promising, but I need more info on where to get the driver.

the xp driver from realtek doesn't have a lndsxxx.inf file. i saw something like this in the driver from linksys but ndiswrapper wouldnt take it.

info on where you got your driver from would be much appreciated.

thanks

Liam

Last edited by quantum_leaf; 08-15-2006 at 04:04 PM.
 
Old 08-15-2006, 03:15 PM   #5
quantum_leaf
LQ Newbie
 
Registered: Jul 2005
Posts: 10

Rep: Reputation: 0
<edited out>

Last edited by quantum_leaf; 08-15-2006 at 04:04 PM.
 
  


Reply



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
Unsupported pcmcia card for pccardd Cyber_Paladin Linux - Hardware 0 03-24-2006 10:06 AM
Linksys WPC11 PCMCIA card CanadianSlacker SUSE / openSUSE 5 03-07-2005 01:25 AM
Linksys WPC11 Version 4 802.11b wireless pcmcia adapter shah1701 Linux - Wireless Networking 10 10-21-2004 11:42 AM
Connecting to an unsupported device robhargreaves Linux - General 6 03-24-2004 06:56 AM
Linksys WPC11 PCMCIA Wireless destrudo Linux - Newbie 2 01-20-2003 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

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
Open Source Consulting | Domain Registration