Reviving LINKSYS WRT150N

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
balanga
DD-WRT Novice


Joined: 12 Jul 2014
Posts: 34

PostPosted: Wed Oct 12, 2022 17:39    Post subject: Reviving LINKSYS WRT150N Reply with quote
I have just been looking at an old LINKSYS WRT150N which I thought I may be able to use to extend my LAN.

I was unable to logon to the unit initially, but to my surprise I found that I had installed DD-WRT v24-sp2 on it at some time (long ago...).

The web server won't allow access even though httpd is running. Access was only allowed via telnet, sshd isn't running.

How should configure the system? And is there a file manager such as MC available, or could one be installled? Alternatively could I mount the device via NFS or somesuch?
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5690

PostPosted: Thu Oct 13, 2022 1:22    Post subject: Reply with quote
Try http without s. Try reset then set new web interface username and password. Telnet or SSH username is root.

Edit: reference https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1273442#1273442


Last edited by blkt on Thu Oct 13, 2022 2:30; edited 1 time in total
kernel-panic69
DD-WRT Guru


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

PostPosted: Thu Oct 13, 2022 2:26    Post subject: Reply with quote
Please consider upgrading to the current release and reporting in the build thread:

https://forum.dd-wrt.com/wiki/index.php/WRT150N

Quote:
Upgrade DD-WRT
Now any generic.bin (broadcom folder) build except Mega or Micro can be flashed via Firmware Upgrade.


https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/10-12-2022-r50485/broadcom/

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=333110

_________________
"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
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12877
Location: Netherlands

PostPosted: Thu Oct 13, 2022 6:32    Post subject: Reply with quote
Moved thread to the appropriate forum.

See forum guidelines full of helpful tips e.g. how to research your router, where and how to post, where to find downloads etc:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

_________________
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
balanga
DD-WRT Novice


Joined: 12 Jul 2014
Posts: 34

PostPosted: Thu Oct 13, 2022 11:38    Post subject: Reply with quote
blkt wrote:
Try http without s. Try reset then set new web interface username and password. Telnet or SSH username is root.

Edit: reference https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1273442#1273442


I'm not sure how httpd is started. According to ps it is running httpd -p 80 and I can't close it with kill -9.

I've been unable to reset, and trying to connect via SSH results in connection refused, not surprising since SSHD isn't running.

I must have been able to login to the web interface at some time, but that may have been 10 years ago. Not sure what I can do at the moment and don't know my way around the system enough to work out how to fix things. How is httpd started?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12877
Location: Netherlands

PostPosted: Thu Oct 13, 2022 12:01    Post subject: Reply with quote
stopservice httpd
startservice httpd

telnet should always run, so you should be able to use telnet

_________________
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
balanga
DD-WRT Novice


Joined: 12 Jul 2014
Posts: 34

PostPosted: Thu Oct 13, 2022 23:46    Post subject: Reply with quote
egc wrote:
stopservice httpd
startservice httpd

telnet should always run, so you should be able to use telnet


Thanks.

I restarted httpd but that makes no difference. Is there any logging I can use? What flags can I use with this httpd? Any man page anywhere.

I am aware of telnet as this is what I've been using. Just wondered if sshd existed but can't see it.

There seems to be something wrong with the system. I can't access it via a browser and it won't reset.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1927

PostPosted: Thu Oct 13, 2022 23:57    Post subject: Reply with quote
If telnet works, you should be able to do an erase nvram && reboot considering the build you are currently on - it is nvram erase && reboot on current versions. That should clear username/password. Wasn't the original default webUI username admin prior to being changed to root? The password should apply to all access methods (webUI, telnet, ssh).
_________________
"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
balanga
DD-WRT Novice


Joined: 12 Jul 2014
Posts: 34

PostPosted: Fri Oct 14, 2022 12:44    Post subject: Reply with quote
dale_gribble39 wrote:
If telnet works, you should be able to do an erase nvram && reboot considering the build you are currently on - it is nvram erase && reboot on current versions. That should clear username/password. Wasn't the original default webUI username admin prior to being changed to root? The password should apply to all access methods (webUI, telnet, ssh).


Thanks, but 'nvram erase && reboot' didn't make any difference. I can still telnet as before, but webUI is not accessible even though 'httpd -p 80' is running.

uname -a shows I'm running 'DD-WRT 2.4.37 #4021'.

I notice that a process called 'resetbutton' is running. What does this do?
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1927

PostPosted: Fri Oct 14, 2022 14:03    Post subject: Reply with quote
If you read what I wrote correctly, you would know that the command to reset via telnet/ssh on your current build is 'erase nvram'. resetbutton process is polling the hardware reset button on the router. If you press the reset button for ~10 seconds while router is running, it should reset the router. One thing I guess was overlooked: Are you accessing webUI via http://router.ip.address.here (i.e. http://192.168.1.1) or is it defaulting to https:// ?
_________________
"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
balanga
DD-WRT Novice


Joined: 12 Jul 2014
Posts: 34

PostPosted: Sat Oct 15, 2022 10:18    Post subject: Reply with quote
dale_gribble39 wrote:
If you read what I wrote correctly, you would know that the command to reset via telnet/ssh on your current build is 'erase nvram'. resetbutton process is polling the hardware reset button on the router. If you press the reset button for ~10 seconds while router is running, it should reset the router. One thing I guess was overlooked: Are you accessing webUI via http://router.ip.address.here (i.e. http://192.168.1.1) or is it defaulting to https:// ?


I finally managed to revive my router as explained in:-


https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=333125
balanga
DD-WRT Novice


Joined: 12 Jul 2014
Posts: 34

PostPosted: Wed Oct 26, 2022 19:40    Post subject: Reply with quote
kernel-panic69 wrote:
Please consider upgrading to the current release and reporting in the build thread:

https://forum.dd-wrt.com/wiki/index.php/WRT150N

Quote:
Upgrade DD-WRT
Now any generic.bin (broadcom folder) build except Mega or Micro can be flashed via Firmware Upgrade.




I was thinking of trying this:-

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/10-12-2022-r50485/broadcom/dd-wrt.v24_mini_generic.bin

Any comments?
tedm
DD-WRT Guru


Joined: 13 Mar 2009
Posts: 555

PostPosted: Thu Oct 27, 2022 6:14    Post subject: Reply with quote
balanga wrote:

I was thinking of trying this:-

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2022/10-12-2022-r50485/broadcom/dd-wrt.v24_mini_generic.bin

Any comments?


I had one of those routers for a time around 4 years ago what I discovered is that the CPU in the device is so slow (I think it's only 100Mhz) that the newer builds are -very- sluggish on it.

I finally ended up reverting it back to stock firmware and it found a home as a wireless access point in a small out of the way office that only a few people ever used. As far as I know it's still there in operation. (that client got bought out a year ago)

Yours is running OK with whatever decades old dd-wrt build you have on it - if you want to walk it forward to a newer build I would do it a year at a time and stop when it starts slowing down.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1927

PostPosted: Thu Oct 27, 2022 16:44    Post subject: Reply with quote
tedm wrote:
I had one of those routers for a time around 4 years ago what I discovered is that the CPU in the device is so slow (I think it's only 100Mhz) that the newer builds are -very- sluggish on it.

Max capable 300MHz, clocked down to 264MHz in this router.

https://www.datasheets.com/en/part-details/bcm4704-broadcom-inc-34659251

https://forum.dd-wrt.com/wiki/index.php/Supported_Devices#Linksys

_________________
"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
balanga
DD-WRT Novice


Joined: 12 Jul 2014
Posts: 34

PostPosted: Fri Oct 28, 2022 11:02    Post subject: Reply with quote
tedm wrote:

Yours is running OK with whatever decades old dd-wrt build you have on it - if you want to walk it forward to a newer build I would do it a year at a time and stop when it starts slowing down.


Is there any program I can run to objectively show that it is slowing down?
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum