WLAN AccessPoint: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| (17 dazwischenliegende Versionen von 5 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
= | =Installation= | ||
*apt install bridge-utils hostapd | |||
/etc/ | =Forward= | ||
;/etc/sysctl.conf: | |||
net.ipv4.ip_forward = 1 | |||
*sysctl -p | |||
= | =Interfaces= | ||
;/etc/network/interfaces | |||
<pre> | |||
/etc/ | auto vmbr0 | ||
iface vmbr0 inet static | |||
address 10.10.10.1 | |||
netmask 255.255.255.0 | |||
dns-nameservers 10.80.100.103 | |||
dns-search hack.lab | |||
bridge_ports none | |||
bridge_stp off | |||
bridge_fd 0 | |||
bridge_maxwait 0 | |||
</pre> | |||
*ifup -v vmbr0 | |||
== | =hostapd= | ||
*/etc/hostapd | |||
== | <pre> | ||
interface=wlan0 | |||
bridge=vmbr0 | |||
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 | |||
</pre> | |||
*systemctl unmask hostapd | |||
*systemctl enable hostapd --now | |||
= Links = | = Links = | ||
* https://wiki.ubuntuusers.de/Netzwerkbr%C3%BCcke/#Bruecken-in-drahtlose-Netze | |||
* http://ubuntuforums.org/showthread.php?t=400236&page=118 | * http://ubuntuforums.org/showthread.php?t=400236&page=118 | ||
* http://www.linux.com/learn/tutorials/442417-create-a-secure-linux-based-wireless-access-point | * http://www.linux.com/learn/tutorials/442417-create-a-secure-linux-based-wireless-access-point | ||
| Zeile 60: | Zeile 52: | ||
* http://rt2x00.serialmonkey.com/wiki/index.php/AP-mode_Howto | * http://rt2x00.serialmonkey.com/wiki/index.php/AP-mode_Howto | ||
* http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=tree | * http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=tree | ||
* https://help.ubuntu.com/community/NetworkConnectionBridge | |||
Aktuelle Version vom 19. August 2021, 18:41 Uhr
Installation
- apt install bridge-utils hostapd
Forward
- /etc/sysctl.conf
net.ipv4.ip_forward = 1
- sysctl -p
Interfaces
- /etc/network/interfaces
auto vmbr0 iface vmbr0 inet static address 10.10.10.1 netmask 255.255.255.0 dns-nameservers 10.80.100.103 dns-search hack.lab bridge_ports none bridge_stp off bridge_fd 0 bridge_maxwait 0
- ifup -v vmbr0
hostapd
- /etc/hostapd
interface=wlan0 bridge=vmbr0 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
- systemctl unmask hostapd
- systemctl enable hostapd --now
Links
- https://wiki.ubuntuusers.de/Netzwerkbr%C3%BCcke/#Bruecken-in-drahtlose-Netze
- http://ubuntuforums.org/showthread.php?t=400236&page=118
- http://www.linux.com/learn/tutorials/442417-create-a-secure-linux-based-wireless-access-point
- http://mcbridematt.dhs.org/blog/tag/wireless
- http://rt2x00.serialmonkey.com/phpBB/viewtopic.php?f=5&t=5203
- http://rt2x00.serialmonkey.com/wiki/index.php/AP-mode_Howto
- http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=tree
- https://help.ubuntu.com/community/NetworkConnectionBridge