Posted: Mon May 17, 2021 18:53 Post subject: Cant telnet to bootloader D-Link DIR-300 REV A1
I cant telnet to the bootloader of my D-Link DIR-300 REV A1. I tried everything, from pressing the reset button 2s after the switch LEDs lit up and connecting, right after pluging in the router and connecting, pressing the reset button for more than 10s before and after the switch LEDs lit up and connecting, without pressing the reset button and connecting, and i have no luck, i always get a Network Error: Connection timed out. error in PuTTY. Im using the attached script to automatically telnet to the router's bootloader. Also, i attach my current ip configs. What am i doing wrong? Ive tried connected to the wan port and the lan port, but no luck.
Also, is there any way to check what are my current redboot settings? Can i modify the boot order within the already booted router to not load linux?
Im trying to go back to the stock fw, but i cant do so if i cannot get to the bootloader
Joined: 08 May 2018 Posts: 8998 Location: Texas, USA
Posted: Tue May 18, 2021 4:39 Post subject:
How exactly did you flash DD-WRT to it? I presume you followed the wiki? I don't think you need to be connected to the WAN port, the way the wiki reads, that is only for loading the micro redboot. Not having one of these in hand, I can't advise anything other than what the wiki reads. I presume you also have a serial console connected? Are you also running a dhcp server with 192.168.1.1 as the only IP address in the dhcp pool? I think a major edit is in order for this wiki so it's easier to understand, perhaps...
How exactly did you flash DD-WRT to it? I presume you followed the wiki?
Yes, i did followed the wiki, and i was succesful in following it, only, as you say, a bit confusing.
I don't think you need to be connected to the WAN port
No, you actually dont have to use the wan port to telnet to the bootloader, but i didnt remembered if when i flashed DD-WRT i used the wan or the lan port to telnet to it.
I presume you also have a serial console connected?
No, i actually dont have a serial console connected. I have half of the hardware needed, i only need a 3.3v level shifter that i dont have, and i think that with an arduino is enough to get a serial connection, isnt it? Only one thing i have to ask, can i use the serial port aviable on my PC's motherboard? I mean, in theory, is just the same as any serial port, isnt it?
Are you also running a dhcp server with 192.168.1.1 as the only IP address in the dhcp pool?
I actually dont know what that is and how to set it up. Is there any wiki for setting that up? is that related to my computer or is something on the router itself?
I think a major edit is in order for this wiki so it's easier to understand, perhaps...
You're right, but i dont know if it will be worth it, since this is almost a 15 years old router, and i dont seem to see a lot of people having one of them as a dialy driver, not like me...
Try wire a switch in between router and laptop
sadly, thats not an option for me, i dont have any ethernet switch.
Ok, i might have a friend that can hang me one of those for some time. Until i can see him, i was thinking, what would happen if i make the linux partition unbootable? will it just default to the bootloader command prompt? Because, i was thinking, maybe, i forgot to add the delay time to the boot script, and the bootloader has no option other than boot to linux. Also, is there any option to check if thats true? like, dumping the partition where the redboot settings are (i think in this case is mtd5) and change them with a hex editor?