-
Notifications
You must be signed in to change notification settings - Fork 4
Useful Commands
Mikael Håkansson edited this page Mar 13, 2019
·
4 revisions
sudo less -S /var/log/syslog.1
sudo cat /var/log/syslog.4.gz | gzip -d - | less -S
sudo cat /var/log/syslog | grep -v modemManager | less -S
scp [user]@[hostname]:/var/syslog/syslog.1 /[destination]
nmcli con mod 'Wired connection 1' ipv4.addresses 10.0.0.2/24
nmcli con mod 'Wired connection 1' ipv4.method manual
nmcli con up 'Wired connection 1'
First check which partition is used for bootloader:
admin@9QMW802:~$ efibootmgr
BootCurrent: 000A
Timeout: 1 seconds
BootOrder: 000A,0000,0006,0007
Boot0000* factory_restore
Boot0006* IP4 Realtek PCIe FE Family Controller
Boot0007* IP6 Realtek PCIe FE Family Controller
Boot000A* snappy_ubuntu_core
In the sample above the bootloader is at address 0 (factory_restore)
Next set the factory_restore partition to be used on startup:
sudo efibootmgr -n 0
Last step reboot:
sudo reboot