ssh connection refused after reboot

Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware
Author Message
xalexa
DD-WRT Novice


Joined: 27 Feb 2023
Posts: 10

PostPosted: Mon Feb 05, 2024 5:58    Post subject: ssh connection refused after reboot Reply with quote
Update: Starting Day 4 of trying to solve this - it's got to be something super simple !?!?

50 people have read this and no suggestions . . . ??

hardware X86_64 Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz
ddwrt version: tried 55009, 53028 and 50176

update: also tried 55052 - no difference

1) start with fresh install using dd after overwriting disk with /dev/urandom
2) after set access password (save and apply) ssh works fine

update: reboot at this stage yields same problem - ssh connection refused

3) after basic setup (save and apply) ssh works fine
4) after setting ssh to use key and NOT use passwords (save & apply) ssh still works with passwords
5) after reboot ssh fails with connection refused

ALSO: Admin; backup yields 404 error (file not found) on all 3 ddwrt versions used.

I have 50176 running OK on 4 other routers ( 3 - X86 and 1 netgear)

Have not found a way to restore ssh to work. Suggestions?

update: I'm going to try an alternative to see if I have the same problem . . . maybe opnsense???

Alex
==
Sponsor
xalexa
DD-WRT Novice


Joined: 27 Feb 2023
Posts: 10

PostPosted: Thu Feb 08, 2024 16:27    Post subject: Reply with quote
There might be an explanation (but no solution) - with opnsense live I had to switch my WAN and LAN ports before it would work correctly. I had tried that with ddwrt as well but without success.

I've run out of ideas . . .
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12772
Location: Netherlands

PostPosted: Thu Feb 08, 2024 16:37    Post subject: Reply with quote
xalexa wrote:
There might be an explanation (but no solution) - with opnsense live I had to switch my WAN and LAN ports before it would work correctly. I had tried that with ddwrt as well but without success.

I've run out of ideas . . .


Try to use Telnet instead of SSH it is possible SSH is disabled by default at least that is the case in non-X86 builds

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2846
Location: Germany

PostPosted: Thu Feb 08, 2024 16:45    Post subject: Reply with quote
The fact that the backups and ssh do not work makes me suspect that you are using a non-activated trial version.
_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.2 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1400

PostPosted: Thu Feb 08, 2024 23:56    Post subject: Reply with quote
without any logs or checking if dropbear has crashed or anything like that ... it is hard to know anything.
xalexa
DD-WRT Novice


Joined: 27 Feb 2023
Posts: 10

PostPosted: Mon Feb 12, 2024 2:36    Post subject: Reply with quote
ho1Aetoo wrote:
The fact that the backups and ssh do not work makes me suspect that you are using a non-activated trial version.


My installation mentioned "click here for 24 hr free trial" at the top of the page but no method of activating the free trial could be found. Since I was going to activate after verifying that my PC could run ddwrt, I decided to purchase another activation (my 4th) and you are correct, the problem(s) disappeared.

It would be good to know how I could have activated that trial period . . . I wrongly assumed it was active and wasted a ton of time trying to get things verified. Next time . . .

Thanks for the suggestion!
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14047
Location: Texas, USA

PostPosted: Mon Feb 12, 2024 3:35    Post subject: Reply with quote
https://dd-wrt.com/shop/

https://sites.fastspring.com/ddwrt/product/ddkk

https://dd-wrt.com/professional/activation/

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
xalexa
DD-WRT Novice


Joined: 27 Feb 2023
Posts: 10

PostPosted: Mon Feb 12, 2024 22:13    Post subject: Reply with quote
kernel-panic69 wrote:
https://dd-wrt.com/shop/

https://sites.fastspring.com/ddwrt/product/ddkk

https://dd-wrt.com/professional/activation/


None of those links tell me how to activate the 24hr free trial.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14047
Location: Texas, USA

PostPosted: Mon Feb 12, 2024 22:50    Post subject: Reply with quote
And I suspect that you were using your internet surfing browser and not a separate one and probably had add-ons that blocked the trial activation. Anyhow, I missed the part where you purchased an activation, so my foul-up. But the OP never stated which files you used, public serial, public vga, etc.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
xalexa
DD-WRT Novice


