Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Fri Mar 08, 2024 4:57 Post subject: Re: Is router shutdown possible?
marcus83 wrote:
Is it possible to turn off the router using commands? 🤔
Before installing DD-WRT, does router have a shutdown button? Not talking about an ON-OFF switch, but a power button like a PC!
Most cheap routers don't even have an ON-OFF button, just a DC plug! You can use the ON-OFF button on an extension socket instead. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Fri Mar 08, 2024 8:50 Post subject: Re: Is router shutdown possible?
marcus83 wrote:
yes but with the switch it is still a forced shutdown
That's likely an ON-OFF button, not Soft-Off switch as in PC and notebooks. I doubt any networking equipments got one. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Fri Mar 08, 2024 10:27 Post subject:
apart of reboot command and echo b > /proc/sysrq-trigger to force reboot..
use the button...or power switch..
the last 2 can leave some dirty data on usb so...its vital to stop usb service's and unmout that partition
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=331051&start=15 _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Fri Mar 15, 2024 15:09 Post subject:
marcus83 wrote:
mine was a simple question, that's all.
Soft-off still consumers electricity, so think about the bills and the fire risk. Also, eavesdropping devices can still funciton over wifi without your knowing. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
I have often wished we had a shutdown command. Not sure if the hardware would support it however and we would still most likely have to toggle the power switch to boot it back up.
Kinda like a Raspberry Pi. While the shutdown command works fine, wake on LAN doesn't. So a power cycle is required to boot it back up. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.