Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-06-2018, 08:04 AM   #1
Registered: Nov 2017
Location: Blue Mountains, Australia!
Distribution: Mint 19
Posts: 150

Rep: Reputation: Disabled
Sharing folder on network for scanning from netwirk printer Linux Mint

Hi there again, wonderful Linux World! Thanks for all the help so far!
Here is another question from a newbie and a pc "Dummy".
I need to be able to scan from my network printer/scanner to a folder on Linux Mint machine on the network.
I went to the sharing option in Nemo, it asked to click install Samba which I clicked, it seemed to do it, asked me to log out and in.
Then I ticked the two options in the Sharing tab in Nemo (allow read/write and allow guest access).
Now - what is the name of the folder on the network that I need to enter into the network printer/scanner interface?
In old Window$, the sharing option in the File Explorer displayed the folder name on the network (eg \\MyPc\Scans. I entered that into the scanner interface and it worked.
What is the procedure with Linux? The folder is on my desktop, its address there is /home/me/Desktop/Scans. I am using Linux Mint Cinnamon.
Old 01-07-2018, 02:33 AM   #2
Senior Member
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,813

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
It will take the same form. In general, something like
\\<IP address>\path\to\folder
If you want to refer to a Linux machine via a hostname then you’ll need to configure a netbios name in /etc/samba/smb.conf and ensure the samba share is suitably configured so the scanner has the requisite access. This guide might be helful to you...
1 members found this post helpful.
Old 01-07-2018, 05:07 AM   #3
Registered: Aug 2002
Posts: 18,938

Rep: Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862Reputation: 2862
In addition, make sure the firewall if running allows samba traffic.
sudo ufw allow samba

The configuration file nemo uses when the share is created is /var/lib/samba/usershares. I have not played with nemo and I do not know what the actual share name is created.

By default samba uses the hostname as the netbios name but as suggested use the IP address in case the scanner can not automatically resolve the netbios name. If that is the case you should configure the Mint computer with a static IP address. Most routers DHCP server have an IP address reservation capability.
1 members found this post helpful.
Old 01-07-2018, 06:50 PM   #4
Registered: Nov 2017
Location: Blue Mountains, Australia!
Distribution: Mint 19
Posts: 150

Original Poster
Rep: Reputation: Disabled
Thanks, everyone - problem solved!
I just ran "sudo ufw allow samba" as suggested; then my scanner actually found the host (by name, not even by IP address) and added the folder itself! (I have a "search host" function there, so it immediately found the machine by name, and recognized the shared folder).

So, for anyone else who runs into issues doing this - I could say, just follow the prompts! Linux prompted me to share the folder, prompted to install samba and to reboot. Isn't Linux great!? It would be even greater if it also prompted to allow the firewall access. Maybe someone can add this to Mint, or to samba or whatever?

Overall, it is a curious thing I am discovering with Linux so far - don't get me wrong, but seems like the solution is usually much simpler than the advice you get at first. I run into an issue, try to research and encounter a plethora of interesting and useful information, talking about configuring files, running complex commands etc. But usually, there is a basic little thing you need to do, and then Linux figures it all out by itself!

Of course, I am grateful for all the detailed advice I am getting, and if I had time, I would delve into the intricacies of BASH etc ... But, I don't have much time ... actually, I don't even have time to write this now ... so thanks to everyone and goodbye for now!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samba Folder/File Sharing - 2 Mint Xfce computer home network holadebeto Linux - Networking 1 02-01-2014 07:10 PM
Sharing a printer via a wireless network between Linux and MacOS samsom Linux - Networking 1 01-26-2010 07:08 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 06:54 AM
Sharing linux printer with XP box on network jeffreybluml Linux - Newbie 12 04-13-2004 06:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration