Anime4000 / RTL960x

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

Indian ISP Airtel: Working Configurations #127

Open aki263 opened 1 year ago

aki263 commented 1 year ago

ISP: Airtel Country: India CPE: Sercomm Model: AOT-4221SR GPON SFP: ODI DFP-34X-2C2 (XPON)

Video Tutorial for same https://youtu.be/6swUsegUThE

Parameters changed/updated

flash set OMCI_FAKE_OK 1
flash set PON_VENDOR_ID  SCOM
flash set GPON_SN <from device>
flash set ELAN_MAC_ADDR <from deice>
flash set OMCI_SW_VER1 <from device>
flash set OMCI_SW_VER2 <from device>
flash set HW_HWVER <from device>
flash set GPON_ONU_MODEL <from device>
flash set VLAN_CFG_TYPE 1
flash set VLAN_MANU_MODE 0
flash set VLAN_MANU_TAG_VID 100

reboot after making changes

image

processed

Shaan-hbli commented 1 year ago

Nice..... Did you get VOIP working on the ODI DFP-34X-2C2 (XPON)...?

aki263 commented 1 year ago

@Shaan-hbli I didn't try it as I don't need that. But I think its doable as ODI support vlan which is main thing for VOIP as AIRTEL uses Vlan ID 660.

Shaan-hbli commented 1 year ago

Nice..... Did you get VOIP working on the ODI DFP-34X-2C2 (XPON)...?

@Shaan-hbli I didn't try it as I don't need that. But I think its doable as ODI support vlan which is main thing for VOIP as AIRTEL uses Vlan ID 660.

Thanks for your quick reply........

xbipin commented 1 year ago

they gave me a nokia router, other than mac id i have configured the rest, few days back it was working, today i got a mikrotik router with sfp cage and tried again and its stuck in 03 state, any clue whats wrong?

Shaan-hbli commented 1 year ago

they gave me a nokia router, other than mac id i have configured the rest, few days back it was working, today i got a mikrotik router with sfp cage and tried again and its stuck in 03 state, any clue whats wrong?

Can you post your configuration here...

physx2494 commented 1 year ago

From where did you buy the xPON, Aliexpress seller is quite expensive to ship here

aki263 commented 1 year ago

they gave me a nokia router, other than mac id i have configured the rest, few days back it was working, today i got a mikrotik router with sfp cage and tried again and its stuck in 03 state, any clue whats wrong?

Did you enabled OMCI_FAKE_OK ?

aki263 commented 1 year ago

From where did you buy the xPON, Aliexpress seller is quite expensive to ship here

This whole endeavour is expensive, getting gpon sfp, sfp+ card and then a dedicated PC to run it.

aki263 commented 1 year ago

Added link for video tutorial for same in original post.

xbipin commented 1 year ago

they gave me a nokia router, other than mac id i have configured the rest, few days back it was working, today i got a mikrotik router with sfp cage and tried again and its stuck in 03 state, any clue whats wrong?

Can you post your configuration here...

i rebooted a few times and now i get 05 state

xbipin commented 1 year ago

they gave me a nokia router, other than mac id i have configured the rest, few days back it was working, today i got a mikrotik router with sfp cage and tried again and its stuck in 03 state, any clue whats wrong?

Did you enabled OMCI_FAKE_OK ?

yes set to 1

xbipin commented 1 year ago

btw i added the module to a mikrotik hex s, the vlan mentioned in your config doesnt set vlan 100, i checked in the module it seems airtel is using vlan 2271 here but in airtel stock router its set to 100, no idea how to map it to 2271 to 100. i got pppoe with ipv4 and ipv6 working, next step is to make voip work, any clue on that. The modules does get extremely hot though

xbipin commented 1 year ago

From where did you buy the xPON, Aliexpress seller is quite expensive to ship here

This whole endeavour is expensive, getting gpon sfp, sfp+ card and then a dedicated PC to run it.

do you want the module, im planning to order a few for commercial use to india

xbipin commented 1 year ago

my config if any1 wants to make it work in place of nokia stock router

