LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-23-2003, 09:57 AM   #1
Harimwakairi
LQ Newbie
 
Registered: May 2003
Posts: 15

Rep: Reputation: 0
Error when compiling linux-wlan drivers


I'm attempting to compile the drivers for my wireless network adapter. I have a Linksys USB network adapter (WUSB11, v2.5), I'm running Redhat 8.0, and I'm using the tarball that Linksys offers for download on their site. I set it to compile just the USB portion of the driver using "make config", which is what the instructions included with the driver source told me to do.

The compile process halts in the file prism2wext.c due to an undefined symbol error (the symbol in question being "SIOCSIWNAME", which is being used in a switch statement that makes me think it's come kind of constant). I grepped through the source directory and failed to find it mentioned anywhere else. Could I be missing a library or something that the driver needs to compile? Has anyone else ever run into this problem?

I'm new to Linux, so if this is an obvious problem and I'm too much of a newbie to spot it, I apologize. :)
 
Old 05-23-2003, 10:23 AM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Have you installed the kernel source code? Drivers need kernel source code in order to compile.
 
Old 05-23-2003, 01:07 PM   #3
rmartine
Member
 
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
This is a HOWTO I found on your USB adapter... I think... Maybe this can help you out. It's the top link that you might need.

http://www.fuw.edu.pl/~pliszka/hints/wireless.html

Good Luck
 
Old 05-23-2003, 04:25 PM   #4
linuxmunnki
LQ Newbie
 
Registered: May 2003
Location: Colorado
Distribution: Red Hat Linux 9.0, Windows XP, Win2k
Posts: 5

Rep: Reputation: 0
Hey,
you want to configure a wireless network card that's a linksys - here's how. First, forget the wlan_g drivers, they're me arse, second forget the linksys site, they are also me arse. This works...but you have to enter everything exactly as it is here.
first, type /sbin/cardctl ident
now write down the manfid numbers for your card, making sure that it's plugged in
pico or vi or whatever /etc/pcmcia/hermes.conf
and write this data in it
device "orinoco_cs"
class "network"
module "hermes", "orinoco", "orinoco_cs"
#Linksys WPC11
card "Instant Wireless Network PC Card"
manfid 0x0000, 0x0000 #write down those manfid numbers here
bind "orinoco_cs"

now
modprobe orinoco_cs orinoco hermes

lsmod to check that they are loaded.

Now, create file /etc/sysconfig/network-scripts/ifcfg-wlan0

write in it
DEVICE=wlan0
USERCTL=yes
ONBOOT=no
BOOTPROTO=dhcp

save it
then chmod 777 /etc/network-scripts/ifcfg-wlan0
then type /etc/rc.d/init.d/pcmcia restart

you will hear a beep and your card will work

now type
neat
and a gui will pop up
select new connection->wireless connection->lucent orinoco blah device
accept the defaults and click activate
and you should be online and able to use samba

tell me if any problems
munnki
 
Old 05-24-2003, 12:32 PM   #5
Harimwakairi
LQ Newbie
 
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
I finally got it working this morning. I learned a valuable lesson - When an OEM has a version of a driver on their site with "pre" in the version number, it's a good idea to go get the latest stable release from the author of the driver. This is right up there with the first lesson I learned about compiling your own kernel - if you have your hard drive formatted in ext3, make sure you compile ext3 support (kernel panic is fun).

Anyway, all the extra pages and docs you guys pointed out helped a lot with getting the driver actually installed and configured once it was compiled. Thanks!
 
  


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
Build error compiling wlan-ng 0.2.0 on SuSe 9.3 MonkeeOfEvil Linux - Wireless Networking 0 08-20-2005 01:20 PM
WLAN USB Linux Drivers morevil Linux - Wireless Networking 1 06-21-2005 07:12 AM
Error compiling Madwifi Drivers kf8rd Linux - Networking 0 06-17-2005 06:08 AM
Error compiling madwifi drivers thiqued Linux - Software 0 09-24-2004 04:11 PM
Having some trouble getting linux-wlan drivers working blk96gt Linux - Wireless Networking 1 08-09-2004 01:33 PM

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

All times are GMT -5. The time now is 12:10 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
Open Source Consulting | Domain Registration