Servus zusammen,
ich quäle mich mal wieder mit meinem WAP herum. Dieser ist 1:1 eingerichtet wie in der Doku Raspberry Pi als WLAN-Router einrichten (WLAN-Access-Point).
Das hat auch bisher astrein geklappt - aber jetzt funzt gar nichts mehr.
Fehlerbeschreibung:
Wenn ich mich von einem Client mit dem WAP verbinde, wird die Verbindung hergestellt - aber keine IP-Adresse bezogen!
Der Status von dnsmasq und hostapd ist "Active" (ohne Fehler).
Der Status vom dhcpcd sieht jedoch so aus:
× dhcpcd.service - DHCP Client Daemon on all interfaces
Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled; preset: enabled)
Active: failed (Result: signal) since Fri 2024-05-10 20:27:56 CEST; 3min 46s ago
Duration: 210ms
Docs: man:dhcpcd(8)
Main PID: 1927 (code=killed, signal=SYS)
CPU: 705ms
Mai 10 20:26:25 notfallbox dhcpcd[1928]: DUID 00:01:00:01:2d:d1:1b:8b:00:e0:4c:36:04:36
Mai 10 20:26:25 notfallbox systemd[1]: Started dhcpcd.service - DHCP Client Daemon on all interfaces.
Mai 10 20:26:25 notfallbox dhcpcd[1928]: eth0: IAID 4c:36:04:36
Mai 10 20:26:25 notfallbox dhcpcd[1928]: ps_ctl_listen: read: Success
Mai 10 20:26:25 notfallbox dhcpcd[1928]: ps_ctl_recv: read: Success
Mai 10 20:26:25 notfallbox systemd[1]: dhcpcd.service: Main process exited, code=killed, status=31/SYS
Mai 10 20:27:56 notfallbox systemd[1]: dhcpcd.service: State 'stop-sigterm' timed out. Killing.
Mai 10 20:27:56 notfallbox systemd[1]: dhcpcd.service: Killing process 1928 (dhcpcd) with signal SIGKILL.
Mai 10 20:27:56 notfallbox systemd[1]: dhcpcd.service: Killing process 1929 (dhcpcd) with signal SIGKILL.
Mai 10 20:27:56 notfallbox systemd[1]: dhcpcd.service: Failed with result 'signal'.
Display More
Die Ausgabe von ip a sieht so aus:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:e0:4c:36:04:36 brd ff:ff:ff:ff:ff:ff
inet 192.168.42.44/24 brd 192.168.42.255 scope global dynamic noprefixroute eth0
valid_lft 861383sec preferred_lft 861383sec
inet6 2003:ec:572f:f300:2ccd:3c0:e977:50ab/64 scope global dynamic noprefixroute
valid_lft 7137sec preferred_lft 1060sec
inet6 fe80::cb7e:4fd2:b3d7:522c/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 34:7d:e4:a8:48:c9 brd ff:ff:ff:ff:ff:ff
Display More
Hier der Sicherheit halber nochmal die Konfigurationsdateien:
/etc/dhcpcd.conf
/etc/dnsmasq.conf
# DHCP-Server aktiv für WLAN-Interface
interface=wlan0
# DHCP-Server nicht aktiv für bestehendes Netzwerk
no-dhcp-interface=eth0
# IPv4-Adressbereich und Lease-Time
dhcp-range=192.168.1.100,192.168.1.200,255.255.255.0,24h
# DNS
dhcp-option=option:dns-server,192.168.1.1
Display More
/etc/hostapd/hostapd.conf
# WLAN-Router-Betrieb
# Schnittstelle und Treiber
interface=wlan0
#driver=nl80211
# WLAN-Konfiguration
ssid=WLANrouter
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=testtest
Display More
PI Zero, Raspberry OS lite 32bit, Bookworm
PI Zero 2W, Raspberry OS lite, 64 bit, Bookworm
Der Fehler tritt auf beiden Systemen auf.
Auf dem Zero nutze ich einen Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter, welcher problemlos den Access-Point-Modus beherrscht.
Auf dem Pi Zero 2W den Onboard-Wifi-Chip.
Das allerbeste: Ich habe gerade nur so zum Spaß Raspberry OS lite 32 bit bullseye installiert - und SIEHE DA: ES FUNKTIONIERT - mit exakt der gleichen Konfiguration!!!
Sprich: Ein Fehler in Bookworm - oder???
Any ideas?