Embedded Software & Hardware

allpcb.com - World's Fastest PCB Manufacturing allpcb_logo

Linux autologin

$ systemctl cat getty@tty2 | grep Exec
ExecStart=-/sbin/agetty --noclear %I $TERM

$systemctl edit getty@tty1

And add for user "anok":

ExecStart=-/sbin/agetty -a anok --noclear %I $TERM

$cat /etc/systemd/system/getty@tty1.service.d/override.conf

Disable Consistent Interface Device Naming

GRUB_CMDLINE_LINUX="text net.ifnames=0"
Welcome message

cat /etc/update-mot.d/00-help...

You also need to add i915.modeset=0 nouveau.modeset=0 to the Linux command line options to stop the graphics mode being reset otherwise the screen resolution will change about half way through the boot process.

GRUB_CMDLINE_LINUX_DEFAULT="i915.modeset=0 nouveau.modeset=0"

ip a
netplan apply

© 2003-2017 Andrzej Okrutny, Krakow POLSKA