..follow me on https://www.twitter.com/linuxonlinehelp

Tag: Debian

Major Bug: UFW stopped thru logrotate

On Debian Sid i have seen that ufw service is stopped on logrotate!! Its a bad known bug! Workaround: Set all Services like Dovecot, Postfix to listen on LOCALHOST (127.0.0.1) if not needed over Internet Enable ONLY encrypted AUTH (Login) to Postfix! (TLS 1.2) Disable unneeded Services ! like Samba, FTP… move config from /etc/logrotate.d/ufw to /root/ to disable ufw logrotate !! edit /etc/ufw/ufw.conf set LOGLEVEL to “off” restart the Server and check open Ports next Days from outside with: $sudo nmap -PN my.server.com

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 […]

Amazon: Cloud Drive Sharing with NFS on Local Network as Photo Uploader Backup

Current the acd_cli tool for amazon drive mount offers no “fsid” (device /dev) point, that you cant export and share the amazon drive at your home local network. On the latest raspberry pi OS (jessie) you can use a small workaround to get a NFS Shared Amazon Cloud Backup Uploader (needs python3.4 !) install acd_cli tools, create the auth file (read) and  run $ sudo acd_cli mount /amazoncloud now create a second Folder /sendtoamazon install nfs-kernel-Server and share this Folder with NFS exports to your LAN on the raspberrypi you can use a cron “move” Job running every 10 Minutes: #crontab -e */10 * […]

Raspberry Pi: Raspian disadvantages of embedded OS

The last 12 month have been a “golden” time of the upcomming embedded linux devices, but the custom OS’s offers some problems, you should know for projects: embedded PC’s like the ARM based pi2 / pi3 uses a own compiled OS not every known debian package is available not all compile scripts to rebuild are available on git slow performance can let you run into unuseable problems (heat, load, I/O), correct written scripts run into freezes without any error made by you! you should take time for a closer look at buying them calc the costs of non-x86 systems, later […]

Ubuntu Debian: Installer Messages during Installation Realtime Debug Installer Mode

If you boot your PC on a Setup CD into “live” mode after some time the Desktop Unity or Gnome starts. After successful testing the PC with the current Drivers and Kernel you can select “Install” by pressing the icon left on the desktop. But here the Problem appear that you dont see any informations about bugs, crashes, or other major messages during the setup. Without this you are not able to find any errors later, or you cant tell a supporter what happend! Workaround (#comments!): Always open a gnome-terminal as first step instead of pressing the installer icon! move the gnome-terminal […]

Debian: Update SSD Firmware without CDROM

If you want to update the SSD Firmware of a device you should know some things: Do you REALLY need the update? Bugs? If NOT exit here! Firmwareupdates can destroy DATA on Drives! Data cant be restored if the Controller fails after Update Downgrade a Firmware to older is most IMPOSSIBLE!! .. now you need a USB Stick 4GB and the ISO File of the Firmware Disk of the Manufacter then open the Gnome Terminal or Console and: $sudo su – #become root $apt-get update && apt-get install unetbootin gparted # install the tools $dd if=/dev/null of=/dev/sdc bs=10240 count=1 # […]