-
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
Does the SN persist after reboot? Does it change SN for UF-Instant? #1
Comments
Hello!
Yes, it patches one of the partitions which holds that data. If you pass the
I've tested the tool against a firmware dump from UF-Instant that I've got from the internet. I'm waiting the real device to arrive Today or Tomorrow so I can test on a real one. Can you try run the tool with the That will basically run all the processes and will print some information on your terminal without actually changing the device. If you can print the output here would be awesome! 😄 Btw, out of curiosity, where did you found this repo? Thank you! |
Hello,
I've just tried this, it doesn't work because my serial is 16 characters. For example, I do this manually by connecting to the ufiber and using the commands: `ssh [email protected] ./gponctl setSnPwd --sn 12-34-56-78-90-12-34-56 ======== Serial Number & Password ======== Serial Number: 12-34-56-78-90-12-34-56 ========================================== ./gponctl init Start ONU with operational state: INIT (01) ./gponctl getSnPwd ======== Serial Number & Password ======== Serial Number: 41-4C-43-4C-xx-xx-xx-xx Below you can find the error using your tool: `C:\Users\DD\Desktop\win-x64>UFiber.Configurator --host 192.168.9.2 --user ubnt --pw mypw --port 2222 --dry-run --vendor HWTC --serial 12-34-56-78-90-12-34-56 Original Image--- NVRAM Information --
Patching fw-26042021-073053.bin... What am I doing wrong? Or does the tool only allows 8 character serial...? Or should I replace the parameter --serial with --plid?
I will also order an UF-Instant and it should come next week. Will test it out.
Thank you |
Hello! I've just merged #3 which allow the HEX SLID and Serial numbers. Please download the release 0.1.1 which will allow that. There wasn't actually a bug. When you have 16 HEX characters like on your case, the first 4 bytes (8 characters), is the VendorID which in your case is ALCL (Alcatel). The remaining 4 bytes are the actual serial number. I've updated that Please let me know if it works. I hope it helps, thanks for the report! |
Hello, Thank you very much for the patch! I will test it out tomorrow first thing and will reply if it worked. |
it worked! but I had to pass the --vendor parameter. `C:\Users\DD\Desktop\win-x64>UFiber.Configurator --host 192.168.9.2 --user ubnt --pw mypw --port 2222 --serial 12-34-56-78-90-12-34-56 Original Image--- NVRAM Information --
Patching fw-27042021-084832.bin...To set the GPON Serial Number, you must pass both --vendor and --serial C:\Users\DD\Desktop\win-x64>UFiber.Configurator --host 192.168.9.2 --user ubnt --pw mypw --port 2222 --serial 12-34-56-78-90-12-34-56 --vendor ALCL Original Image--- NVRAM Information --
Patching fw-27042021-084904.bin...Patched fw-27042021-084904.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.`It reboots and the SN persists! Thank you |
I'm glad it worked!
Ops! My bad! When I've updated to support the HEX serial, I forgot to adjust the validation that was once requiring both to be filled. Please check the release 0.1.2 which includes the fix. If you pass the Btw, was that the UF-Nano-G or UF-Instant? Thank you! |
It was UF-Nano-G |
hello, got an ufiber instant module here... just wondering how you would patch the firmware on that one... seems like your tool needs to connect to the device with ssh, but i think ssh isn't available on the ufiber instant...? can you elaborate a bit on how to adjust the serial configuration on the ufiber instant? thank you :) |
ah, i just found out that there is dropbear on the uf-instant. if i try to set the serial i get the following exception thrown: any advice? :) .\UFiber.Configurator.exe --host 192.168.1.1 --serial 48-57-54-43-e3-XX-XX-XX --- End of inner exception stack trace --- at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Delegate.DynamicInvoke(Object[] args) at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context) at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass27_0.<b__1>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__24_0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass11_0.<b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<b__10_0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<b__0>d.MoveNext() |
@kautzy yes, we do use SSH but the tool isn't yet with the changes for the We will update with a new release once a solution comes up. |
For UF Instant laser configuration is done with europa.data and module has customized omciapp. What I have done is I just copied V2801F omciapp to uf instant and I am able to change serial number & mac id. I changed them but my ISP kicked me out even with original isp ont so I left this modification. If someone put Carlitox firmware on github I will try to upload it to UF instant since both uses same hardware. |
I’m about to receive the CarlitoxxPro device. Any guidance on how to dump the firmware?
Thank you!
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Oncu Benturk ***@***.***>
Sent: Tuesday, May 11, 2021 3:07:01 PM
To: Unifi-Tools/UFiber.Configurator ***@***.***>
Cc: Gutemberg Ribeiro ***@***.***>; State change ***@***.***>
Subject: Re: [Unifi-Tools/UFiber.Configurator] Does the SN persist after reboot? Does it change SN for UF-Instant? (#1)
For UF Instant laser configuration is done with europa.data and module has customized omciapp. What I have done is I just copied V2801F omciapp to uf instant and I am able to change serial number & mac id.
I changed them but my ISP kicked me out even with original isp ont so I left this modification. If someone put Carlitox firmware on github I will try to upload it to UF instant since both uses same hardware.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub<#1 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABD64OCOU2XK3FQVEWUZHY3TNFW4LANCNFSM43STTCHQ>.
|
There's a collection of firmwares from a French user here , including Carlitos v1 |
I think CarlitoxxPro v2 is the one which has the same hardware (Realtek IIRC)... |
Just got an email from them with the "instructions manual"... From the telnet CLI it indeed is the same Realtek firmware which UF-Instant uses @obenturk except that they add and customize the RDK default admin pages which Ubiquiti deliberately removed. I've dig on the UF-Instant files and the web server settings still there and can be enabled, but there are no pages so it won't work anyway... |
You mean you were able to change it permanently as in it survive after reboot? When I plug my fiber, even if I don't change anything, it just reboot my device even my ISP being OK with it and giving me |
With original firmware I can get O5 state but since serial number & MAC is different than ISP ONT, when I check ONUID which was given by OLT was showing 65 instead of 5. After I change omci_app with V2801F, I can see correct serial number with top command (omci_app sould show serial number). Than I realized that I triggered an alarm at OLT side and I even could not use ISP provided ONT anymore. ISP tech came and replaced Ericsson T63 ONT with SERCOMM one very very small footprint but it has modified firmware to work with Ericsson omci protocol. I am waiting to find a carlitoxx v2 full flash dump to check if it will be work better or not. By the way does anyone know a SFP stick that is suitable to Ericsson environment? Thanks. |
Connect via uart pins and boot into uboot than you can dump whole flash. mdb dump of ufinstant flash dump made with following commands
then converted to bin file with
If you want only kernel1 and rootfs1 you can change sf read parameters with following
|
I got my CarlitoxxPro, but it doesn't even work properly when connect to UDM-Pro or Unifi Switch Pro 24P. When plugged on the SFP, it just doesn't do anything. Even its IP address is not accessible... |
@pmgcosta yup, already had. Check the last comment which is mine. BTW, CarlitoxxPro support is pretty bad... Its almost a week since I asked for help and they don't reply emails... |
I'm in the same boat with an UDM-PRO and UF-Instant without any joy, i
think next i will try to buy one AFM0002TIM or MA5671A
…On Fri, May 21, 2021, 12:32 AM Gutemberg Ribeiro ***@***.***> wrote:
@pmgcosta <https://github.com/pmgcosta> yup, already had. Check the last
comment which is mine.
BTW, CarlitoxxPro support is pretty bad... Its almost a week since I asked
for help and they don't reply emails...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGY4H4GFEZHO3WRDC77RC3TOWLYRANCNFSM43STTCHQ>
.
|
I have two AFM0002TIM @pmgcosta which I bought quite cheap on ebay, both working fine on UB edgerouter. |
Default IP (if memory serves me well) is 192.168.1.1/24, so you can configure your router SFP interface with an IP on that range (I used 192.168.1.2/30 as my network is 1.1 already), then telnet (no password) or SSH with admin/system to it. This device has no vi/vim, so for editing the config I copied it locally, edited and pushed back.
Then edit and upload again
I recommend loging into the device again after this and checking the config files are OK before rebooting it. If for any reason you lock yourself out by messing up the IP, these devices also have a secondary IP on VLAN2
|
ifconfig eth9:2 192.168.2.2 netmask 255.255.255.252 uptelnet 192.168.2.1Connected to 192.168.2.1 Entering character mode Thanks! |
Is the right place to change ? lastgood lastgood_hs But when i check the serialnumber:
I got this mess with ffff in the midle how can i fix that ? My serial number is : 5054494E91194A08 (PTIN91194A08) But appear that the serialnumber can't not start with 9 why ? with 7 works
Is that normal how can i fix that ? |
I don't think that's a problem, just checked mine and the output of
What provider are u using? Did you check the onu-state to see if it got O5 ?
Once in state O5 you should see the flows have been created
Once the flows are created you should be able to acquire an IP via DHCP or PPPoE, depending on what your provider uses. |
Yes i'm on O5 state but without internet on my dream machine: I'm using MEO, and FTTH Provider in portugal. On my HG8012h i only have to change my serial number to PTIN91194A08 and password to " " (20 in hex)
|
Deam machine is the SFP I assume (the output looks like it's from it) The SFP won't pick an IP, they work as bridge by default, you need to configure the correct VLAN on the SFP port in your router to get the IP (DHCP or PPPoE). In my edgerouter for example
with DHCP
|
btw, this conversation is way of topic here.... we should have it somewhere else. |
Posted! in forum, @galvesribeiro any news regarding uf-instant and CarlitoxxPro-CPGOS03-0490-v2 ? |
Not yet. I'm trying to dump the firmware. Will update once I have more news. |
@galvesribeiro Hi any news about dumping the firmware? |
Hello @obenturk no, I wasn't able to disassembly mine. I only have one CarlitoxxPro and it is running my internet. I'm afraid I'll brick it due to lack of soldering skills and will have to wait months to have a replacement arrive. Any other alternative to pull the firmware files besides soldering? |
Any news on the uf-instant ? |
hm, i'd be interested in that one too... :) |
Not yet :/ We are still unable to write to the partitions of the UF-Instant as of Today. Still trying workarounds. |
@obenturk have you seen this: Anime4000/RTL960x#2 (comment) ? Also, I could sponsor you to make you find time if you made it work. |
Hello, If someone dump whole flash of carlitoxx pro. (Need to do that to get rid out ui's multiple ser# &mac protection) I can write it on uf instant. Currently I have original uf-instant firmware and I am able to load different firmwares and revert back to original. What I know is carlitoxxpro has the best firmware. |
AHHH ok. Sorry, I misunderstood. I Thought you wanted the UF-Instant Firmware. Ok, so @obenturk can you show the steps to extract the firmware from it? |
Hi, do someone have news about UF-Instant, configurator or flashing Carlioxxpro firm? |
Hi All, I didn't test it yet because my UF-Instant in being delivered to me. I can test and provide with result maybe next weekend. To all UF-Instant owners, you can check it and let us know in the meantime how it works. Good luck. |
I will try the mentioned firmware on an UFiber-Instant in the next few weeks. Will report my results here afterwards. |
Hey, i tried the custom rootfs and the SN and stuff persists after reboot. Do you need any further informations? We will try the UFiber-Instant soon and I will provide informations if the ISP accepted it |
Hey, I just realized, that the mtd3 partition is a mountable JFFS2. After mounting it, you can fiddle around in the xml files and persist the data there. I found my original serialnumber in those XML Files. This tool here is patching on binary level, but for the UFiber-Instant it seems like the offsets aren't correct. I have not tried this, but maybe changing the device name ect in the XML files and persisting the JFFS2 could result in getting the target serial number on the device after flashing it back to I can't test this by myself anymore, since i gave the Hardware back to his owner after getting a persisted SN using https://github.com/stich86/UF-Instant-Mod. But maybe this helps someone seeking a solution without using a modified rootfs. |
Update on this. I got the hardware back, the Dream Machine didnt recognized the new configured SN and VendorID. I will give you an update after I investigated this. |
Hello, any update? |
Hey, I don't own a dream machine, so it is hard to try it. I'll get in touch with my colleague who has a dream machine and try to find an appointment to try different things. |
I tried something with UF-Instant-Mod, but why the changes I made are not permanent. I have an issue, can you help me with this please? Thanks a lot. |
@pmgcosta @galvesribeiro hello! |
Hello,
I have 2 questions(not quite issues):
I have a UF-Nano-G, currently replacing a Huawei router(HG8247H). Does this tool modify the GPON Serial Number for the UF-Nano-G so that it persists after reboot?
Can the tool change the SN for UF-Instant while connected to an ER-X SFP? I am willing to test this out :)
Thank you
The text was updated successfully, but these errors were encountered: