Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 
962 posts

Ultimate Geek


  # 1846631 14-Aug-2017 19:26
Send private message

linw:

 

I have never expected to be notified of outages as I know that is not reasonable as outlined above.

 

I just would like the router to recognise the Internet is MIA and reboot itself but, as Aredwood says above, this may not be possible.

 

So, another option is to have a scheduled Internet check followed by a reboot if needed. 

 

With the help of cleverer people than me, I have a vbs script that can reboot the router if the Internet ain't there. 

 

But, question, is there any security risk if LAN access for Telnet is enabled on the router?

 

 

Ask those cleverer people if they could get it to do a DHCP release/renew. That should involve no outage, so you could even do it on a schedule (e.g. every 15 minutes) rather than checking if the internet was there or not.




996 posts

Ultimate Geek


  # 1846701 14-Aug-2017 21:15
Send private message

I don't see why they cannot advise people in advance. I think most of the outages are planed and should be going through change control. IF so there is plenty of time to pop up an advisory on their webpage and if necessary they can send out an email. All of these things can be automated and just uses a little bit of effort to make it work smoothly. Someone suggested they could be unplanned outages but there should not really be unplanned outages in a company the size of Orcon. That is why you have everything dualled so that is one part fails the other can carry the load.

 

 

 

 





Nokia 7 Plus
Nexus 6P 32Gb
Nexus 6 Phone
Nexus 5 Phone
Nexus 7 2013 Tablet
Samsung TAB A 8"
Samsung TAB A 10"

 

& many Windows laptops, Desktops etc

 

 

 


 
 
 
 


2055 posts

Uber Geek

Subscriber

  # 1846738 14-Aug-2017 22:05
Send private message

deadlyllama:

 

linw:

 

I have never expected to be notified of outages as I know that is not reasonable as outlined above.

 

I just would like the router to recognise the Internet is MIA and reboot itself but, as Aredwood says above, this may not be possible.

 

So, another option is to have a scheduled Internet check followed by a reboot if needed. 

 

With the help of cleverer people than me, I have a vbs script that can reboot the router if the Internet ain't there. 

 

But, question, is there any security risk if LAN access for Telnet is enabled on the router?

 

 

Ask those cleverer people if they could get it to do a DHCP release/renew. That should involve no outage, so you could even do it on a schedule (e.g. every 15 minutes) rather than checking if the internet was there or not.

 

 

Now, there is another challenge! My 'cleverer people' existed as forum respondents for script to reboot a router. So, need to do some more googling!!

 

A bit of fun and learning.




996 posts

Ultimate Geek


  # 1846758 14-Aug-2017 22:54
Send private message

I mentioned earlier that if you have a spare device that is always on, you could write a script to ping an external site every 15 minutes. If it fails chances are your router is down. I would then loop the ping and try again in say 5 minutes if still down ssh into your router and reboot it. 

 

Build a delay of five minutes into your ping script and then test again etc etc

 

I have a small Beebox mini PC  here that I intend to try it out. It has windows 10 on it at moment but I will probably put a linux on instead.

 

The idea should work but like everything will need a bit of testing.

 

Let us all  know if anyone tries it and get it working

 

 





Nokia 7 Plus
Nexus 6P 32Gb
Nexus 6 Phone
Nexus 5 Phone
Nexus 7 2013 Tablet
Samsung TAB A 8"
Samsung TAB A 10"

 

& many Windows laptops, Desktops etc

 

 

 


3885 posts

Uber Geek

Subscriber

  # 1846767 14-Aug-2017 23:11

deadlyllama:

 

Ask those cleverer people if they could get it to do a DHCP release/renew. That should involve no outage, so you could even do it on a schedule (e.g. every 15 minutes) rather than checking if the internet was there or not.

 

 

Only problem would be if you get allocated a new external IP when the renew happens. If you are in the middle of downloading / streaming / loading something / gaming etc. It will break and you will have to start again / login again. As the remote server that is sending you data, won't know that you suddenly have a new IP. I think Orcon might be full dynamic IPs (different IP allocated every time you do a Renewal or disconnect / reconnect) . Instead of sticky IPs (you almost always get the same IP everytime)

 

Far better is to ping a remote server, and only after a few failed pings. Do a restart or DHCP renewal








996 posts

Ultimate Geek


  # 1846773 14-Aug-2017 23:24
Send private message

