The Testing Area :: madwifi.dsl



Yes, that's because the modules are already in the kernel 2.4.26 which is in every DSL version except 2.0 and 2.1. Delete the modules you downloaded. Now open the mydsl panel and click the iwconfig button. Change the first field to ath0 from whatever it is (I think wlan0?) Put your channel in the second field and your network name in the third field. (Turn off any security on your wireless router for now and make it an open system. You can mess with that later after you get a connection.) Click OK. Wait a little and you should see a connected! or connection failed! Hopefully it will connect.
Deleted the modules, did the iwconfig, connected. Enabled WEP, adjusted settings in iwconfig and I'm connected.

However, I first had to do 'ifconfig ath0 up' in order to turn the card on.

? How can I save these settings, and have the card on and configured at boot?

The script /opt/bootlocal.sh is a bash shell script. Anything you put in there will be run as root on bootup.
When you power down after first running one of the wireless configuration modules in DSL-2.3 you will be asked if you want to save your configuration. Select yes. That will write the line /opt/myiwconfig.sh in the /opt/bootlocal.sh script so that it loads your settings at the next bootup. If it doesn't do it automatically, then you know know what it should do and you can add those lines yourself.
BTW, one frustration when you first begin using this is that there is no gui to scan for access points. No problem though, because the scan command from the terminal works great. Open a terminal and type iwlist ath0 scan
You will get more information, and more quickly than you could ever get in Windows.

Quote (roberts @ Dec. 21 2005,19:32)
Thanks to a community effort we now have a Atheros (Madwifi) extension for DSL v2.x

This is in the usual testing area of the repositiory.
Please read the info file. There are no dependencies.

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).

Still a little new to this DSL thing.

when i run the .xxx.sh script you mention, it says command not found. Obviously it's not loaded. How do I dl it from the testing area?

Then, how do you add it to the extensions area?

Which script, specifically?
If you are talking about myiwconfig.sh that is the script that is automatically written when you set up your ath0 based wireless card using the iwconfig button in the mydsl panel. All you do is add the path to it to the /opt/bootlocal.sh script. The easiest way to do this is to open EmelFM as root by right clicking it and choosing open as super user. Navigate to /opt and double click on bootlocal.sh and then choose view file from the list. This will most likely open it in Beaver. Add the line /opt/myiwconfig.sh and save.

Next Page...
original here.