Skip to content
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

Cant PPPoE on any Speed Except 1000, my ISP is 2500 #7

Open
Wontell opened this issue Oct 28, 2021 · 18 comments
Open

Cant PPPoE on any Speed Except 1000, my ISP is 2500 #7

Wontell opened this issue Oct 28, 2021 · 18 comments

Comments

@Wontell
Copy link

Wontell commented Oct 28, 2021

Hi,
my Fiberoptic ISP uses GPON, the package is 2500/250
They provide their own router which is trash and limited, but they sold me this Nokia G-010S-A, yet they wont support it further.

I have ASUS AX89X router, the SFP+ port doesn't do anything except 1000gb or 10000gb, i spoken to their engineer and they said that its not supported in current SDK and the one more speeds are supported is in Beta [Qualcomm is the chipset and the PHY is Intel X530 and X540]

So I got a rather expensive media converter that supports all speed, 1Gb, 2.5Gb, 5Gb and 10Gb
Yet I cant dial in with PPPoE not from my PC and not from the router

I changed the Ethernet port speed on my PC 10Gb, 5Gb, 2.5Gb and only on 1Gb the PPPoE synced.
Same with the router, i connected with Telnet and changed all speeds it allows: 10MB, 100MB, 1000MB, 2500, 5000 and 10GB
And same thing the router only synced with PPPoE when it was set to 1GB, not less and not more

My ISP doesn't provide any VLANS, nothing like thats just user name and password

Can it be that the nokia module is locked on 1GB, its what they sell for their 1Gb packages, maybe they gave me a wrong one?

@hwti
Copy link
Owner

hwti commented Nov 1, 2021

What is your media converter ?

Did you change the sgmii_mode on your G-010S-A ? The default configuration is 1Gbps only.

For the router, like many switches, 2500/5000 might be for Ethernet SFP+ modules, which use 10Gbps on the SFP+ side, even with a 2,5Gbps/5Gbps Ethernet connection.

To make sure there aren't any other issues, before trying PPPoE, you should check if you are able to ping 192.168.1.10 (setting a fixed address in the 192.168.1.x range on the PC). If you can't, then either the module isn't powered correctly, or the link speed is not supported.

@Wontell
Copy link
Author

Wontell commented Nov 1, 2021

What is your media converter ?

Did you change the sgmii_mode on your G-010S-A ? The default configuration is 1Gbps only.

For the router, like many switches, 2500/5000 might be for Ethernet SFP+ modules, which use 10Gbps on the SFP+ side, even with a 2,5Gbps/5Gbps Ethernet connection.

To make sure there aren't any other issues, before trying PPPoE, you should check if you are able to ping 192.168.1.10 (setting a fixed address in the 192.168.1.x range on the PC). If you can't, then either the module isn't powered correctly, or the link speed is not supported.

Hi,
I didnt changed any settings yet, the ISP reps told me bunch of time that it should work on 2.5, but i guess they have no idea.
My main issue is there is no clear guide how to access the SFP module settings, can i do that through Media Converter connected to PC? [I dont have SFp network card] Do i have to solder or it can work without it?

The media converter im using is UCY-XT705MC, it supports all modes on both sides 1, 2.5, 5 and 10Gb
I also tested PPPoE on PC, connected the media converter to PC, 10G Aquantia card and manually changed port speeds on PC, it only connected when i changed my PC port to 2.5

Thank you

@hwti
Copy link
Owner

hwti commented Nov 1, 2021

My main issue is there is no clear guide how to access the SFP module settings, can i do that through Media Converter connected to PC? [I dont have SFp network card] Do i have to solder or it can work without it?

You need to set a fixed IP address on your PC for the network card which is connected to the media converter : for example 192.168.1.1 with mask 255.255.255.0.
Then, you should be able to ping the SFP on 192.168.1.10 (in 1Gbps first), and then connect to the SSH interface.
Once sgmii_mode is set to 5, after a reboot of the G-010S-A both 1Gbps and 2,5Gbps should work (assuming the media converter really supports it).

The media converter im using is UCY-XT705MC, it supports all modes on both sides 1, 2.5, 5 and 10Gb I also tested PPPoE on PC, connected the media converter to PC, 10G Aquantia card and manually changed port speeds on PC, it only connected when i changed my PC port to 2.5

You mean 1Gbps ?
I can't find a lot of information about this converter, but it seems the 2,5Gbps might work.

