User Tools

Site Tools


linuxmce_ap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
linuxmce_ap [2016/01/23 20:50] – [/etc/network/interfaces] adminlinuxmce_ap [2016/03/16 18:21] – [Change firewall] admin
Line 4: Line 4:
  
   sudo apt-get install bridge-utils hostapd   sudo apt-get install bridge-utils hostapd
-===== Run hostap ===== 
- 
-  sudo hostapd /etc/hostapd/hostapd.conf 
- 
- 
- 
-===== Change firewall ===== 
- 
-pluto main -> firewall -> IntIF -> eth0 to br0 
  
 ===== Configs ===== ===== Configs =====
Line 45: Line 36:
  
 iface br0 inet static iface br0 inet static
 +         post-up /usr/sbin/hostapd -B /etc/hostapd/hostapd.conf
 +         post-up service isc-dhcp-server restart
          bridge_ports eth0 wlan0          bridge_ports eth0 wlan0
          address 192.168.80.1          address 192.168.80.1
Line 188: Line 181:
 rsn_pairwise=CCMP rsn_pairwise=CCMP
 </code> </code>
 +
 +
 +==== /etc/default/hostapd ====
 +
 +<code config hostapd>
 +# Defaults for hostapd initscript
 +#
 +# See /usr/share/doc/hostapd/README.Debian for information about alternative
 +# methods of managing hostapd.
 +#
 +# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
 +# file and hostapd will be started during system boot. An example configuration
 +# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
 +#
 +#DAEMON_CONF=""
 +DAEMON_CONF="/etc/hostapd/hostapd.conf"
 +
 +# Additional daemon options to be appended to hostapd command:-
 +# -d   show more debug messages (-dd for even more)
 +# -K   include key data in debug messages
 +# -t   include timestamps in some debug messages
 +#
 +# Note that -B (daemon mode) and -P (pidfile) options are automatically
 +# configured by the init.d script and must not be added to DAEMON_OPTS.
 +#
 +#DAEMON_OPTS=""
 +</code>
 +
 +===== Change firewall =====
 +
 +pluto main -> firewall -> IntIF -> eth0 to br0
 +
 +===== Run hostap =====
 +
 +  sudo hostapd /etc/hostapd/hostapd.conf
 +
 +====== Guest Network (IGNORE) ======
 +
 +old mac address:
 +  
 +  10:9a:dd:c3:67:c4
 +  
 +change it to **02**:9a:dd:c3:67:**30** using (bold values are required, the middle part can be taken from the original mac address):
 +
 +  ifconfig wlan0 down
 +  ifconfig wlan0 hw ether 02:9a:dd:c3:67:30
 +  ifconfig wlan0 up 
 +
 +
linuxmce_ap.txt · Last modified: 2016/07/22 22:24 by admin