LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 01-02-2004, 01:40 PM   #1
metsdada
LQ Newbie
 
Registered: Dec 2003
Distribution: suse 8.1
Posts: 11

Rep: Reputation: 0
Unhappy 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 '('
 
Old 01-04-2004, 11:56 AM   #2
metsdada
LQ Newbie
 
Registered: Dec 2003
Distribution: suse 8.1
Posts: 11

Original Poster
Rep: Reputation: 0
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....
 
  


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
MA101 wireless USB, HWAddr is 00:00:00:00:00:00 fuzzy_umbra Linux - Wireless Networking 1 10-20-2005 12:12 PM
MA101 and at76c503a problems driver won't install shelbydz Linux - Wireless Networking 0 03-11-2005 04:20 AM
Wireless MR314 - MA101 Jefe78 Linux - Wireless Networking 1 09-27-2004 08:20 PM
Problem leasing ip with ma101 wireless ZeRo69er Linux - Wireless Networking 3 03-14-2004 03:00 PM
Problem making MA101 Driver Shaikoten Linux - General 1 11-21-2003 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration