Category: Howto

Debian: without sytemd

If you run Debian Servers, you read last weeks about security problems of systemd service manager. On several tests i have seen much systems having problems on service starts on boot like on debian, raspian .. This is a result of not clean redesigned scripts of the services by the Maintainers like the Proxy Server “privoxy” Package… For Tests i decided to try the new Debian Fork Replacement DEVUAN  for Desktop and a standard Debian Server Setup without systemd! Howto purge Systemd on a Debian System read this external Wiki: http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/sid_installation or try Devuan for Server and Desktop: https://devuan.org/ Remark: […]

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”  

Nvidia: Legacy Driver Debian 9.0 Stretch Kernel 4.9 Bug Interface

Current is a UNFIXED Bug on Debian 9.0 Stretch which makes impossible to easy install DKMS Nvidia-Legacy Drivers 304/340 for older Geforce Cards https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852152 To run nouveau on upgrade 8.0 to 9.0 go to /etc/modprobe.d and remove MANUAL all blacklist configs (*.conf) of nvidia cause some glued on upgrade and are not purged automatic by the upgrade. Cause they will block nouveau load at boot (xserver-xorg-video-nouveau) Then run on Terminal: $sudo update-initramfs -u -k all $sudo update-grub $sudo reboot Remarks: Older Hardware isn’t supported by Legacy Drivers after Nvidia-375!! If you not forced to upgrade to 9.0, then WAIT! up […]

Fritzbox: Easy USV UPS AVM 7490 Battery Power

If you use a Router with IP Phones you perhaps want to have a Power Storage for up to 60 Minutes to use IP Phone or WIFI on Power Failures?? Major Info: Check the Router DATASHEETS! the Battery Voltage on loading should never go over maximum!! Some Trafo wind up to 14Volts and more! This DESTROYS the DSL MODEM CHIP !!!! The 10 Cell AA Batterholder allow to connect 9 Cells! Connect the Wire to only 9th Connector 9x AA 1,26V let the Router work The Modem is protected cause the Circut runs under 12 Volts! 11,25 – 11,5V, the […]

Security: Disable USB Drive mount for Users

If you share your Systems and you want to disable USB Drive connects there is a small solution. By default the gvfs Service handle all automounts and drive scans. On old Linux Systems you could purge the complete gvfsd “Backend” but Ubuntu-Desktop forces some pakets to the default Desktop Package! If you purge it the working Desktop can be destroyed! It’s easier to disable the “USB Drivers” called Modules from load on Start! Cause Rules are “Software” and can FAIL unknown!! Howto? Edit the /etc/modprobe.d/blacklist.conf and add: blacklist usb_storage blacklist uas Update initramfs (Kernel Image) update-initramfs -u -k all reboot […]

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. 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

Security: Isolated Browser eMail Programs

If you want to be more secure, on Linux you can isolate used programs on different Users! All you need is installed by default! Howto: Add a new User for eMail and Browser to the System with: $sudo adduser mailuser $sudo adduser webuser now install if not installed by default “gksu” User Switch $sudo apt-get install gksu copy now the default App Links to webuser’s Home Desktop, for mailuser enter mailuser’s name $cp /usr/share/applications/firefox-esr.desktop /home/webuser/Desktop/firefox-esr.desktop edit the firefox-esr.desktop by right click on nautilus or a editor and change command line: old: /usr/lib/firefox-esr/firefox-esr %u to: gksu -u webuser -w "/usr/lib/firefox-esr/firefox-esr %u" […]

Security: Protection Against Cryptware Wannacry

You heard perhaps last day’s about the major problems of Attacks to Systems with the “WannaCry” Crypto Ware Howto protect yourself? Enable the Firewall on Windows Systems!! Always! Update daily the Virus Scanners and Windows Patches! Disable and CLOSE Ports you never need! SMB Protocol is a open unencrypted Transfer Protocol! Use a second Router with Firewall behind your ISP Router or Modem! (openwrt, pfsense) Check with nmap Portscanner Tool the taken Rules and check if the work! For Network Access use ALWAYS SFTP with Authentification over KEYs Logins (Two Factor: Key and Password for unlock the Keyfiles id_rsa) For […]

MediaWiki: Purge All Users hold Page Content

If you use MediaWiki to hold your Infos, you perhaps want to Mirror the wiki to other Locations or drop all Users but hold the Content? You can do it with onboard tools: On the Source: Login into the Console of the Webserver go to /webspace/wiki/maintenance run here: php  dumpBackup.php –full > backup.xml tar or rsync the image folder to destination Webspace copy backup.xml to the destination Webspace if you not have done, install MediaWiki new on the destination go to the /webspace/wikinew/maintenance paste backup.xml here restore the backup: php importDump.php backup.xml run rebuild Database: php rebuildrecentchanges.php cleanup Caches: php […]

Chrome Browser: Disable Password Passphrase Autologin Seahorse

Today i got a call and was asked how to STOP Seahorse from asking with a Passphrase Popup after opening Chrome or Chromium Browser: Seems that google implementated a new Tool for Security to Prevent Access to STORED Browser Passwords, BUT this won’t work on Desktops with USER AUTOLOGIN like Lightdm! Howto: open a Terminal an enter ln -s /usr/share/applications/google-chrome.desktop /home/username/Desktop/google-chrome.desktop Now open the new Icon on the desktop with the mouse right click Change Command Line for Chrome : google-chrome-stable –password-store=basic %U or for (chromium): Now open the Browser with the new Icon Link On Ubuntu you can hold the Icon […]

Google: Chrome Browser RSS Reader

If you use a Chrome or Chromium Browser, the google RSS Extension can help you to stay “up to date” Howto install: Open the Browser and enter: chrome://extensions select “get more extensions” now on the App Store filter “by google” left and search rss google install it then you will find the installed tool on now go to a Website like https://www.linuxonlinehelp.de/feed/ grab the RSS feed by touch on the right shown Icon SAVE NOW the current URL “chrome-extension://…”  without to subscribe to the Browser local URL Toolbar! (Offline, needs no Account!) The Reader Plugin convert the RSS XML to HTML! […]