Enabling Printer server (p910nd)

Hello, I've just recently flashed OpenWRT on my TP-Link TL-WR1043ND v4 device and I'd like to start setting up the things why I wanted to install this firmware :wink: It starts with a printer server. The printer is a simple USB-connected one, which I'd like to use from the network.

I've seen the following tutorial about it:

After updating the packages list I tried to install the required ones, but the following error happened:

root@OpenWrt:~# opkg install p910nd luci-app-p910nd
Unknown package 'p910nd'.
Unknown package 'luci-app-p910nd'.
Collected errors:
 * opkg_install_cmd: Cannot install package p910nd.
 * opkg_install_cmd: Cannot install package luci-app-p910nd.

I couldn't find any similar packages at all. Is this guide outdated? Do you know any tutorial I can check out to install the printer server?

(Ps.: Also I'd like to use an external HDD, but it didn't even detect that, but that's a different topic)

Edit: I also couldn't install kmod-usb-printer because of the same not found error.

You need to use the command

opkg update

First to get the list of available packages

As I've said I've already updated the package list (it means the opkg update). This didn't help.

1 Like

Maybe your feed lists are bad. Did you compile the firmware yourself? Which OpenWrt version are you using?

ubus call system board; opkg update

Copy complete output here.

BusyBox v1.28.4 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 OpenWrt 18.06.1, r7258-5eb055306f
root@OpenWrt:~# ubus call system board; opkg update
        "kernel": "4.9.120",
        "hostname": "OpenWrt",
        "system": "Qualcomm Atheros QCA956X ver 1 rev 0",
        "model": "TP-Link TL-WR1043N\/ND v4",
        "board_name": "tl-wr1043nd-v4",
        "release": {
                "distribution": "OpenWrt",
                "version": "18.06.1",
                "revision": "r7258-5eb055306f",
                "target": "ar71xx\/generic",
                "description": "OpenWrt 18.06.1 r7258-5eb055306f"
Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_core
Downloading http://downloads.openwrt.org/releases/18.06.1/targets/ar71xx/generic/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading http://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/telephony/Packages.sig
Signature check passed.

I've just downloaded right from the website from the suggested link. Nothing self-compiled trick or things like that. All I've done is that I upgraded the packages which were installable from the reopository (opkg list-upgradable).

Well, the packages are definitely there. It's kind of hard to believe that you've done the update and install correctly without seeing it all in the correct order. You could try

opkg install https://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/packages/p910nd_0.97-5_mips_24kc.ipk
opkg install https://downloads.openwrt.org/releases/18.06.1/packages/mips_24kc/luci/luci-app-p910nd_git-19.020.41695-6f6641d-1_all.ipk

Did opkg install kmod-usb-printer work? Don't know if they require other dependencies.

1 Like

Aaaahhhh, after installing kmod-usb-printer I could simply install all the previously not found packages. Quite odd that it didn't install kmod-usb-printer automatically :open_mouth:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.