DD-WRT print server configuration

When DD-WRT v24-sp1 was released, it advertised USB printer support, but I have been so skeptical that it would actually work, that I didn't even bother trying it until last night.

I followed the second set of instructions on the Printer Sharing wiki page which involve setting up a usb.startup file. After I rebooted the router, the print server was running according to ps and netstat, computers on the network seemed to be ok with connecting to it, and they would send it print jobs, but nothing ever printed.

I undid the usb.startup configuration and followed the instructions for using /jffs/etc/init.d/p910nd and it worked on my Ubuntu Linux and Windows XP machines. I haven't been able to get my MacBook to print yet, but that might be an unfortunate driver issue I can resolve by printing to another computer that's set to share the printer on the network.

Here's a quick re-cap of what I did at the DD-WRT commandline after I enabled JFFS and all USB support in the web interface except USB storage:

ls -la /dev/usb/ (should show lp0)
dmesg | usb (should list a printer)
ipkg update
ipkg -d root install p910nd
vi /jffs/etc/init.d/p910nd

Change the default path to DEFAULT=/jffs/etc/default/p910nd

Add /jffs/etc/init.d/p910nd start to the startup scripts through Administration/Commands in the web interface

/jffs/etc/init.d/p910nd start
netstat -an | grep 9100
ps | grep p910
cd /
umount /jffs
reboot


» deekayen's blog · Printer-friendly version Topics: · ·

Thank you

I have been trying to get the print server up for months and it finally works!!

Thank you ever so much

mishle

Router Model: Asus WL-500W

Firmware: DD-WRT v24-sp2 (01/01/09) mega

Other notes: Using this as a client bridge.

reply

Post new comment

  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <hr /> <a> <p> <em> <strong> <cite> <code> <blockquote> <ul> <ol> <li> <dl> <dt> <dd>
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.