openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
4.04k stars 3.5k forks source link

p910nd default options fail to work #14599

Open howels opened 3 years ago

howels commented 3 years ago

Maintainer: @danielfdickinson Environment: (MIPS, TP-Link Archer C7 v2, 19.07.4 - OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01)

Description:

Default p910nd adds config file with option runas_root '0' but despite the p910nd user being added to /etc/passwd the service crashes when running with this option set. The service also tries to set the option port '0' by default which prevented my printer from working, I needed to remove the port statement for my HP DeskJet J510 series 2050 to print.

Service only runs successfully with: option runas_root '1'

Also only connects to printer with: # option port '0'

danielfdickinson commented 3 years ago

Sorry I shouldn't be listed as maintainer anymore for life reasons I am no active with OpenWrt anymore. Are you using openwrt/packages master?

howels commented 3 years ago

Was using 19.07.4 as mentioned in the report. Last commit in packages/net/p910nd looks to be 2 years ago and 19.07.4 was published September 2020, so I believe that the package is up to date. Apart from adding p910nd, kmod-usb-print and luci-ssl and replacing wpad-basic with wpad I have a default install.