OMCI_OLT_MODE=0 OMCI_FAKE_OK=1 GPON_ONU_MODEL=G-2425G-A GPON_SN=ALCLXXXXXXXX PON_VENDOR_ID=ALCL HW_HWVER=3FE48299DEAA OMCI_SW_VER1=3FE49362JJIJ50 OMCI_SW_VER2=3FE49362JJIJ50 OUI=XX,XX,XX HW_SERIAL_NO=XXXXXXXXXXXXXXXXXX HW_CWMP_MANUFACTURER=ALCL HW_CWMP_PRODUCTCLASS=HGU_EPON OMCI_VEIP_SLOT_ID=255 GPON_PLOAM_FORMAT=0 GPON_PLOAM_PASSWD=44454641554C54303132 ELAN_MAC_ADDR=XXXXXXXXXXXX MAC_KEY=XXXX VLAN_CFG_TYPE=1 VLAN_MANU_MODE=0 VLAN_MANU_TAG_VID=100

physx2494 commented 1 year ago

Is the ELAN_MAC_ADDR GPON's MAC address as shown on the Dragonpath 707GR1 router webui or the router's MAC address printed on the back of the router?

Also, I couldn't find anything related to HW_HWVER in 707GR1.

aki263 commented 1 year ago

btw i added the module to a mikrotik hex s, the vlan mentioned in your config doesnt set vlan 100, i checked in the module it seems airtel is using vlan 2271 here but in airtel stock router its set to 100, no idea how to map it to 2271 to 100. i got pppoe with ipv4 and ipv6 working, next step is to make voip work, any clue on that. The modules does get extremely hot though

Not sure, airtel uses 100 at every cpe that I have looked at. 2271 is super odd, maybe its due to location? Which city you live in?

aki263 commented 1 year ago

Is the ELAN_MAC_ADDR GPON's MAC address as shown on the Dragonpath 707GR1 router webui or the router's MAC address printed on the back of the router?

Also, I couldn't find anything related to HW_HWVER in 707GR1.

You can find mac address written on gpon itself. If thats not an option, call airtel and tell them that your cpe is unstable, they will replace it.

aki263 commented 1 year ago

From where did you buy the xPON, Aliexpress seller is quite expensive to ship here

This whole endeavour is expensive, getting gpon sfp, sfp+ card and then a dedicated PC to run it.

do you want the module, im planning to order a few for commercial use to india

I already have like 15 of them running, thanks for the offer though.

physx2494 commented 1 year ago

@aki263 Can you please confirm the values for flash get OMCI_OLT_MODE and the firmware version per your configurations? I ask this because the values OMCI_SW_VER1 and OMCI_SW_VER2 won't stick for me when OMCI_OLT_MODE is 0. Every time they revert to the firmware defaults as discussed here #30

https://github.com/rajkosto/RTL960x/blob/main/Docs/Setup_Stick.md#omci-olt-mode

chinmaythosar commented 1 year ago

ISP: Airtel Country: India CPE: Sercomm Model: AOT-4221SR GPON SFP: ODI DFP-34X-2C2 (XPON)

Video Tutorial for same https://youtu.be/MrVvszeQeuM

Parameters changed/updated

flash set OMCI_FAKE_OK 1
flash set PON_VENDOR_ID  SCOM
flash set GPON_SN <from device>
flash set ELAN_MAC_ADDR <from deice>
flash set OMCI_SW_VER1 <from device>
flash set OMCI_SW_VER2 <from device>
flash set HW_HWVER <from device>
flash set GPON_ONU_MODEL <from device>
flash set VLAN_CFG_TYPE 1
flash set VLAN_MANU_MODE 0
flash set VLAN_MANU_TAG_VID 100

reboot after making changes

image

processed

where did you find this module in India ? I have TataPlay fiber and recently managed to get a Nokia G-010S-A which gets O5 but I lose connectivity because of some weird OMCI stuff. This one might work with fake omci which is not present in the Nokia module. But I am unable to find this for a reasonable price anywhere. Shipping from outside India costs more than the module itself.

xbipin commented 1 year ago

Is the ELAN_MAC_ADDR GPON's MAC address as shown on the Dragonpath 707GR1 router webui or the router's MAC address printed on the back of the router?

Also, I couldn't find anything related to HW_HWVER in 707GR1.

the one printed on back of router is fine or if you dont clone still it should work, i decrypted the nokia router config and got the mac id for pppoe connection from that and cloned that

xbipin commented 1 year ago

OMCI_OLT_MODE=0

@aki263 Can you please confirm the values for flash get OMCI_OLT_MODE and the firmware version per your configurations? I ask this because the values OMCI_SW_VER1 and OMCI_SW_VER2 won't stick for me when OMCI_OLT_MODE is 0. Every time they revert to the firmware defaults as discussed here #30

https://github.com/rajkosto/RTL960x/blob/main/Docs/Setup_Stick.md#omci-olt-mode

first set OMCI_OLT_MODE=0 then set sw1 and sw2 and then reboot and it should stick

xbipin commented 1 year ago

From where did you buy the xPON, Aliexpress seller is quite expensive to ship here

This whole endeavour is expensive, getting gpon sfp, sfp+ card and then a dedicated PC to run it.

do you want the module, im planning to order a few for commercial use to india

I already have like 15 of them running, thanks for the offer though.

are you selling them or know any1 selling them in india?

xbipin commented 1 year ago

btw i added the module to a mikrotik hex s, the vlan mentioned in your config doesnt set vlan 100, i checked in the module it seems airtel is using vlan 2271 here but in airtel stock router its set to 100, no idea how to map it to 2271 to 100. i got pppoe with ipv4 and ipv6 working, next step is to make voip work, any clue on that. The modules does get extremely hot though

Not sure, airtel uses 100 at every cpe that I have looked at. 2271 is super odd, maybe its due to location? Which city you live in?

in the nokia router it shows vlan 100 only but the gpon module gets 2271 on which pppoe and ipv6 works, i guess the nokia router does some vlan mapping

judge2112 commented 1 year ago

Can this SFP work with sophos firewall ?

The aim of this complete testing was to increase the speed of the internet connection at our home. without paying more. ?right You spoke about the authentication part. what about the speed airtel assigning the speed based on account as per me not as per the end device hardware capabilities. correct me if m wrong

smnrock commented 1 year ago

The aim of this complete testing was to increase the speed of the internet connection at our home. without paying more. ?

I dont think this will increase your plan speed.

Anime4000 commented 1 year ago

I don't think Sophos Firewall support HiSGMII, most of their equipment are 1/10G only, no 2.5G and 5G which very stupid and dumb.

even they support 2.5G, only NBase-T and not HiSGMII or 2500Base-X

which is make Sophos Firewall very stupid.

if you have 1Gbps 2Gbps internet plan, don't use Sophos Firewall, Fortinet, Aruba or similar as they don't support GPON 2.5Gb

plus with firewall and IDS/IPS will slow your internet as 200MB/s of data need to process which overkill the Router CPU.

I ranting here because people keep messaging me their Fortinet can't connect with any GPON ONU SFP.

for me, Equipment don't support HiSGMII or 2500Base-X is stupid, please don't buy it and boycott it, this will force manufacturers to support HiSGMII and 2500Base-X!

rajil commented 1 year ago

Was anybody successful in mimicking a Huawei HG8145V5 router?

image

Unfortunately, with following settings i am stuck on O0 state

OMCI_OLT_MODE=0
GPON_ONU_MODEL=HG8145V5
OMCI_FAKE_OK=1
PON_VENDOR_ID=HWTC
GPON_SN=HWTCXXXXXX
ELAN_MAC_ADDR=e0xxxxx
OMCI_SW_VER1=V5R019C00S107
OMCI_SW_VER2=V5R019C00S107
HW_HWVER=15AD.A
GPON_ONU_MODEL=HG8145V5
VLAN_CFG_TYPE=1
VLAN_MANU_MODE=0
VLAN_MANU_TAG_VID=100

The mac address on the bottom sticker of HG8145V5 was used for ELAN_MAC_ADDR.

Anime4000 commented 1 year ago

Unfortunately, with following settings i am stuck on O0 state

when change MAC Address, need generate new MAC_KEY

rajil commented 1 year ago

Thanks with a new MAC_KEY i was able to connect.

Airtel also provides VOIP on VLAN 660 and they show up as follows:


# omcicli mib get 84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x01
FilterTbl[0]: PRI 0,CFI 0, VID 100
FwdOp:  0x04
NumOfEntries: 1
=================================
=================================
EntityID: 0x02
FilterTbl[0]: PRI 0,CFI 0, VID 660
FwdOp:  0x04
NumOfEntries: 1
=================================
=================================
EntityID: 0x03
FilterTbl[0]: PRI 0,CFI 0, VID 100
FwdOp:  0x04
NumOfEntries: 1
=================================

However, I have not been successful in having traffic pass through VLAN 660. It seems there is some filter on the ISP side which is blocking access.

KillerRoi commented 1 year ago

ISP: Airtel Country: India CPE: Sercomm Model: AOT-4221SR GPON SFP: ODI DFP-34X-2C2 (XPON)

Video Tutorial for same https://youtu.be/MrVvszeQeuM

Parameters changed/updated

flash set OMCI_FAKE_OK 1
flash set PON_VENDOR_ID  SCOM
flash set GPON_SN <from device>
flash set ELAN_MAC_ADDR <from deice>
flash set OMCI_SW_VER1 <from device>
flash set OMCI_SW_VER2 <from device>
flash set HW_HWVER <from device>
flash set GPON_ONU_MODEL <from device>
flash set VLAN_CFG_TYPE 1
flash set VLAN_MANU_MODE 0
flash set VLAN_MANU_TAG_VID 100

reboot after making changes

image

processed

My hardware version is 10, will this work? I'm in bangalore.

rajil commented 1 year ago

Thanks with a new MAC_KEY i was able to connect.

Airtel also provides VOIP on VLAN 660 and they show up as follows:


# omcicli mib get 84
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
VlanTagFilterData
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
=================================
EntityID: 0x01
FilterTbl[0]: PRI 0,CFI 0, VID 100
FwdOp:  0x04
NumOfEntries: 1
=================================
=================================
EntityID: 0x02
FilterTbl[0]: PRI 0,CFI 0, VID 660
FwdOp:  0x04
NumOfEntries: 1
=================================
=================================
EntityID: 0x03
FilterTbl[0]: PRI 0,CFI 0, VID 100
FwdOp:  0x04
NumOfEntries: 1
=================================

However, I have not been successful in having traffic pass through VLAN 660. It seems there is some filter on the ISP side which is blocking access.

Was able to get voip working working after changing FwdOp of VID 660 from 0x04 to 0x02,

# omcicli mib set 84 0x02 FwdOp 0x02
iprateekjoshi commented 1 year ago

@aki263, Do we have any module (TP-Link-MC110CS-100Mbps-Single-Mode-Converter) which can be connected directly to Fiber cable and then to TP Link router ? Will the SFP media converters work ? Going through the post, pls link if these details are available in post.

DroidDotThen commented 11 months ago

ISP: Airtel Country: India CPE: Sercomm Model: AOT-4221SR GPON SFP: ODI DFP-34X-2C2 (XPON)

hi @aki263 kinda off topic but I have got this ont today. Version 3.6. settings are unlocked but once I connect to internet it will get forced fw update and all settings will be locked. Can you pls share any way to get rid of airtel forced updates? to disable the tr069 (which is now locked). Any help will really be appreciated thx

Strykar commented 11 months ago

@aki263, Do we have any module (TP-Link-MC110CS-100Mbps-Single-Mode-Converter) which can be connected directly to Fiber cable and then to TP Link router ? Will the SFP media converters work ? Going through the post, pls link if these details are available in post.

What are you trying to achieve by removing the ISP optics? Forget single multi mode fiber, look up PON, you need something like https://amzn.eu/d/eJ8pO2d or your ISP supplied xPON router.

Issue is none of these routers have enough oomph to SQM at Gigabit speeds, you can test your fancy fiber connections bufferbloat at https://www.waveform.com/tools/bufferbloat.

Strykar commented 11 months ago

