LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 07-12-2004, 11:37 PM   #1
wagdog
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian Sid
Posts: 5

Rep: Reputation: 0
Problems configuring netgear ma111 usb adaptor with Debian unstable


As much as I try, I can't seem to get away from Debian. I try other distros but I'm addicted to Debian. Anyhow, I've bought these nifty netgear ma111 wireless usb adaptors which seem to be supported under linux. I've tried apt-getting the latest kernel image and linux-wlan-ng modules for the matching kernel but I can't seem to figure out where to go from there. I made sure that I modprobed the correct modules, aliased all the correct stuff, but when I try /sbin/ifconfig wlan0 I get unknown device wlan0, or something to that effect. I've read several threads where people had a lot of success configuring these same devices to work with rpm based distros. Is there anyone out there who has been successful with this device on a Debian system? I can't seem to find the magical google words that will help me...
 
Old 08-01-2004, 12:22 AM   #2
rayli
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
I use Debian Sid with a 2.6.3 kernel. I have gotten the MA111 adapter working on both a 2.6.3 and 2.4.24 kernel. I have a write-up of what I did at rayli.net. AVS's linux-wlan-ng (wireless LAN driver) worked for me. The instructions included with the source code are very detailed.
 
Old 08-01-2004, 11:32 PM   #3
wagdog
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian Sid
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, so I ran into a problem with this before. Using apt, I snagged the kernel source but the configure script freaked out. Do I ONLY need the symlink to /usr/src/linux? Were you able to create a script in /etc/init.d/ that would allow the wlan0 device to be recognized/started at boot? If so, could you post what you did? Thanks, I can't wait to try this out (finally!).
 
Old 08-03-2004, 11:14 PM   #4
rayli
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
What error message did you get from the Configure script?

Like you, I have /usr/src/linux symlink'd to the actual source tree. As far as the /etc/init.d/wlan script, I believe it is created when you do a make install. Concerning bringing up the interface at boot time, I don't normally do this. I gave it try just now by putting these commands in a script called ifup.ma111

Code:
modprobe uhci-hcd prism2_usb
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
/etc/init.d/wlan start
ifup wlan0
As root, I put the ifup.ma111 script into /etc/init.d. Then I created a symlink in /etc/rcn.d (n is your run-level) to /etc/init.d/ifup.ma111. I use run-level 3, so I made a symlink in /etc/rc3.d. The name of your symlink is important -- I named mine S21ma111. You'll probably see a whole bunch of symlinks that begin with S followed by two digits in your /etc/rcn.d directory. At boot time, each file is executed in order depending on those two digits. In other words, S10 is executed before S11, S11 before S12, and so on. During boot time, S21ma111 will eventually be executed. Since S21ma111 is a symlink, ifup.ma111 will get executed which should bring up your network interface.

As I re-read this description, I'm not sure if what I wrote makes sense. Let me know how it goes.

I've had problems getting this working with later versions of the kernel. What version of the kernel are you running?
 
Old 08-04-2004, 12:51 AM   #5
wagdog
LQ Newbie
 
Registered: Mar 2004
Distribution: Debian Sid
Posts: 5

Original Poster
Rep: Reputation: 0
Ok, I'm trying with the 2.6.7 kernel. I used apt to snag the kernel-image and then I pulled down the kernel-source for 2.6.7. It was tarred and bzipped in /usr/src. I went ahead and untarred/bunzipped it, made a symlink: ln -s /usr/src/kernel-source-2.6.7/ /usr/src/linux
I run ./Configure where I have the linux-wlan code.
-------------- Linux WLAN Configuration Script -------------

The default responses are correct for most users.

Build Prism2.x PCMCIA Card Services (_cs) driver? (y/n) [y]: n
Build Prism2 PLX9052 based PCI (_plx) adapter driver? (y/n) [n]: n
Build Prism2.5 native PCI (_pci) driver? (y/n) [n]: n
Build Prism2.5 USB (_usb) driver? (y/n) [n]: y

Linux source directory [/usr/src/linux]:
Linux source tree /usr/src/linux is incomplete or missing!
The kernel header files are present, but not the full source code.
See the HOWTO for a list of FTP sites for current kernel sources.

Configuration failed


What am I missing?
 
Old 08-09-2004, 08:15 PM   #6
rayli
LQ Newbie
 
Registered: Jul 2004
Posts: 6

Rep: Reputation: 0
Your post spurred me to give the 2.6.7 kernel a try over the weekend. I tried to duplicate the error message you posted, and I get that message when /usr/src/linux/.config does not exist. This kernel configuration file could be copied from /boot/config-2.6.7 or you can generate your own using make menuconfig, xconfig, etc. Once I had the kernel configuration file, I was able to compile linux-wlan-ng only after compiling the entire kernel.

I'm not aware of an easier way to do this without compiling the whole kernel using the kernel-source package. Check out OSnews - The Very Verbose Guide to Updating and Compiling Your Debian Kernel if you want to compile your own kernel the Debian way.
 
  


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
Wireless netgear MA111 USB on Mandrak10.0 Sumedha Linux - Wireless Networking 2 08-14-2004 08:54 AM
NetGear MA111 USB No Internet mjanosko Linux - Wireless Networking 1 08-09-2004 07:50 AM
Problems installing Netgear MA111 Wireless USB Adapter J88 Linux - Newbie 1 04-09-2004 06:20 PM
NetGear MA111 USB, RedHat9 C-Squared Linux - Wireless Networking 3 03-27-2004 03:53 PM
Configuring the Netgear MA111 using Prism email2markt Red Hat 4 01-31-2004 06:26 PM


All times are GMT -5. The time now is 08:00 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration