Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to get my wireless adapter installed, with no luck. It's a WUSB11 ver 2.8
I've found two drivers, both of which have several hundred parse errors when I try to run make:
at76c503a.berlios.de
atmelwlandriver.sourceforge.net
(add http to get these to work)
The Berlios docs say I need to make sure the /lib/modules/2.4.20-6/build file is pointing at the root directory of my kernel sources. How would I set this up?
at76c503a.berlios.de/support.html#compile
Right now the build file is a dead link, pointing at:
../../../usr/src/linux-2.4.20-6
The adapter is for Debian Linux, but I need to compile on a Red Hat 9 machine and copy the files over. My Debian machine has very limited disk space (256 megs) and has no gcc. Both machines have kernel ver 2.4
Any help is greatly appreciated, I've been fighting with this for 6 hours now.
Yes indeed, I believe I'm on the right track with this kernel source stuff. Here's the end of the .config file generated from the sourceForge make config:
DEBUG=
CONFIG_MODVERSIONS=N
# runtime variables. Generated by setup.sh
KERNEL_SRC =
HAS_FORMS = n
PCMCIA_CONFIG = /etc/pcmcia
PCMCIA_SRC = PCMCIA was not configured
PCI_DES = /lib/modules/2.4.20-6/kernel/drivers/net
PCMCIA_DES = /lib/modules/2.4.20-6/kernel/drivers/net/pcmcia
USB_DES = /lib/modules/2.4.20-6/kernel/drivers/usb
USB_CONFIG = /etc/hotplug
MAN_PATH = /usr/share/man/man1
NEW_KERN = n
The KERNEL_SRC = line is blank! Where do I find these kernel sources? Are they the *.src.rpm files from my source code CDs? Or maybe a select few of them?
/usr/src/ contains only 2 directories: redhat and debug
Debug is empty, and redhat contains only empty sub-directories.
When I type 'uname -r', I get 2.4.20-6
On my source CDs, I found kernel-2.4.20-6.src.rpm, but I can't figure out how to get at its contents.
While crawling the web, I found kernel-source-2.4.20-6.i386.rpm, which tries to update my system when I run it, but again provides no sources.
I also found linux-2.4.20.tar.bz2, which uncompresses nicely into folders with .c files in them. But, when I try to point build to its directory and run 'make', I get
gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -Wno-sign-compare -Wno-unused -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DDRIVER_VERSION=\"v0.11\" -I/lib/modules/2.4.20-6/build/include -c at76c503.c
In file included from /lib/modules/2.4.20-6/build/include/linux/config.h:4,
from at76c503.c:76:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from /lib/modules/2.4.20-6/build/include/linux/dcache.h:6,
from /lib/modules/2.4.20-6/build/include/linux/fs.h:19,
from /lib/modules/2.4.20-6/build/include/linux/capability.h:17, from /lib/modules/2.4.20-6/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.20-6/build/include/linux/sched.h:9,
from at76c503.c:79:
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in userland program. BAD!
...which is the start of hundreds and hundreds of errors. What to do?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.