ISP: Airtel Country: India CPE: Sercomm Model: AOT-4221SR GPON SFP: ODI DFP-34X-2C2 (XPON)

hi @aki263 kinda off topic but I have got this ont today. Version 3.6. settings are unlocked but once I connect to internet it will get forced fw update and all settings will be locked. Can you pls share any way to get rid of airtel forced updates? to disable the tr069 (which is now locked). Any help will really be appreciated thx

Can you SSH / telnet in to it? Do you have root? Does the web interface allow you to run terminal commands?

Disabling TR-069 can usually be as simple as killing the tr69 daemon running on the router, see https://github.com/Strykar/H680GM-A

Strykar commented 11 months ago

Anyone interested in a group buy of the ODI DFP-34X-2C2 (XPON) ?

DroidDotThen commented 11 months ago

ISP: Airtel Country: India CPE: Sercomm Model: AOT-4221SR GPON SFP: ODI DFP-34X-2C2 (XPON)

hi @aki263 kinda off topic but I have got this ont today. Version 3.6. settings are unlocked but once I connect to internet it will get forced fw update and all settings will be locked. Can you pls share any way to get rid of airtel forced updates? to disable the tr069 (which is now locked). Any help will really be appreciated thx

Can you SSH / telnet in to it? Do you have root? Does the web interface allow you to run terminal commands?

Disabling TR-069 can usually be as simple as killing the tr69 daemon running on the router, see https://github.com/Strykar/H680GM-A

Apologies But i am a beginner just trying to learn and experiment with my sercom ont. Are you on telegram? maybe you can help me with that? Thanks

smnrock commented 8 months ago

my config if any1 wants to make it work in place of nokia stock router

OMCI_OLT_MODE=0 OMCI_FAKE_OK=1 GPON_ONU_MODEL=G-2425G-A GPON_SN=ALCLXXXXXXXX PON_VENDOR_ID=ALCL HW_HWVER=3FE48299DEAA OMCI_SW_VER1=3FE49362JJIJ50 OMCI_SW_VER2=3FE49362JJIJ50 OUI=XX,XX,XX HW_SERIAL_NO=XXXXXXXXXXXXXXXXXX HW_CWMP_MANUFACTURER=ALCL HW_CWMP_PRODUCTCLASS=HGU_EPON OMCI_VEIP_SLOT_ID=255 GPON_PLOAM_FORMAT=0 GPON_PLOAM_PASSWD=44454641554C54303132 ELAN_MAC_ADDR=XXXXXXXXXXXX MAC_KEY=XXXX VLAN_CFG_TYPE=1 VLAN_MANU_MODE=0 VLAN_MANU_TAG_VID=100

After setting ELAN_MAC_ADDR and MAC_KEY, are you able to use VLAN as 100 or still you need to use 2271? Also is it your OLT is from ALCATEL?

xbipin commented 8 months ago

my config if any1 wants to make it work in place of nokia stock router

OMCI_OLT_MODE=0 OMCI_FAKE_OK=1 GPON_ONU_MODEL=G-2425G-A GPON_SN=ALCLXXXXXXXX PON_VENDOR_ID=ALCL HW_HWVER=3FE48299DEAA OMCI_SW_VER1=3FE49362JJIJ50 OMCI_SW_VER2=3FE49362JJIJ50 OUI=XX,XX,XX HW_SERIAL_NO=XXXXXXXXXXXXXXXXXX HW_CWMP_MANUFACTURER=ALCL HW_CWMP_PRODUCTCLASS=HGU_EPON OMCI_VEIP_SLOT_ID=255 GPON_PLOAM_FORMAT=0 GPON_PLOAM_PASSWD=44454641554C54303132 ELAN_MAC_ADDR=XXXXXXXXXXXX MAC_KEY=XXXX VLAN_CFG_TYPE=1 VLAN_MANU_MODE=0 VLAN_MANU_TAG_VID=100

After setting ELAN_MAC_ADDR and MAC_KEY, are you able to use VLAN as 100 or still you need to use 2271? Also is it your OLT is from ALCATEL?

Vlan 100 doesn't work because I can't get the gpon module to translate so I simply use 2271, my olt is nokia. It's not mandatory to set Mac id because this is gpon so Mac id isn't important

