Note to self:
How to find the Raspberry Pi Model :
cat /proc/device-tree/model
Note to self:
How to find the Raspberry Pi Model :
cat /proc/device-tree/model
no need to create groups just:
setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
I did NOT want my Raspbian Jessie install to automatically boot into the GUI, and I did Not want it to autologin.
I know I can run raspi-config to change it, but I like to script things! I finally tracked down the code for the new raspi-config that supports systemd. It can be found here .
Here are the commands to change what used to be the run level.
Console
systemctl set-default multi-user.target ln -fs /lib/systemd/system/[email protected] /etc/systemd/system/getty.target.wants/[email protected]
Console Autologin
systemctl set-default multi-user.target ln -fs /etc/systemd/system/[email protected] /etc/systemd/system/getty.target.wants/[email protected]
Desktop
systemctl set-default graphical.target ln -fs /lib/systemd/system/[email protected] /etc/systemd/system/getty.target.wants/[email protected] sed /etc/lightdm/lightdm.conf -i -e "s/^autologin-user=pi/#autologin-user=/"
Desktop AutoLogin
systemctl set-default graphical.target ln -fs /etc/systemd/system/[email protected] /etc/systemd/system/getty.target.wants/[email protected] sed /etc/lightdm/lightdm.conf -i -e "s/^#autologin-user=.*/autologin-user=pi/"
Hope that helps someone.