RECOVERY TOOL VIA SERIAL FOR SWITCHES

DOWNLOAD THE LATEST FIRMWARE HERE
User avatar
jpaine619
Member
 
Posts: 82
Joined: Fri Jul 07, 2017 11:13 pm
Location: San Diego, CA
Has thanked: 26 times
Been thanked: 18 times

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Wed Dec 04, 2019 4:14 am

Working with wine on mint


Thanks! I'll give that a try.

User avatar
Stephen
Employee
Employee
 
Posts: 1030
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 85 times
Been thanked: 181 times

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Wed Dec 04, 2019 8:53 am

wesley.kamau wrote:Great work!
Tried this on one of our switches. Been stuck on 'Begin transfer of recovery file .....

The .tar file is an archive not sure if that might have an effect on the process. When i unpack it, i get two files mtd and switch. My conclusion, either the switch is proper faulty or an issue with the .tar file.


Thanks wesley,

Yeah if the recovery.tar.gz file is in an archive, like a zip or whatever it might be. It could affect the process. Try decompressing it and try again. All the file transfers are over xmodem, so when it arrive's on the switch it will still be in the same state and the commands that run after aren't expecting it to be in an archive other than the tar.gz

Hopefully that helps.

**EDIT**
I think I may have mis-understood what you meant originally. It should definitely be sent in it's .tar.gz form - Try downloading it again from the original link at the beginning of the page.

Something else you can try too to verify that part is working. Just do it manually,
If you have access to the original HyperTerminal or any serial console that can use xmodem, just connect to the switch and type the commands:
Code: Select all
cd /tmp
rx recovery.tar.gz


Then while the switch is waiting, send the file. If that works, reboot the switch. Then wait about 3 minutes and run the tool again.
I did see things like that happen in my original test's, it should have been weeded out, but depending on the state of your switch. It might have missed a few of the commands the tool sent in the beginning.

If that doesn't work, then yeah the switch might be truly faulty.

cable guy
Member
 
Posts: 16
Joined: Fri Nov 11, 2016 5:34 pm
Location: British Columbia
Has thanked: 2 times
Been thanked: 0 time

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Thu Dec 05, 2019 1:24 am

Hello Stephen

The recovery did not work today

Techs noted that the transfer time was at least 4 times longer

speculated that the baud rate for the console port was too slow

should 115200

User avatar
Stephen
Employee
Employee
 
Posts: 1030
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 85 times
Been thanked: 181 times

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Thu Dec 05, 2019 1:41 am

cable guy, thanks for getting back.

The baud is locked at 115200.

How far did the tool get?

I'm wondering if perhaps it might be a similar issue to what is happening to wesley.

FSod
Member
 
Posts: 6
Joined: Thu Apr 06, 2017 12:35 pm
Has thanked: 1 time
Been thanked: 0 time

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Thu Dec 05, 2019 2:25 pm

Hi!
I tried it on a switch that after a prolonged power cut, did not wake up.

The tool reached 100%, unplug and plugged in again. Unfortunately it remains the same.

User avatar
Stephen
Employee
Employee
 
Posts: 1030
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 85 times
Been thanked: 181 times

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Fri Dec 06, 2019 6:29 pm

So quick update, I have managed to replicate this issue. The tool works most of the time. However, when it is stuck in redboot sometimes the timing is off a bit and it causes this to happen. I will have an update soon to correct this.

User avatar
Stephen
Employee
Employee
 
Posts: 1030
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 85 times
Been thanked: 181 times

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Thu Dec 12, 2019 12:07 am

Netonix Serial Recovery Tool v1.0.1 released!

This should fix the issue some have been encountering where the recovery tool just runs forever and never complete's sending the recovery.tar.gz, or sometimes it makes it through the entire process but when it's finished - nothing happens.

Let me know if this is working for you now and if it does I'll start working on the Linux release.

FSod
Member
 
Posts: 6
Joined: Thu Apr 06, 2017 12:35 pm
Has thanked: 1 time
Been thanked: 0 time

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Thu Dec 12, 2019 2:32 pm

Hi Stephen. Thanks for the new tool. Im just trying it.
Just 2 questions:

1) Im using a usb-serial converter and then a female adapter to plug in the switch, that should work? Or I need a null (female) serial cable without any adapters?
2) When the progress is over? The 100% is complete but the little points are moving. I have to wait something else?

Thanks in advance.

User avatar
Stephen
Employee
Employee
 
Posts: 1030
Joined: Sun Dec 24, 2017 8:56 pm
Has thanked: 85 times
Been thanked: 181 times

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Thu Dec 12, 2019 3:38 pm

Hello FSod,

For your first question, it's easy to test if the cable will work. Just run PuTTY, HyperTerminal, etc and connect to the switch, if you can access the terminal from the switch then the tool should function.

For the second question, can you send a screenshot?

FSod
Member
 
Posts: 6
Joined: Thu Apr 06, 2017 12:35 pm
Has thanked: 1 time
Been thanked: 0 time

Re: RECOVERY TOOL VIA SERIAL FOR SWITCHES

Fri Dec 13, 2019 8:10 am

Hi Stephen!

Thanks for your answers. Im sending the screenshot.

Thanks!
Attachments
netonix toll.jpg

PreviousNext
Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 9 guests