Networking :: Setting up a Netgear WG511T wifi card.



Hello all,

Having managed to solve my ethernet card woes, I'm now trying to set up my wifi card, a Netgear WG511T card (PC card, based on the Atheros AR5212 chipset).

My machine (Libretto 110, running DSL 2.0rc2) detects the card correctly using

Quote

> lspci

0000:14:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)


So far, so good. I have extracted the relevant .inf file from the card's Windows installation CD. Following the ndiswrapper installation guide, I do the following:

Quote

> sudo ndiswrapper -i netw511.inf

> sudo ndiswrapper -l
Installed ndis drivers:
netw511 driver present, hardware present

> depmod -a


This is where the problem hits: I get the following error:

Quote

depmod: Can't open /lib/modules/2.4.31/modules.dep for writing


Following a suggestion in another thread, I tried the following:

Quote

sudo /etc/init.d/mkwriteable


But it makes no difference.

The card appears to be supported by DSL and by ndiswrapper, so I'm stuck with a somewhat minor (I assume) problem. Any ideas would be most appreciated on how to fix it.

Also, to preempt a followup question, how would I then ensure that the settings are saved upon reboot (in the /opt/bootlocal.sh file, I presume)

I also don't want to affect the eth0 settings for my ethernet card, so the WG511T should be configured on wlan0.

Thanks again for any assistance.

Instead of depmod -a, try 'modprobe ndiswrapper'. This works for me with another card.
Quote (adssse @ Nov. 16 2005,04:05)
Instead of depmod -a, try 'modprobe ndiswrapper'. This works for me with another card.

That's the step after depmod -a, according to the ndiswrapper docs.

In any case, I've tried that, and I get a very similar error (can't tell you what it is at the moment, as I'm at work ;) ). Either way, it doesn't help.

Try using the script for ndiswrapper located on the control panel.
This makes things easy.  You did check that your card is supported via ndiswrapper?

Also, you can try the madwifi modules that have been built for DSL-2.0 and then modprobe some of the modules there.

Let us know.

HTH

Quote (roberts @ Nov. 16 2005,05:07)
Try using the script for ndiswrapper located on the control panel.


I get the message "no wireless cards detected" (or words to that effect).

Quote

This makes things easy.  You did check that your card is supported via ndiswrapper?


Yes it is. When I enter 'ndiswrapper -i netw511.inf (the relevant file), it works and detects the card correctly (see original post). It's only at the next stage the installation fails.

Quote

Also, you can try the madwifi modules that have been built for DSL-2.0 and then modprobe some of the modules there.


Okay, I'll try that tonight and see how it goes. Having said this, I suspect that the issue isn't ndiswrapper, but rather using a frugal installation as the issue seems to be about not being able to write to /lib/modules/2.4.31/modules.dep - there again, I'm only new to the frugal method, so this may just be my (incorrect) perception...

Next Page...
original here.