Linux: Systemd ignore console-setup settings

If you work on older Laptops and you use a Console only System Setup like on Debian there is a Bug on systemd and the console-setup package since years. After reboot all Font Settings seems gone. But the Settings are not real gone, cause systemd does not pull the settings on boot!

How to fix?

  • edit the crontab of root by

sudo su -
crontab -e

  • insert the /bin/setupcon command on „@reboot“ means on every boot!

@reboot     /bin/setupcon > /dev/null 2>&1 

  • save and exit, reboot now
  • now the PC should echo big Fonts for old eyes „Terminus 20×12 Frambuffermode“

 

Fire TV Stick: Export Audio to external Speakers

If you use a Amazon Fire TV Stick you perhaps want to replace TV Speakers with a Audio System.

Export Audio Firestick TV

To get a 3,5mm Audio Stereo Signal you can take a Ligawo HDMI to DVI Box.

It splits the 2.1 Stereo Audio Signal from digital to 2.1 Analog Signal.

You can plugin:

  • Headphones use at Office
  •  Active Speaker Audio Systems 2.1
  • Recorder (for Music Records of Live Concerts)
  • Laptop to record with free Suite called Audacity free Download for Win+Linux

Audio Record Edit Audacity free tool

Freifunk: Openwrt Router Setup Mesh Wifi Meshing

Many of Users have asked me what are the Advantages of using Freifunk WIFI Routers at Home?

freifunk

One of  my answer’s is that the Freifunk OS Openwrt SUPPORT the „MESH“ Technology! This is mostly offered by high end WIFI Accesspoint’s or Industrial Devices. Mesh is a Communication Protocol where minimum 2 Devices handle WIFI Access Connections to a WIFI Endpoint (Client, like a Tablet)

There are 3 supported „Mesh“ Types:

  • Mesh connects between LAN Ports
  • Mesh connects between WAN Ports
  • Mesh connects between WIFI (default)

Here you see a Mesh Map of a Mesh Network (Public Admin Webpage Meshviewer):

Mesh Network Freifunk

Advantage by Mesh over Wifi (Default):

  • If you Setup 3 Routers at Home this opens a Mesh over Wifi like a triangle:
  • Mesh Openwrt 3 Routers
  • If here a user move the Client between the Rooms of a Home, he don’t need to switch the to the strongest Signal of Wifi, cause the Mesh handles the Access to best signal.
  • If you use more Routers, you get a „Crossover Mesh“ like this, which offers „Failover Mesh Network“
  • Mesh Openwrt Crossover Network
  • These Mesh connects can be easy done by, Wifi to Wifi, LAN to LAN or WAN to WAN Ports (both over a Cable)!
  • For WAN/LAN usage you must enable switches at the Advanced Admin Interface of the Freifunk Software!
  • Remark: Enabled LAN/WAN MESH disable WIFI MESH!
  • To connect successful all Routers, boot first the Router 1 with direct Internet Access! Then the Satellite Routers!

More Infos and Details read the Freifunk Wiki Meshing Mesh Network Openwrt

 

Linux: Bash Script Time Saver Session Timer

If you use daily the Internet you know how fast the Time passes. The Internet Research can grab a lot of time without that you feel it. Thats wasted time!

For saving Time on Linux you display a Timer Message on the User Screen after some Time, which let you remark that XX Minutes are gone.

The Linux Tool who can offer this is called „gxmessage“

Howto:

  • Install gxmessage if not installed with $sudo apt-get install gxmessage
  • open the root Crontab with $crontab -e
  • Enter this code (Username = User!):

*/10 * * * *    sudo -u username DISPLAY=:0.0 gxmessage -center "Again 10 Minutes gone.." > /dev/null >2&1

  • After 10 Minutes left, the popup remind you to close your work or Internet Session
  • Perfect Tool for Children to remind them to close the Laptop
  • gxmessage time saver timer

Ubuntu: Release Change

If you use Ubuntu on your Systems, you perhaps read last weeks about a new Release Version.

I am often asked, must i upgrade now?

My answere at first is not really, cause the new Versions are not cleaned up by all bugs and the User or Admin must recheck against the new advantages of the new Releases for production usage. I prefer to wait 3 Month after a Release by Ubuntu is published. But if you setup a very new Hardware your are often forced to take the LAST Release Version, cause it supports newest Hardware Chips by the latest Kernel (for example Laptop mixed Chips Wifi/Bluetooth/USB3.0).

Remark: You should read the „release notes“ of the Versions, cause this can prevent you from running into trouble or „black screens“.  DONT forget to Backup the old OS if you try to start the Upgrade. Fresh Setup’s are often smaller and more free of Bugs as „upgraded Systems“! Cause sometimes the old Configs are not all updated or replaced! (User-Homes). New Releases can allocate MORE Disk Space and offer new Call Home Sniffing Tools, RECHECK open Ports, running Processes and Privacy Settings!

On Companies you must always setup a „Lab PC“ for Testing the new Releases before rolling out the OS.

Print this Release Timeline out to be updated daily..

ubuntu releases timeline
ubuntu releases timeline

Raspberry Pi: Resize Shrink SDCard Image Clone Backup Noobs

If you own a raspberry pi, in some cases it is useful to shrink the sdcard, cause you need often not more than 8/16GB.

What do you need and how to solve shinking or extending the OS:

Hardware you need:

  • 2 empty SDCards (Source + Dest.)
  • 2 SDCard Adaptors Micro-SD to SD Fullsize
  • 2 SD-USB Card Readers, i use them for stable work, cause USB SDCard Readers on Laptops often fails (Shared Sources)
  • 1 Laptop with Ubuntu CD inside the CD-Rom or installed ubuntu with gparted
gparted raspian shrink sdcard
gparted raspian shrink sdcard
gparted shrink progress pi
gparted shrink progress pi

Howto:

  • Plug the Cards into the Adaptors and into the Readers, connect to the Laptop
  • Boot ubuntu and rund $sudo gparted
  • On the destination SDCard (/dev/sdd) create a new msdos Partition Table, (Top Menu gparted)
  • Switch on gparted to Source SDCard (/dev/sdc) where noobs / raspian is
  • Copy first the primary and the last partition to the sdd-disk on same area! (start Bootloader + end Config)
  • Create on sdd at the middle area a new „extended“ partition
  • Go to Source Card sdc and Shrink the patition at the middle near to the „yellow“ area!
  • Enter at Menu the green arrow to start gparted work! Take a coffee now..
  • If gparted is ready the LED Controls of the Adaptors stop blinking! Copy the shrinked partition to sdd paste it into the extended partition
  • Here you can expand the middle partition to all free grey space
  • Enter the green arrow on menu to start gparted work again..
  • If ready (LEDS not blinking), close gparted plug out the cards, and use them to boot the PI

Remark:

  •   Do ALWAYS have a 2nd working Card for the PI as FULL BACKUP!! If a Update fails you are online by restore the SDCard in 10Minutes!!!

Feedback:

  • Mail me Errors if iam wrong..