mswhirl / autoflashgui

Utility to flash firmware to modems and run setup commands after the flash has completed
GNU General Public License v3.0
70 stars 17 forks source link

Unable to ssh after flashing 16.3 on TG789vac v2 #11

Closed kurtinaitis closed 5 years ago

kurtinaitis commented 5 years ago

Hello, I've done flashing 17.2 and then 16.3 on my TG789vac v2 using these instructions: https://whirlpool.net.au/wiki/hack_technicolor and those firmwares:

The output does not say anything bad, I can confirm version of the flashed firmware using the browser. But after flashing and running commands I am unable to connect to device using ssh. It seems, the device is not listening on ports 22 or 6666. When I try to run some command using browser, It get an error (but the POST request returns 200):

IP address: :::::::;/etc/init.d/dropbear restart
Invalid IP address Label within domain name has invalid syntax

Is there some problem with this rooting method?

mswhirl commented 5 years ago

Hi kurtinaitis,

Due to the way the commands are executed i.e. effectively piggybacking on what would normally be a silent command in the firmware, it is not possible to get the output from the command. The only feedback available to autoflashgui is that posting the configuration change to set the command in the modem was successful i.e. returned status 200. This is why the feedback is limited :(

It appears you have been given a solution in the thread at https://whrl.pl/Rfh34o .

I will update the wiki to indicate the firmware you tried initially is not compatible.

Please close the issue if you consider it resolved.

Cheers, Mark.

kurtinaitis commented 5 years ago

The command execution could maybe check for form validation errors in the returned markup. But anyway - my problem is already solved. Thanks a lot for your great job with this script. The forum is also very friendly and helpful.

mcohrs commented 3 years ago

The command execution could maybe check for form validation errors in the returned markup. But anyway - my problem is already solved. Thanks a lot for your great job with this script. The forum is also very friendly and helpful.

How did you fix it ? Having the same router and the same issue. Thx