25th Jul2012
Author: Gyro

Samsung SCX-3405W Network Printer & Scanner Installation/Configuration on Ubuntu 12.04

Today we got a new printer from Samsung, one reason being that the Installation CD boasted to support Linux. It's actually the first Samsung printer I ever used, so… the "Linux Installation" turned out to be a non-functional Java Applet, which looks like it is supposed to help setup the Printer to connect to the WiFi… needless to say -- it didn't work, at least not until after I had setup and configured the printer, at which point I didn't need to use it anymore.

I configured the wifi settings of the printer using the USB connection, a Windows PC, and the Windows portion of the Installation CD provided with the printer. After it was configured, I disconnected it from the USB, so there is only the power cable now.

Here is the quick and dirty guide on how to install the Samsung SCX-3405W Network Printer (and Scanner) on Ubuntu 12.04, which should also work for older Ubuntu releases, as well as other Debian based distributions.


Open the sources list and add the Samsung Unified Driver Repository:
# sudo nano /etc/apt/sources.list

deb http://www.bchemnet.com/suldr/ debian extra

Add the Repository Key:
# sudo wget http://www.bchemnet.com/suldr/suldr.gpg
# sudo apt-key add suldr.gpg

Update and Install required packaged:
# sudo apt-get update
# sudo apt-get install samsungmfp-data samsungmfp-driver samsungmfp-network samsungmfp-scanner samsungmfp-configurator-data samsungmfp-configurator-qt4 libsane-extras

After the installation of the samsung drivers are completed, you need to add yourself to the scanner group, replace USERNAME with your user:
# sudo usermod -G lp -a USERNAME

Last Step: Open Dash Home and run the "Samsung Unified Driver Configurator" to setup the printer and scanner.

If you can't find the scanner in the configurator, do the following 3 steps for victory:

# sudo nano /etc/sane.d/xerox_mfp.conf
Add this at the bottom of the file:

# Samsung SCX-3400
usb 0x04e8 0x344f

# sudo nano /lib/udev/rules.d/40-libsane.rules
Add this at the bottom of the file:

Samsung SCX-3400
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344f", ENV{libsane_matched}="yes"

# sudo nano /etc/udev/rules.d/99_smfpautoconf_samsung.rules
Change the line:

ATTRS{idVendor}=="04e8"
to
ATTRS{idVendor}=="04e8", ATTRS{idProduct}="344f", ENV{libsane_matched}="yes", MODE="0666"

Can it find the scanner?
# sudo /opt/Samsung/mfp/bin/netdiscovery --all --scanner

# Network printers discovery utility
# Legend: ip: address slp: detected,ipp,lpr,raw_tcp snmp: detected,devtype,description
ip: 192.168.1.19 slp: 0,0,0,0 snmp: 0,0,0 dsc: "Samsung Samsung SCX-3400"
# Total 1 scanners found, 5s elapsed

I noticed that netdiscovery doesn't always find the scanner right away, so give it a couple of tries. I narrowed this issue down to the power state of the printer, because it powers up from stand-by mode when I search for it… my best guess is: It just takes too long to power up and reply to the first search.

Open "Xsane Image scanning program", or any other scanning app, and scan away…

Enjoy ;)

Sources:
http://www.bchemnet.com/suldr/
http://ubuntuforums.org/showthread.php?t=341621
http://ubuntuforums.org/showthread.php?t=1952312
http://gaggl.com/2012/04/installing-samsung-multifunction-printer-ubuntu-11-10/
http://devhardware.com/forums/peripherals-72/using-a-samsung-clx-3170-clx-3175fn-scanner-via-network-in-ubuntu-263036.html

This post has been viewed 26498 times!

Keep Me Going



Your Name / Website :