@Wontell
Copy link
Author

Wontell commented Nov 1, 2021

Hello,
I would like to thank you for your help again.

here are two images one Before reboot @1gb and one After Reboot @2.5Gb.

Do I need to update my firmware or do anything else? or it should work.

I cant test the Internet yet since I need to call the ISP and provide them with the SFP module serial number.
Its the most idiotic system ever, im locked both with serial number to ONE device, either SFP module or their router with build in SFP module and have to user name and password with PPPoE.
Before with different ISP that didn't use GPON i didn't have to do anything I had 2 SFP modules and they just worked, no calling to ISP, no using PPPoE, it just worked but that ISP only offered either 1Gb/100MB or 3GB/150MB and i wanted more upload so i got this GPON Fiber ISP that have 2500/250 [download link has 10% overheard due to PPPoE so my actual download is 2200], and they dont use our building electricity, the first ISP connected their switch to our building shared electricity and some neighbors didn't like that.

Anyway, here are the image and thanks again!

Before i run fw_setenv sgmii_mode 5, link @ 1Gb
Putty_1

After reboot, link is @ 2.5Gb

Putty_2

@hwti
Copy link
Owner

hwti commented Nov 1, 2021

Do I need to update my firmware or do anything else? or it should work.

Since the G-010S-A is provided by the ISP, the current firmware should work (or it will auto-update itself when it's properly recognized by the OLT).
This 3FE46398BGCB22 firmware seems to be much more recent than other available ones : from the BusyBox trace, at least some part of it has been rebuilt this year.
By dumping it, maybe you could help other people, if it contains bugfixes (which could help compatibility with OLTs).
On a Windows command line, you should be able to do run ssh ONTUSER@192.168.1.10 cat /dev/mtd2 > mtd2.bin (this uses the Windows 10 built-in ssh command).

I cant test the Internet yet since I need to call the ISP and provide them with the SFP module serial number. Its the most idiotic system ever, im locked both with serial number to ONE device, either SFP module or their router with build in SFP module and have to user name and password with PPPoE.

It's common to have either SN (or more, sometimes HardwareVersion is checked too) or SLID on GPON layer to identify the customer line, then PPPoE or DHCP with an account/password, which is kind of redundant but can make sense for an ISP (the GPON part is handled in the OLT which has a few thousands lines, the DHCP/PPPoE is handled on routers which often handle a whole region).

If you can get the SN from the ISP router (sometime it's on a sticker, or in the web interface), you could change the current ALCLF97678FA to the correct one using the ritool set MfrID ABCD and ritool set G984Serial 12345678 commands.
If this works, this would be easier to switch between the ISP router and the SFP if there is an issue.

@Wontell
Copy link
Author

Wontell commented Nov 1, 2021

Since the G-010S-A is provided by the ISP, the current firmware should work (or it will auto-update itself when it's properly recognized by the OLT). This 3FE46398BGCB22 firmware seems to be much more recent than other available ones : from the BusyBox trace, at least some part of it has been rebuilt this year. By dumping it, maybe you could help other people, if it contains bugfixes (which could help compatibility with OLTs).
On a Windows command line, you should be able to do run ssh ONTUSER@192.168.1.10 cat /dev/mtd2 > mtd2.bin (this uses the Windows 10 built-in ssh command).

Ok I will try to do that, where it saves the file?

If you can get the SN from the ISP router (sometime it's on a sticker, or in the web interface), you could change the current ALCLF97678FA to the correct one using the ritool set MfrID ABCD and ritool set G984Serial 12345678 commands. If this works, this would be easier to switch between the ISP router and the SFP if there is an issue.

How do I enter the serial number? HEX or as is?
Thius is my router serial number, what will be the command [sorry im not lazy just first time and confused a bit]
I have letters C and F in the serial number its not numerical

SMBS002C12F3

ritool set MfrID SMBS
ritool set G984Serial 002C12F3

@hwti
Copy link
Owner

hwti commented Nov 1, 2021

Ok I will try to do that, where it saves the file?

It saves the file in the current working directory.
You can launch the command from cmd.exe, and use cd xxx to change the directory.

How do I enter the serial number? HEX or as is? Thius is my router serial number, what will be the command [sorry im not lazy just first time and confused a bit] I have letters C and F in the serial number its not numerical

SMBS002C12F3

ritool set MfrID SMBS
ritool set G984Serial 002C12F3

You have the right commands, MfrID is 4 letters, and G984Serial is 8 hex digits.

@Wontell
Copy link
Author

Wontell commented Nov 1, 2021

You have the right commands, MfrID is 4 letters, and G984Serial is 8 hex digits.

Hi,

  1. I managed to download the firmware [its 6.00 MB (6,291,456 bytes)], I attached it to this message, but based on what happens next i maybe have to downgrade it myself.

  2. The connection when 2.5G link is enabled is SLOW and unstable, [Im going to re-test it now on another PC that has Intel 2.5Card,, right now im on Aquantia 10G and manually change the speed] i cant even ping the Module, half of the time i get huge ping or not reached, when i connected with Putty, each command took minutes to respond, like im connected with dial up modem to another continent back in the 90's
    EDIT: When connected to other PC with Intel 2.5 it works fine, no slow pings no packet loss

Here is example of 2 pings, under 2.5 link

C:\WINDOWS\system32>ping 192.168.1.10

Pinging 192.168.1.10 with 32 bytes of data:
Reply from 192.168.1.1: Destination host unreachable.
Reply from 192.168.1.1: Destination host unreachable.
Reply from 192.168.1.10: bytes=32 time=2005ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.1.10:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 2005ms, Average = 1002ms
C:\WINDOWS\system32>ping 192.168.1.10

Pinging 192.168.1.10 with 32 bytes of data:
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Request timed out.
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64
Reply from 192.168.1.10: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.1.10:
    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0m
  1. when i tried to change the serial i received an error "not allow to modify it"

Putty_3

mtd2.zip

Regards, ben

@Wontell
Copy link
Author

Wontell commented Nov 2, 2021

So I had to change everything back and use ISP provided router.

What happens is rather strange .

These modules after change to 2.5Gbps, have insane packet loss [25% to 100%], if connected to Multi-GIG 10G Ethernet port that was manually changed to 2.5, doesnt matter if this port is on PC or Router.

Another guy from our facebook page said the same thing,. he followed the guide changed the speed and has packet loss.

BUT, when I connected the media converter to my second PC that has build in 2.5 Intel card, no packet loss, i managed to dial in PPPoE and speeds were fine.

When i dialed in from my AX89X router [changed the port with Telnet to 2.5] i got sync, but drops and due to packet loss internet was worse then dial up from the 90s, some pages would load in 5 minutes others wont load at all.

Same goes by dialing in with PPPoE from my PC, Aquantia 10 g card, changed to 2.5, packet loss and internet is unusable, technically it "syncs" with PPPoE but the internet doesn't really work

Also for some reason, i can t change the serial number, i even tried a command to change the MAC, same error "not allow to modify it"

@hwti
Copy link
Owner

hwti commented Nov 2, 2021

I managed to download the firmware [its 6.00 MB (6,291,456 bytes)], I attached it to this message, but based on what happens next i maybe have to downgrade it myself.

Thanks

The connection when 2.5G link is enabled is SLOW and unstable, [Im going to re-test it now on another PC that has Intel 2.5Card,, right now im on Aquantia 10G and manually change the speed] i cant even ping the Module, half of the time i get huge ping or not reached, when i connected with Putty, each command took minutes to respond, like im connected with dial up modem to another continent back in the 90's
EDIT: When connected to other PC with Intel 2.5 it works fine, no slow pings no packet loss

Perhaps you can check if there are more recent Aquantia drivers (I remember people having issues, but not as important).
Note that the first Intel I225-V revisions have an hardware bug which can cause packet loss, and which depends on the device it's connected to.

when i tried to change the serial i received an error "not allow to modify it"

This is the first time I see this. I don't see this error string in the other firmwares (but maybe it's handled in a different location).
Looking at the disassembly, you need to set OperatorID value to 0000 (which is the value most people have by default) or 9999 to allow any value to be set.

What does ritool dump output ?

@hwti
Copy link
Owner

hwti commented Nov 2, 2021

These modules after change to 2.5Gbps, have insane packet loss [25% to 100%], if connected to Multi-GIG 10G Ethernet port that was manually changed to 2.5, doesnt matter if this port is on PC or Router.

Another guy from our facebook page said the same thing,. he followed the guide changed the speed and has packet loss.

When using an SFP+ card or switch, I didn't see any one reporting packet losses : either 2.5Gbps works with no issues, or it isn't supported (then the link is down).
So I would suspect an issue between the media converter and the network card.

BUT, when I connected the media converter to my second PC that has build in 2.5 Intel card, no packet loss, i managed to dial in PPPoE and speeds were fine.

When i dialed in from my AX89X router [changed the port with Telnet to 2.5] i got sync, but drops and due to packet loss internet was worse then dial up from the 90s, some pages would load in 5 minutes others wont load at all.

Same goes by dialing in with PPPoE from my PC, Aquantia 10 g card, changed to 2.5, packet loss and internet is unusable, technically it "syncs" with PPPoE but the internet doesn't really work

Also for some reason, i can t change the serial number, i even tried a command to change the MAC, same error "not allow to modify it"

I don't understand : if you can get internet with PPPoE, what makes you think you need to change the SN ?

@Wontell
Copy link
Author

Wontell commented Nov 2, 2021

These modules after change to 2.5Gbps, have insane packet loss [25% to 100%], if connected to Multi-GIG 10G Ethernet port that was manually changed to 2.5, doesnt matter if this port is on PC or Router.
Another guy from our facebook page said the same thing,. he followed the guide changed the speed and has packet loss.

When using an SFP+ card or switch, I didn't see any one reporting packet losses : either 2.5Gbps works with no issues, or it isn't supported (then the link is down). So I would suspect an issue between the media converter and the network card.

BUT, when I connected the media converter to my second PC that has build in 2.5 Intel card, no packet loss, i managed to dial in PPPoE and speeds were fine.
When i dialed in from my AX89X router [changed the port with Telnet to 2.5] i got sync, but drops and due to packet loss internet was worse then dial up from the 90s, some pages would load in 5 minutes others wont load at all.
Same goes by dialing in with PPPoE from my PC, Aquantia 10 g card, changed to 2.5, packet loss and internet is unusable, technically it "syncs" with PPPoE but the internet doesn't really work
Also for some reason, i can t change the serial number, i even tried a command to change the MAC, same error "not allow to modify it"

I don't understand : if you can get internet with PPPoE, what makes you think you need to change the SN ?

To get internet working I called tech support, they 24/7, gave them a serial, but now im back to ISP router, if i could change the serial i would not have to call them.

The packet loss is not just me, i shared the guide and other guy also gets it for some reason.

The strange part is that it happens only on multi-gig Ethernet ports, ones that have speeds above 2.5, same goes with router multigig port.

I have 3 computers here, so i also checked on Intel 2.5 that i have, and its the only one that doesn't have any packet loss.

BTW, I checked my router log and when I connected at 2.5 speed, it ALWAYS had these errors:

Nov 2 01:45:54 pppoe-relay[24689]: PADS packet from 0c:a4:02:da:86:9e on interface eth5 does not have Relay-Session-Id tag

Router would try bunch of times, then eventually Sync with PPPoE, throwing tehse errors, show connected but the internet wont work, like if you try to open a page it would try to infinity to load it.

Email would download some messages and then stuck.

Its the packet loss, im sure about that

I think these Nokia dongles should be used only in 2.5g hardware

@hwti
Copy link
Owner

hwti commented Nov 2, 2021

To get internet working I called tech support, they 24/7, gave them a serial, but now im back to ISP router, if i could change the serial i wasn't have to call them.

OK, so at least they allow to change the allowed SN, here in France it's either impossible, or you have to be lucky to get someone which understands the requests and allows it.

The packet loss is not just me, i shared the guide and other guy also gets it for some reason.

But I suppose this is still using a media converter (with switch, the speed on the PC wouldn't matter).
And with your AX89X router, you said the SFP+ port only supports 1Gbps and 10Gbps, so you are using the media converter too.
Since SFP modules supporting 2.5Gbps (HSGMII) are not common, it isn't easy to test the media converter in other configurations. Maybe it has issues with Aquantia cards in 2.5Gbps mode (you can try disabling any EEE/power management features in the card properties), and not with Intel cards (there are Realtek ones too which could be worth testing).

@hwti
Copy link
Owner

hwti commented Nov 2, 2021

3FE46398BGCB22 firmware, What's different from the versions you have?

I'm having a case with OLT Alcatel, G-010S-A is always O5 no matter what SN and SLID you set (doesn't need to be the same as the ISP's original router), but can't get vlan and of course can't get Internet with PPPoE. I still don't understand why

It isn't easy to tell. It seems to have more operator-specific checks, but I don't know if everything is relevant for this ONT, and it's sometimes just features being disabled or hidden.

I see more traces in omciMgr related to the handling of different OLTs, so maybe the compatibility is improved :

  • /configs/nonaluoltInfo in addition to /configs/oltInfo
  • Now ONT Connetcted to ALU OLT and it was connected to HWOLT earlier, So reboot flag is set
  • Now ONT Connetcted to NON-ALU OLT and it was connected to HWOLT earlier, So reboot flag is set
  • ONT connected to non-Nokia OLT first time, need to reboot once to upload correct number of LAN ports

I'm aware of VLAN issues with Huawei (HWTC) OLTs in some cases, but not with Alcatel/Nokia (ALCL) ones.
Did you try setting HardwareVersion to match the ISP router (or one of the allowed ISP ONT/routers) ? I know there are ALCL OLTs which check that in addition of the SN.

@hwti
Copy link
Owner

hwti commented Nov 2, 2021

I'll try setting HardwareVersion but default is 3FE46541AAAA (adjacent characters and no special characters), so ISP ONT is include character - for example: GW040-Hv2 . Is this a problem?

The ISP one is probably something else, I don't know if you can get it without either access to the ISP ONT (web, ssh, telnet) or a firmware dump.

Also, you wrote about SLID, maybe it isn't properly applied : you can check with onu gtccg
I didn't check in all firmware versions, but I saw strange bugs :

  • If the SLID is smaller than the maximum size, the web page pads on the left with null bytes (ie 00 in HEX mode), but after a reboot it uses 0 characters instead (so 30 in HEX mode).
  • In HEX mode, if the SLID starts with 00, then after a reboot the load of the stored value fails and 30303030303030303030 is used instead.
  • In HEX mode, if the SLID has an odd number of digits, the web page doesn't care, but after a reboot the last two digits are ignored.

@Wontell
Copy link
Author

Wontell commented Nov 3, 2021

But I suppose this is still using a media converter (with switch, the speed on the PC wouldn't matter). And with your AX89X router, you said the SFP+ port only supports 1Gbps and 10Gbps, so you are using the media converter too. Since SFP modules supporting 2.5Gbps (HSGMII) are not common, it isn't easy to test the media converter in other configurations. Maybe it has issues with Aquantia cards in 2.5Gbps mode (you can try disabling any EEE/power management features in the card properties), and not with Intel cards (there are Realtek ones too which could be worth testing).

media Converter connected to the 10G BaseT port on the router that supports all speeds.

It works fine on PCs with Native Intel 2.5 port, 2.5G ethernet Port > Media converter = works fine
But if the port is 10G, set to 2.5G > Media converter = Packet loss
Same for router, 10G BaseT port set to 2.5 > Media converter = Packet loss

Dont you find it strange? whats the difference between NATIVE 2.5G and 10G port set to 2.5G? we are talking about copper ethernet ports here

Also, you wrote about SLID,

I connected to web interface to check whats up, the SLID is all 000000000000000000000

Whats SLID? I have no idea

@hwti
Copy link
Owner

hwti commented Nov 3, 2021

It works fine on PCs with Native Intel 2.5 port, 2.5G ethernet Port > Media converter = works fine
But if the port is 10G, set to 2.5G > Media converter = Packet loss
Same for router, 10G BaseT port set to 2.5 > Media converter = Packet loss

Dont you find it strange? whats the difference between NATIVE 2.5G and 10G port set to 2.5G? we are talking about copper ethernet ports here

From https://wikidevi.wi-cat.ru/ASUS_RT-AX89X, it looks like the router is using an Aquantia PHY : AQR107.
So maybe the media converter doesn't follow the standard properly, but the Intel PHY is more forgiving than the Aquantia one.
But as I wrote, you should check if there aren't any power management features, like EEE (Energy Efficient Ethernet), being enabled on the PC or the router. If the link is disabled or the speed drops when idle, then maybe the media converter doesn't like it, or it changes the speed on the SFP side : for example switching between 1Gbps and 2.5Gbps takes time, if it happens constantly it could explain your issue.

Also, you wrote about SLID,

I connected to web interface to check whats up, the SLID is all 000000000000000000000

Whats SLID? I have no idea

This was a response to @vuducdong's message.

@hwti
Copy link
Owner

hwti commented Jan 30, 2022

@Wontell Thanks again for the firmware, it seems to fix issues with Huawei OLTs, so I added it to the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants