P.S. open TFTP, in the correct dir, with '*tftp 192.168.1.1"
I don’t know why I was getting
tftp> connect 192.168.1.1
**Error: Address family for hostname not supported**
**192.168.1.1: unknown host**
Ok, this is weird, I just found this onDD-WRT Wiki however it dose not make much sense to me:
Linux: Most Linux distros either include a tftp client or have one available in their packages. This example uses atftp.
atftp --option “mode octet” --verbose -p -l code.bin 192.168.1.1
For OS X and Linux users I suggest opening a terminal window and entering the following commands.
tftp 192.168.1.1
binary
rexmt 1
timeout 60
trace
after all that type (but do not hit enter just yet)
put firmwarefile.bin
plug in router and immediately hit enter.
Now apply power to your router. The tftp client will continuously retry uploading the firmware until the router responds. Hopefully, the router will briefly awaken, allowing the firmware upgrade to be sent. About two minutes later, the router will reset and become operational with the new firmware.
After the PUT is complete the router will stop pinging for 2 or 3 minutes while the firmware is flashed… Don’t panic, this is normal. Once you start receiving pings again, the firmware has been flashed and you should be able to access the router again. You should reset to defaults before configuring the router again.
I’m going to add some stuff for the next person that’s looking to do this with Linux:
DD-WRT, open source router firmware, OpenWrt, Tomato, debrick, unbricking, router recovery, recover from a bad flash, get your router working again, power light blinks, flash dd-wrt firmware