As Foss-freedom asked in my last post, here’s what I’ve done to resuscitate an old and light netbook that I’ll use when out-of-office for work to connect to switches. It must be light (I mean little weight) the way I can take it in my bag and old because of serial port (hélas only available on old pcs, nowadays).
Since I’ll use it to connect to switches via telnet or serial cable, I had non necessity to have so complete DE: a minimal budgie was sufficient, just I added remmina and a browser (in case of emergency, even if every browser is too resources-eater nowadays). On text side, I’ve added also lynx (depending on network, often I must authenticate to get internet access).
So here is how I did:
- install from mini.iso (choose ubuntu budgie in tasksel for having minimal budgie as DE)
- disable lightdm (systemctl disable lightdm.service)
- add in /home/user a .xinitrc file like this:
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x “$f” ] && . “$f”
- delete “quiet splash” from /etc/default/grub then update-grub (I don’t like splash boot)
at next boot will start in text mode.
Start DE with startx command, then connect from NM at least once (to save /etc/NetworkManager/system-connections/Connection_name for not being obligated to create it by hand from terminal) then exit with Disconnect.
for connecting/disconnecting to wifi network, use nmcli (see man nmcli):
nmcli con up id Connection_name
nmcli con down id Connection_name
nmcli -o dev (gives device list and status)