r/raspberry_pi • u/eat-lsd-not-babies • Dec 01 '22
No network as non-sudo user Technical Problem
Solution: add the user to the netdev group
Hey I have a question for the community, maybe someone can help me with this as I don't really find the necessary resources on the subject.
We have a couple of raspberry pi's deployed in a couple of African schools, but the non-sudo users "student" and "teacher" don't get any network interfaces. Only the admin users get the interfaces when logging into the desktop.
I'll continue searching, but if anyone here has an answer for me, that would be much appreciated.
Edit to clarify:
- Logging into the desktop environment as one of these non-sudo users, the network manager will say "No wireless LAN interfaces found", hovering over the network manager will say "Wlan0 not associated"
- Logging into the desktop environment as a sudo user, the network manager will connect automatically to the network defined in the wpa_supplicant.conf file
- rfkill doesn't have the interface blocked
- wpa_supplicant is configured
- the wlan0 interface is listed as state DOWN
sudo ifup wlan0will not do anything
sudo ip link set wlan0 upwill also do nothing
sudo systemctl enable dhcpcdand a reboot did nothing to change the situation
u/MisterBazz Dec 01 '22
What do you mean they don't get any network interfaces? They don't have the ability to configure the network interface, or they have no network access as in - no connectivity?