The Testing Area :: madwifi.dsl



Quote (lagerratrobe @ Jan. 29 2006,02:51)
I also am unable to get a dhcp lease using pump, so am manually setting the IP and route.

Code Sample

ifconfig ath0 192.168.1.102 netmask 255.255.255.0 up
route add default gw 192.168.1.1


It's nice to know that I'm not the only one who had problems with dhcp - I went down the static IP as well.

I have had great success with the madwifi extension.

I am using a Compaq Armada M700, 850 MHz, 256 MB ram.  I am running a live CD of DSL 2.0, toram.  I bought the machine off of Ebay specifically to run DSL in ram to surf the web wirelessly, until I can get hold of a Nokia 770.  I would have liked to run DSL off of a USB pendrive, but this laptop cannot boot off USB.  I generally spin the hard drive down to extend battery life.

I have tried three wireless cards with this laptop:

Netgear WG511, using ndiswrapper.  Everyting was fine and I was able to connect to my Linksys WRT54G router.  Then, after a short time, the machine would completely lock up, requring a total power down.

Next up was a Linksys WPC54G.  Using ndiswrapper, the same thing happened.  I was hoping for something better, considering I have a Linksys router.

Next, and finally, I tried a D-Link DWL-G630.  Locked up again, and again using ndiswrapper.

Three cards, three different chipssets.  I tried not using "toram" and Dillo instead of Firefox, thinking I may have a memory loading issue.  Still no go, lockup after lockup.

Finally, I read about the madwifi.dsl extension in the testing area. Turns out the DWL-G630 has an Atheros chip.  I followed the instructions, downloading, running the script and running iwconfig from the control panel.  Got a connection the first time.  The most important part is: no lockups. I threw heavy load at the card but it wouldn't/hasn't locked up.  I am also using WEP.

I have since set the extension up to load on boot via the /opt/bootlocal.sh and .filetool.lst.  I have booted about a half dozen times and it has worked every time.

I suspect then, that my laptop doesn't play nice with ndiswrapper.  Perhaps it uses a lot of system resources (?), I don't know.

To Robert,John, and all of the DSL community, thank you.  This thing works and works well.

jllyrgr

Hi jllyrgr,

Are you able to use DHCP with your card?

Yes.  I had absolutely no problem getting an address with the script as it is written.  (This is with the D-Link DWL-G630 card.)
Quote (roberts @ Dec. 21 2005,19:32)
But you should run as root, i.,e.,
sudo /opt/madwifi_setup.sh
Then use the usual iwconfig GUI for device ath0

Once working, add madwifi.dsl to your usual mydsl extensions area.
Add /opt/madwifi_setup.sh to /opt/bootlocal.sh and you will have transparent Atheros Wifi support.

Optional, as usual, you may also add your personal wireless settings (myiwconfig.sh) to /opt/bootlocal.sh (for execution) and to .filetool.lst (for persistency).

I installed 2.2b frugal method. When I run the command sudo /opt/madwifi_setup.sh I get the following in return:

insmod: a module named wlan already exists
/lib/modules/2.4.31/net/wlan_acl.o: kernel-module version mismatch
       /lib/modules/2.4.31/net/wlan_acl.o was compiled for kernel version 2.4.31 while this version was compiled for version 2.4.26.

I haven't added anything to my DSL, just a frugal install run MyDSL, select System, download madwifi.info.

Any help is appreciated.

Next Page...
original here.