LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wireless MA101 Driver Install Errors - (pls help) (https://www.linuxquestions.org/questions/linux-newbie-8/wireless-ma101-driver-install-errors-pls-help-130894/)

metsdada 01-02-2004 12:40 PM

Wireless MA101 Driver Install Errors - (pls help)
 
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 '('

metsdada 01-04-2004 10:56 AM

MA101 setup Victory!!!
 
Yes, It now works!

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....


All times are GMT -5. The time now is 05:29 PM.