Dit heb je nodig om een Wireless AP zelf te bouwen:
apt-get install madwifi-source madwifi-tools hostapd bridge-utils module-assistant module-assistant auto-install madwifi
Dit zijn mijn configs voor een 'gewone' 802.11b/g AP. Configs voor een dual multiband 2.4/5Ghz wireless AP staan hier.
#/etc/hostapd/hostapd.conf
interface=ath0
bridge=br0
driver=madwifi
logger_syslog=0
logger_syslog_level=0
logger_stdout=0
logger_stdout_level=0
debug=0
eapol_key_index_workaround=1
dump_file=/tmp/hostapd.dump.0.0
ctrl_interface=/var/run/hostapd
#replace with your network name
ssid=SiP_SPooF_INC_22
#bit0=wpa - bit1=wpa2
wpa=3
#replace with your 64 hex digit WPA key
wpa_psk=0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
wpa_key_mgmt=WPA-PSK WPA-EAP
wpa_pairwise=TKIP CCMP
wpa_group_rekey=600
#/etc/network/interfaces
auto br0
iface br0 inet static
address 192.168.1.1
netmask 255.255.255.0
broadcast 192.168.1.255
bridge_ports ath0 eth0
#/etc/modprobe.d/madwifi
alias ath0 ath_pci
options ath_pci autocreate=ap
#/etc/default/hostapd
RUN_DAEMON="yes"
Voordat je de bridge start moet je eth0 en ath0 down zetten. Dan hostapd
herstarten: '/etc/init.d/hostapd restart' en 'ifup br0'. Je hebt geen
stanzas voor eth0 en ath0 in /etc/network/interfaces meer nodig. Je kunt
ze laten staan, maar de bijbehorende 'auto' regels MOET je weghalen.
Copyright Jan Pieter. Deze tekst wordt uitsluitend aangeboden voor
persoonlijk gebruik.