Printer Sharing - Revision history http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&action=history Revision history for this page on the wiki en MediaWiki 1.10.1 Thu, 28 Mar 2024 22:17:54 GMT Ian5142: Removed /* Installing on Asus WL500G Deluxe, with DD-WRT v24-sp2 */ http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=53423&oldid=prev <p>Removed <span class="autocomment">- Installing on Asus WL500G Deluxe, with DD-WRT v24-sp2</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 20:08, 29 December 2017</td> </tr> <tr><td colspan="2" align="left"><strong>Line 103:</strong></td> <td colspan="2" align="left"><strong>Line 103:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">==Installing on Asus WL500G Deluxe, with DD-WRT v24-sp2 ==</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Install dd-wrt.v24_usb_generic.bin firmware</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Enable JFFS, and clear JFFS</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Enable SSH</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> reboot router</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Enable All USB options - set mount point to /opt</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Since ipkg update seems broken, </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Download http://downloads.openwrt.org/backports/0.9/p910nd_0.7-2_mipsel.ipk to a USB stick formatted with FAT32</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Insert USB into router and reboot router</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> SSH to router</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> cd /opt</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> ipkg -d root install p910nd_0.7-2_mipsel.ipk</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">p910nd is now installled and you have the configuration files in /jffs/etc/ and you can continue at the guide above.</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">== Notes for K26 ==</td><td> </td><td style="background: #eee; font-size: smaller;">== Notes for K26 ==</td></tr> </table> Fri, 29 Dec 2017 20:08:55 GMT Ian5142 http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing Ian5142: Removed /* Print server */ http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=53422&oldid=prev <p>Removed <span class="autocomment">- Print server</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 20:06, 29 December 2017</td> </tr> <tr><td colspan="2" align="left"><strong>Line 42:</strong></td> <td colspan="2" align="left"><strong>Line 42:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">==Print server==</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Now Install printserver daemon:</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> ipkg install p910nd</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Edit '''/jffs/etc/config/usb.startup''' and add </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> #brother laser</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> /jffs/usr/sbin/p910nd -b -f /dev/usb/lp0 0</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> #canon inkjet</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> /jffs/usr/sbin/p910nd -b -f /dev/usb/lp1 1</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">(correct the above to match your setup)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Eliminating the -b flag may resolve failure to print for some printers.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">NOTE from another user: I needed go without the -b flag on my Canon MX310 printer for it to work.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">-b means bidirectional, -f specifices device name, and the last number can be 0,1 or 2, making the print server listen at port 9100, 9101 and 9102 respectively.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Reboot your router</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Now, you router works as a print server over TCP/IP</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Note: You may have to remove the '-b' option for p910nd. I couldn't print with that option included.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">comments from wmd1942:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">In order to load the printer server in startup, the execution permission has to be added to this &quot;usb.startup&quot; file:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">root@DD-WRT:chmod +x /jffs/etc/config/usb.startup </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">After reboot, use command:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">ps | grep p910</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The screen should be something like:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">root@DD-WRT:~# ps | grep p910</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">306 root 356 S /jffs/usr/sbin/p9100d -f /dev/usb/lp0 0</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">n</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">NOTE:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Multifunction printers which have fax machines attached to them may also be made to work. Ie: A CANON MF4150 with VendorID=0x04A9 and ProductID=0x26A3 will have lp0 and lp1 available. Running two instances of p9100 on different ports (9100 and 9101) and creating the respective port in windows will allow fax functions to work in conjunction with print functions as long as proper drivers are used to access the proper port. Most printers have print functions listed as lp0 and fax functions list as lp1.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">EXAMPLE:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> #canon printer</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> /jffs/usr/sbin/p910nd -b -f /dev/usb/lp0 0</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> #canon fax</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> /jffs/usr/sbin/p910nd -b -f /dev/usb/lp1 1</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Workstation setup==</td><td> </td><td style="background: #eee; font-size: smaller;">==Workstation setup==</td></tr> </table> Fri, 29 Dec 2017 20:06:15 GMT Ian5142 http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing Ian5142: Removed /* Notes For v24 Stable */ http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=53421&oldid=prev <p>Removed <span class="autocomment">- Notes For v24 Stable</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 20:05, 29 December 2017</td> </tr> <tr><td colspan="2" align="left"><strong>Line 40:</strong></td> <td colspan="2" align="left"><strong>Line 40:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">I found the command &quot;insmod /jffs/lib/modules/2.4.30/printer.o&quot; is unnecessary if you have Core USB Support, USB 2.0 Support and USB Printer Support enabled in the 'Services' section of the router web page.</td><td> </td><td style="background: #eee; font-size: smaller;">I found the command &quot;insmod /jffs/lib/modules/2.4.30/printer.o&quot; is unnecessary if you have Core USB Support, USB 2.0 Support and USB Printer Support enabled in the 'Services' section of the router web page.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">==Notes For v24 Stable==</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">The new v24 stable (i.e. not the release candidate versions) contains support for printer sharing and usb support in the web UI. I just got my printer server working and I figured I'd share my experience and maybe save somebody and hour or two. </td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Here's what I had to do to get my LaserJet 3020 to work with DDWRT on an Asus WL-500g Premium with the &quot;DD-WRT v24 (05/24/08) mega - build 9526&quot; version of the firmware: </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">1. Enable &quot;JFFS2 Support&quot; on the Administration tab.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">(Note from another user: I had to enable &quot;Clean JFFS2&quot; as well, and reboot. After reboot, I ran &quot;ipkg update&quot;, then installed the package mentioned in the first step of the &quot;Printer Driver&quot; section above.)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">2. Enable SSH on the Services tab</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">3. Enable &quot;Core USB Support&quot;, &quot;USB 1.1 Support (UHCI)&quot;, &quot;USB 1.1 Support (OHCI)&quot;, &quot;USB 2.0 Support&quot;, &quot;USB Printer Support&quot; on the Services tab (all items under &quot;USB Support&quot; except for &quot;USB Storage Support&quot;). Note that the router did not recognize my printer if I left the USB 1.1 drivers unselected. This even though the printer supports USB 2.0.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">4. Connect your printer to the router </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">5. Reboot your router</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">6. Log in with SSH to your router. And check if your printer was recognized: </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> root@my-ddwrt-router:/jffs/etc/default# ls -la /dev/usb/</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> drwxr-xr-x 1 root root 0 Jan 1 1970 .</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> drwxr-xr-x 1 root root 0 Jan 1 1970 ..</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> crw-rw---- 1 root root 180, 0 Jan 1 1970 lp0</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">if there is nothing in /dev/usb/ you need to change something, probably involving installing some other driver for your printer. </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">7. Look at the following files: </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> /jffs/etc/default/p910nd</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> /jffs/etc/init.d/p910nd</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">To do so, type: vi /jffs/etc/default/p910nd. vi is a text editor. You start in &quot;command mode&quot;. Press 'a' to switch to editing mode, where you can edit the file. Press 'Esc' to get to command mode. Press :w[enter] to write (save) and :q[enter] to quit without saving, or :wq[enter] to save and quit.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">At least on my version of v24, the third line in the startup script had the following line: </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> DEFAULT=/etc/default/p910nd</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">this was invalid on my router (people more familiar with the router, please correct me here or explain the intricacies involved) and I had to edit this file and change the line to say: </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> DEFAULT=/jffs/etc/default/p910nd</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">there are two commands that you can run to check if the server is running: </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> root@my-ddwrt-router:/jffs/etc/init.d# netstat -an</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Active Internet connections (servers and established)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Proto Recv-Q Send-Q Local Address Foreign Address State</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> tcp 0 0 0.0.0.0:9100 0.0.0.0:* LISTEN</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> root@ddwrt-se-office:/jffs/etc/init.d# ps | grep p9100d</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> 561 root 680 S p9100d -b -f /dev/usb/lp0 0</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">If you see a 91xx port listening in netstat and you see the p9100d running in ps, your server is probably up and running properly. Check that the server is not running yet. If not, test starting the the server by issuing: </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> /jffs/etc/init.d/p910nd</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">For v24_TNG (sp2) versions, the command should be:</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> /jffs/etc/init.d/p910nd start</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">and check that it came up. You should be able to print now (see bottom of this page for instructions on how to set up your workstation for IP printing via ddwrt).</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">8. Add the above command to the Administration-&gt;Commands edit box and click &quot;Save Startup&quot;. This makes sure that the printer server comes up the next time you reboot your router.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Hope that helps.</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">--[[User:Mbjarland|Mbjarland]] 07:33, 27 June 2008 (CEST)</td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">Note: On my DD-WRT v24-sp2 (10/10/09) mini-usb-ftp the command: '/jffs/etc/init.d/p910nd start' works on the ssh shell, but not on the Administration-&gt;Commands edit box </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">This commands works on the Administration-&gt;Commands edit box: </td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"></td><td colspan="2">&nbsp;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">/jffs/usr/sbin/p910nd -b -f /dev/usb/lp0 0</td><td colspan="2">&nbsp;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Print server==</td><td> </td><td style="background: #eee; font-size: smaller;">==Print server==</td></tr> </table> Fri, 29 Dec 2017 20:05:45 GMT Ian5142 http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing Stech17: A Windows troubleshoot issue added http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=52461&oldid=prev <p>A Windows troubleshoot issue added</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 09:58, 22 June 2017</td> </tr> <tr><td colspan="2" align="left"><strong>Line 248:</strong></td> <td colspan="2" align="left"><strong>Line 248:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Note from another user: I had to add this mknod command to /jffs/etc/config/usb.startup.</td><td> </td><td style="background: #eee; font-size: smaller;">Note from another user: I had to add this mknod command to /jffs/etc/config/usb.startup.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">== Notes for Windows ==</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Even if you follow the above steps under Windows XP for linking your Windows PC to your router you might run into some Windows driver issues. If after the link, you send the test page and the printer beeps to indicate it received a job but then doesn't print then you'll need to define the printer settings again. You can also look at the log files which would indicate &quot;print job sent&quot; &quot;job completed&quot;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Go to Devices and Printers and right click Properties on the printer you have set up.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Under the Advanced Tab check that the Drivers and Drivers are set up correctly. </td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">Sometimes Windows will fail to set these up properly even if you've indicated the required settings previously.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Applications]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Applications]]</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Advanced tutorials]]</td><td> </td><td style="background: #eee; font-size: smaller;">[[Category:Advanced tutorials]]</td></tr> </table> Thu, 22 Jun 2017 09:58:03 GMT Stech17 http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing Bulletproof: /* Installing on Asus WL500G Deluxe, with DD-WRT v24-sp2 */ http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=44052&oldid=prev <p><span class="autocomment">Installing on Asus WL500G Deluxe, with DD-WRT v24-sp2</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 00:04, 17 December 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 233:</strong></td> <td colspan="2" align="left"><strong>Line 233:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> Enable All USB options - set mount point to /opt</td><td> </td><td style="background: #eee; font-size: smaller;"> Enable All USB options - set mount point to /opt</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> Since ipkg update seems broken, </td><td> </td><td style="background: #eee; font-size: smaller;"> Since ipkg update seems broken, </td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Download http://downloads.openwrt.org/backports/<del style="color: red; font-weight: bold; text-decoration: none;">rc5</del>/p910nd_0.7-2_mipsel.ipk to a USB stick formatted with FAT32</td><td>+</td><td style="background: #cfc; font-size: smaller;"> Download http://downloads.openwrt.org/backports/<ins style="color: red; font-weight: bold; text-decoration: none;">0.9</ins>/p910nd_0.7-2_mipsel.ipk to a USB stick formatted with FAT32</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> Insert USB into router and reboot router</td><td> </td><td style="background: #eee; font-size: smaller;"> Insert USB into router and reboot router</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> SSH to router</td><td> </td><td style="background: #eee; font-size: smaller;"> SSH to router</td></tr> </table> Mon, 17 Dec 2012 00:04:07 GMT Bulletproof http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing Bulletproof: /* Printer driver */ http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=44051&oldid=prev <p><span class="autocomment">Printer driver</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 23:10, 16 December 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 11:</strong></td> <td colspan="2" align="left"><strong>Line 11:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">NOTE: You must first enable jffs through the GUI before completing the following steps.</td><td> </td><td style="background: #eee; font-size: smaller;">NOTE: You must first enable jffs through the GUI before completing the following steps.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Go to the &quot;Administration&quot; tab, then to the &quot;Management&quot; sub-tab. Select 'Enable' for &quot;JFFS2&quot;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> Go to the &quot;Administration&quot; tab, then to the &quot;Management&quot; sub-tab. Select 'Enable' for &quot;JFFS2&quot; under &quot;JFFS2</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;"> </del>under <del style="color: red; font-weight: bold; text-decoration: none;">the </del>&quot;JFFS2 Support&quot; <del style="color: red; font-weight: bold; text-decoration: none;">section</del>, and select 'Enable' for &quot;Clean JFFS2&quot;. Click &quot;Apply Settings&quot;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>Support&quot;, and select 'Enable' for &quot;Clean JFFS2&quot;. Click &quot;Apply Settings&quot;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Install printer driver:</td><td> </td><td style="background: #eee; font-size: smaller;">Install printer driver:</td></tr> </table> Sun, 16 Dec 2012 23:10:05 GMT Bulletproof http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing Bulletproof: /* Printer driver */ http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=44050&oldid=prev <p><span class="autocomment">Printer driver</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 23:08, 16 December 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 12:</strong></td> <td colspan="2" align="left"><strong>Line 12:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> Go to the &quot;Administration&quot; tab, then to the &quot;Management&quot; sub-tab. Select 'Enable' for &quot;JFFS2&quot;</td><td> </td><td style="background: #eee; font-size: smaller;"> Go to the &quot;Administration&quot; tab, then to the &quot;Management&quot; sub-tab. Select 'Enable' for &quot;JFFS2&quot;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">under the &quot;JFFS2 Support&quot; section, and select 'Enable' for &quot;Clean JFFS2&quot;. Click &quot;Apply Settings&quot;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;"> </ins>under the &quot;JFFS2 Support&quot; section, and select 'Enable' for &quot;Clean JFFS2&quot;. Click &quot;Apply Settings&quot;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Install printer driver:</td><td> </td><td style="background: #eee; font-size: smaller;">Install printer driver:</td></tr> </table> Sun, 16 Dec 2012 23:08:38 GMT Bulletproof http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing Bulletproof: /* Printer driver */ http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=44049&oldid=prev <p><span class="autocomment">Printer driver</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 23:08, 16 December 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 11:</strong></td> <td colspan="2" align="left"><strong>Line 11:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">NOTE: You must first enable jffs through the GUI before completing the following steps.</td><td> </td><td style="background: #eee; font-size: smaller;">NOTE: You must first enable jffs through the GUI before completing the following steps.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"> Go to the &quot;Administration&quot; tab, then to the &quot;Management&quot; sub-tab. Select 'Enable' for &quot;JFFS2&quot; under the &quot;JFFS2 Support&quot; section, and select 'Enable' for &quot;Clean JFFS2&quot;. Click &quot;Apply Settings&quot;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> Go to the &quot;Administration&quot; tab, then to the &quot;Management&quot; sub-tab. Select 'Enable' for &quot;JFFS2&quot;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">under the &quot;JFFS2 Support&quot; section, and select 'Enable' for &quot;Clean JFFS2&quot;. Click &quot;Apply Settings&quot;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Install printer driver:</td><td> </td><td style="background: #eee; font-size: smaller;">Install printer driver:</td></tr> </table> Sun, 16 Dec 2012 23:08:08 GMT Bulletproof http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing Bulletproof: /* Printer driver */ http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=44048&oldid=prev <p><span class="autocomment">Printer driver</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 23:07, 16 December 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 8:</strong></td> <td colspan="2" align="left"><strong>Line 8:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Printer driver==</td><td> </td><td style="background: #eee; font-size: smaller;">==Printer driver==</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">NOTE: You must first enable jffs through the GUI before completing the following steps.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"> Go to the &quot;Administration&quot; tab, then to the &quot;Management&quot; sub-tab. Select 'Enable' for &quot;JFFS2&quot; under the &quot;JFFS2 Support&quot; section, and select 'Enable' for &quot;Clean JFFS2&quot;. Click &quot;Apply Settings&quot;</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">Install printer driver:</td><td> </td><td style="background: #eee; font-size: smaller;">Install printer driver:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> </table> Sun, 16 Dec 2012 23:07:27 GMT Bulletproof http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing Chochem: /* Workstation setup */ Added web interface http://wiki.dd-wrt.com/wiki/index.php?title=Printer_Sharing&diff=43468&oldid=prev <p><span class="autocomment">Workstation setup -</span> Added web interface</p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 16:23, 19 July 2012</td> </tr> <tr><td colspan="2" align="left"><strong>Line 160:</strong></td> <td colspan="2" align="left"><strong>Line 160:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==Workstation setup==</td><td> </td><td style="background: #eee; font-size: smaller;">==Workstation setup==</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;"></td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">'''CUPS Web Interface</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Make sure that the CUPS service is up and running</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Open http://localhost:631 in you web browser, assuming that you are running the CUPS server locally.</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Click the 'Administration' tab</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Click the 'Add printer' button under 'Printers'</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Choose 'AppSocket/HP JetDirect ' and click 'Continue'</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Enter 'socket://HOSTNAME:9100' where HOSTNAME is the ip address of you router (normally 192.168.1.1). 9100 is for the first printer, 9101 for the second etc. Click 'Continue'</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">* Go on with the printer wizard to select brand, model and settings as you would do for a local printer. As a general rule, PPD files are provided by printer driver packages and put in /usr/share/cups/model.</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">'''Ubuntu Linux</td><td> </td><td style="background: #eee; font-size: smaller;">'''Ubuntu Linux</td></tr> </table> Thu, 19 Jul 2012 16:23:39 GMT Chochem http://wiki.dd-wrt.com/wiki/index.php/Talk:Printer_Sharing