Changes between Initial Version and Version 1 of FreeBSDAccessPoint


Ignore:
Timestamp:
Jan 27, 2010, 7:43:17 PM (15 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FreeBSDAccessPoint

    v1 v1  
     1Loosely inspired by [http://martenvijn.nl/trac/wiki/ap Marten how-to build a FreeBSD AP] I will show the use of Multiple SSID aka as VAP (VirtualAccessPoints) to build [http://en.wikipedia.org/wiki/FON La Fonera] like device. Provide restricted access which expose your full personal network and a limited access for people visiting and passing by.
     2
     3= Procedure =
     4Assuming your have already setup your FreeBSD installation, else use the Handbook or my guide for [wiki:FreeBSDOnEmbeddedDevice] is you like.
     5
     6To be put into /etc/rc.conf
     7{{{
     8# Eudoroam internal wired and wireless
     9ifconfig_sis0="up"
     10create_args_wlan0="wlanmode hostap mode 11g ssid eduroam.test up"
     11ifconfig_bridge0="addm wlan0 addm sis0 up"
     12ipv4_addrs_bridge0="192.168.42.1/24 192.168.1.2/24"
     13
     14# Wireless Leiden Hub
     15ifconfig_sis2="up"
     16create_args_wlan1="wlanmode hostap bssid mode 11g ssid
     17ap-raam.snuit.wleiden.net up"
     18ifconfig_bridge1="addm wlan1 addm sis2 DHCP"
     19
     20# Authentication enabled on my personal access point (wlan0)
     21hostapd_enable="YES"
     22}}}
     23
     24To be put in /etc/hostapd.conf
     25{{{
     26interface=wlan0
     27driver=bsd
     28
     29logger_syslog=-1
     30logger_syslog_level=0
     31logger_stdout=-1
     32logger_stdout_level=2
     33dump_file=/tmp/hostapd.dump
     34ctrl_interface=/var/run/hostapd
     35ctrl_interface_group=0
     36
     37macaddr_acl=0
     38auth_algs=1
     39
     40wpa=1
     41wpa_passphrase=FooBarPass
     42wpa_key_mgmt=WPA-PSK
     43wpa_pairwise=CCMP TKIP
     44EOF
     45}}}
     46
     47= Misc =
     48Wireless card used:
     49# pciconf -vl | grep -A 4 ath0
     50{{{
     51ath0@pci0:0:14:0:       class=0x020000 card=0x1600185f chip=0x001b168c
     52rev=0x01 hdr=0x00
     53   vendor     = 'Atheros Communications Inc.'
     54   device     = 'AR5006 family 802.11abg Wireless NIC'
     55   class      = network
     56}}}