gamba47 make me an sugestion to post a tutorial of how to brazilfw as a wireless router, similar to hardware wifi router what are selling on the it market.
So first step:
You must buy a pci wifi with atheros compatible chipset.
But before buy it visit the website: http://linux-wless.passys.nl/ to see if the pci card is compatible.
I use an TP-Link WN651G wireless card.
The version of brazilfw is 2.31.10 installed on CF card with IDE-CF convertor, GA6VEM mainboard.
For define the corect time zone where do you live vizit: http://www.cs.berkeley.edu/CT/ag4.0/appendid.htm
Second step: After you install pci wifi card , you on LAN Configuration section and define an ath0 to WLAN Network Device, with no Primary IP Address
and Netmask.
After that submit/backup and restart.
Third step: Connect to brazilfw trough ssh with putty, using defualt port or define by you.
After you login , type Q and enter and will appear: hostname_of_your_brazilfw#
You type hostname_of_your_brazilfw#mt
Then hostname_of_your_brazilfw#cd mnt
hostname_of_your_brazilfw#wget http://www.brazilfw.com.br/downloads/wi ... 27/ath.tgz
You wil see a progres of a download.
To verify if ath.tgz is downloaded you type hostname_of_your_brazilfw#ls #listing the content f a directory under linux
You will see ath.thz is on the list.
Then hostname_of_your_brazilfw#wget http://www.brazilfw.com.br/users/juanil ... /athap.tgz
hostname_of_your_brazilfw#cd ..
hostname_of_your_brazilfw#reboot
After restart you login on the web interface of you router.
Fourth step:
You will see a new section on interface configuration appear, called: Atheros Wi-Fi AP
Firt delete any Ath interface defined by default
Click on Edit Bridge Configuration file , and you make to look like this:
#
# Coyote Bridge Configuration Script
# Claudio Roberto Cussuol - 02/24/2005
#
# To enable the bridge remove or comment the next line
#BRIDGE=DISABLED
if [ "$BRIDGE" != "DISABLED" ] ; then
echo Loading Bridge modules...
(cat /etc/modules.bridge; echo) |
while read module args
do
case "$module" in
\#*|"") continue ;;
esac
insmod /lib/modules/bridge/"$module".o $args > /dev/null
done
fi
#Adding the Interfaces
#Usually eth1 = Internet Interface - Do not add it to the bridge
#To Enable the Bridge uncomment these lines
brctl addbr br0
ifconfig eth0 up
ifconfig eth0 0.0.0.0
brctl addif br0 eth0
ifconfig ath0 up
ifconfig eth0 0.0.0.0
brctl addif br0 ath0
#ifconfig eth2 up
#ifconfig eth2 0.0.0.0
#brctl addif br0 eth2
#ifconfig eth3 up
#ifconfig eth3 0.0.0.0
#brctl addif br0 eth3
#ifconfig eth4 up
#ifconfig eth4 0.0.0.0
#brctl addif br0 eth4
# ... you can add as many interfaces as you have just copying these lines ...
#In order to use the bridge as your local interface you
#have to add this line to the main configuration file (/etc/coyote.conf):
#IF_LOCAL=br0
Then OK and backup.
Thith step:
Click on Configuration Files
Click on BrazilFW Main Configuration File
And make sure you have the next lines:
IF_LOCAL='br0' #initialy whas my LAN interface IF_LOCAL='eth0'
IF_INET='eth1'
IF_WLAN='ath0'
Ok backup and reboot you firewall
Last step:
Go to Atheros Wi-Fi AP
Click on Add Ath interface
Put thw following value:
ath interface :ath0
Atheros interface (like ath0, ath1, etc)
Band
AP Band : B+G (I choose only G because I dont't have any wireless card with B protocol 11Mps, and A is for 5 Ghz transmsion, very usefull if you want to connect 2 wireless access point with Wireless Distribution System option enabled)
SSID
AP SSID: EXAMPLE # Identity of your WIFI Network
Channel
AP Channel: 1 #is the default channel but if you want you put a value between 1....13, depending on your country.
MAC Control
AP MAC ADDRESS Control: YES # i want to give acces to some macs wifi.
Isolation
AP Clients isolation : No # I don't know what it means
ipnet said "Client Isolation: should be set to YES if you want to prevent each client to "see" others in the Wireless network."
Thank you ipnet for suport.
Comment
Comment: BLA BLA # is optional and put everyfing you want.
Sent ath
If you enabled AP MAC ADDRESS Control click on Edit MAC List to define a list of wifi mac's
On Other Parameters you could define a password, power of transmision, etc.
Backup and reboot
That's it!
I do not manged to put screenshoots and that why I proceed in this way.
English is not my native language and probabily I do some mistakes.
Thank you gamba47 for you suport and congradulation team of brazilfw for you wonderfull work.