i feel like i’m struggling massively with something that should be simple.
I need to give my scanner (hp color laserjet pro m477fdw, all-in-one machine) access to a shared folder on my ubuntu machine.
The settings are on the printer itself and the menu is accessed by entering it’s ip-adress in my browser like one would access a router/modem.
All the printer needs to know is the correct (complete) pathway and username and password so it can save the documents over the network on my pc.
To make it simple i shared the folder, although i’m not entirely certain that that is neccessairy.
The scanner does test and save the settings if done correctly, but sofar i haven’t been able to.
So for this there is no need for xsane or simple scan via the pc itself. as all the command are given directly from the scanner itself.
When this works i would like to create a similar access to a shared folder on my linux based asustor-nas but for now my Ubuntu machine has priority!
local ip of the laptop is: 192.168.0.204
local ip of the scanner/printer is :192.168.0.101
location of the shared folder is: Scanned in the folder Documents
the setup in done directly in the scanner itself (not via hplip) so by accessing it through it’s local ip (192.168.0.101)
after entering the parameters it checks the connection via test and save. which only gives the reply:
The test was unsuccessful. Try again.
so not very informative.
als i’m not entirely sure which slash to use or /, always thought was for winsdows and / for linux. but since smb is windows related i’m getting confused, but it is essential.
oh and I let nautilus use the standard settings for the shared folder.
i must add now that i reinstalled ubuntu 17.10 from scratch!
placed a folder with the same name in Documents and created a share.
but wile setting this up i got a error msg.
could not find libpam-smbpass.!
i can’t recall getting that notification when i did it the first time, but am not entirely sure about this.
so i tried to install this from synaptic, but ran into the wayland session bug for synaptic. so logged off and ran x11.
tried to install.. but was nothing to actually install.
then i ran
sudo apt-get remove --purge samba
sudo apt-get install samba
sudo apt-get remove --purge smbclient libsmbclient
sudo apt-get install smbclient libsmbclient
and got no warnings / errors.
oh i also tried to find the full path name in the terminal by:
(copy pasted so no type-0)
last few attempts i focessed in these 3 links:
i assume it’s using smb protocol, but am not sure of this..
(i read somewhere that it does on windows machines)
anyway i have tried all possible instances of the path with slashed to each side but i can’t seem to get it to actually pass the test and save.
personally i believe the first two steps to solve is to check is there is still an issue with libpam-smbpass or not and also become sure which direction the / or should face.
thanks for any help, and please ask for as much info as needed
# touch /home/matt/Documents/Scanned/testing123
it created an empty document named testing123 in the folder.
Get this bounty!!!