P910nd Print Server p910nd is a small printer daemon intended for diskless platforms that does not spool to disk but passes the job directly to the printer. Normally a lpr daemon on a spooling host connects to it with a TCP connection on port 910n (where n=0, 1, or 2 for lp0, 1 and 2 respectively). P910nd is particularly useful for diskless platforms. Due to SSH-2's superiority and popularity over SSH-1, some implementations such as libssh (v0.8.0+), Lsh and Dropbear support only the SSH-2 protocol. Version 1.99 edit In January 2006, well after version 2.1 was established, RFC 4253 specified that an SSH server which supports both 2.0 and prior versions of SSH should identify its.
I've got a OpenWRT router that I'm trying to make a persistent reverse ssh tunnel to an Amazon AWS server. The issue is my ISP changes my public IP so in order to ssh to it, I have to use port knocking to prevent every IP from seeing the ssh port. I've written a bash script to make a connection. There is nothing more to be done on the server. Now you can mount your sshfs by executing: sshfs user@host: dir mountpoint. If you did not install the package to the standard destination (e.g. Using opkg -d ram), you need to specify the sftp executable in your sshfs command: sshfs user@host: dir mountpoint -o sftpserver=/tmp/usr/libexec/sftp-server. I am proud owner of TP-Link TL-WDR3500 router flashed with OpenWRT, which is really good custom firmware offering countless possibilities. Recently I’ve installed FTP server on it so I can access the attached external HDD drive remotely. This how-to is simple guide showing you to configure Pure-FTPd with TLS support on your OpenWRT enabled router, too.
p910nd is a small printer daemon intended for diskless platforms that does not spool to disk but passes the job directly to the printer. Normally a lpr daemon on a spooling host connects to it with a TCP connection on port 910n (where n=0, 1, or 2 for lp0, 1 and 2 respectively). p910nd is particularly useful for diskless platforms. Common Unix Printing System (CUPS) supports this protocol, it's called the AppSocket protocol and has the scheme
Windows and Mac Os X (via CUPS) also supports this protocol.
In this guide I show you how to enable printing support for HP M1120 and Canon MP480 printer.
Install software on LEDE device
- Enter “root” as username and supply with password
- Install Kernel modules for USB Printer support:
Configure print server p910nd
- We can continue with configuring in Services → p910nd - Printer server:
The screenshot speaks for itself: Check enable, set Device address and check/uncheck Bidirectional mode. Bidirectional mode depends on your router. On my HP printer I leave it enabled, on my Canon I must disable, else printing is not working. - You can add additional printers, but don't forget to set address of the new printer and set another port:
You should also open a port in the firewall for each printer configured. Once the above is done, it might be necessary to restart the print server with:
Configure clients
Windows
Openwrt Ssh Key
First, install drivers for your printer.
- Create a new Standard TCP/IP port for the printer:
- Enter IP Address for the printer: e.g.: 192.168.1.1
- Specify additional information for the connection:
- Choose “Raw” protocol and set port number. e.g.: 9100
- You may try to print a test page to the printer.
Mac OS X Sierra
First, try configure your printer via System Preferences:
- Done. Try with a test print.
This method has worked for me with a HP M1120 printer, but it failed with my Canon MP480 (Error: unable to communicate with printer). So I added manually.
Manual method
Openwrt Ssh Server Refused Our Key
- Open Terminal and enable CUPS Web Interface: paste in 'cupsctl WebInterface=yes' and click enter.
- Now you should be able to go to http://localhost:631/:
- Click on Adding Printers and Classes in the center and on Add Printer. Log in with your system username/password. Select AppSocket/HP JetDirect and click on Continue.
- In the Connection field type
(where yourLEDEipaddress is the IP address of your router and PORT is what you configured earlier). Click on Continue.
- On the next page type any printer name and click on Continue:
- On the final page select your printer's manufacturer and model. Finally, click on Add Printer.
How To Ssh Into Openwrt
For LEDE 17.01.x, p910nd printing should work straight away after completing above steps. For OpenWRT 18.06.x, you may need to power cycle the router after installing the p910nd packages.