Category Archives: Uncategorized

Samsung CLX 3185FN LAN access with Ubuntu 17.10

The official Samsung driver (universal linux driver ULD) does not support access to the printer/scanner functionality via LAN. Seems, this driver supporting  devices attached via USB.

For LAN access, just the Open Source Samsung Universal Linux Driver (SULD) is working for me (project page at

If you intend to install the SULD,  you will need to perform the following steps (sudo-permissions are required on your host):

Install the packages libsane-extras, and xsane

sudo apt-get intall libsane-extras
sudo apt-get intall xsane

Install the SULD driver following the instructions from project

The following steps must be performed, namely adding the SULD repository to your resource list, add the signature-key to your truststore, update the local database, and finally the installation of the  suld-driver.

sudo bash -c 'echo "deb debian extra" >> /etc/apt/sources.list'
sudo dpkg -i suldr-keyring_2_all.deb
rm -f suldr-keyring_2_all.deb
sudo apt-get update
sudo apt-get install suld-driver-4.01.17

Now add your user $USER to both groups “scanner” and “lp” (will require logout or reboot)

sudo usermod -a -G scanner $USER
sudo usermod -a -G lp $USER

After reboot and login, the tool “xsane” should discover the scanner, and you should be able to choose the printer in setup-tool.

Converting sequence of images to video


First rename all images, starting with counter 0000, then use ffmpeg to create the video

# Rename all images in local folder to format IMG_0000.JPG, etc.
for datei in `ls` ; do 
   neuname=$(printf "IMG_%04d.JPG\n" $zaehler); 
   echo "$neuname"; 
   mv $datei $neuname; 
   zaehler=`expr $zaehler + 1`; 

# Convert images to video-stream, using framerate 4
ffmpeg -framerate 4 -i IMG_%04d.JPG -c:v libx264 \
    -profile:v high -crf 20 -pix_fmt yuv420p output.mp4


Samsung CLX-3185FN with Ubuntu-17.04

With Ubuntu 17.04 network-printer support for Samsung CLX-3185FN multi-functional-device works out of the box, except its  scanner is not discovered by tools like Simple-Scan.

To get the scanner discovery working, install the driver from “Samsung Unified Linux Driver Repository” (SULDR)

Configure package source as documented at:

Finally install the driver package suld-driver2-1.00.36.

Afterwards starting the GUI tool “Simple Scan” the scanner-device should be discovered in the network.

Howto virt-builder debian-9 using serial console

I am using the Virtual Machine Manager (virt-manager) on the Ubuntu distro. The documentation is sparse regarding the setup with debian-9 guest systems (systemd based) using the virt-builder but with ‘none’ graphics support. Most blogs refer to ‘adding kernel parameters to /etc/inittab’ but this SYSV-config-file does not exist any longer since transition to systemd. It is required to set kernel parameter  that redirect  console IO  to  ttyS0.  With systemd this can be  achieved defining grub-default-parameters in file /etc/default/grub and re-creating the grub-menu-config.

Building the image:

sudo virt-builder debian-9 -v -x -o my-image.qcow2 --hostname dnssv.intern --root-password password:root --install "bind9,bind9-doc,dnsutils" --edit '/etc/default/keyboard: s/^XKBLAYOUT=.*/XKBLAYOUT="de"/' --edit '/etc/default/grub: s/^GRUB_CMDLINE_LINUX_DEFAULT=.*/GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"/' --run-command '/usr/sbin/update-grub2'

Installing into virtual machine manager:

virt-install --name dnssrv --ram 256 --disk path=my-image.qcow2,format=qcow2 --import --graphics none

Instead of graphical windows with scaled fonts, on startup you should see a simple text console.

The tooling is available installing the following debian packages
sudo apt-get install libguestfs-tools
sudo apt-get install virt-manager