LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-03-2005, 05:55 PM   #1
SlackwareInAZ
Member
 
Registered: Apr 2005
Posts: 55

Rep: Reputation: 15
Trying to configure Linksys WMPCI54G (wireless-G pci adapter) in Slackware 10.1 Curre


In an effort to broaden my Slackware knowledge, my latest project is to get my Linksys Wireless G adapter to work in Slackware. It uses the bcmwl5.sys driver in WinXP.

I followed the guide linked here: http://www.linuxquestions.org/questi...icle&artid=328

I installed ndiswrapper, using the broadcom driver and inf file from XP and ndiswrapper -l says:

Installed ndis drivers:
bcmwl5 driver present, hardware present

So far, so good, but modprobe ndiswrapper gives an error:

Error inserting ndiswrapper. (/lib/modules/2.6.11.11/misc/ndiswrapper,ko), Unknown symbol in module, or unknown parameter (see dmesg)

I checked and found that it installed the module /lib/modules/2.6.11.11/misc/ndiswrapper.ko

I followed the other steps listed such as ndiswrapper -m which added the entry to modprobe.conf (for the 2.6 kernel). Added the specified entries to rc.local and modified rc.wireless.conf and made sure rc.local and rc.wireless start on boot.

Any idea on what I need to do to remove the modprobe error, since I do not think the ndiswrapper module is loading? Or do I have to buy the linuxant driver to use instead of ndiswrapper?

Thanks,
Gary
 
Old 06-03-2005, 05:57 PM   #2
Namaseit
Member
 
Registered: Dec 2003
Distribution: Slackware
Posts: 325

Rep: Reputation: 30
So what does dmesg say?
 
Old 06-03-2005, 06:08 PM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Try removing the windows driver from ndiswrapper and using bcmwl5a.inf instead. I've had better luck with it. My Motorola card has the broadcom chip set and the "5a" works quite well.
 
Old 06-03-2005, 06:20 PM   #4
SlackwareInAZ
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
Namaseit,

No message at all in dmesg, I can see where the onboard Broadcom ethernet controller loads, but no reference at all for the PCI adapter even though it shows up in lspci hardware list as Network Controller Broadcom Corporation BCM94306 802.11g (rev 03)

Masonm,
So you think I need to uninstall ndiswrapper, and repeat the install, using bcmwl5a.inf with the same .sys driver instead? Would a simple google search find it?

And a question for everyone. What controls automatically loading the ndiswrapper,ko module? Is it rc.local or rc.wireless as opposed rc.modules??

Thanks,
Gary
 
Old 06-03-2005, 06:25 PM   #5
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
No, you don't need to remove ndiswrapper, just the driver you installed.
You can do that with a simple command:
ndiswrapper -e bcmwl5

both bcmwl5.inf and bcmwl5a.inf install the same .sys windows driver, just with different information. Give it a try. If you have the CD for the card, they'll be on there, other wise you may find bcmwl5a.inf in your windows files, or you can download it. The .sys file will be the same for either.
 
Old 06-03-2005, 06:54 PM   #6
SlackwareInAZ
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
Namaseit,

Just re-ran dmesg after trying another modprobe ndiswrapper and it says ndiswrapper: Unknown symbol wireless_send_event

Any ideas? I checked the .conf files in /etc/ndiswrapper for that parameter and couldn't find it.

And masonm,

don't have the bcmwl5a.inf just the "5.inf. Couldn't turn up any download for it either on the web, just numerous references of using it.

Gary
 
Old 06-03-2005, 06:59 PM   #7
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
That means that the kernel doesn't know what the module is trying to do. The kernel is saying 'Unknown symbol wireless_send_event' which means that you probably left wireless network support out of the kernel when you configured it.

--Shade
 
Old 06-03-2005, 07:05 PM   #8
SlackwareInAZ
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
Shade,

You're right! Just checked the .config file and Wireless Extensions were not checked.

Recompiling as we speak.

Thanks,
Gary
 
Old 06-03-2005, 07:26 PM   #9
SlackwareInAZ
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
Shade,

Just recompiled wireless support in the kernel. Rebooted on new kernel and presto, wlan0 appears with lsmod showing ndiswrapper module loaded.

Now I need to play around with the code in /etc/wireless.conf for my setup. Once I have it working with the router encryption turned off, I'm going to install the wpa supplicant package and try to enable WPA-PSK encryption. Thanks for putting me on the right track. Just never expanded the networking section of the config file that much.

Will let you know how the tweaking goes. I guess I need to disconnect the ethernet card connection to truly know when I have a good wireless connection!

Gary
 
Old 06-03-2005, 07:35 PM   #10
SlackwareInAZ
Member
 
Registered: Apr 2005
Posts: 55

Original Poster
Rep: Reputation: 15
Just rebooted with the ethernet cable disconnected and found I have a wireless connection (unencrypted) so everything is working!!

I notice that dmesg says that the wireless adapter supports WEP, wpa with tkip or aes so I wonder if I really need that wpa_supplicant update?

I think I'll fiddle around with the settings for wireless.conf, then turn on the router encryption and see what happens. No sense in installing software if it's not needed.

Thanks for everyone's help.

Gary
 
Old 06-03-2005, 08:59 PM   #11
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
Cool. Just remember, if you set up the router with an ascii key, you'll need to preface your key with s: in the config file to identify it as a string instead of hex.

key s:xxxxxxxxxxxxx
 
  


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
configure linksys wusb1.1 version2.6 wireless-B adapter randell6564 Linux - Wireless Networking 0 11-14-2005 02:15 PM
Linksys WMP11 Wireless -B PCI adapter installation on RH7.3 eddydw Linux - Wireless Networking 16 02-07-2004 07:11 PM
Where can I get Linux open source drivers for the Linksys Wireless-G PCI Adapter-WMP5 mrwritestuff Linux - Wireless Networking 1 10-15-2003 12:40 PM
How To Configure Wireless Pci Linksys Card Wmp11 Ver 2.7 On Mandrake Linux AKBARL Linux - Hardware 3 09-29-2003 08:08 PM
Linksys PCI Wireless Adapter wmp11 on Redhat8.0 espositopm Linux - Hardware 1 03-11-2003 09:59 PM


All times are GMT -5. The time now is 01:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration