WG511 v2  Help please


Forum: Networking
Topic: WG511 v2  Help please
started by: spotslayer

Posted by spotslayer on July 30 2005,18:47
I would really appreciate a walkthru on getting this network card working. Can someone please help me with this?

David

Posted by spotslayer on Aug. 03 2005,12:15
I have seen in the verified wireless card thread that this card works. I have not been able to accomplish this. Is there any one that has done this and can give me a direction?

David

Posted by tempestuous on Aug. 03 2005,15:37
If you have the Netgear WG511, not WG511T, then you have the PrismGT chipset so DSL's Prism54 driver should work.

Run "lsmod" to see if DSL has detected your card - you should see prism54 listed.  If not, run "sudo modprobe prism54".

Read nevc64's post about troubleshooting missing firmware files - < http://damnsmalllinux.org/cgi-bin....;t=6753 >

Posted by spotslayer on Aug. 05 2005,00:00
Well tempesteous, thanks for a response,  I have tried those things. One of the first things I found was nevc64's post and tried it. I have read the many links that I have googled up. I may need to be a little more specific. I have a frugal install that is v1.4. I just did the upgrade from 1.2. Iwconfig shows that the card is not ready. I also have something like this "no such device or directory" when I do  ifconfig eth0 up. I believe my card to be a WG511 as that is what the number on the card says. It is made in Taiwan and I bought it about one year ago. DSL finds it during boot but is ignored, insmod returns that  prism54.o is already present. I let my son take it to school so he can take notes this evening so I can't give you exact wording but these may be able to get the idea across. If not and you have other ideas ask for specifics and I will run the commands and give exact wording when I have access to the laptop. I really appreciate any ideas you may have.

David

Posted by tempestuous on Aug. 05 2005,04:39
If prism54.o is already present it means that DSL detected your card and loaded this driver, presumably without errors.  Sounds good to me.

Slow down!  Before you can do "ifconfig eth0 up" you need to tell your system what your router's wireless settings are - SSID, WEP, and mode.
Also, don't assume that the when the prism54 driver loaded it created a network interface called "eth0".  It might be "wlan0".  Check this first by running "ifconfig -a".

I'm not very experienced with iwconfig, but I think the following is correct (let's assume your wireless interface is eth0) -

iwconfig eth0 essid MYESSID key 1234567890 mode Managed
pump -i eth0

Obviously substitute your own SSID and WEP, if any.
Now run ifconfig to see if eth0 is configured.  Ping your router to double check.

Posted by ke4nt1 on Aug. 05 2005,04:58
most all my wireless cards use wlan0, except for my orinoco gold, which uses eth0

73
ke4nt

Posted by spotslayer on Aug. 05 2005,12:23
Good morning Guys,

As you may have noticed I am not very good at explaining things. I'd never make it as a tech writer. Let me try and address your questions and maybe we can go from there. I still haven't gotten my laptop back but I am able to give you an idea of what I have done.

Prism54.o is detected during boot but there is a script returned during boot that says it is being ignored. I used DSLpanel to set thing up before I tried to do ifconfig eth0 up.  I don't think I assumed that the card was identified as eth0. When I did iwconfig all the correct info was returned for the card and it was identified as eth0. The very first line however reported that it was not ready. I did notice that one of the scripts called ifconfig -a, but I can't tell you the results. After I complete all these steps(maybe others) I look for a config file and none has been created.

Maybe I should just use my orinoco gold 11b,  it works fine. Just a little slow for file transfers. I will continue to try and make the netgear work and would like any other ideas.

David

Posted by tempestuous on Aug. 05 2005,13:50
DSLpanel has many options.  Do you mean Wlanconfig?
If things aren't working for you, I suggest you avoid using Wlanconfig and set things up manually.  That way you will be able to see the details of any errors.

Run "ifconfig -a".  This will show all valid network interfaces.  You will see the loopback "lo" and I suspect you will see "wlan0" ... especially since you said you saw "no such device or directory" in reference to eth0.  Let's assume you see wlan0.  There will be no IP address or netmask value at this stage since the interface is not active.

Now run -
iwconfig wlan0 essid MYESSID key 1234567890 mode Managed
Do you get a positive response?  If so, run -
pump -i wlan0
to do a DHCP negotiation and bring up the interface.

Posted by spotslayer on Aug. 06 2005,13:26
Well now I have my laptop back and have been able to try this stuff out.

