Joined: 16 Nov 2015 Posts: 6039 Location: UK, London, just across the river..
Posted: Sun Dec 19, 2021 13:06 Post subject: how to force reboot via CLI
Hi guy's
It seems its not my first time that happens, but sometimes after CLI flash i loose control over the router and cannot reboot or execute any other command...like shell is gone...47874>47893
I can use dropbear but no commands or GUI access..
apart of physical reboot is there a way how to reactivate shell via SSh?
Joined: 16 Nov 2015 Posts: 6039 Location: UK, London, just across the river..
Posted: Tue Dec 21, 2021 13:46 Post subject:
giuliomagnifico wrote:
Already tried reboot -f (force)?
10's giuliomagnifico as it came into my mind, i tried it too, but it seams for some odd reason, shell is down, it happens, sometimes...once in a while..
KP-69 noting in the shutdown script that will interfere...and if i have no physical access to the button or power switch, it's funny...have to wait...its a company router, where only i have control over it and its locked in the IT network room ...
In fact router is fully functional..
so, my idea was if i can break something, like shutdown/kill vital process via htop and force it to autoshutdown kind of...or a way to restart shell.. _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 53045 WAP
TP-Link WR1043NDv2 -DD-WRT 53469 Gateway/DoT,Forced DNS,AP Isolation,Ad-Block,Firewall,VPN,x1VLAN
TP-Link WR1043NDv2 -DD-WRT 53469 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN(no-wifi)
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear R7800 --DD-WRT 53544 Gateway/DoT,AD-Block,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 53469 Gateway/Stubby DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 53469 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
Joined: 08 May 2018 Posts: 13638 Location: Texas, USA
Posted: Tue Dec 21, 2021 17:08 Post subject:
Alozaros wrote:
KP-69 noting in the shutdown script that will interfere...and if i have no physical access to the button or power switch, it's funny...have to wait...its a company router, where only i have control over it and its locked in the IT network room
Nothing to see here... you bricked one of these because your shutdown script hung the router, and I am not the one who said this in the emails
Joined: 16 Nov 2015 Posts: 6039 Location: UK, London, just across the river..
Posted: Wed Dec 22, 2021 6:39 Post subject:
kernel-panic69 wrote:
I'm sure there is a valid explanation for what caused this, but we'll never get it. I have a couple of these in service myself with DD-WRT and have no issues upgrading via webUI or CLI or using a reboot command via ssh. There's more to the picture than meets the eye here. Not trying to play rugby here or be rude, it's just pretty obvious that there is something wrong and it is user-induced.
it could be (not that you are rude )... up to a use err..
the odd bit... it happens on random basis...not only on my 1043v2 and not every time...for example with almost identical set up, it happened on 1 of the 1043v2 but not on the other 1043v2... _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 53045 WAP
TP-Link WR1043NDv2 -DD-WRT 53469 Gateway/DoT,Forced DNS,AP Isolation,Ad-Block,Firewall,VPN,x1VLAN
TP-Link WR1043NDv2 -DD-WRT 53469 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN(no-wifi)
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear R7800 --DD-WRT 53544 Gateway/DoT,AD-Block,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 53469 Gateway/Stubby DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 53469 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913