Stretch and network names

The Raspbian Stretch network interface name is generated from your MAC address for that interface and it’s no longer easy to guess. While this was done to please the enterprise Linux users and their behemoth alike setups, it’s game breaking for many of us – Raspberry Pi users. Each time a piece of code would refer to the interface by eth0/wlan0 – it fails miserably on the new Raspbian Stretch.


The best solution to this is to disable the Raspbian Stretch network interface name changes at the boot level. You can do this by removing the SD card and adding this line to the cmdline.txt file:


This will disable the new way of naming things and restore the old settings. You don’t have to reinstall the Stretch again. The changes will apply after the next reboot.

SSH and VNC from Windows and Android phone

Enable SSH by placing file ssh in /boot

Enable VNC with Pixel – Preferences – Raspberry pi Configuration – Interfaces or sudo raspi-config Interfacing options

Playstore Real VNC Viewer


Clear system

dpkg-query -W --showformat='${Installed-Size;10}\t${Package}\n' | sort -k1,1n
Others I found on the way:
dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n
dpkg-query --show --showformat='${Package;-50}\t${Installed-Size} ${Status}\n' | sort -k 2 -n |grep -v deinstall

Arduino Things

I just bought a Pimoroni RainbowHAT and am now waiting for it to arrive from the UK!

Here I found an excellent first getting acquainted with this platform: