Configure print server on TP-WR1043ND running OpenWRT
December 11, 2011 13:38:58 Last update: December 11, 2011 13:38:58
- Install usb.essentials. Package
usbutilsis optional.# opkg update # opkg install kmod-usb2 # opkg install usbutils
- Install usb printer support:
# opkg install kmod-usb-printer
- Install
p910ndprint server:# opkg install p910nd
- Edit
/etc/config/p910nd:config p910nd option device /dev/lp0 option port 0 option bidirectional 1 option enabled 1 - Configure firewall to allow port 9100 (
/etc/config/firewall):# Allow printer config rule option src lan option proto tcp option dest_port 9100 option target ACCEPT
If clients are connecting fromwanthen the first line should be:option src wan
- Enable automatic start of print server when router boots:
#/etc/init.d/p910nd enable
- Restart router:
# reboot