Configure print server on TP-WR1043ND running OpenWRT 

Joined:
01/15/2009
Posts:
85

December 11, 2011 13:38:58    Last update: December 11, 2011 13:38:58
  1. Install usb.essentials. Package usbutils is optional.
    # opkg update
    # opkg install kmod-usb2
    # opkg install usbutils
    

  2. Install usb printer support:
    # opkg install kmod-usb-printer
    

  3. Install p910nd print server:
    # opkg install p910nd
    

  4. Edit /etc/config/p910nd:
    config p910nd
            option device        /dev/lp0
            option port          0   
            option bidirectional 1
            option enabled       1
    

  5. 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 from wan then the first line should be:
    option src wan
    

  6. Enable automatic start of print server when router boots:
    #/etc/init.d/p910nd enable
    

  7. Restart router:
    # reboot
    

Share |
| Comment  | Tags