LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-10-2004, 01:07 PM   #1
Gweilo
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 9

Rep: Reputation: 0
netgear WG121


Hi,
I'm new to linux, so please forgive me for the (probably) dumb questions.

I'm using Mandrake 10.0 and tried to install a driver for Netgear WG121 (USB2 - WLAN).
I downloaded linux-wlan-ng from www.linux-wlan.org (I read somewhere in the internet, that it should support my WLAN adapter).

Now, the first error, while trying to install is, that it can't find Kernel Sources (They are not installed).
OK, I downloaded the latest Kernel and did the following.
untarred, & moved to /usr/src/linux-2.6.5
#ln -s linux-2.6.5 linux
#cd linux
#make mrproper
#make menuconfig
Is this correct? Because I get 2 errors in "make menuconfig"
#cd /home/me/linux-wlan-ng-0.2.0/
#make config
Then it says, some files are missing in the Kernel Source. Does anybody know what to do?
Is there any "easy" way to get Netgear WG121 running?

Thanks for your help!
 
Old 04-10-2004, 01:53 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 04-11-2004, 06:35 AM   #3
Gweilo
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
ok. I tried to install prism54 instead, but here I also get an error:
*** /lib/modules/2.6.3-4mdkenterprise/build: no such file or directory

Why is this? Does anybody know how I can make either one of those drivers to work?

Thanks
 
Old 04-11-2004, 11:41 AM   #4
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
To compile progams from source, you need to have the kernel source, headers and development tools installed. You're trying to bake a cake with no eggs and, when you get to that point in the recipe, hit a wall.

I'm not using MDK, but read recently that the kernel source is not on the CD and needs to be downloaded. A Google on the missing file listed several places to get it. You should be able to load the dev packages off the CDs.
 
Old 04-12-2004, 06:42 AM   #5
Gweilo
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
Well, the file isn't explicitly listed. It just says, that the kernel headers are complete, but some files are missing. I did download the complete kernel src though, and *tried* to install it (see above).
 
Old 04-14-2004, 07:51 PM   #6
Biogenesis
Member
 
Registered: Apr 2004
Distribution: Debian unstable
Posts: 38

Rep: Reputation: 15
Even though the WG121 has a prismGT chipset (as suported by the prism54 driver) it won't, as yet, work in linux as the USB side of the driver hasn't been written yet.
 
Old 04-15-2004, 09:50 AM   #7
Gweilo
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by Biogenesis
Even though the WG121 has a prismGT chipset (as suported by the prism54 driver) it won't, as yet, work in linux as the USB side of the driver hasn't been written yet.
thanks for the info
 
Old 09-12-2004, 04:25 PM   #8
pa_trickg
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
Yes, Yes, Yes!!!!! it is working! WD121 under a Linux build.

After working through several issues on the SuSE 8.1 system, it became increasingly obvious that the 2.4.19 kernel would not do several of the things that I needed so I spent a little time looking at other builds and kernels. It was decided that Mandrake 10.0 would probably be the best for our purposes. I can write a lot about the difference in the builds, but this message is to say that the Net Gear WG121 is working (if fact that is what is making the connection which is allowing me to post this message) and it was not that difficult after all.

After getting Mandrake loaded and understanding the differences between it and SuSE it was REALLY easy.

I kept a copy of the ifcfg file from SuSE and copied it into /etc/sysconfig/network-scripts
with the console. That file contains:

BOOTPROTO='dhcp'
REMOTE_IPADDR=''
LABEL='wg121'
STARTMODE='hotplug'
UNIQUE=''
WIRELESS='yes'
WIRELESS_ESSID='emp48'
WIRELESS_KEY=''
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
DHCLIENT_MODIFY_RESOLV_CONF='yes'
DHCLIENT_SET_DEFAULT_ROUTE='yes'

I down loaded the driverloader for Mandrake 2.6.3-7mdr (my kernel) from linuxant and installed it with by double clicking on it. Then in /usr/sbin I executed dldrconfig and to the default responses to the script then open browser to 127.0.0.1:18020/ to load inf files from the Vendor CD-ROM. This all worked fine after I got the license stuff done.

Note, I did not change any of the defaults. so the Driverloader set its configuration as eth1, so when I copied the ifcfg file, I copied it to ifcfg-eth1

Then I read linuxant's FAQs and did a “iwlist span” from the console and there it was. I then took the big step of unplugging the lan cable and I am still talking!!!

It works and I learned much more about Linux wireless networking than I think I ever wanted to know.

Patrick
 
Old 09-12-2004, 06:10 PM   #9
Biogenesis
Member
 
Registered: Apr 2004
Distribution: Debian unstable
Posts: 38

Rep: Reputation: 15
Yeah since I made my last post they added USB support ....If I knew people still needed this thread I would have replied earlier...anyway, Enjoy!
 
