Wednesday, February 13, 2008

Printer update

I had to reinstall my printer as a part of some testing...

Well, anyways, I made an update to the previous post I made, you also have to change the enabled state of the printer. I also found out that when using uci, its very particular. The following line was missing


root@OpenWrt:~# uci set p910nd.cfg1.enabled=1
root@OpenWrt:~# uci commit p910nd
root@OpenWrt:~# /etc/init.d/p910nd enable


That first line was the most important, the second line makes it permanent between reboots, and the last line makes it so that it loads the p910nd daemon on boot. Notice how there is no space in the pnd.cfg1.enabled=1 This is required and it won't work otherwise.

No comments: