Time to corect myself: If I powercycle printer, it stops working... It seems I flipped power switch too fast & didn' reset printer. So - hotplug it is.
Fortunately, I can read Russian, because in Russian thread hotplugging is explained in detail. Mounted USB HDD ext3 partition on /opt, placed hotplug.sh, sihp1020.dl and usb_printerid on disc, modified post-mount & post-boot scripts, and MAGIC - printer is working!
... Untill first time I rebooted router without attached HDD...
Plugged in HDD - and no printing... My partition with hotplug, firmware & the rest is not mounted....
... Few hours later, after playing with post-mount, hotplug.sh etc. and a lot of reading later - solution: FSTAB ! Everything is working
... Few hours of reading later - flashfs on WL500g Premium is big enough to store firmware. Ouch!
Epilogue: Everything is working now & I had a lot of fun getting to it long way round
Thanks, Oleg & everybody else.
A.
Hi,
I have HP LaserJet 1018 so I am in trouble (lesson not to buy cheap things). By reading this thread I found that it is possible to make printer work with 500gP, but now I haven't any USB stick or hard disk.. Maybe there is a way to "include" laserjet 1018 support directly to 500gP firmware ?
Had problems with this printer in Ubuntu but they are already solved, now it would be nice to have it working without host computer.
i just got a new WL500g.Premium, and it seems the LaserJet 1100 is working, with a Parallel to USB adapter. With the Wl500g, it didn't work both directly attached to the Parallel port, as well as to the USB port with the adapter.
Anyone got any reports on the WL500g Deluxe?
Can anybody make ipkg package for foo2zjs? I'm not sure, but I think it could be helpful. Or guide me simply how to install it on WL-500gP. This driver simply solved my problem in SUSE and I wanted to try on my router, but I'm not so good in linux so i didn't manage to compile it.
I have a problem with the manual above me.
When i reboot the router, the router forgets the hotplug file.
When I reboot I see in the file /proc/sys/kernel/hotplug :
/sbin/hotplug
This is not correct, it must be
/usr/local/sbin/hotplug.sh
When i manual do :
echo "/usr/local/sbin/hotplug.sh">>/proc/sys/kernel/hotplug
Everything works fine. But I want that the router do this by himself. Someone have a idea ?
I have a laserjet 1005
did you end every change before reboot with commands
?Code:flashfs save flashfs commit flashfs enable
create /usr/local/sbin/pre-boot file with the following minimum content:
save flashfs and rebootPHP Code:
#! /bin/sh
echo "/usr/local/sbin/hotplug.sh" > /proc/sys/kernel/hotplug