Samsung SCX-3405W Network Printer & Scanner Installation/Configuration on Ubuntu 12.04
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
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.
# sudo nano /etc/sane.d/xerox_mfp.conf
Add this at the bottom of the file:
usb 0x04e8 0x344f
# sudo nano /lib/udev/rules.d/40-libsane.rules
Add this at the bottom of the file:
ATTRS{idVendor}=="04e8", ATTRS{idProduct}=="344f", ENV{libsane_matched}="yes"
# sudo nano /etc/udev/rules.d/99_smfpautoconf_samsung.rules
Change the line:
Can it find the scanner?
# sudo /opt/Samsung/mfp/bin/netdiscovery --all --scanner
# 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
282094
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.
Glad it helped you get it sorted.
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?
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…
Thanks! I didn’t paying attention on paragraph 2 when read article, sorry.
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.
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),
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
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.
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
thanks a lot, exactly what I was looking for.
> sudo usermod -G lp -a USERNAME
If you want to f.ex. automate that, you can do:
sudo usermod -G lp -a $SUDO_USER
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
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”.
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
Did you get it to work with your scanning software after adding your username to the scanner group?
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
Thank you bery much I have spended several days and complete nights until i found your blog. Long life for you.
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
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.
U really GREAT!!! thank I solved the problem!!! really GREAT!!!!!
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.
hi, when i add a new printer, the application crashes, what can i do to solve the problem (sorry for the english)
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.
you are great!!!!!!!!!!!!
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
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!
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
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
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”
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
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
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) :-)
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?
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?
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
Habe das gleiche Problem mit einem SCX -4500.
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).
Haben Sie eine Lösung gefunden?
Hi,
http://www.xappsoftware.com/wordpress/2013/01/31/armhf-versus-armel/
“…the armhf architecture is faster than the armel one, but it lacks the compatibility with the old architectures.”
Der Treiber von bchemnet ist fuer “armel”, aber Sie nutzen “armhf”. Ich denke nicht, dass die bchemnet Treiber funtionieren… falls Sie eine Loesung finden, wuerde ich mich SEHR freuen diese in Form eines Kommentars zu erfahren. Ich bin mir sicher, es koennte Anderen mit dem selben Problem helfen.
MfG,
Gyro
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
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 ?
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!
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
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
Hello,
i did the command as you said twice. and now the scanne is working.
Thank you very much.
Greetings Julian
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.
Thank you for this!
Needed to scan. Clicked your link first from a Google search. 5 minutes later, I’m scanning.
Works fine with Samsung CLX-3305W in network mode.
Thank you very much !
Congrats!! I followed your instructions and my Samsung SCX-3405 FW works perfect (in wireless mode of course) both the printer and the scanner with Linux Mint 16 Chinammon.
Thanks again
Elmo Vigiani
Hi, it works in Ubuntu 14.04. Thank you for the tutorial!
Thanks for your comment, good to know it still works with the new LTS Ubuntu!
Thanks a lot for your help, but I got a strange result. I am using Debian wheezy. After following your lines, when I tried to detect and install the printer with the printer system , it saw the printer but could not install it. Either with the cable, or with the wifi. BUT I have been able to scan with sane. My printer is a SCX-3405.
I am not a geek, but saw possible explanations. Like Francesco, I created the file /etc/udev/rules.d/99_smfpautoconf_samsung.rules, but then I did as you said…Or, is it that the file for the SCX is the suld-driver-4.00.36 but the file which is used is the newer suld-driver-4.00.39? Or is there a difference using Debian???
Well, I am lost. Thank for your help.
Hi,
you can scan but not install the printer?! That is really strange…
I have no experience with Debian, but since Ubuntu is based on Debian I would expect it to work the same way. I don’t think it has to do with the driver version, we have since used the same driver as you on Ubuntu to install the printer on new desktops.
The comments here are not really a good place to troubleshoot this issue… I would suggest to use a popular debian forum and maybe reference this page. If you get this sorted out, I would love to hear how you did it, may help other Debian users who have the same issue as you in the future.
Hi, It seems that the file /etc/udev/rules.d/99_smfpautoconf_samsung.rules I created was giving trouble with the rules. So I first removed it.
Then I used cups to setup the printer. Cups did find the printer, and did set it up as locale. But next step, the printer does not print and is said no-busy.
So, I set it up as a net printer and it worked.
Thanks a lot,
Hi, thanks for the update.
I am happy you got it working!
Wow! This works! Thanks!!
Hello! Thanks for the tutorial, it is very helpful, but I have a problem:
everything works fine, except finding the scanner. This error happens everytime when I do “sudo /opt/Samsung/mfp/bin/netdiscovery –all –scanner”:
# ERROR: snmp_send failed, Cannot assign requested address
No log handling enabled – turning on stderr logging
snmp_send: Failure in sendto
when I run the samsung configurator, or any other scan software, like xsane, they just close with no warning.
Can any of you help me with this situation?
You forgot to mention to allow UDP traffic from the scanner on all ports
with IPTABLES:
sudo iptables -A INPUT -p udp -s X.X.X.X -j accept
with UFW:
sudo ufw allow in from X.X.X.X proto udp
Where X.X.X.X is the scanner IP
I did not have to adjust my firewall settings at all.
I guess it depends on how your firewall settings were prior to installing.
Thanks for sharing.
Thanks a lot for this, just got it working on Ubuntu-14.04.3!
But the “Samsung Unified Driver Configurator” didn’t work, kept crashing! Found out in bchemnet forum that you didn’t need it to add printer, but to use in the printers settings applet! Even better, the scanner was also working!
Cheers
Nice to hear this is still working on newer versions of Ubuntu.