Community discussions

 
odge
Member Candidate
Member Candidate
Topic Author
Posts: 102
Joined: Mon Nov 29, 2010 2:53 pm

System reboots unexpectedly after usb power-reset on Rb2011

Tue Apr 02, 2013 4:40 pm

on occassion (lets say every 3rd day) doing a

/system routerboard usb power-reset duration=10s

for a 3G usb modem reset, makes the entire system reboot unexpectedly with no autosupout file created for it.

currently on RoS 5.24, latest firmware too.

Any ideas? I can rerun it myself many times, and wont get the failure, but now since I'm doing doing remote logging, I can see this problem is related to the usb reset in a script of mine. If I omit the reset command it never happens. (So the bug, is either that a ppp-out for a 3g is changing to running state is causing the issue, or, the usb power-reset is causing the issue)
 
petterg
Member Candidate
Member Candidate
Posts: 198
Joined: Wed Sep 16, 2009 2:55 pm

Re: System reboots unexpectedly after usb power-reset on Rb2

Wed Apr 03, 2013 7:51 pm

What if you change the script so that it disables ppp-out interface, sleep 10 seconds, do usb power reset, sleep 10 seconds, enable ppp-out
 
odge
Member Candidate
Member Candidate
Topic Author
Posts: 102
Joined: Mon Nov 29, 2010 2:53 pm

Re: System reboots unexpectedly after usb power-reset on Rb2

Wed Apr 03, 2013 8:12 pm

Hi Petter,

(I agree, perhaps I should do this for better safety etc as opposed to just cutting it off).

I'll make this change and see what happens over the next few days.

Regards
 
petterg
Member Candidate
Member Candidate
Posts: 198
Joined: Wed Sep 16, 2009 2:55 pm

Re: System reboots unexpectedly after usb power-reset on Rb2

Thu Apr 04, 2013 9:48 pm

May I ask how you connect the 3G usb device to the rb2011? (Where did you find a cable with micro usb male in one end and regular usb female in the other?)
 
odge
Member Candidate
Member Candidate
Topic Author
Posts: 102
Joined: Mon Nov 29, 2010 2:53 pm

Re: System reboots unexpectedly after usb power-reset on Rb2

Fri Apr 05, 2013 9:17 am

hi the forums are full of parts explaining this.

see http://forum.mikrotik.com/viewtopic.php ... it=USB+otg

also remember not to hijack threads, first search then start new thread

Who is online

Users browsing this forum: No registered users and 100 guests