Forum

Einloggen | Registrieren | RSS  

Raspberry Pi als WLAN-Router (Netzwerktechnik)

verfasst von DennisC(R), 11.03.2020, 10:32 Uhr
(editiert von DennisC am 12.03.2020 um 15:47)

» hast du hostapd auch als daemon eingerichtet und startet der beim booten?
Denke schon:
> sudo nano /etc/default/hostapd
....
#DAEMON_CONF
RUN_DAEMON=yes
DAEMON_CONF="/etc/hostapd/hostapd.conf"
....


» Was sagt
» > ls -la /etc/hostapd/hostapd.conf
-rw------- 1 root root 303 Mär 10 11:54 /etc/hostapd/hostapd.conf

» > sudo systemctl status hostapd
hostapd.service - Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
Loaded: loaded (/lib/systemd/system/hostapd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2020-03-10 17:14:44 CET; 17h ago
Process: 424 ExecStart=/usr/sbin/hostapd -B -P /run/hostapd.pid -B $DAEMON_OPTS ${DAEMON_CONF} (code=exited, status=0/SUCCESS)
Main PID: 443 (hostapd)
Tasks: 1 (limit: 2200)
Memory: 1.9M
CGroup: /system.slice/hostapd.service
443 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf

Mär 10 17:14:43 raspberrypi systemd[1]: Starting Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator...
Mär 10 17:14:44 raspberrypi hostapd[424]: Configuration file: /etc/hostapd/hostapd.conf
Mär 10 17:14:44 raspberrypi hostapd[424]: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Mär 10 17:14:44 raspberrypi systemd[1]: Started Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator.

» und ggf. noch (nach einem Neustart)
» > ps aux | grep hostapd
root 443 0.0 0.2 7472 2024 ? Ss 10:14 0:00 /usr/sbin/hostapd -B -P /run/hostapd.pid -B /etc/hostapd/hostapd.conf
pi 9011 0.0 0.0 7360 524 pts/0 S+ 10:17 0:00 grep --color=auto hostapd


» Poste mal den Inhalt von /etc/hostapd/hostapd.conf
# WLAN-Router-Betrieb

# Schnittstelle und Treiber
interface=wlan0
driver=nl80211

# WLAN-Konfiguration
ssid=Test_Netz
channel=1
hw_mode=g
ieee80211n=1
ieee80211d=1
country_code=DE
wmm_enabled=1

# WLAN-Verschlüsselung
auth_algs=1
wpa=2
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
wpa_passphrase=test123456

Ich habe sogar Raspbian neu aufgesetzt und alles nochmal durchgespielt.
Wieder das gleiche Phänomen :-(



Gesamter Thread:

Raspberry Pi als WLAN-Router - DennisC(R), 10.03.2020, 13:24
Raspberry Pi als WLAN-Router - bastelix(R), 10.03.2020, 22:08
Raspberry Pi als WLAN-Router - DennisC(R), 11.03.2020, 10:32
Raspberry Pi als WLAN-Router - DennisC(R), 12.03.2020, 16:46
Raspberry Pi als WLAN-Router - bastelix(R), 12.03.2020, 22:55
Raspberry Pi als WLAN-Router - DennisC(R), 13.03.2020, 13:22
Raspberry Pi als WLAN-Router - bastelix(R), 14.03.2020, 00:30