Hello Rich, Sorry for not responding, but it looks like you have setup everything perfectly which isn't very easy indeed.
A few small notes below. > I'm not sure why I did not receive much response to my earlier post on > adding wireless to my network. I suppose the question was too vague or, > people are not using Bearing as a wireless AP rather purchasing a > hardware AP. Anyhow, I was able to convert my Leaf Bearing box into a > wireless AP running with WPA-PSK TKIP. Actually, it seems to be running > WPA2-PSK > AES/CCMP but I can't confirm that this works since my client does not > support it. > > Here is an overview of my steps: > > > Purchase a wireless network card. I chose the D-Link DWL-G510 based on > the Atheros chip. Determining which card to buy was the most difficult > part of the whole installation. > Same sort of NIC I use, I'm very pleased with it. I think you made a good choice. > Follow instructions here http://mango.baronnet.net/ap.html (thank you > Lionel) to install wireless.lrp and madwifi.lrp. I did find one issue. The > latest madwifi drivers changed the way you assign Master mode. In > /etc/interfaces, I replace the line wireless-mode Master with two lines, > pre-up wlanconfig ath0 destroy and pre-up wlanconfig ath0 create wlandev > wifi0 wlanmode ap. I also made slight changes to the way I configured > Shorewall. At this point I was able to connect to my BeringAP using basic > WEP security. I also was able to establish a VPN / PPTP connection. As a > side note, windows network browsing seems to work correctly in this > configuration. > I load the madwifi modules like this in /etc/modules: # Atheros wlan wlan_wep wlan_scan_ap wlan_tkip wlan_xauth ath_hal ath_rate_sample ath_pci autocreate=none Note the last line which tell the madwifi driver to not automatically create a STA interface. In /etc/network/interfaces you can also set it up like this: <snip> madwifi-base wifi0 wireless-channel 1 wireless-essid Youresid wireless-mode master <snip> The last line sets the card in master mode, so no need for pre-up stanzas, the scripting is done in the madwifi package (pre-up and pre-down scripts). > Next, I wanted to improve my wireless security. So, I installed > hostapd.lrp. I also needed to install libm, libcrpto, and libssl. I > enabled the daemon and used http://madwifi.org/wiki/UserDocs/HostAP to > configure the options. I change two lines ssid and wpa_passphrase. I > generated a 256-bit key here: > http://www.andrewscompanies.com/tools/wep.asp > > > Well, now everything seems to be running properly. I learned a lot about > wireless in the last few days. I want to thank everyone on the > Bering-uCliibc team especially Eric Spakman for madwif.lrp and > hostapd.lrp. > Thanks for your report and kind words! > Rich > Regards, Eric Spakman > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language that extends applications into web and mobile media. Attend the > live webcast and join the prime developer group breaking into this new > coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > ------------------------------------------------------------------------ > leaf-user mailing list: [email protected] > https://lists.sourceforge.net/lists/listinfo/leaf-user > Support Request -- http://leaf-project.org/ > > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
