Hello Jeremy,

In the meantime I bought a Wrap board with madwifi card (CM9).

I will describe my setup and hope you will be able to get it running, I
would suggest to first try with WEP or no encryption and try WPA later
(http://madwifi.org/wiki/UserDocs/HostAP).

I'm using Bering-uClibc-2.4beta1 with the latest madwifi-ng modules and
usespace programs. The modules-tarball can be found here:
http://cvs.sourceforge.net/viewcvs.py/leaf/bin/bering-uclibc/packages/
You need the 2.4.32 tarball.

The madwifi modules are in the /net directory of this tarball, take a look at
modules.dep for the right dependencies. You need the wlan and ath_x modules.
Load them in the right order in /etc/modules (I can't check it right now,
don't
have access to my router)

Download the latest wireless.lrp and madwifi.lrp packages:
http://cvs.sourceforge.net/viewcvs.py/leaf/bin/packages/uclibc-0.9/20/2.4.32/
(you can also find the latest hostapd.lrp package in that place)

In /etc/network/interfaces you have to define something like the following:

auto ath0
iface ath0 inet static
         address 192.168.0.254
         netmask 255.255.255.0
         broadcast 192.168.0.255
         madwifi-base wifi0
         wireless-essid myessid
         wireless-mode master

The wireless-mode setting places the card in AP mode.

It's normal that the wifi0 address doesn't have any ip-address, it's just the
master device for the ath0 interface(s) (you can create multiple VAPs,
Virtual APs,
with madwifi on the same physical device).

Some notes on your errors:
#2 Do you scan from you Workstation or from the router itself? You need the
ath_scan_ap modules for this to work (AFAIK). If you scan from your
workstation,
you need an "essid" configured (see above).

#3 You need to install wireless.lrp, that package contains the wireless
tools.
Note that the modules in the 2.4.32 tarball are "madwifi-ng", so you need
wlanconfig
for it which is included in the madwifi.lrp package.

I don't know the rest of your setup, but some general notes:

Make sure that if you want dhcp on the wireless network, you have to
configure
that in dnsmasq.conf, something like:
dhcp-range=192.168.0.1,192.168.0.199,12h
If following the above example.

And enable dhcp traffic to the wireless zone in shorewall interfaces:
loc     ath0            detect          dhcp


I can confirm that the setup is working, at least with WEP. Didn't try WPA
yet,
but following the example on the madwifi wiki, it should be straightforward.

Eric



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to