WLAN AccessPoint: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
  
 +
=Installation=
 +
*apt install bridge-utils hostapd
 
=Forward=
 
=Forward=
/etc/sysctl.conf:
+
;/etc/sysctl.conf:
 
+
net.ipv4.ip_forward = 1
net.ipv4.ip_forward = 1
+
*sysctl -p
  
 
=Interfaces=
 
=Interfaces=

Version vom 19. August 2021, 18:35 Uhr

Installation

  • apt install bridge-utils hostapd

Forward

/etc/sysctl.conf
net.ipv4.ip_forward = 1
  • sysctl -p

Interfaces

auto br0
iface br0 inet static
 address 10.81.3.5
 netmask 255.255.255.0
 gateway 10.81.0.1
 dns-nameservers 10.80.0.2 10.80.0.3
 dns-search xinux.lan tuxmen.de
 bridge_ports eth0
 bridge_stp off
 bridge_fd 0
 bridge_maxwait 0

hostapd

interface=wlan0
bridge=br0
driver=nl80211
ssid=CHEWINGGUM
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=9twin-towers11
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP


Links