Hi,
I'm using Merlin's excelent firmware (34_2_SDK5) on my new RT-N66U. I'm very happy with this device. It meets all my expectations. The only problem so far was disapearring EZ Printer service. After 2 or 3 days my USB GDI Samsung ML1665 printer won't print anymore. The symptoms are well known on this forum - Asus printer utility doesn't find any EZ Printer capable router despite the fact that printer is visible on router's UI network map. I've done some research and have come to conclusion, that it is USB2network port emulator problem. I've noticed, that when the problem happens there is no u2ec service on processes list anymore. So I've restared it manualy by:
service restart_u2ec (just in case, start_u2ec would be enough I think)
and BINGO ! My WinXP plays TaDa sound detecting my printer . Knowing that I've prepared some scripts to do automatic service restore:
in /jffs/services-start script:
(stopping lpd for RAM space - I'm not using it)
in /jffs/scripts/EZprinterRestartLOOP.sh:
I've done this using infinite loop rather than cron job, because I couldn't find any way to prevent cron from flooding syslog every minute.
After 3 days from restart I've got 2 incidents triggering service restart and now I can tell you that in my case u2ec is always sitting calm in processes list and gets deleted by something just after I switch my printer on. So using my script I must wait up to one minute after powering on my printer to give the script a chance to jump in and (re)start the u2ec service and I can certainly live with that
Sorry for my poor english. I hope this helps other users with their printers problems.
Kuba
I'm using Merlin's excelent firmware (34_2_SDK5) on my new RT-N66U. I'm very happy with this device. It meets all my expectations. The only problem so far was disapearring EZ Printer service. After 2 or 3 days my USB GDI Samsung ML1665 printer won't print anymore. The symptoms are well known on this forum - Asus printer utility doesn't find any EZ Printer capable router despite the fact that printer is visible on router's UI network map. I've done some research and have come to conclusion, that it is USB2network port emulator problem. I've noticed, that when the problem happens there is no u2ec service on processes list anymore. So I've restared it manualy by:
service restart_u2ec (just in case, start_u2ec would be enough I think)
and BINGO ! My WinXP plays TaDa sound detecting my printer . Knowing that I've prepared some scripts to do automatic service restore:
in /jffs/services-start script:
Code:
#!/bin/sh
/jffs/scripts/EZprinterRestartLOOP.sh &
service stop_lpd
in /jffs/scripts/EZprinterRestartLOOP.sh:
Code:
#!/bin/sh
sleep 60
while [ true ]; do
sleep 60
pidof u2ec >& /dev/null
if [ $? -ne 0 ]; then
logger Restarting u2ec
service restart_u2ec 2>&1 | logger -p daemon.notice -t ${0##*/}[$$]
fi
done
After 3 days from restart I've got 2 incidents triggering service restart and now I can tell you that in my case u2ec is always sitting calm in processes list and gets deleted by something just after I switch my printer on. So using my script I must wait up to one minute after powering on my printer to give the script a chance to jump in and (re)start the u2ec service and I can certainly live with that
Sorry for my poor english. I hope this helps other users with their printers problems.
Kuba
Last edited: