Yeah I just decided aswell to keep the crappy dhcp server of the telekom router, which can´t for example assign static ips. Reason is that somehow my pi zero w usually connects to the wifi without a problem and then out of nowhere just does not work anymore. Actually kind of clueless why. However when that happens there is no dhcp server anymore killing everything
ah the problem is that I do not have a static ip for the pi. I did try to set it in the /etc/dhcpcd.conf with
hostname
clientid
persistent
option rapid_commit
option domain_name_servers, domain_name, domain_search, host_name
option classless_static_routes
option ntp_servers
option interface_mtu
require dhcp_server_identifier
slaac private
interface wlan0
static ip_address=192.168.2.2/24
static routers=192.168.2.1
static domain_name_servers=127.0.0.1
However after rebooting it still keeps 192.168.2.102
I did try to set it in /etc/network/interfaces aswell as
auto wlan0
iface wlan0 inet static
address 192.168.2.2
netmask 255.255.255.0
gateway 192.68.2.1
and then deactivate dhcpcd for wlan0 with
denyinterfaces wlan0 in /etc/dhcpcd.conf.
But it still does not work
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.