Hi all - new to ASUSWRT, new to ASUSWRT-Merlin, and new to the SNB forums. Nice to meet you.
I just set up my brand new RT-AC87U, having finally retired my trusty RT-N16. I ran Shibby's mod of TomatoUSB on my old router, so as I said I am new to ASUSWRT-Merlin. So far so good - have been able to recreate almost everything in no time (samba share off of the USB3 port, media server, etc.).
The one thing I am not quite able to figure out is setting up my LaserJet 1020 on the USB2 port. This model printer is a bit quirky in that every time it is turned on, a firmware file needs to be loaded on to it. So I was in no way surprised when printing didn't work "out of the box" with this new router (although it is recognized as being plugged in and correctly identified, so that's good). In Tomato on the RT-N16, I put the necessary firmware file (sihp1020.dl) on the jffs partition and then put the following code in the "hotplug script" field in the "USB Support" section of the GUI:
Is something like this possible in ASUSWRT-Merlin? I already formatted the jffs partition and copied the sihp1020.dl firmware file to it. I'm guessing that if this is possible, I'll need to put a custom script in the jffs/scripts folder, right? I read the documentation about the various scripts available but didn't see anything about usb hotplug. Am I missing something?
I just set up my brand new RT-AC87U, having finally retired my trusty RT-N16. I ran Shibby's mod of TomatoUSB on my old router, so as I said I am new to ASUSWRT-Merlin. So far so good - have been able to recreate almost everything in no time (samba share off of the USB3 port, media server, etc.).
The one thing I am not quite able to figure out is setting up my LaserJet 1020 on the USB2 port. This model printer is a bit quirky in that every time it is turned on, a firmware file needs to be loaded on to it. So I was in no way surprised when printing didn't work "out of the box" with this new router (although it is recognized as being plugged in and correctly identified, so that's good). In Tomato on the RT-N16, I put the necessary firmware file (sihp1020.dl) on the jffs partition and then put the following code in the "hotplug script" field in the "USB Support" section of the GUI:
Code:
if [ $PRODUCT = "3f0/2b17/100" ]; then
if [ $ACTION = "add" ]; then
sleep 7
cat /jffs/sihp1020.dl > /dev/usb/lp0
fi
fi
Is something like this possible in ASUSWRT-Merlin? I already formatted the jffs partition and copied the sihp1020.dl firmware file to it. I'm guessing that if this is possible, I'll need to put a custom script in the jffs/scripts folder, right? I read the documentation about the various scripts available but didn't see anything about usb hotplug. Am I missing something?