risingphoenix23 commented 8 months ago

@xbipin do you still need the sfp I have a spare can sell to you

navaneeth-dev commented 8 months ago

@risingphoenix23 I am interested.

risingphoenix23 commented 8 months ago

Ok Please Ping me on WhatsApp +919006431737

On Wed, Mar 13, 2024, 8:32 PM Navaneeth Rao @.***> wrote:

@risingphoenix23 https://github.com/risingphoenix23 I am interested.

— Reply to this email directly, view it on GitHub https://github.com/Anime4000/RTL960x/issues/127#issuecomment-1994607052, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGXZFBQDS6EHMNAA5BBJLBDYYBTBTAVCNFSM6AAAAAAVCCGZYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJUGYYDOMBVGI . You are receiving this because you were mentioned.Message ID: @.***>

Ry-9n commented 6 months ago

Bro upload the video elsewhere @aki263 Yt one doesn't Last long

risingphoenix23 commented 6 months ago

Obviously 😂 airt#_'el is behind that

On Fri, May 17, 2024, 12:49 AM Ry-9n @.***> wrote:

Bro upload the video elsewhere @aki263 https://github.com/aki263 Yt one doesn't Last long

— Reply to this email directly, view it on GitHub https://github.com/Anime4000/RTL960x/issues/127#issuecomment-2116014814, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGXZFBQTQZIGGROGB7ELCDLZCUBDJAVCNFSM6AAAAAAVCCGZYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJWGAYTIOBRGQ . You are receiving this because you were mentioned.Message ID: @.***>

vikasji1234 commented 3 months ago

A little off topic but really needed. The same Sercom device 4221SR is locked with no firmware available on internet. Can someone help me with the firmware or unlocking of the device. I see there are other Sercom devices which can be flashed through a CLI tool but not 4221SR. Please contact me at vikasji1234@g-m-a-i-l.com if anyone can help. (remove dash from email)

Strykar commented 2 months ago

A little off topic but really needed. The same Sercom device 4221SR is locked with no firmware available on internet. Can someone help me with the firmware or unlocking of the device. I see there are other Sercom devices which can be flashed through a CLI tool but not 4221SR. Please contact me at vikasji1234@g-m-a-i-l.com if anyone can help. (remove dash from email)

What gives you the impression its the same device?

shubhamkastwar1 commented 1 week ago

Hey, Please help!

I bought xpon and put down below details on it however i am not able to authenticate via PPPoE. I am connecting it through OPNsense box so do not have access to GUI for now but can access xpon through telnet.

Vendor Name: ODI Part Number: DFP-34X-2C2

flash set OMCI_FAKE_OK 1 flash set PON_VENDOR_ID SCOM flash set GPON_SN xxx flash set ELAN_MAC_ADDR xxx flash set OMCI_SW_VER1 xxx flash set OMCI_SW_VER2 xxx flash set HW_HWVER 8.0 flash set GPON_ONU_MODEL AOT-4221SR flash set VLAN_CFG_TYPE 1 flash set VLAN_MANU_MODE 0 flash set VLAN_MANU_TAG_VID 100 flash set OMCI_OLT_MODE 21

Below are some logs

pon get transceiver bias-current Bias Current: 0.000000 mA

pon get transceiver part-number Part Number: DFP-34X-2C2

pon get transceiver temperature Temperature: 42.019531 C

pon get transceiver vendor-name Vendor Name: ODI

pon get transceiver voltage Voltage: 3.217100 V

gpon get onu-state Error (0x120007): GPON Device has not been activeted

shubhamkastwar1 commented 1 week ago

When fiber is plugged in omcicpon get transceiver rx-power Rx Power: -21.487417 dBm

omcicli gepon get transceiver temperature Temperature: 42.019531 C

pon get transceiver tx-power Tx Power: -inf dBm

Strykar commented 1 week ago

Hey, Please help! Vendor Name: ODI Part Number: DFP-34X-2C2 gpon get onu-state Error (0x120007): GPON Device has not been activeted

Follow the instructions carefully, in order, looks like you need to update the MAC_KEY.