Page 1 of 3

Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 3:16 am
by overkill
I upgraded the firmware to v1.1.0rc12. When the switch rebooted I could no longer access it. I tried powering it down then back up but I still cannot access it. I tried the reset pinhole in the front but it does nothing (no green or red lights). I'm not sure how to proceed.

:-|

Re: Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 6:38 am
by sirhc
It is 5:30AM here and I just downloaded and re-installed the version I had posted to the web site for download last night and it too messed up my switch at my office (I am at home obviously). I have a tech headed into the office to see what happened.

MY guess is that the file got corrupted when I copied it up to the server - CRAP

I pulled the file from download but this does not help you right now. Soon as my tech figures out what happened and if there is a fix I will post it.

Re: Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 8:32 am
by sirhc
OK the firmware file we posted was corrupted somehow.

Rory is working on a fix to recover your switch and I will post it up here soon.

It will require you to use a serial console cable.

I am very sorry. I will explain more but I took a sleeping pill at 2AM and just happen to wake up and saw your post.

Re: Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 10:46 am
by lligetfa
Ja, well... so much for following my own advice about not making changes on a Friday night. I will need to rummage for a serial console cable with the right pinout.

In the meantime, I dusted off the EdgeSwitch and now need to fight the urge to flash it with the latest alpha. :ak:

Re: Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 11:41 am
by Eric Stern
This was caused by a mistake on my part that left some bad code in the configuration script.

You can recover the switch with the following instructions. Unfortunately this can only be done on the serial console.

Hit ENTER to get to the "Netonix Switch#" prompt, then copy/paste the following commands:

Code: Select all
cmd
cat config.php | \
grep -v "<<<<<<< HEAD" | \
grep -v "=======" | \
grep -v "Config::save(\$config, false);" | \
grep -v ">>>>>>> remotes/origin/1.0.10" > config.php
reboot
echo Done


The switch should then reboot and come up running as usual. Now upgrade to 1.1.0rc13.

If you factory defaulted the switch in an attempt to fix this then you will have to restore the switch configuration.

Re: Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 12:01 pm
by lligetfa
What is the req for the serial cable? Is it a basic 2 wire cross or do other pins need to be tied AKA null modem?

What are the required serial port settings? baud, parity, stop, flow control?

Re: Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 12:02 pm
by sirhc
I use a standard DB9 to DB9 NULL Modem Serial Cable as a standard straight serial cable will not work.

A standard cross over cable may work.

Next problem is you will need an older computer with a serial port or a USB to Serial adapter, which you should have as an IT and especially a WISP.

I also use Putty (terminal emulator) with the following settings:
Baud: 115,200
Data bits: 8
Parity: None
Stop bits: 1

Re: Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 5:15 pm
by overkill
I cannot get to the "Netonix Switch#" prompt. I'm getting "Segmentation fault."

Re: Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 6:47 pm
by sirhc
overkill wrote:I cannot get to the "Netonix Switch#" prompt. I'm getting "Segmentation fault."


Hmm, sadly Eric is out on a date tonight but I will call him tomorrow morning and get on this with him.

There is a chance we can still recover this with an emergency recovery image/mode we have on the flash in a different flash partition.

Worst case I will next day you a replacement switch Monday and send along a return tag for the one we messed up with that bad firmware image.

I am really sorry about this.

Re: Not accessible after upgrade to v1.1.0rc12

Posted: Sat Jan 24, 2015 6:49 pm
by sirhc
overkill can you give me a call I might be able to help here
cell 717-682-8692