I did say an external server accordingly. like google maybe. I imagine that the outages are only should period so you would need to build the delay I don't care about loosing downloads more interested in having the network restored after an outage. Especially if I am not home I dont want network down for several hours.





Nokia 7 Plus
Nexus 6P 32Gb
Nexus 6 Phone
Nexus 5 Phone
Nexus 7 2013 Tablet
Samsung TAB A 8"
Samsung TAB A 10"

 

& many Windows laptops, Desktops etc

 

 

 


2055 posts

Uber Geek

Subscriber

  # 1847156 15-Aug-2017 15:52
Send private message

In my 5 years experience with Orcon UFB, the only times I have had this type of network outage is after a middle of the night maintenance task. Thus, personally, I would only bother with the connected/reboot check once a day at, say, 5am. My main comp is in sleep mode when not in use so it could be scheduled to do the check.

 

This is the vbs code I have been testing:-

 

'Reboot Router if No Internet
Dim oShell
Set oShell = WScript.CreateObject("WScript.Shell")
strHost = "google.com"
strPingCommand = "ping -n 1 -w 300 " & strHost
ReturnCode = oShell.Run(strPingCommand, 0 , True)
If ReturnCode = 0 Then
'Wscript.Echo "Connected."
Wscript.Quit
Else
'Wscript.Echo "Not Connected. Rebooting."
oShell.Run "telnet"
WScript.Sleep 3000
oShell.Sendkeys "open IP Addr~"
WScript.Sleep 3000
oShell.Sendkeys "userid~"
WScript.Sleep 3000
oShell.Sendkeys "password~"
WScript.Sleep 3000
oShell.Sendkeys "reboot~"
WScript.Sleep 3000
oShell.Sendkeys "~"
End If
Wscript.Quit

 

------------------

 

Substitute the IP addr, userid and password for your router.

 

As it is atm, if it has had to reboot the router you will see the black code window on your desktop. It obviously loses contact with the router when it reboots but the mere presence of this uncompleted code window will give me the message so nothing more refined is necessary for my use.

 

 


 
 
 
 




996 posts

Ultimate Geek


  # 1848295 18-Aug-2017 07:28
Send private message

Just an update on the Browns Bay Fibre

 

Another outage on Wednesday night/Thursday morning it's a real pain when you have so many things connected to Internet. We have our Heat pumps controlled via Internet likewise with Alarm System. I will definitely have to get a into g and set up the mini computer as a reboot device. Just one more piece of electronics to cope with <g> 





Nokia 7 Plus
Nexus 6P 32Gb
Nexus 6 Phone
Nexus 5 Phone
Nexus 7 2013 Tablet
Samsung TAB A 8"
Samsung TAB A 10"

 

& many Windows laptops, Desktops etc

 

 

 


1 | 2 | 3 
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic



Switch your broadband provider now - compare prices


Twitter and LinkedIn »



Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Chorus to launch Hyperfibre service
Posted 18-Nov-2019 15:00


Microsoft launches first Experience Center worldwide for Asia Pacific in Singapore
Posted 13-Nov-2019 13:08


Disney+ comes to LG Smart TVs
Posted 13-Nov-2019 12:55


Spark launches new wireless broadband "Unplan Metro"
Posted 11-Nov-2019 08:19


Malwarebytes overhauls flagship product with new UI, faster engine and lighter footprint
Posted 6-Nov-2019 11:48


CarbonClick launches into Digital Marketplaces
Posted 6-Nov-2019 11:42


Kordia offers Microsoft Azure Peering Service
Posted 6-Nov-2019 11:41


Spark 5G live on Auckland Harbour for Emirates Team New Zealand
Posted 4-Nov-2019 17:30


BNZ and Vodafone partner to boost NZ Tech for SME
Posted 31-Oct-2019 17:14


Nokia 7.2 available in New Zealand
Posted 31-Oct-2019 16:24


2talk launches Microsoft Teams Direct Routing product
Posted 29-Oct-2019 10:35


New Breast Cancer Foundation app puts power in Kiwi women's hands
Posted 25-Oct-2019 16:13


OPPO Reno2 Series lands, alongside hybrid noise-cancelling Wireless Headphones
Posted 24-Oct-2019 15:32


Waikato Data Scientists awarded $13 million from the Government
Posted 24-Oct-2019 15:27


D-Link launches Wave 2 Unified Access Points
Posted 24-Oct-2019 15:07



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.