• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Note: From May 1, 2024, the HP Scan and Capture app will no longer be available (retired) in the Microsoft Store and HP will not release any further app updates. Alternatively, you can download HP Smart from the Microsoft Store. For more information on how to set up your printer using the HP Smart app, go to HP printer setup (HP Smart app).
Common problems HP Solution Center not working : Adobe Flash Player Error and Unable to scan
We would like to share some of the most frequently asked questions about HP Solution Center not working : Adobe Flash Player Error and Unable to Scan.
HP Recommended
OfficeJet Pro 9015
Linux

Hi,

 

I try to use scan to network folder on my HP OfficeJet Pro 9015 for several days now. Without any success. I'm lost.

 

I try to scan to a share on my Linux server (Debian) running SAMBA (2:4.9.5+dfsg-5). The target share is world writeable (guest ok = yes) and working from my workstations. The printer does not authenticate for the fileshare (no credentials configured).

 

When I try to scan to that folder, the printer claims about some (unspecified) network issues. When using tcpdump on the server I can see the printer connecting. But the connection is closed directly.

 

Does anybody have a working SAMBA configuration I could try?

9 REPLIES 9
HP Recommended
  1. Click the top bar icons or swipe it down and click the ethernet or wireless icon to locate the IP Address of your printer.
  2. Browse this IP to access the EWS page of your printer.
  3. From the EWS, click the Settings tab.
  4. Under Preferences, select Date & Time.
  5. Make sure the Current Printer Time is set to GMT.
    To determine GMT, open an internet browser, and then search for What is the current GMT time.
    NOTE:
    Do not use the Sync Nowoption.
     

     

  6. Click Apply to save any changes

Now check if you may see any difference when clicking the test button for the scan folder profile and check if that may help.



Click the Yes button to reply that the response was helpful or to say thanks.
If my post resolve your problem please mark it as an Accepted Solution 🙂
HP Recommended

Hallo ShlomiL

thank you for your fast reply,

 

I read about the GMT "solution" and tested it before posting. I just repeated the test with the same result: Still not working.

 

Just to avoid any misconfiguration on my site: a Screenshot showing the time of my printer, server and GMT.

 

HP-Scan-Issue-GMT.jpg

Is there anything wrong.with my configuration?

HP Recommended

Thanks for the information @ts7495, this

seems

correct indeed and have 1 hour difference than your local time.


I would also suggest to try authenticating with a local user credentials and see if that may make any difference.

 

Also, could you please let me know the exact network path used, to see if that seems correct.


Shlomi



Click the Yes button to reply that the response was helpful or to say thanks.
If my post resolve your problem please mark it as an Accepted Solution 🙂
HP Recommended

Hello @ShlomiL,

 

thanks for your feedback and support.

 

I just tried scanning to a network folder with username/password authentication. This failed, too. Using the same credentials within Linux file manager the share works fine.

 

The configured network path to my share is:

Guest-Writable: \\australien.se____.____orf.priv\scanner

Authenticated Access: \\australien.se____.____orf.priv\scanner1

 

The smb.conf:

 

[global]
workgroup = ____WEG
interfaces = br0.32 tun0 tun1
bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 1000
logging = file
panic action = /usr/share/samba/panic-action %d
server role = standalone server
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[homes]
comment = Home Directories
browseable = no
read only = yes
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[scanner]
path = /mnt/media/public/Scanner
public = yes
writable = yes
comment = smb share
printable = no
guest ok = yes
[scanner1]
comment = A new share
path = /mnt/media/public/Scanner1
browseable = yes
read only = no
guest ok = no
valid users = scanner

 

If helpful I coud post some sceenshots of my printer configuration, too.

 

Thomas

HP Recommended

Update: I don't know why. But I could solve my issue by (a) not using hostname but the IP address of the smaba server and (b) login to the samba server without credentials (without user/password).

 

I will continue to investiage and post my findings.

HP Recommended

Did you also use the GMT kludge?  I can't get this to work no matter what I do or how I try to connect (GMT time, credentials or not, IP address or DNS).  I just bought this thing, and I'm close to solving the problem by taking it back to Costco, and buying an Epson Eco-tank AIO.

HP Recommended

Fixed:  Sort-of.  Well, I'll be darned, I found a "solution" to the problem, although I must confess I don't really understand why it works.

 

If I force samba to only serve SMB2 or lower protocol, everything works fine.  I just added this line in smb.conf in the [global] section, and restarted smbd on the samba server:

 

server max protocol = SMB2

HP Recommended

Is password authentication working when limiting to SMB2 (or lower)?

 

I thought I'd tested with SMB2. But my memories might be false 😉

HP Recommended

Indeed, authentication works for me now, and no need for the GMT kludge either. I never got it working before with guest writable (no auth) access though, so something is different between our setups.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.