Raspberry wireless access point: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „<span id="übersicht"></span> = Übersicht = * Operationssytem: Raspbian 10 * Login: ** root: 123Start$ ** xinux: 123Start$ ** pi: raspberry * Achtung englisc…“)
 
Zeile 55: Zeile 55:
 
<!----->
 
<!----->
 
  net.ipv4.ip_forward=1
 
  net.ipv4.ip_forward=1
 +
* systemctl restart hostapd
 +
* systemctl restart dnsmasq
 +
* systemctl disable dhcpd
 +
* reboot
 +
 +
<!----->
 +
<span id="benutzung"></span>
 +
= Benutzung =
 +
 +
Man kann jetzt

Version vom 6. Oktober 2022, 13:24 Uhr

Übersicht

  • Operationssytem: Raspbian 10
  • Login:
    • root: 123Start$
    • xinux: 123Start$
    • pi: raspberry
  • Achtung englische Tastatur

Pakete

  • hostapd
  • dnsmasq

Konfiguration

  • vim /etc/dhcpcd.conf
interface wlan0
static ip_address=192.168.0.10/24
denyinterfaces eth0
denyinterfaces eth1
denyinterfaces wlan0
  • mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
  • vim /etc/dnsmasq.conf
interface=wlan0
  dhcp-range=192.168.0.11,192.168.0.30,255.255.255.0,24h
  • /etc/hostapd/hostapd.conf
interface=wlan0
hw_mode=g
channel=7
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
ssid=xinux
wpa_passphrase=123Start$
  • vim /etc/default/hostapd
  • vim /etc/sysctl.conf
net.ipv4.ip_forward=1
  • systemctl restart hostapd
  • systemctl restart dnsmasq
  • systemctl disable dhcpd
  • reboot

Benutzung

Man kann jetzt