olbat / dockerfiles

A collection of Dockerfiles
https://hub.docker.com/u/olbat/
GNU General Public License v3.0
134 stars 73 forks source link

HP m1212nf w/ hp-plugin #97

Closed rogue-ronin closed 10 months ago

rogue-ronin commented 1 year ago

Running your dockerfile under OpenMediaVault 6, trying to run hp-plugin to get an HP m1212nf to work.

Running hp-plugin gives:


| PLUG-IN INSTALLATION FOR HPLIP 3.22.10 |

Option Description


d Download plug-in from HP (recommended)
p Specify a path to the plug-in (advanced)
q Quit hp-plugin (skip installation)

Enter option (d=download*, p=specify path, q=quit) ?


| DOWNLOAD PLUGIN |

Checking for network connection... error: Network connection not detected.

Not sure how to enable the network connection that it wants.

olbat commented 10 months ago

Hey @rogue-ronin , did you try to run your container with network setup to host mode? (as described in the README file)

olbat commented 10 months ago

Anyway, you should probably not connect in a container to do that sort of things but rather create a new Dockerfile and use this one as a base.

rogue-ronin commented 10 months ago

Apologies for the slow response, I've been ill. :)

I never could get it to work. Turns out that the printer works great if I directly connect it to my router and run all the drivers locally.

I may well have missed the 'host mode' need.

Thank you for creating this, and thank you for responding to me.

Aloha

olbat commented 10 months ago

No problem, have a nice day!