Print Server Support with DD-WRT on a ASUS wl-500p

Drivers Settings and information on various hardware

Print Server Support with DD-WRT on a ASUS wl-500p

Postby curlee » Wed May 20, 2009 10:47 pm

Make sure you use a NEWD_mini_usb version. I used dd-wrt.v24-12155_NEWD_mini_usb.bin. I found it in the eko/V24_TNG section of the dd-wrt downloads area. It has many improvements that enable it to actually work. I had very poor results using the v24 mega version.

go to administration and enable jffs if it is not enabled already
go to services and enable sshd
go to administration and enable SSH Management

using your favorite ssh client then ssh 192.168.1.1. Log in with the username "root" and your web admin password

#mkdir -p /jffs/tmp/ipkg
#ipkg update
#ipkg -d root install p910nd
#vi /jffs/etc/init.d/p910nd
change the line:
DEFAULT=/etc/default/p910nd
to:
Code: Select all
DEFAULT=/jffs/etc/default/p910nd

#/jffs/usr/sbin/p910nd -b -f /dev/usb/lp0 0
#mkdir /jffs/etc/config
#vi /jffs/etc/config/usb.startup
usb.startup:
Code: Select all
/jffs/usr/sbin/p910nd -b -f /dev/usb/lp0 0

#chmod +x /jffs/etc/config/usb.startup


One possible drawback of this setup is that it appears the usb.startup script only activates one port. A solution could be to start it with:
Code: Select all
/jffs/usr/sbin/p910nd start

One could also solve this problem by starting the second port. Add this line to the usb.startup script the line:
Code: Select all
/jffs/usr/sbin/p910nd -b -f /dev/usb/lp1 1


To check the usb status:

#ls /dev/usb
and
#dmesg | grep usb

To see if the print server is running:

#netstat -an
and
#ps | grep p9100d
curlee
Site Admin
 
Posts: 49
Joined: Wed May 03, 2006 12:01 pm

Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron