2

I tried the following answer to disable networking, but an error is thrown when I log in.

systemctl disable dhcpcd

rfkill: cannot open /dev/rfkill: Permission denied

I also disabled Bluetooth and Wi-Fi by adding dtoverlay=disable-bt and dtoverlay=disable-wifi to /boot/config.txt.

Would you happen to know how to fix this?

6

Figured it out!

The issue is triggered by /etc/profile.d/wifi-check.sh.

Here is a fix:

sudo sed -i '2i\ \ \ \ \ \ \ \ exit 0' /etc/profile.d/wifi-check.sh
1
  • Welcome to RPi SE, and congratulations on solving your problem!
    – Seamus
    Mar 4 at 21:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.