-1

my problem is that my wifi is only getting an IP address if ethernet cable is also plugged in. I have checked many sides, but the solution below is not working. (funny thing, I have reinstalled this pi, and before this, this problem was not present)

Maybe Have you any idea how to fix this?

RETTY_NAME="Raspbian GNU/Linux 10 (buster)"

pi@raspberrypi:~ $ more /etc/dhcpcd.conf | grep -v # hostname clientid persistent option rapid_commit option domain_name_servers, domain_name, domain_search, host_name option classless_static_routes option interface_mtu require dhcp_server_identifier slaac private allow-hotplug eth0 #(or with wlan0) auto wlan0 #(or without) interface wlan0 static ip_address=192.168.178.99/24 static routers=192.168.178.1 static domain_name_servers=8.8.8.8 8.8.4.4

pi@raspberrypi:~ $ more /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=DE network={ ssid="xxxxxx" psk="xxxxxxx" }

/edit

I have no access to the device when this problem happens

It’s plain simple direct local lan connection

Update

so i just have found out that the PI is getting the right ip, and my pc is getting the arp entry but the communication with the pi is not possible

1v4n
  • 1
  • 1

1 Answers1

0

If someone is interested- that problem was that the pi have even not booted without the cable

And it was caused due too a headless static ip entry Inside cmdline.txt - which I have used right before the first boot

1v4n
  • 1
  • 1