Old 09-13-2004, 12:51 PM   #10
jsm008us
LQ Newbie
 
Registered: Apr 2004
Location: Palm Beach Gdns, FL
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
Ok, this is kinda a repeat thread, but anyways, Linuxant requires you to buy a license. I use linux because it's free. I dont want to pay extra for it to be on linux. Use the free trial to quickly do some updates and stuff. I can't wait till the usb drivers work at 100%!
 
Old 09-13-2004, 05:54 PM   #11
Biogenesis
Member
 
Registered: Apr 2004
Distribution: Debian unstable
Posts: 38

Rep: Reputation: 15
The linuxant driver supports prism does it? Heh, have you looked into ndiswrapper (ndiswrapper.sf.net)? It's the same thing as the linuxant driverloader but free.
 
Old 09-14-2004, 03:43 PM   #12
jsm008us
LQ Newbie
 
Registered: Apr 2004
Location: Palm Beach Gdns, FL
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
Yes, and I have installed it and it works! I removed Driverloader now and all I need is for it to work better on startup!
 
Old 10-03-2004, 05:00 PM   #13
ackerberg
LQ Newbie
 
Registered: Oct 2004
Location: Long Island, NY
Distribution: mandrake 10
Posts: 2

Rep: Reputation: 0
Help with getting WG121 to work with Mandrake v.10

I installed a 2nd Hard Drive and was going to load Mandrake v.10 into the first partition of this drive when it occurred to me that my wireless WG121 might not work. My fears were confirmed when I found this thread, but I notice that some of the users seem to have made it work. I am a newbie, never having used Linux before, and could use some detailed info on how to make the WG121 work. Could someone please take the time to give me some very explicit instructions on how to proceed? Many thanks for your help.
BTW, if I have to download some files to be installed in Linux but my only internet connection is through WIN XP, can I put them on a floppy and then open it in Linux?
 
Old 10-03-2004, 07:22 PM   #14
jsm008us
LQ Newbie
 
Registered: Apr 2004
Location: Palm Beach Gdns, FL
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
I suppose you have used a command line thing before, so learn now with DOS if u havent ($> shows that a command will be there, so dont type $>):
Make sure you install the developer tools! Also, check to see if ndiswrapper is on the CD/DVDs. (In the install software or whatever it's called) If it is, then skip up to where I type ndiswrapper -i INF file or the URL.
The floppy thing works. In fact, you can put it on your C: drive, mandrake will allow you to read from there. Once you have it copied, open a command window to there and type:
$> tar -zxvf ndiswrapper[TAB]
pressing TAB will complete it for you (press it until it gets to the one you want)
now that it is extracted, cd (change directory) there.
in that folder, type:
$> make install
and when it is done, get the latest drivers (you dont have ure card installed yet, so use a different comp/os) and put it somewhere (uncompressed). cd to that folder, and make your way until you see the folder called ndis5.
Now, my explanation will kinda suck, but here comes the driver loading!:
$> ndiswrapper -i INF file
yeah, where INF file is where it is. I'm not too sure (i forgot), but here is the URL where they explain it a little better:
http://ndiswrapper.sourceforge.net/w...p/Installation

then config the card. Use mandrake's tool, it's better!
 
Old 10-07-2004, 09:34 PM   #15
tramir
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake
Posts: 1

Rep: Reputation: 0
Unhappy

Hi everybody,

Usually I was able to find something on the net to solve my linux problems (still a newbie...) But apparently this is a new thing and only you guys managed to get the WG121 to work. And in Mandrake (which is what I'm using, version 10.1). Anyway, here it goes:

I have the kernel sources and everything, plus ndiswrapper. I run (as root)

ndiswrapper -i /path to inf file

and what it does is that it copies just the inf file. Not the sys file (and it does not create the conf file). I tried editing the inf file and change the name of the sys file to be the same, but nothing works. It always copies just the inf file, and obviously reports "hardare NOT present" when I run

ndiswrapper -l

I used the ndiswrapper shipped with Mandrake, which is ver 0.9. Should I try the one on sf? Which is 0.10, if I'm not mistaken? I'm really trying to get rid of 'doze, so please help me
 
  


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
Netgear WG121 on Ubuntu xwired Linux - Wireless Networking 1 05-26-2005 06:17 PM
NETGEAR WG121 Adapter on Suse 9.2 mwaddoups Linux - Wireless Networking 2 03-11-2005 08:51 AM
wg121 on suse? shinobivsdragon Linux - Wireless Networking 3 01-05-2005 07:28 PM
Linux noob needing help setting up Netgear WG121 on Fedora Core 3 uk-r|Stryker Linux - Wireless Networking 1 12-08-2004 05:33 PM
Netgear WG121 USB adapter Ice Dragon Linux - Wireless Networking 9 09-18-2004 05:32 AM


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