Hello,
I’ve bought myself an awesome Turris Omnia for Chistmas and trying to set it up now. However, when using the SFP module I already have for my ISP-provided router, it doesn’t work. I have no clue what I am doing wrong as it’s the first time I need to deal with Fiber.
Following the same pattern as [HBL] TurrisOS 6.0-alpha2 Halny HL-GSFP SFP GPON Stick problems, here is what I get from module:
root@turris:~# dmesg | grep sfp
[ 8.001928] sfp sfp: Host maximum power 3.0W
[ 8.337824] sfp sfp: module WTD RTXM166-401-C11 rev 1.1 sn EB203100272698 dc 200814
root@turris:~# dmesg | grep mvneta | grep eth2
[ 1.849537] mvneta f1034000.ethernet eth2: Using device tree mac address d8:58:d7:01:fc:af
[ 8.347190] mvneta f1034000.ethernet eth2: switched to inband/1000base-x link mode
[ 11.453992] mvneta f1034000.ethernet eth2: configuring for inband/1000base-x link mode
root@turris:~# ethtool -m eth2
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined by 2-wire interface ID)
Connector : 0x01 (SC)
Transceiver codes : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Encoding : 0x01 (8B/10B)
BR, Nominal : 1300MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 20km
Length (SMF) : 20000m
Length (50um) : 0m
Length (62.5um) : 0m
Length (Copper) : 0m
Length (OM3) : 0m
Laser wavelength : 1310nm
Vendor name : WTD
Vendor OUI : 00:1c:ad
Vendor PN : RTXM166-401-C11
Vendor rev : 1.1
Option values : 0x00 0x0a
Option : RX_LOS implemented
Option : TX_FAULT implemented
BR margin, max : 0%
BR margin, min : 0%
Vendor SN : EB203100272698
Date code : 200814
Optical diagnostics support : Yes
Laser bias current : 13.260 mA
Laser output power : 2.3018 mW / 3.62 dBm
Receiver signal average optical power : 0.0171 mW / -17.67 dBm
Module temperature : 46.25 degrees C / 115.25 degrees F
Module voltage : 3.2986 V
Alarm/warning flags implemented : Yes
Laser bias current high alarm : Off
Laser bias current low alarm : Off
Laser bias current high warning : Off
Laser bias current low warning : Off
Laser output power high alarm : Off
Laser output power low alarm : Off
Laser output power high warning : Off
Laser output power low warning : Off
Module temperature high alarm : Off
Module temperature low alarm : Off
Module temperature high warning : Off
Module temperature low warning : Off
Module voltage high alarm : Off
Module voltage low alarm : Off
Module voltage high warning : Off
Module voltage low warning : Off
Laser rx power high alarm : Off
Laser rx power low alarm : Off
Laser rx power high warning : Off
Laser rx power low warning : Off
Laser bias current high alarm threshold : 90.000 mA
Laser bias current low alarm threshold : 0.000 mA
Laser bias current high warning threshold : 70.000 mA
Laser bias current low warning threshold : 0.000 mA
Laser output power high alarm threshold : 4.5920 mW / 6.62 dBm
Laser output power low alarm threshold : 0.8954 mW / -0.48 dBm
Laser output power high warning threshold : 3.6475 mW / 5.62 dBm
Laser output power low warning threshold : 1.1535 mW / 0.62 dBm
Module temperature high alarm threshold : 80.00 degrees C / 176.00 degrees F
Module temperature low alarm threshold : -13.00 degrees C / 8.60 degrees F
Module temperature high warning threshold : 75.00 degrees C / 167.00 degrees F
Module temperature low warning threshold : -8.00 degrees C / 17.60 degrees F
Module voltage high alarm threshold : 3.6000 V
Module voltage low alarm threshold : 2.9951 V
Module voltage high warning threshold : 3.5000 V
Module voltage low warning threshold : 3.0975 V
Laser rx power high alarm threshold : 0.1995 mW / -7.00 dBm
Laser rx power low alarm threshold : 0.0011 mW / -29.59 dBm
Laser rx power high warning threshold : 0.1585 mW / -8.00 dBm
Laser rx power low warning threshold : 0.0014 mW / -28.54 dBm
root@turris:~# ethtool -m eth2 raw on | hexdump -C
00000000 03 04 01 00 00 00 00 00 00 00 00 01 0d 00 14 c8 |................|
00000010 00 00 00 00 57 54 44 20 20 20 20 20 20 20 20 20 |....WTD |
00000020 20 20 20 20 00 00 1c ad 52 54 58 4d 31 36 36 2d | ....RTXM166-|
00000030 34 30 31 2d 43 31 31 20 31 2e 31 20 05 1e 00 b9 |401-C11 1.1 ....|
00000040 00 0a 00 00 45 42 32 30 33 31 30 30 32 37 32 36 |....EB2031002726|
00000050 39 38 20 20 32 30 30 38 31 34 20 20 68 f0 02 02 |98 200814 h...|
00000060 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000100 50 00 f3 00 4b 00 f8 00 8c a0 74 ff 88 b8 78 ff |P...K.....t...x.|
00000110 af c8 00 00 88 b8 00 00 b3 60 22 fa 8e 7b 2d 0f |.........`"..{-.|
00000120 07 cb 00 0b 06 31 00 0e 00 00 00 00 00 00 00 00 |.....1..........|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000140 00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 |....?...........|
00000150 01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 ec |................|
00000160 2e 40 80 7b 1a 90 4f ec 00 ab 53 eb 00 00 11 c5 |.@.{..O...S.....|
00000170 00 00 01 69 00 00 00 00 e3 00 00 00 00 00 00 00 |...i............|
00000180 03 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
00000190 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
000001b0 ff ff ff ff ff ff ff ff ff ff ff ff 60 ff ff ff |............`...|
000001c0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000200
root@turris:~# uname -a
Linux turris 5.15.135 #0 SMP Mon Oct 16 11:41:56 2023 armv7l GNU/Linux
I know the SFP module works as it all works when using with the router provided by my ISP.
It’s the first time I have to deal with Fiber so happy to provide any other information but I’m quite lost on what I would need to look into next to verify what works and what doesn’t.
I am on kernel 5.15.62
Thank you!!