PDA

View Full Version : Netgear MA101 USB WLAN device



Zuron007
07-01-2003, 01:08 AM
I have a question to anyone who can tell me how i can set up my usb wlan device. It is not recognized by knoppix on the autodetect and lisadaemon cant find it either. I am a complete noob to linux and would like to know how i can configure my network connection to be able to run my knoppix box with an online connection.

Thanks in advance to anyone who can shed some light on my dilemma.

dudeldei
07-16-2003, 11:53 PM
Hi,
I had the same problem:

how i can set up my usb wlan device. It is not recognized by knoppix on the autodetect and lisadaemon cant find it either. I am a complete noob to linux and would like to know how i can configure my network connection to be able to run my knoppix box with an online connection
Your device probably has an (yet unsupported) chipset by Atmel - depending on the revision of your model. For me, the following has worked out for my harddisk installation of Knoppix (after one or two nights of trying to compile the right driver): get the sources of the driver from http://atmelwlandriver.sourceforge.net/
Compile the driver on your own. At the next boot, I had to run "netcardconfig" to configure the wlan and the ifconfig parameters, and it worked. Now, the bad part of the message: I still can't figure out how to get this automatic configuration done at boot time. This means, I have to do it every time I boot
:(
hth
Axel

PS. of course you have to install the kernel sources first before compiling the driver - see thread http://www.knoppix.net/forum/viewtopic.php?t=969

Zuron007
07-18-2003, 12:18 AM
I heard of the atmel driver from sysopt.com but as it is i have no idea of how to run/configure/compile the thing.

I mean i have tried untaring the atmel driver, changing the fstab and ifconfig files to try and get it to work. So far it has been fruitless. I have the rev. b version of the Netgear MA101.

Could i get a detailed description of what i have to do in order to get it all to work right?

dudeldei
07-25-2003, 02:47 PM
Could i get a detailed description of what i have to do in order to get it all to work right?

Yes, please get a detailed How-to from http://atmelwlandriver.sourceforge.net/howto/howto.html
or try the hints given at http://www.qbik.ch/usb/devices/showdev.php?id=1771

Yours
Axel

Zuron007
07-26-2003, 11:27 PM
Ok so far so good, but i am not quite there yet.

Every time i try to dmesg it tells me that there is still no driver for my device

also where am i supposed to change the alias for usb-controller uhci?

what extra commands do i have to enter when i am trying to install the module in the kernel?

How do i get knoppix to realize that i want the device to be called eth0 and so forth?

Oh yeah the other error that i get is when i try to modprobe usbvnetr it tells me that it failed as well.

Any ideas of what i need to do now?

Btw thanks a lot dudelei, the links you gave me where a great help!

aay
07-27-2003, 12:47 AM
What version of Knoppix are you using? Check out what was added in the last line of the changelog in the 07-25 version.

* V3.2-2003-07-25
- workaround atempt for erraneouos DNS update script of pppconfig 2.2.0
- dma bootoption now also enables DMA for CD-Roms
- enable Promise controller softwareraid on boot (Kernel 2.4.21)
- added atmel drivers for wireless cards

I'd be interested to hear how things work with post 07-25 versions.

Zuron007
07-27-2003, 05:51 PM
I think that you are right about the version having to do with my problem

I tried to insmod the driver and got back that the driver was compiled for kernel 2.4.20 and i have version 2.4.20-xfs.

I still have no clue how i might be able to get around this.

Should I download the 07-25 version? Would that be beneficial to me or would i have to download an older version?

Nonetheless it appears that i will have to reinstall the whole thing either way unless someone can tell me how i can change my version and have the driver work without messing up everything else.

Lex
07-29-2003, 06:09 PM
Should I download the 07-25 version? Would that be beneficial to me or would i have to download an older version?

I have the same MA101 thing as you and I have the newest Knoppix (which is the 26-07-2003) and I must say that it does not support this network adapter natively. If I try to configure a WLAN card the program tells me that I do not have any. lsusb finds the NIC but usbmodules cannot find a proper module for this device.

Zuron007
07-29-2003, 07:14 PM
lsusb finds the NIC but usbmodules cannot find a proper module for this device.

I know that the atmelwlan driver creates a module by the name of usbvnet or usbvnetr depending on the rev of your device (a and b respectively) and you can find it in /usr/src/linux/modules/usb/

My problem is that when i try to insmod usbvnetr through knoppix it tells me that the driver is for kernel version 2.4.20 and that my kernel version is 2.4.20-xfs

I have also tried modconf to try and load the module with no success :(

Now i have been trying to see about changing that whole xfs thing without installing the other kernel itself. I have tried going to /usr/src/linux and changing the Makefile but that is fruitless because the makefile does not include the xfs stuff that i thought it would. I have tried searching for it elsewhere in /usr/src/ but have had no luck. In other words i am not too sure how to go about changing the kernel version so that the usbvnetr module will insmod.

So my quest at the moment is to change my linux kernel version and god knows how i will do that.

Lex
07-30-2003, 09:45 PM
lsusb finds the NIC but usbmodules cannot find a proper module for this device.

I know that the atmelwlan driver creates a module by the name of usbvnet or usbvnetr depending on the rev of your device (a and b respectively) and you can find it in /usr/src/linux/modules/usb/

Hm, I don't install Knoppix onto the HDD (I prefere to run it from a VMWare virtual machine or from the RAM), since debian is (IMO) better suited for a HDD install (I know, Knoppix is debian-based, but it's not the same).

So I was talking about a non-installed Knoppix :wink: .

Zuron007
07-30-2003, 10:38 PM
If you run it from the cd then you would have to load up and install the atmel driver using your favorite method (ie. mounting hd, cdrom, floppy, etc..) The atmel driver should install onto your ram disk (directory should be similar) that knoppix uses. Hopefully you have enough ram to do so and set up the modules that way. The problem with this method is that you will always have to include a copy of the atmel driver and set it up every time that you run knoppix. I am hoping that one of these days that knoppix will integrate this driver into its autodetect scheme of things.

Until then good luck and let me know how it works out for you.

Lex
07-31-2003, 03:22 AM
My MA101 is Rev.B

I've downloaded and installed the Atmel driver (I had to copy and re-symlink /etc, /lib and /bin to make it compile and install) without any complains. BUT "modprobe usbvnetr" gives error messages:
/lib/modules/2.4.21-xfs/kernel/drivers/usb/usbvnetr.o: insmod /lib/modules/2.4.21-xfs/kernel/drivers/usb/usbvnetr.o failed
/lib/modules/2.4.21-xfs/kernel/drivers/usb/usbvnetr.o: insmod usbvnetr failed
And if I "plug-in" the NIC then dmesg says
hub.c: new USB device 00:07.2-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x864/0x4102) is not claimed by any active driver.

