Showing posts with label sane. Show all posts
Showing posts with label sane. Show all posts

14 August 2019

Ubuntu 14.04.6 upgrade to 16.04

Because of Ubuntu 14.04 no longer receiving security updates, I had to upgrade to 16.04. In general the experience went fairly smoothly, except for the heart wrenching error messages about sane failing to upgrade and leaving the system in a bad state. However, that did not seem to be the case, as the system was able to reboot fine.

However, not everything was working.

MythTV:
  • Error: Webpages say: !!NoTrans: You are missing a php extension for mysql interaction. Please install php-mysqli or similar!!
  • Error: Webpages say: contains nonaggregated column

Sane (scanning):
  • I accidently left a computer running xsane connected, so that may have been the reason it failed
  • It worked after telling systemd to start it
    • sudo systemctl start saned.socket
    • sudo systemctl enable saned.socket
    • sudo systemctl status saned.socket

Web Services Dynamic Discovery (wsdd):
  • Error: systemd would fail to start wsdd, but running it directly ran fine
    • edited /etc/systemd/system/wsdd.service to change group from nobody to nogroup
    • reloaded changes: sudo systemctl daemon-reload
    • started daemon: sudo systemctl start wsdd
    • checked status: sudo systemctl status wsdd

Software Updater:
  • Error: Not all updates can be installed
    • sudo apt dist-upgrade

Update 2020-05-30:
To fix wsdd, I also had to disable it listening on IP6 address. To do this I edited /etc/systemd/system/wsdd.service
  • ExecStart=/usr/bin/wsdd --shortlog -4
  • You could also have it just sleep before starting per this issue: https://github.com/christgau/wsdd/issues/18

29 April 2011

Setting up a Samsung SCX-4623F under Ubuntu

I got a new Samsung SCX-4623F Multi-Function Monochrome Laser Printer from Office Max for $50 + tax after a trade-in of an extremely old ink jet printer.

My goal was to set it up as a shared printer/scanner for several Windows XP/7 computers. Below is how I was able to accomplish this.

Server Edits:

  1. Downloaded the Unified Linux Driver from Samsung's website: Samsung

  2. Ran that install process to install the drivers

  3. Did not use the install to add the printer

  4. Used Ubuntu's add printer wizard

  5. Ensured that the printer was shared

  6. Added the following lines into /etc/sane.d/xerox_mfp.conf:
    #Samsung SCX-4623F
    usb 0x04e8 0x3434

  7. ran xsane to ensure scanner was working

  8. Editted /etc/sane.d/saned.conf to add the subnet to share the scanner on. In my case it was: 192.168.1.0/24

  9. Added the sane user to the following group:
    sudo adduser saned scanner

  10. created /etc/xinetd.d/saned with the following:
    service saned
    {
    socket_type = stream
    server = /usr/sbin/saned
    protocol = tcp
    user = saned
    group = scanner
    wait = no
    disable = no
    }

  11. started the sane service:
    sudo service saned restart



On the Windows PC's:

  1. Installed the windows print driver from: Samsung

  2. Added the printer from the network

  3. Installed xsane on the C drive

  4. Editted net.conf to point to the ip address of my server


That's It! Enjoy printing and scanning from anywhere on your network!