DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
Simple web-based check for latest firmware version??
- bluefin2105
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 18
- Thank yous received: 0
09 Mar 2020 21:25 #95732
by bluefin2105
Simple web-based check for latest firmware version?? was created by bluefin2105
As I tend not to log in directly to my few bits of network kit very often, I've written a powershell script to run a quick check to see if there are new firmware releases that I should be installing. I run the check about once a week. For Draytek and the Vigor2860 I'm currently doing some rather ugly screen scraping from "https://www.draytek.co.uk/support/downloads/vigor-2860 ", which works but is no doubt a bit fragile. If there's a simpler, more 'robust' web call I can make that would be preferable (and I assume the router itself can do it, otherwise how does it know an update is available?). Does anyone have a better way?
Thanks.
Thanks.
Please Log in or Create an account to join the conversation.
- mrk26
- Offline
- New Member
Less
More
- Posts: 9
- Thank yous received: 0
09 Mar 2020 21:40 #95733
by mrk26
Replied by mrk26 on topic Re: Simple web-based check for latest firmware version??
If you register on draytek support, you should get email notification (once you agree for it) when new fw is available.
Please Log in or Create an account to join the conversation.
- bluefin2105
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 18
- Thank yous received: 0
09 Mar 2020 21:52 #95734
by bluefin2105
Replied by bluefin2105 on topic Re: Simple web-based check for latest firmware version??
Thanks. That doesn't satisfy my "I'll just knock up a script" craving though
Please Log in or Create an account to join the conversation.
- mrk26
- Offline
- New Member
Less
More
- Posts: 9
- Thank yous received: 0
09 Mar 2020 22:08 #95735
by mrk26
Replied by mrk26 on topic Re: Simple web-based check for latest firmware version??
You of course do what's suit you best.
If fw is stable there may not be updates available for weeks, so keep checking every hour don't make any difference...
If fw is stable there may not be updates available for weeks, so keep checking every hour don't make any difference...
Please Log in or Create an account to join the conversation.
- bluefin2105
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 18
- Thank yous received: 0
09 Mar 2020 23:18 #95736
by bluefin2105
Replied by bluefin2105 on topic Re: Simple web-based check for latest firmware version??
Well no, I agree. I don't check that often. The other part of it is that I don't necessarily install the f/w as soon as it's announced - and sometimes I forget whether I've done it or not So a script that lists each device, the current firmware version on it (from SNMP) and the latest available (from the vendor support site) is just a quick "is there anything to do" check without having to login to each device individually. I'm just lazy - there are fewer than 10 devices so it wasn't a big job to start with!
Please Log in or Create an account to join the conversation.
- hornbyp
- Offline
- Big Contributor
Less
More
- Posts: 1323
- Thank yous received: 0
10 Mar 2020 01:38 #95737
by hornbyp
I fired up
Teleric Fiddler
, went to "System Maintenance >> Firmware Upgrade" and hit "Check the latest firmware".
This generated a call to
The response in JSON format, was:-
or, using
Curl
:-
I don't know the significance of the &date=2-10 ... it returns the same data without it.
I think you're being optimistic, in assuming that there will be any new firmware for the Vigor 2860 though
Replied by hornbyp on topic Re: Simple web-based check for latest firmware version??
(and I assume the router itself can do it, otherwise how does it know an update is available?)bluefin2105 wrote:
I fired up
This generated a call to
Code:
http://www.draytek.co.uk/ftp/fwver.php?m=Vigor2860&date=2-10
The response in JSON format, was:-
Code:
JSON
|--3.8.9.7
|--/support/downloads/vigor-2860/send/344-vigor-2860/
|--1756-readme-2860-3896
|--https://www.draytek.co.uk/support/
|--
|--
or, using
Code:
C:\>curl http://www.draytek.co.uk/ftp/fwver.php?m=Vigor2860^&date=2-10 (Note the added "^" before &date)
var LATE_VER=["3.8.9.7","\/support\/downloads\/vigor-2860\/send\/344-vigor-2860\/","1756-v2860-3897-bt","1755-readme-286
0-3896","https:\/\/www.draytek.co.uk\/support\/","",""];
C:\>
I don't know the significance of the &date=2-10 ... it returns the same data without it.
I think you're being optimistic, in assuming that there will be
Please Log in or Create an account to join the conversation.
Moderators: Chris
Copyright © 2025 DrayTek