-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Second run of UFiber.Configurator messed up the MAC address of a Loco #5
Comments
Hello! That is weird that the devices aren't being reverted to whatever value you passed. I've tested that and not on the first time it worked but on all following runs it worked perfectly. In all cases, I think it is valid that we should be able to have the ability to restore from the backup dumps and I just added it. I've added the Can you please check the latest version? Thank you! |
Thank you so much for such a quick reply! I've managed to restore the original dump by using netcat and dd. Tomorrow I'll try your new version and report back. |
Ahh cool. Thank you! :) |
Tried the new version and the --restore did nothing, it made a dump and flashed it back. Is there a verbose option to help you debugging issues? |
You need to pass the path to the backup you made before. Can you paste the whole output?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: donluca ***@***.***>
Sent: Wednesday, June 2, 2021 7:49:38 PM
To: Unifi-Tools/UFiber.Configurator ***@***.***>
Cc: Gutemberg Ribeiro ***@***.***>; Comment ***@***.***>
Subject: Re: [Unifi-Tools/UFiber.Configurator] Second run of UFiber.Configurator messed up the MAC address of a Loco (#5)
Tried the new version and the --restore did nothing, it made a dump and flashed it back.
Is there a verbose option to help you debugging issues?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#5 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABD64OHAVHA3XD5344NZ5KTTQ2YQFANCNFSM455C6SQQ>.
|
I've specified the path to the backup of course. ./UFiber.Configurator --restore /path/to/originalDump.bin I'll give it a run tomorrow again and paste the output editing out the MAC Address, SN, etc. |
Here's the log: `./UFiber.Configurator --host 192.168.5.1 --restore /Users/luca/Dropbox/Ubiquiti\ Loco\ original.bin Original Image--- NVRAM Information --
Patching fw-04062021-021611.bin...Patched fw-04062021-021611.bin!--- NVRAM Information --
Uploading patched file to the target UFiber device... Applying patched file on the target UFiber device...Applied patch! Please reboot your UFiber device to load the new image.` |
I'm having the same issue,
|
Hi,
I've just tried the script on a UFiber Loco with firmware 4.3.0.
First run went flawlessly and changed the MAC Addresses of all interfaces in the Loco without issues.
All the runs after this, though, managed to change only the MAC Address of the br0 interface and left all the others with the older one.
The interfaces available are bcmsw, br0, eth0 and eth0.0
This has led to the Loco malfunctioning with my internet provider.
A function to flash back the original dump would be useful as well.
If there is already one, I couldn't find it documented anywhere.
Please look into this, thanks.
The text was updated successfully, but these errors were encountered: