Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 [2] 3 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Setting up a Netgear WG511T wifi card., Problems with ndiswrapper.< Next Oldest | Next Newest >
captainpotato Offline





Group: Members
Posts: 31
Joined: Jan. 2004
Posted: Nov. 20 2005,01:44 QUOTE

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? :)
Back to top
Profile PM 
tempestuous Offline





Group: Members
Posts: 259
Joined: Aug. 2004
Posted: Nov. 20 2005,02:40 QUOTE

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.
Back to top
Profile PM 
tempestuous Offline





Group: Members
Posts: 259
Joined: Aug. 2004
Posted: Nov. 20 2005,02:41 QUOTE

double-posted.
Back to top
Profile PM 
captainpotato Offline





Group: Members
Posts: 31
Joined: Jan. 2004
Posted: Nov. 20 2005,05:16 QUOTE

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?
Back to top
Profile PM 
tempestuous Offline





Group: Members
Posts: 259
Joined: Aug. 2004
Posted: Nov. 20 2005,07:26 QUOTE

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".
Back to top
Profile PM 
22 replies since Nov. 15 2005,12:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 [2] 3 4 5 >/
reply to topic new topic new poll
Quick Reply: Setting up a Netgear WG511T wifi card.

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code