Linux - NewbieThis 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
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 have loaded many dists of LInux..... nothing is going well.
Now, I have loaded Suse 8.1. I have a NetGear Ma101 USB Wireless adapter that I m trying to get working - then I can access the net.
I have loaded all the extra goodies that I found on the Cds.
I have gone to the Amteldriver site and downoaded the 20021209 driver snapshot.
I have untarred it.... and have followed the steps to complile. My error history file is below. (I'm getting better - I found out how to do this!)
Pls take a look - i do not know how to fix what they are telling me.
Thanks,
linux:/windows/f/linux/atmel20021209/atmelwlandriver # bash scripts/config.sh
Build all (y/n) : n
X Windows include files missing
Kernel Version Running 2.4.19-4GB
Found Kernel Source Directory ()
Build Debug version (y/n) : n
Set extra module version information (y/n) : n
Build USB Drivers (y/n) : y
Build USB 503A RFMD Driver (y/n) : n
Build USB 503A intersil 3861 Driver (y/n) : y
Build USB intersil 3863 Driver (y/n) : n
Build USB RFMD 505 Driver (y/n) : n
Build PCMCIA Drivers (y/n) : n
Build miniPCI Driver (y/n) : n
Build applications (y/n) : n
linux:/windows/f/linux/atmel20021209/atmelwlandriver # make clean all install
find -name '*.o' -o -name '*.map' |xargs rm -f
Building src/usb
make[1]: Entering directory `/windows/F/linux/atmel20021209/atmelwlandriver/src/usb'
for i in i; do make $i; done
make[2]: Entering directory `/windows/F/linux/atmel20021209/atmelwlandriver/src/usb'
make final
make[3]: Entering directory `/windows/F/linux/atmel20021209/atmelwlandriver/src/usb'
gcc -D__KERNEL__ -O3 -fno-strict-aliasing -fomit-frame-pointer -pipe -I/include -I/windows/F/linux/atmel20021209/atmelwlandriver/src/includes -I/windows/F/linux/atmel20021209/atmelwlandriver/src/includes/usb -Wall -c -o callbacks.o callbacks.c
In file included from /windows/F/linux/atmel20021209/atmelwlandriver/src/includes/usb/vnetusba.h:24,
from callbacks.c:22:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /windows/F/linux/atmel20021209/atmelwlandriver/src/includes/usb/vnetusba.h:29,
from callbacks.c:22:
/usr/include/linux/netdevice.h:165: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/netdevice.h:165: requested alignment is not a constant
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:45,
from /usr/include/linux/netdevice.h:448,
from /windows/F/linux/atmel20021209/atmelwlandriver/src/includes/usb/vnetusba.h:29,
from callbacks.c:22:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
from /usr/include/linux/netdevice.h:448,
from /windows/F/linux/atmel20021209/atmelwlandriver/src/includes/usb/vnetusba.h:29,
from callbacks.c:22:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from /usr/include/linux/netdevice.h:448,
from /windows/F/linux/atmel20021209/atmelwlandriver/src/includes/usb/vnetusba.h:29,
from callbacks.c:22:
/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:128: requested alignment is not a constant
In file included from /windows/F/linux/atmel20021209/atmelwlandriver/src/includes/usb/vnetusba.h:29,
from callbacks.c:22:
/usr/include/linux/netdevice.h:497: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/netdevice.h:497: requested alignment is not a constant
In file included from /usr/include/linux/usb.h:136,
from /windows/F/linux/atmel20021209/atmelwlandriver/src/includes/usb/vnetusba.h:32,
from callbacks.c:22:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from callbacks.c:22:
/windows/F/linux/atmel20021209/atmelwlandriver/src/includes/usb/vnetusba.h:39:42: missing binary operator before '('
For those NEwbies like me, that need all the help they can get, this is what I did:
I loaded Mandrake 9.2
Looking the in config section off of the start menu....
The MA101 was listed, so I knew it was 'there' and had to get the machine to talk to it - a driver, I supposed, but I did not know how to make it work.
I signed in as root..... then to the terminal window
Keyed in this stuff:
iwconfig
- I got a bad command or something like that. This I find means that some additional software has to be installed! Yup, it's backwards.... for Newbies, only minimal softwre is installed...then when you have to fix something, you need the 'other' software. Newbies do not know this!
So, off to the install sofware option and then search the descriptions for iwconfig.... no good... then serached for 'wireless' - aha! I checked the boxes that seemed good, and went back tot he terminal
Keyed in:
iwconfig<cr>
lo was listed with no wireless extensions
ifconfig wlan0<cr>
iwconfig<cr>
now, I can see the wlan0 connection.... looking good.
I connect through a router MR314 Netgear via cable.... the IP of the router is 192.168.0.1 my ip is 1923.168.0.2 - see your Netgear manual for this info..
now I keyed in
iwconfig wlan0 mode Managed
iwconfig wlan0 essid 192.168.0.1
iwconfig wlan0 channel 2 (this is the channel that i set the MR314 at)
run iwconfig again.... the wlan0 connection is getting filled in with the info..
almost done....
ifconfig wlan0 192.168.0.2 up
route add default gw 192.168.0.1
try your web access now.... it worked for me
*****I'm stuck now, for i do not know how to automatically get this done each time I boot up..... any help appreciated....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.