Anime4000 / RTL960x

Hacking RTL960x based xPON ONU Stick to suite your Universal OLT
The Unlicense
659 stars 111 forks source link

HG322G xpon with Realtek RTL9601D #288

Open aryanrajseo opened 6 months ago

aryanrajseo commented 6 months ago

This is not discussed anywhere but HG322G xpon have Realtek RTL9601D chip however the telnet is different. How can we find the available commands and latest firmware? telnet enabled via ui seems to get deactivated after logged out.

Product https://www.vsolcn.com/wp-content/uploads/2023/03/XPON-HGU-HG322G-Datasheet-V2.0-EN.pdf

available in India as

Netlink HG322G https://drive.google.com/file/d/1Usx0bxN9E4fVT937EnHmYvdaSNd88phk/view Syrotech sy-gpon-1010-dont (confirmed and attached) DBC HGU-V110 Digisol DG-GR6011

can't confirm the chip in other brand except syrotech.

WhatsApp Image 2024-05-11 at 9 36 17 AM

Anime4000 commented 6 months ago

this only 1GbE? also notice that it have VoIP

aryanrajseo commented 6 months ago

It is 1GE. and Yes it have VoIP.

varkey commented 3 months ago

@aryanrajseo Did you figure out a way to change the GPON serial for this device? I have the Digisol variant.

varkey commented 3 months ago

So once you enable SSH from the UI (Security --> Login Privilege), you would able to login to a stripped down shell. Once in this shell enter the command enterlinuxshell to enter the proper shell.

(⎈)➜  ~ ssh admin@192.168.3.1
admin@192.168.3.1's password:
>enterlinuxshell
#

Once in the linux shell, you can follow the same steps as the VSOL V2801F to change the GPON serial and other parameters.

qatar2030 commented 3 days ago

This is not discussed anywhere but HG322G xpon have Realtek RTL9601D chip however the telnet is different. How can we find the available commands and latest firmware? telnet enabled via ui seems to get deactivated after logged out.

Product https://www.vsolcn.com/wp-content/uploads/2023/03/XPON-HGU-HG322G-Datasheet-V2.0-EN.pdf

available in India as

Netlink HG322G https://drive.google.com/file/d/1Usx0bxN9E4fVT937EnHmYvdaSNd88phk/view Syrotech sy-gpon-1010-dont (confirmed and attached) DBC HGU-V110 Digisol DG-GR6011

can't confirm the chip in other brand except syrotech.

WhatsApp Image 2024-05-11 at 9 36 17 AM

can i change GPON SN, Vendor ID and HW version? i need voip

varkey commented 3 days ago

@qatar2030 Yes, please check my previous comment for details. I was able to get it work on Airtel FTTH.

aryanrajseo commented 3 days ago

@varkey could you confirm if we can have vlan scan working with this?

varkey commented 3 days ago

@aryanrajseo There's no VLAN scanning option in the UI. Although, you wouldn't need it, Airtel's standard VLAN 100 works without any changes.

You could also lookup the OMCI message from the shell for the available VLANs.

aryanrajseo commented 3 days ago

@varkey hi, vlan 100 is not standard and changes with router. i have a different vlan. could you help with OMCI message to get the vlan? do you have a video screencast or screenshot?

is the following command works for you?

omcicli mib get 84

varkey commented 1 day ago

@aryanrajseo Actually it is standard for Airtel. However this is the customer side VLAN which remains fixed always, but the internal VLAN would be different. What happens is, when the ONT doesn't do the internal-external VLAN mapping correctly, we would need to find the internal VLAN separately. Anyway with this ONT, the mapping works, so you can directly use VLAN 100 with Airtel.

I used the omcicli mib get 171 command and got the below details. As can be seen below, VLAN 100 is the customer side VLAN, which is internally mapped to 1345. This internal VLAN would differ in each area, however if things are working as expected, we should be able to use VLAN 100 always.

# omcicli mib get 171
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ExtVlanTagOperCfgData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityId: 0x09
AssociationType: 10
ReceivedFrameVlanTagOperTableMaxSize: 0
InputTPID: 0x00
OutputTPID: 0x8100
DsMode: 0
ReceivedFrameVlanTaggingOperTable
INDEX 0
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 8,VID 100, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 1
Treatment Inner   : PRI 8,VID 1345, TPID 4
INDEX 1
Filter Outer   : PRI 15,VID 4096, TPID 0
Filter Inner   : PRI 8,VID 660, TPID 0, EthType 0x00
Treatment Outer   : PRI 15,VID 0, TPID 0, RemoveTags 1
Treatment Inner   : PRI 8,VID 666, TPID 4
AssociatedMePoint: 0x601
aryanrajseo commented 23 hours ago

Thank you @varkey, that is really helpful. i am currently using XPON HG8120C with custom vlan because i need 2 ports, one for a different location for PTP device. this xpon is useful if you know vlan id.

https://multicoreinfotech.com/product/fiber-router-ont/xpon-onu-with-voice-ho/

varkey commented 23 hours ago

Even I have the HG8120C (although mine is Huawei branded), excellent device. Even on this unit, I just run it with VLAN 100 and works great.

qatar2030 commented 13 hours ago

@varkey could you confirm if we can have vlan scan working with this?

so how to creat 2 vlan? vlan10 for internet vland20 for voip with regards

aryanrajseo commented 13 hours ago

@qatar2030 not using voip. single vlan id needed for both ports to work. one is 100mbps, 1gbps.