Thanks for the reply uldis. RouterOS version 4.4Are you using the latest RouterOS version?
It's basically like this. Every time I shut it down and boot it up again, I have to reboot because the usb port shows invalid in red. After the reboot, everything is fine. It happened once or twice that I didn't have to reboot. Why that was, I have no idea.Can you reproduce it almost every reboot?
Gladly. I'm a little low on bandwidth (EDGE) on site, but I think it will do to run winbox remotely, telnet in or whatever.Maybe you could provide remote access to that router?
Will do. I'm not on site now (and I think I won't be until next week). But I'll send an e-mail when I know for sure.Please contact support@mikrotik.com
I have a theory however. I think it's the modems fault. I believe it needs a couple of seconds to start after receiving power. I don't know exactly how much time after starting to receive power, the RB provides power through the usb.
/system routerboard settings set boot-delay=9s
The same settings being the delay? How much did you use? I'd give as much delay as it takes the modem to blink once (you know, when it sees the network it blinks once, else it blinks twice in quick succession) plus 5 or 10 seconds. If that doesn't fix it, it'd kill my above described theory.Trying the same settings with a second RB 411U works without any problems!
for you that have Huaway cards, we have fixed this issue in RouterOS v5beta2, so you can try that.
Doghead - you have a Sierra card, this is another problem. Can you send us supout.rif files like I asked above?
please send the support output file to support@mikrotik.com and it would be great if you coul also provide in email the remote-access to that modem.for you that have Huaway cards, we have fixed this issue in RouterOS v5beta2, so you can try that.
Doghead - you have a Sierra card, this is another problem. Can you send us supout.rif files like I asked above?
Still having issues with v5beta2 hauwei not coming up right.
Almost every time (I'd say 9 out of 10) I shutdown the router, disconnect the power, and boot up again, the usb port (under system) comes back invalid. A reboot rectifies the problem.
This basically means that every time I power up and boot, I have to reboot. It's not really really a problem. Just a little anoying.
Any one else experiencing this? Has anyone come up with a solution?
Good morning I changed a bit your script. I commented the problem I had is:I had strange issues with 5.0 beta 2 on a RB433UAH - namely that connecting the ppp-client worked only once, after that the modem would no longer respond - ROS would send ATH, +++, ATH, +++, ATH, +++ ... and so on (Huawei E122)
With RouterOS 4.10 the usb port is invalid about every second reboot
I helped myself with that short script:
system script
add name=usb-checker policy=\
ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="\
:delay 15000ms; \r\
\n:if ([/port get [find where inactive] name] ~ \"usb\") do {:log info Por\
t-removal; :beep length=2s frequency=1000; /sys reboot;};"
I run it at every reboot with the scheduler
/system scheduler
add comment="" disabled=no interval=0s name=schedule1 on-event=\
"/system script run usb-checker" policy=\
reboot,read,write,policy,test,password,sniff,sensitive start-time=startup
Sometimes it has to auto-reboot 2 or 3 times to get the port valid again, but it does the job
Careful, it might lead to unwanted infinite reboot cycles if something else goes wrong! maybe change the delay to something larger if you are anxious Also, please only use it for Routerboard 433 UAH, i did not test it with anything else.
in my case doing soft reset is sometimes not enough, the usb is still listed as inactive, and the only solution is to do a power cycle or delete the port.It is not need to change previous script. I tried it on RB411UAHR + Sierra Wireless MC8775 and it works. USB became active after 2-3 auto-reboot