Ipconfig -a shows lo and eth0. Iwconfig shows lo and eth0. I also tried the wg511 in my other laptop that has a full featured distro installed and the card is detected as eth0 and works fine so the card is good. I ran iwconfig manually and it returned with no error. I did pump -i and after a long wait it returned operation failed.

By watching things a bit closer I may have discovered the cause of the failure. First I followed the steps in the following link.

[URL=http://damnsmalllinux.org/cgi-bin....;t=6753]

After this I added the changes to the backup script so things would be backed up and restored during boot. Here is what I beleive may be the problem. Again this is a frugal install. When DSL boots it looks for the firmware described in the link above. Since this happens before the backup is restored the firmware file is not there. It is restored, but to far into RPL to be loaded so even though prism54.o is loaded it has nothing to talk to. I don't know if there is any way to remedy this short of a remaster. That would be outside the scope of the reason I use the frugal install. If any of you scripting wizards know of a way to script this so it could be added to the boot file I would love to hear about it. I am not much of a programmer so if no one has any ideas how to accomplish this through scripting I guess I will just revert to the 11b and be happy.

Of course I could be totally wrong about this.

David

Posted by tempestuous on Aug. 06 2005,15:32
Good progress, what you say makes sense.  Your extra firmware files are possibly being restored too late, after the prism54 driver has loaded.

You could try unloading the driver - "rmmod prism54", then (once firmware files are in place) reload it - "modprobe prism54".  Though there's a chance the driver won't unload with a warning something like "device is busy".

Or a simple solution might be to wait for DSL to load and firmware files in place before inserting the wireless PCMCIA card.

Posted by force85 on Aug. 09 2005,02:11
Hi all,

I'm also having a problem getting my WG511v2 card to work.  I'm using a Fujitsu Lifebook E362 (laptop), 400mhz Celeron with 160mb and a 4gb hd.

ifconfig shows only the loopback -- no wireless cards (no eth0, wlan0, etc.)  The strange part about this is the first time I tried that, I saw "lo" and "sit0". ???   I've not seen anyone make mention of "sit0" before.  But, since then, I've not seen that listed.

lspci shows the wireless card. (I don't remember exactly what it says, but it definitely sees it.)

sudo modprobe prism54 "worked" the first time I tried it (using "sit0") in that it reported success, and no error message, although that didn't work beyond that.  Since that first time, modprobe prism54 results in a "device not found" or "device not ready" or something like that (I apologize for not having the exact wording, but you should get the picture...).

My Xircom NIC seems to work ok, but for me, needing a wired connection defeats the purpose of having a laptop.

Any help or suggestions anyone can give me would be greatly appreciated. (Oh, and I don't jack about Linux yet; I'd never laid hands on it before last week...) :p

Posted by cbagger01 on Aug. 09 2005,03:21
Supposedly sit0 is a tunnelling device that is typically used to create an IPv6-in-IPv4 tunnel

Don't ask me any more than that, as I know nothing on the subject.  Google on sit0 and more info will be available.

Posted by PastorEd on Jan. 06 2006,20:58
Hello, everyone. My name is PastorEd, and I'm new to the DSL forum, although I've been using Linux for about 2 years now.

I'm bumping this topic because I am also trying to get this same pcmcia card (Netgear WG511v2) to work on my wife's Thinkpad 600.

Here's what I'm using:
*Thinkpad 600
*DSL 2.1RC3b

Here's what I'm doing:
1) I've copied the Windows driver (WG511v2.INF) to /dev/hda4/jami/ (my wife's home directory).
2) ndiswrapper -i WG511v2.INF   (this installs the driver)
3) ndiswrapper -l  (this checks to see if the driver got installed okay... my result of this is: wg511v2 driver present)
    NOTE: my HARDWARE is not detected, only the driver itself.
Since the hardware is not seen, I can't modprobe ndiswrapper with any effect.

I have been able to use a Motorola WN825G card for surfing: steps 1-3 the same with the correct driver, and the hardware IS seen. I then do:
4) modprobe ndiswrapper (the card lights up)
5) ifconfig -a  (shows me that the wlan0 card is now seen)
6) pump -i wlan0 (access my wireless connection)

So... any thoughts on getting this WG511v2 card to work with DSL?
Thanks for any help you can provide...

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.