50 Responses to “Samsung SCX-3405W Network Printer & Scanner Installation/Configuration on Ubuntu 12.04”

  • Jean Fleurant

    2012.10.15 – Followed these steps and it worked perfectly.

    Printing and scanning are working.

    To be sure my printer/scanner is always available, I’ve assigned a static address in my rooter.

    Thanks for this helpfull page.

  • RNZ

    Did you setup scx-3405w settings for wifi by usb-cable?
    ? you used utility “wirelesssetup” from dvd in box? If yes then say how, please?

    • Gyro

      Hi,
      your question is answered in the 2nd paragraph:
      “I configured the wifi settings of the printer using the USB connection, a Windows PC, and the Windows portion of the Installation CD provided with the printer….”.

      You need to use a Windows PC for the initial wifi configuration, as the “wirelesssetup” tool on the DVD only works once the printer is connected to the network.

      Samsung really doesn’t make friends by misleading customers to think you could set this up without a Windows PC…

      • RNZ

        Thanks! I didn’t paying attention on paragraph 2 when read article, sorry.

      • Odyssey

        Actually, you CAN set it up without Windows PC. You can set it up without USB cable, too. All you need is a router with Wi-Fi Protected Setup (which seems to be a standard feature in wireless routers – in my router it was turned off by default). Pairing the device with router worked as described in printer’s manual, As I had some paper i tray already, it printed configuration page with some important information, such as assigned IP address and IPP URI – nice touch.

        If you don’t have paper at hand, you can check the IP address assigned to printer using router’s configuration interface (it should contain a list of assigned addresses somewhere, if not, sudo nmap -nsP your subnet and look for anything Samsung) and configure it via web browser (standard port).

        Drivers’ installation went quite flawlessly (did it on Ubuntu 12.04 and Arch Linux – Samsung’s Unified Driver is in AUR), Restarted CUPS, on CUPS configuration page (yeah, I use that ;) ) “Add Printer” showed me brand new “Discovered Network Printers” option for Samsung SCX-3400 Series, finished setting it up, printed some pdfs, bang, it works :)

        Scanner works, too – in GIMP I was able to scan things without really configuring anything beforehand, and that kind of spooked me – I was prepared for some heavy tweaking, as none of my previous scanners (old HP’s and Musteks mostly) really worked right from the start.

        There is even an app in Google Play store for those having the urge to print something from Android, though quality of said print leaves much to be desired.

        • Gyro

          WPS can easily get hacked, so for our business network this feature needs to stay deactivated.

          For home use with no sensitive data shared in the network WPS is a good option though, thanks for sharing this solution.

  • Hi, thanks for this install guide. Our SCX-3405W works like a charm on Ubuntu 12.10! (both printer and scanner),

    • Gyro

      Nice to hear :)

      My blog has a bounce rate of over 90%… and I can’t decide whether everyone hates my site, or because they found exactly what they were looking for and had no reason to stay…

      Maybe I should start writing guides that have at least 2 pages :enjoy:

      • Odyssey

        Well, I’m sure there is a simple explanation for all this :) You posted quite detailed solution to a specific problem, one that people usually wants to finish quickly.

        It’s like looking for material for school assignment – most people end up on wikipedia, copy, paste and move on. They do that, because wikipedia article is usually the first search result, and is (usually) comprehensive enough to be the last they look for.

        Also, that right panel, under the ad box – everything in there looks like … well, like ads (and years of surfing the web tend to put some kind of ad-blocker on my eyes, and I’m pretty sure I’m not an exception). It took me a while to realize there is some interesting content there.

        Other than that, your site is quite lovely. And is giving me strange need for black post-it notes. Weird.

        • Gyro

          I’ll see what I can do to make the posts in the sidebar look less like advertisements, maybe put the post titles in larger font above the images.

          I’m still not sure where this site is heading, it’s more or less a notepad for stuff that I do…

          Thanks for the comments :)

  • Jed

    thanks a lot, exactly what I was looking for.

  • J-P

    > sudo usermod -G lp -a USERNAME

    If you want to f.ex. automate that, you can do:
    sudo usermod -G lp -a $SUDO_USER

  • giovanni

    ciao sei un mito e io una pippa totale, però cercando le soluzioni sul web e facendo copia incolla su terminale si impara qualcosa e si risolvono i problemi anche se non si è degli esperti. ora il problema è che non so il significato dei vari comandi quindi non so dove sia il problema di dove sbaglio, la stampante ora e grazie a te mi funziona, ma lo scanner proprio non c’è verso. ho fatto tutti gli step anche più volte ma non c’è verso di far apparire/riconoscere lo scanner. suggerimenti? ps: grazie mille in ogni caso Giovanni

    EDIT GYRO:
    I ran it through a translator, but decided to leave pippa untranslated :)

    hello you are a legend and I’m a total pippa, but looking for solutions on the web and doing copy paste of terminal you learn something and resolve the problems even if you are not experts. now the problem is that I do not know the meaning of the various controls so do not know what the problem is where I’m wrong, the printer now and thanks to you I work, but the scanner just no way. I did all the steps several times but there’s no way to display / recognize the scanner. suggestions? ps: thanks a lot anyway

    • Gyro

      I first had the same issue, that the scanner could not be found by any scanning software. Try “XSane Image scanning program” it was the only one that would work for me, until I did “sudo usermod -G lp -a USERNAME”.

  • giovanni

    per essere pignoli ho usato questa modalità per non sbagliare il mio username, spero vada bene

    ho scroccato questa info da j-p che l’ha postata qui nel thread
    grazie ancora Giovanni

    > sudo usermod -G lp -a USERNAME

    If you want to f.ex. automate that, you can do:
    sudo usermod -G lp -a $SUDO_USER

    • Gyro

      Did you get it to work with your scanning software after adding your username to the scanner group?

      • giovanni

        no it didn’t work but i solved installing the printer and scanner in windows virtualized in virtual box(oracle). it’s my personal solution, not from an expert but it IS a solution. obviously my favourite way to use everything is linux. thanks anyway for your help

  • kamex

    Thank you bery much I have spended several days and complete nights until i found your blog. Long life for you.

  • Paul Saers

    My Ubuntu did find the printer but no scanner. Then I found your instructions, failed because of a typo, tried again and Victory. Thanks a lot for this good quality help. It made my day and now the scanner function is also working. – /Paul Saers

  • Khryo

    I have a Samsung SCX-3405W plugged to my ethernet. Now I can print and scan with GIMP (File/Create/Sane) in LMDE KDE. Thank you very much, Gyro.

  • Mark

    U really GREAT!!! thank I solved the problem!!! really GREAT!!!!!

  • Ken

    Using LinuxMint 14… I had to do MENU….PREFERENCES…PRINTERS… and add the networked printer before the “Last Step”..”Samsung Unified Driver Configurator” would find it.

    The “Samsung Unified Driver Configurator” was located in MENU…SYSTEM TOOLS

    I added the wireless network printer after it was configured to our network by another machine ( a windows 7 machine with a USB cord and the CD that came with the printer)

    Everything was found, no problems. I did not have to do the “If the scanner can’t be found” section.

    Thank you very much for the instructions.

    Thanks for the instructions.

  • dudo

    hi, when i add a new printer, the application crashes, what can i do to solve the problem (sorry for the english)

    • Gyro

      Hello, if you give a step by step explanation of what you did until “the application crashes”, I or someone else may be able to help you. However, to troubleshoot an issue I highly recommend going to Ask Ubuntu, as there are a lot of clever people that want to help you with a specific problem. :)

  • walter

    you are great!!!!!!!!!!!!

  • scarr

    Thank you very much for posting these instructions! I don’t think I could have ever gotten it to work on my own.
    BTW, these SCX3405W laser printers are only $64 (Referbished) at NewEgg.com – that’s cheaper than the cartridge alone at FRY’s

  • Francesco

    The scanner still doesn’t work on ubuntu 13.04… I remember I followed this guide with ubuntu 12.04 and it worked! When I try to edit the last file with the command sudo nano /etc/udev/rules.d/99_smfpautoconf_samsung.rules, the terminal creates a new file and even if I try to add the line manually it doesn’t work!

    • Gyro

      I have not given 13.04 a try yet, but this may be a permission problem. Try this to the file you created:

      sudo chmod 644 /etc/udev/rules.d/99_smfpautoconf_samsung.rules
      sudo chown root. /etc/udev/rules.d/99_smfpautoconf_samsung.rules
      sudo service udev restart

      • Marcel

        Hi,

        Thanks for the tips on this page – after a lot of frustration I now have a SCX-3405 working under Ubuntu 13.04 for printing. However, I can’t get the scanner to work via USB – it shows as a greyed out icon in the Samsung device manager and Xsane just reports an I/O issue.

        Any thoughts or ideas would be appreciated – this is the no wireless version I am trying to sort out.

        Thanks

        • Gyro

          Hi,

          open terminal and type: sane-find-scanner

          does it find a scanner?

          also check these file, they should contain the lines below (add them, if they don’t exist)

          /etc/sane.d/xerox_mfp.conf
          # Samsung SCX-3400
          usb 0x04e8 0x344f

          /lib/udev/rules.d/40-libsane.rules
          # Samsung SCX-3400
          ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”344f”, ENV{libsane_matched}=”yes”

  • Rob

    Hi everybody,

    tryin’ to install scx3405w on latest linux mint (olivia). I have followed the steps from top of this page only to get these, pardon my Polish language in terminal, all it says is couldn’t find packages samsungmfp-data, etc. Could anyone suggest something helpful?

    mienta@eref-RV511 ~ $ sudo apt-get install samsungmfp-data samsungmfp-driver samsungmfp-network samsungmfp-scanner samsungmfp-configurator-data samsungmfp-configurator-qt4 libsane-extras
    Czytanie list pakietów… Gotowe
    Budowanie drzewa zale?no?ci
    Odczyt informacji o stanie… Gotowe
    E: Nie uda?o si? odnale?? pakietu samsungmfp-data
    E: Nie uda?o si? odnale?? pakietu samsungmfp-driver
    E: Nie uda?o si? odnale?? pakietu samsungmfp-network
    E: Nie uda?o si? odnale?? pakietu samsungmfp-scanner
    E: Nie uda?o si? odnale?? pakietu samsungmfp-configurator-data
    E: Nie uda?o si? odnale?? pakietu samsungmfp-configurator-qt4

    • Gyro

      Try doing this:
      1. Add the driver repository
      ~$ sudo gedit /etc/apt/sources.list
      If you do not have gedit, use another editor to open the file.

      paste below line at the end of the file
      deb http://www.bchemnet.com/suldr/ debian extra

      2. Install the GPG key for the repository:
      ~$ wget -O – http://www.bchemnet.com/suldr/suldr.gpg | sudo apt-key add -

      3. Update the repository and try to install again:
      ~$ sudo apt-get update
      ~$ sudo apt-get install samsungmfp-data samsungmfp-driver samsungmfp-network samsungmfp-scanner samsungmfp-configurator-data samsungmfp-configurator-qt4 libsane-extras

  • Frank Cox

    Thanks
    10
    Still not sure what happened. It a new file for Samsung rules so I just added the correction you posted instead of replacing previous code as there was none. It still did not find the scanner and after a few tries I opened Simple Scan just for the heck of it and it worked well !

  • It works fine, thanks a lot!

  • Thanks a lot, it works perfectly on Linux Mint 15 (Cinnamon) :-)

  • Valery

    You saved my day! Thank you

  • hi there,

    i like to install my samsung scx 3400 on a raspberry pi with a debian distribution running.

    when adding this:

    deb http://www.bchemnet.com/suldr/ debian extra

    sudo apt-key add suldr.gpg

    and afterwards trying to :

    sudo apt-get update

    pi@raspberrypi ~ $ sudo apt-get update
    OK http://raspberrypi.collabora.com wheezy Release.gpg
    (…)
    Ign http://raspberrypi.collabora.com wheezy/rpi Translation-de_DE
    (…)
    W: Fehlschlag beim Holen von http://www.bchemnet.com/suldr/dists/debian/Release Erwarteter Eintrag »extra/binary-armhf/Packages« konnte in Release-Datei nicht gefunden werden (falscher Eintrag in sources.list oder missgebildete Datei).

    what can I do?

    • Gyro

      Strange… there is definitely something wrong with the file, as “extra/binary-armhf/Packages” really doesn’t exist – it should be “extra/binary-armel/Packages”.

      Try deleting and re-adding the repo.

      • doesn t work :-/

        any ideas what else i can try?

        • Gyro

          Usually this works as described… as you don’t give any details it is hard to give suggestions, and the comment section is not really the best place to try and troubleshoot individual issues. I would suggest going to a linux forum and starting a thread (or places like serverfault.com), reference this post to let people know what you tried and also let them know where you got stuck or what kind of error/problem you are experiencing, what OS you are using, etc.

          Good Luck :)

  • James Husby

    This was great information for me. I am a “cut and paste” command line guy… Lazy I guess, but you saved WalMart a return on the Samsung printer. I had about given up when I read your blog. Thanks for all the help! James

  • GUENEGO

    Hello,Thanks for this post
    I tried to install on debian wheezy, test page is ok, scanner is ok, but when I print it says print is finished but nothing happens in the printer. Any idea ?

    • Gyro

      Hi, I had that problem before with a different printer, but I don’t recall the solution. When you get it working, please drop a comment with the solution! :)

  • Bobl

    Hello,
    I had a problem to follow the following step:

    # sudo nano /etc/udev/rules.d/99_smfpautoconf_samsung.rules
    Change the line:
    ATTRS{idVendor}==”04e8″
    to
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}=”344f”, ENV{libsane_matched}=”yes”, MODE=”0666″

    in /etc/udev/rules.d/ i just found this guys

    60_smfpautoconf_samsung.rules 70-persistent-net.rules README
    61_smfpautoconf_samsung.rules 99-libsane-samsungmfp.rules

    i checked out the 99 file and find this

    # udev rules file for partially supported USB samsungmfp devices
    #
    ACTION!=”add”, GOTO=”label_end”
    SUBSYSTEM!=”usb_device”, GOTO=”label_end”

    # Samsung CLX-2160
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3425″, ENV{libsane_matched}=”yes”
    # Samsung CLX-3170FN | Samsung CLX-3175FW
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”342a”, ENV{libsane_matched}=”yes”
    # Samsung CLX-3185
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”343d”, ENV{libsane_matched}=”yes”
    # Samsung CLX-3305
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3456″, ENV{libsane_matched}=”yes”
    # Samsung SCX-3200 | Samsung SCX-3205W
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3441″, ENV{libsane_matched}=”yes”
    # Samsung SCX-3405FW
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”344f”, ENV{libsane_matched}=”yes”, Mode=”0666″
    # Samsung SCX-4100
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3413″, ENV{libsane_matched}=”yes”
    # Samsung SCX-4200
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”341b”, ENV{libsane_matched}=”yes”
    # Samsung SCX-4216F
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3409″, ENV{libsane_matched}=”yes”
    # Samsung SCX-4300
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”342e”, ENV{libsane_matched}=”yes”
    # Samsung SCX-4500
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3426″, ENV{libsane_matched}=”yes”
    # Samsung SCX-4500W
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”342b”, ENV{libsane_matched}=”yes”
    # Samsung SCX-4521F
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3419″, ENV{libsane_matched}=”yes”
    # Samsung SCX-4600
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3433″, ENV{libsane_matched}=”yes”
    # Samsung SCX-4623
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3434″, ENV{libsane_matched}=”yes”
    # Samsung SCX-4623FW
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”3440″, ENV{libsane_matched}=”yes”
    # Samsung SCX-4725FN
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”341f”, ENV{libsane_matched}=”yes”
    # Samsung SCX-4824
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”342c”, ENV{libsane_matched}=”yes”
    # Samsung SCX-4825FN
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”343c”, ENV{libsane_matched}=”yes”
    # Samsung SCX-4828FN (4×28 Series)
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”342d”, ENV{libsane_matched}=”yes”
    # Samsung SCX-4833FD
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”344b”, ENV{libsane_matched}=”yes”

    LABEL=”label_end”

    in the following line I already add Mode=”0666″

    # Samsung SCX-3405FW
    ATTRS{idVendor}==”04e8″, ATTRS{idProduct}==”344f”, ENV{libsane_matched}=”yes”, Mode=”0666″

    but nothing changed.

    The Samsung Unified Driver Configuration can not find the scanner.

    With the printer is everthing fine.

    Could you help me?

    Greetings Julian

    • Gyro

      Have you tried running this command?
      ~$ sudo /opt/Samsung/mfp/bin/netdiscovery –all –scanner

      Try it twice, right after another…

      You could also try just running xsane or another scanner app, to see if they find the scanner. I honestly don’t remember if the Samsung Unified Driver Configuration found the scanner at all, and unfortunately I cannot check, as our printer “broke” (someone smashed the glass from the scanner) and we got another model from a different manufacturer now.

      If you get it working, please leave a comment with your solution, it may help someone,too :)

      • Bobl

        Hello,
        i did the command as you said twice. and now the scanne is working.
        Thank you very much.

        Greetings Julian

        • Gyro

          Great!

          From the details you had given, it did sound like you had done everything correctly :)

          The reason you have to run that command twice is, that the printer has some sort of sleep mode, and the netdiscovery doesn’t wait long enough for the printer/scanner to “wake up”, so netdiscovery only finds it the second time around as the printer/scanner is already up.

  • Dan

    Thank you for this!

    Needed to scan. Clicked your link first from a Google search. 5 minutes later, I’m scanning.

  • Kalle

    Works fine with Samsung CLX-3305W in network mode.
    Thank you very much !

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

What is 8 + 11 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)