Joined: 27 Feb 2023
Posts: 10

PostPosted: Tue Feb 13, 2024 0:47    Post subject: Reply with quote
kernel-panic69 wrote:
And I suspect that you were using your internet surfing browser and not a separate one and probably had add-ons that blocked the trial activation. Anyhow, I missed the part where you purchased an activation, so my foul-up. But the OP never stated which files you used, public serial, public vga, etc.


I was using dd-wrt_x64_full_vga_2GB. How is activation of the trial supposed to work?

When I clicked on the "click here" link all I got was a scrolling list of credits.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2846
Location: Germany

PostPosted: Tue Feb 13, 2024 8:48    Post subject: Reply with quote
I don't know if you don't want to understand it.
But the trial version has limited features like no backups, no CLI and no diagnostic.

You activate the trial versions by buying a license and entering the activation key.

Shocked Shocked Shocked

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.2 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
Sp1derman
DD-WRT User


Joined: 16 Jun 2006
Posts: 122
Location: Germany, BW

PostPosted: Tue Feb 13, 2024 8:50    Post subject: Reply with quote
4 post earlier you wrote:
"I decided to purchase another activation (my 4th) and you are correct, the problem(s) disappeared."

Now you wrote:
"I was using dd-wrt_x64_full_vga_2GB. How is activation of the trial supposed to work?
When I clicked on the "click here" link all I got was a scrolling list of credits."

So your problems get solved by bying the activation, but not using it? That sounds strange.

You can try the public X64 version, there backup and ssh works.
And if this is your 4th activation, you should know how activation works.
xalexa
DD-WRT Novice


Joined: 27 Feb 2023
Posts: 10

PostPosted: Thu Feb 15, 2024 18:07    Post subject: Reply with quote
ho1Aetoo wrote:
I don't know if you don't want to understand it.
But the trial version has limited features like no backups, no CLI and no diagnostic.

You activate the trial versions by buying a license and entering the activation key.



For anyone trying or curious about the X86 version of DDWRT, here’s my understanding of the trial version:

1) When you install the x86 version of DDWRT there is a hyperlink at the top of the page which says:

“Click here to ACTIVATE 23 hour free trial” (see screenshot). The link is to the “About” page which provides some info on DDWRT versions and a list of credits to the people who created DDWRT. Activation is available under the Admin tab of the GUI. Not everyone sees the ambiguity of “Click here to ACTIVATE 23 hour free trial”.

2) Apparently there is no such thing as a “23 hour free trial” that needs to be “activated” for the X86 version of DDWRT. The only activation available changes the “23 hour free trial” into a fully activated version of DDWRT. That activation must be purchased and instructions on how to do that are available online. Without that activation, ddwrt is running in “free trial” mode.

3) During the “23 hour free trial”, DDWRT is crippled by at least the following:

a) Console does not work – the full version provides full console access;
b) Backup does not work – the full version allows you to get a backup of your settings;
c) While ssh and telnet can be configured and used in the trial version, that capability is turned off after a reboot;
d) The “23 hour free trial” period can be re-started with a reboot after the 23 hours expires;
e) DDWRT continues to function after the 23 hour time expires subject to the limitations mentioned; and
f) There may be other limitations that I have not discovered – I have not found any documentation on the extent to which the trial version is limited in capabilities. ho1Aetoo mentioned that diagnostics is turned off but that is not something I’ve tried. More info/documentation on the limitations of the “23 hour free trial” would be helpful.

My experience with DDWRT is limited but I do have it installed on 4 X86 devices providing an international VPN. In my opinion it’s a great product and I hope these comments are helpful. If anyone sees errors in my understanding, please provide corrections. Thanks!
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1848

PostPosted: Thu Feb 15, 2024 18:39    Post subject: Reply with quote
I thought the purpose of the link was to display firmware version on refresh of the page after closing out the pop-up. I can only say that some things possibly may have broken in someone's quest for fame, if they worked prior to the whirlwind of copy/paste.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum