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 
deadlyllama
1260 posts

Uber Geek

Trusted

  #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.




ronw

1222 posts

Uber 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

 

 

 


linw
2849 posts

Uber Geek


  #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.




ronw

1222 posts

Uber 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

 

 

 


Aredwood
3885 posts

Uber Geek


  #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






ronw

1222 posts

Uber 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

 

 

 


linw
2849 posts

Uber Geek


  #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.

 

 


 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
ronw

1222 posts

Uber 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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

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



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.