Welcome, Guest. Please login or register.
Did you miss your activation email?
March 11, 2010, 06:51:26 PM

Pages: [1]
  Print  
Author Topic: Rebooting router/modem  (Read 470 times)
electroman
Newbie
*
Posts: 13


« on: October 28, 2009, 05:09:00 PM »

Hi,

I am using a wireless modem with router as my point of ethernet connection in a remote monitoring application (no land-line) using the IO-204.  I am not on-site to supervise the system and it must run automatically without long term dropouts.  The problem is that every now and then the modem hangs and I loose connection and it does not auto-reconnect.  I am not sure why but I know this can happen periodically even with land-line connected modem/routers.  The simplest solution is to switch power to the modem/router off wait a minute then power on again.  Wireless connection is re-established OK every time I have done this. My question is, what is the easiest way to have the system reboot itself without manual intervention?  I have a microcontroller connected to one channel through a serial smart board and I can easily switch the power to the modem/router on and off using a pin on the micro connected to a MOSFET. One possible solution I have thought of is to use a serial web service API to request every 10 minutes the  GMT time.  If the reply is not received within a couple of minutes then the mico will power the system off then on again.  Is this the best way to do it or is there a simpler solution?

Thanks
Logged
iobridge
Administrator
Sr. Member
*****
Posts: 407



WWW
« Reply #1 on: October 28, 2009, 06:08:50 PM »

We are releasing some features that will be able to help. The IO-204 will get a new firmware that allows for on board logic. This means the IO-204 will be able know when it's offline or online and have rules and actions based off that status. Once this gets released (less than a month away) you will have no trouble restarting a modem by the IO-204 deciding when to turn on and off a relay. Please stay tuned!
Logged

ioBridge Support
Community Team
electroman
Newbie
*
Posts: 13


« Reply #2 on: October 28, 2009, 06:19:37 PM »

Thanks for the prompt reply.  I look forward to the new firmware, it sounds like just what I am after.  Keep up the good work.
Logged
jason
Administrator
Sr. Member
*****
Posts: 475



WWW
« Reply #3 on: October 28, 2009, 06:50:56 PM »

If you already have a microcontroller and MOSFET involved, you may be able to utilize the digital output failsafe settings.  You could set up one of the output pins to go high when the IO-204 gets knocked offline and trigger a modem/router power reset.
Logged

Jason Winters
ioBridge Developer
electroman
Newbie
*
Posts: 13


« Reply #4 on: October 28, 2009, 08:24:57 PM »

Thanks Jason.  I should have thought of that.  I am still getting up to speed with all the features.  I can use the micro to poll one of the failsafe digital outputs and reboot whenever it goes high.


Logged
nick
Full Member
***
Posts: 132


« Reply #5 on: October 28, 2009, 10:27:01 PM »

You need to put in some sort of delay so that once you reboot you give it a minute or so to come back up, otherwise it will go into an endless loop.
Logged
eman5oh
Newbie
*
Posts: 19


« Reply #6 on: October 30, 2009, 01:22:55 PM »

We are releasing some features that will be able to help. The IO-204 will get a new firmware that allows for on board logic. This means the IO-204 will be able know when it's offline or online and have rules and actions based off that status. Once this gets released (less than a month away) you will have no trouble restarting a modem by the IO-204 deciding when to turn on and off a relay. Please stay tuned!

This sounds great. Does this mean that actions like opening and closing relays based on analog inputs could be carried out by the io204 regardless of a network connection?
Logged
iobridge
Administrator
Sr. Member
*****
Posts: 407



WWW
« Reply #7 on: October 30, 2009, 02:36:16 PM »

Yes!
Logged

ioBridge Support
Community Team
zedman
Newbie
*
Posts: 8


« Reply #8 on: January 20, 2010, 09:02:47 PM »

We are releasing some features that will be able to help. The IO-204 will get a new firmware that allows for on board logic. This means the IO-204 will be able know when it's offline or online and have rules and actions based off that status. Once this gets released (less than a month away) you will have no trouble restarting a modem by the IO-204 deciding when to turn on and off a relay. Please stay tuned!

Has this firmware upgrade occurred, and is it available for download?
Logged
iobridge
Administrator
Sr. Member
*****
Posts: 407



WWW
« Reply #9 on: January 20, 2010, 11:05:16 PM »

Yes, it's called C4. If you click on your settings settings tab, it will tell you the current firmware and if there is an upgrade available.
Logged

ioBridge Support
Community Team
Pages: [1]
  Print  
 
Jump to:  



 
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
| © ioBridge Corporation | RSS Feed