Looks like it is quite the same problem that you do experience.

Do I have to install the kernel sources to make the driver work? I don't think that I have the patience to make apt-get run. I am wondering why the brand-new-knoppix-built-in-atmel-driver does not claim to support my NIC.

All this testing was done in a VMWare virtual machine. Maybe that is a problem, tomorrow I will try to do this on a real PC, now I am tired and I'm going to bed.

EDIT: that was the driver version atmelwlandriver-ss-20030613.tar.gz. today I have tried the 2.1.2.2 and it says "blabla usbvnetr was compiled for 2.4.20" which, I think, the problem is. I will see whether I will be able to install the 2.4.21-xfs sources.

Maybe, non-patched sources will work too.

Zuron007
07-31-2003, 11:48 PM
EDIT: that was the driver version atmelwlandriver-ss-20030613.tar.gz. today I have tried the 2.1.2.2 and it says "blabla usbvnetr was compiled for 2.4.20" which, I think, the problem is. I will see whether I will be able to install the 2.4.21-xfs sources.


Yeah, i have been hunting for those kernel sources myself. However today a thought occuered to me. The linux cd has all the source so i think that (after checking around a bit) that the atmelwlandriver file just needs to be installed in the same directory tree where the folder for the knoppix source code is. I think that is usr/src/ so i will try that out later on and let you know how it went.

Zuron007
08-01-2003, 03:51 PM
Ok i tried that and it still gave me the same crap. So i have paid a visit to the debian site and i am thinking about recompiling my kernel for the very first time. Hell, the ink on my newbie liscence isnt even dry yet. I tried something else out last night and it actually seemed like it installed correctly and everything. Has anyone tried out the berlios driver yet?

From what i can tell its working i just need to figure out how it can include the version file from the correct path. Other than that though its not that hard to set up and seems to install fine. I am going to try to install the brand new knoppix release and try it all out then. I have screwed around with so many files and i have no idea (even though i commented wisely within) how many or which of them all i edited for the sourceforge atmel driver. I am unsure wether or not to use the brand new release though bc i dont know if the new kernel version is supported or not. Oh well i will give it a whirl and if it has a harder time on the newer version then i will use my older version.