Networking :: Setting up a Netgear WG511T wifi card.



Okay, have now had some time to try to madwifi modules, as suggested. In short - no luck as the same problem occurs. This is what I did and what happens:

1. Downloaded madwifi.tar.gz
2. sudo su
3 . tar -zcvf madwifi.tar.gz -C /
4. depmod -a

The output is:
Quote

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


In other words, the same as before. Trying:
Quote

/etc/init.d/mkwriteable /lib/modules/2.4.31/modules.dep


Doesn't help either.

I've tried skipping depmod -a and trying modprobe ath_pci, but I get the following:

Quote

modprobe: Can't locate module ath_pci


I've checked, and ath_pci.o is in /lib/modules/2.4.31/net as it should be.

I've hit the same wall that I hit trying ndiswrapper. any other ideas? :)

It sounds like you're running from liveCD - and this can be a problem because much of the filesystem is ready-only.
If you had a hard drive installation it would be so much easier.
But if you want to stick to a liveCD, here's how to make those files writeable -

sudo su
/etc/init.d/mkwriteable ## not sure if this is needed
cd /lib/modules/2.4.31
cp modules.dep tmp1
cp modules.generic_string tmp2
cp modules.pcimap tmp3
cp modules.isapnpmap tmp4
cp modules.usbmap tmp5
cp modules.parportmap tmp6
cp modules.ieee1394map tmp7
cp modules.pnpbiosmap tmp8
rm -rf modules.dep modules.generic_string modules.pcimap modules.isapnpmap modules.usbmap modules.parportmap modules.ieee1394map modules.pnpbiosmap
mv  tmp1 modules.dep
mv  tmp2 modules.generic_string
mv  tmp3 modules.pcimap
mv  tmp4 modules.isapnpmap
mv  tmp5 modules.usbmap
mv  tmp6 modules.parportmap
mv  tmp7 modules.ieee1394map
mv  tmp8 modules.pnpbiosmap

Now depmod will work.

double-posted.
Quote (tempestuous @ Nov. 20 2005,07:40)
It sounds like you're running from liveCD - and this can be a problem because much of the filesystem is ready-only.
If you had a hard drive installation it would be so much easier.
But if you want to stick to a liveCD, here's how to make those files writeable -

sudo su
/etc/init.d/mkwriteable ## not sure if this is needed
cd /lib/modules/2.4.31
cp modules.dep tmp1
cp modules.generic_string tmp2
cp modules.pcimap tmp3
cp modules.isapnpmap tmp4
cp modules.usbmap tmp5
cp modules.parportmap tmp6
cp modules.ieee1394map tmp7
cp modules.pnpbiosmap tmp8
rm -rf modules.dep modules.generic_string modules.pcimap modules.isapnpmap modules.usbmap modules.parportmap modules.ieee1394map modules.pnpbiosmap
mv  tmp1 modules.dep
mv  tmp2 modules.generic_string
mv  tmp3 modules.pcimap
mv  tmp4 modules.isapnpmap
mv  tmp5 modules.usbmap
mv  tmp6 modules.parportmap
mv  tmp7 modules.ieee1394map
mv  tmp8 modules.pnpbiosmap

Now depmod will work.

I've done a frugal install with the /opt/ and /home set to save, which as such, is a LiveCD installation in this regard (or at least, that's how I understand it works).

I've copied your suggestion into the /opt/bootlocal.sh file, and the boot sequence stops with the error:
Quote

bash: no job control in this shell


Clearly, this isn't the place that your suggestion should be placed... I was going to stick the depmod/modprobe sequence of commands after this, but clearly this isn't the way to go with this.

Where should I be putting this, seeing that I don't want to be typing this in each time I boot the machine?

It's possible that "sudo su" caused that error you describe, so don't include it in /opt/bootlocal.sh ...
but walk before you run - try this sequence of commands manually from the commandline to see if they work first, and obviously this process should be done after you have uncompressed the MADWiFi modules.

Once you have successfully loaded the MADWiFi module with "modprobe ath_pci" you still have to configure your wireless settings with iwconfig / pump / ifconfig, before making the whole process automatic.

You could refer to my info file for the ipw2200 dsl package here - http://www.ajpearce.co.uk/files/mydsl/
this explains the process for making new modules and settings "permanent".

Next Page...
original here.