- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Rebooting D7000v2 via wget in script [SOLVED]
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
So, basically, router seems to hang after a couple of days of intensive streaming. (FWIW, I have this EXACT same problem with a D6220 that runs at my father in laws home.
Don't care what Netgear says (which seems to be that the router does not to be rebooted to make 'it work better')
In the REAL WORLD, that seems to work. I get the feel the routers don't manage to well with todays massive streaming world we live in (hell, my TV is not even tuned in to terrestial transmissions, and has no antenna connected)
I think it is poor that netgear do not include a scheduled reboot option.
So..., a few posts around how to reboot router via script, but they did not work, but I have adapted this to work on the d7000v2 that I have.
The reboot runs daily at 3am, via cron form my linux server.
id=$(wget -q -O- --http-user admin --http-password password http://192.168.0.1/ADVANCED_home2.htm | perl -lne '/id=([a-f0-9]+)/ && print $1'); wget -O- --http-user admin --http-password password http://192.168.0.1/newgui_adv_home.cgi?id=$id --post-data "id=$id&buttonType=2";
You obviously need to adjust the router IP and PASSWORD
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NOTE: The exact same reboot script works on the D6220 - so this *may* work for any 'genie' based router.
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NOTE: The exact same reboot script works on the D6220 - so this *may* work for any 'genie' based router.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Rebooting D7000v2 via wget in script [SOLVED]
> [...] this *may* work for any 'genie' based router.
Or not. I don't see ADVANCED_home2.htm (or anything similar) on my
D7000[v1] (V1.0.1.70_1.0.1).
# find /www.eng -name 'ADV*'
#
# find /www.eng -name 'adv*.htm'
/www.eng/adv_wps.htm
/www.eng/adv_index.htm
/www.eng/adv_adsl.htm
But interesting, in any case.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Rebooting D7000v2 via wget in script [SOLVED]
NOTE: WIll not work if you are currently logged into admin panel of router - the script results with an error about 'multiple logins'
• What is the difference between WiFi 6 and WiFi 7?
• Yes! WiFi 7 is backwards compatible with other Wifi devices? Learn more