1 (edytowany przez RafalB 2023-12-02 13:08:00)

Temat: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Mam problem z wkładką SFP Gpon od Leolabs, w zasadzie to nie wiem jak wygląda poprawne działanie/zachowanie wkładki pod OpenWRT więc może gdzieś popełniłem błąd, prosze o weryfikację poradę.

Poniżej kilka informacji nt aktualnego stanu

 
 _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------------------------------
 |                                                                           |
 | OpenWrt 23.05-SNAPSHOT, r23633-c7b6cfac40                                 |
 |                                                                           |
 | Build time: 2023-11-17 10:01 CET                                          |
 | Cezary Jackiewicz, https://eko.one.pl                                     |
 |                                                                           |
 -----------------------------------------------------------------------------
 | Machine: Bananapi BPI-R3                                                  |
 | Uptime: 0d, 03:39:16                                                      |
 | Load: 0.01 0.01 0.00                                                      |
 | Flash:                                                                    |
 | Memory: total: 1.9GB, free: 1.8GB, used: 7%                               |
 | Leases: 12                                                                |
 | lan: static, 192.168.100.4                                                |
 | wan: pppoe, xxxxxxxxx                                     |
 | ont: static, 192.168.10.5                                                 |
 | radio0: lan, mode: ap, ssid: iFixThis, channel: 8, conn: 8                |
 | radio1: lan, mode: ap, ssid: iFixThis_5GHz, channel: 64, conn: 2          |
 -----------------------------------------------------------------------------
root@OpenWrt:~# uname -a
Linux OpenWrt 5.15.137 #0 SMP Wed Nov 15 10:00:19 2023 aarch64 GNU/Linux
root@OpenWrt:~# 

Widoczność wkładki po wciśnięciu w port - port sfp WAN

[10872.048108] device eth1 left promiscuous mode
[10872.052592] br-wan: port 1(eth1) entered disabled state
[10872.195766] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/1000base-x link mode
[10872.523660] br-wan: port 1(eth1) entered blocking state
[10872.528922] br-wan: port 1(eth1) entered disabled state
[10872.534481] device eth1 entered promiscuous mode

Wyjecie i włożenie wkładki do portu SFP WAN

[   14.506436] sfp sfp-1: Host maximum power 3.0W
[   14.511681] sfp sfp-2: Host maximum power 3.0W
[   14.849758] sfp sfp-1: module Hisense-Leox     LXT-010S-H       rev 1.0  sn LEOXD10000F7     dc 221104  
[   23.572293] mt7530-mdio mdio-bus:1f sfp2: configuring for inband/2500base-x link mode
[   23.582459] br-lan: port 5(sfp2) entered blocking state
[   23.587692] br-lan: port 5(sfp2) entered disabled state
[   23.595611] device sfp2 entered promiscuous mode
[ 2148.868021] sfp sfp-1: module transmit fault indicated
[ 2148.873374] sfp sfp-1: module removed
[13550.742886] sfp sfp-1: module Hisense-Leox     LXT-010S-H       rev 1.0  sn LEOXD10000F7     dc 221104 

Odczyt informacji z eepromu wkładki

root@OpenWrt:~# ethtool -m eth1
Offset        Values
------        ------
0x0000:        03 04 01 00 00 00 02 00 00 00 00 03 0d 00 14 c8 
0x0010:        00 00 00 00 48 69 73 65 6e 73 65 2d 4c 65 6f 78 
0x0020:        20 20 20 20 00 00 00 00 4c 58 54 2d 30 31 30 53 
0x0030:        2d 48 20 20 20 20 20 20 31 2e 30 20 05 1e 00 1a 
0x0040:        00 1a 00 00 4c 45 4f 58 44 31 30 30 30 30 46 37 
0x0050:        20 20 20 20 32 32 31 31 30 34 20 20 68 f0 08 4e 
0x0060:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x0070:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x0080:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x0090:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00a0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00b0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00c0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00d0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00e0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00f0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x0100:        6e 00 d3 00 69 00 d8 00 8c a0 75 30 88 b8 79 18 
0x0110:        c3 50 00 00 9c 40 00 00 9b 83 1f 07 7b 87 27 10 
0x0120:        07 cb 00 0d 06 31 00 10 00 00 00 00 00 00 00 00 
0x0130:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x0140:        00 00 00 00 3f 80 00 00 00 00 00 00 01 00 00 00 
0x0150:        01 00 00 00 01 00 00 00 01 00 00 00 00 00 00 79 
0x0160:        25 bf 81 cf 00 00 00 00 00 00 f7 61 ce e1 02 00 
0x0170:        01 00 00 00 01 40 00 00 ff ff ff ff ff ff ff 00 
0x0180:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x0190:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x01a0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x01b0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x01c0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x01d0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x01e0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x01f0:        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

Odczyt informacji nt portu eth1 - swiatlowód aktualnie nie podłączony, jak jest to nic to nie zmienia

root@OpenWrt:~# ethtool eth1
Settings for eth1:
    Supported ports: [ FIBRE ]
    Supported link modes:   1000baseX/Full 
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  1000baseX/Full 
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Link partner advertised link modes:  1000baseX/Full 
    Link partner advertised pause frame use: Symmetric Receive-only
    Link partner advertised auto-negotiation: Yes
    Link partner advertised FEC modes: Not reported
    Speed: 1000Mb/s
    Duplex: Full
    Port: FIBRE
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Current message level: 0x000000ff (255)
                   drv probe link timer ifdown ifup rx_err tx_err
    Link detected: no

Drugi port SFP jest pusty i się zgadza bo wkładki nie jest obsadzona

root@OpenWrt:~# ethtool sfp2
Settings for sfp2:
    Supported ports: [ MII ]
    Supported link modes:   2500baseX/Full 
    Supported pause frame use: Symmetric Receive-only
    Supports auto-negotiation: Yes
    Supported FEC modes: Not reported
    Advertised link modes:  2500baseX/Full 
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Advertised FEC modes: Not reported
    Speed: 2500Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: d
    Wake-on: d
    Link detected: no
root@OpenWrt:~# ethtool -m sfp2
Cannot get Module EEPROM data: No such device or address
SFP module not in cage?

Wkładka ma ustawione odpowiednie dane zgodnie z urządzeniem combo od operatora oraz adres ip 192.160.10.1
Widzę ja w switchu z sfp, dostaje statu O5, nic tylko zestawić sesje PPPoE ale pod OpenWRT nie moge dostać się do wkładki

Ustawienia sieci

root@OpenWrt:~# cat /etc/config/network 

config interface 'loopback'
    option device 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fd0e:954f:ef40::/48'

config device
    option name 'br-lan'
    option type 'bridge'
    list ports 'lan1'
    list ports 'lan2'
    list ports 'lan3'
    list ports 'lan4'
    list ports 'sfp2'

config interface 'lan'
    option device 'br-lan'
    option proto 'static'
    option ipaddr '192.168.100.4'
    option netmask '255.255.255.0'
    option ip6assign '60'

config device
    option name 'br-wan'
    option type 'bridge'
    list ports 'eth1'
    list ports 'wan'

config device
    option name 'eth1'
    option macaddr '3e:50:f6:01:b0:a6'

config device
    option name 'wan'
    option macaddr '3e:50:f6:01:b0:a6'

config interface 'wan'
    option device 'br-wan'
    option proto 'pppoe'
    option username 'isb6rewr@bn24.pl'
    option password 'uZRyP6iD'
    option ipv6 'auto'

config interface 'ont'
    option proto 'static'
    option device 'eth1'
    option ipaddr '192.168.10.5'
    option netmask '255.255.255.0'

Wkładki nie mogę pingować

root@OpenWrt:~# ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
^C
--- 192.168.10.1 ping statistics ---
8 packets transmitted, 0 packets received, 100% packet loss

2

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Na forum openwrt też ktoś pisałem że mu nie działa wkładka i po przejściu na snaphota ruszła. Może to właśnie kwestia kernela/sterownika? Sprawdź snapshota.

PS. option device '@eth1' w sekcji ont raczej. Nie wiem też jak on się zachowuje jak ten port jest bridge, więc na chwilę zamień br-wan na eth1 bezpośrednio.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Postaram się jutro to sprawdzić, dotarła też wkładka elektryczna i podobnie się przedstawia jak leox, a może będziesz aktualizował swoje obrazy?

4

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Cały czas aktualizuję. Nawet łatki mogę przeportować ale muszę widzieć co przeportować.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Jak jest w bridge ustawiona to wskazujesz interfejs wan w luci i ma się terminować na nim pppoe, lub jeśli jest ustawiona jako router to normalnie z niej powinieneś pobrać konfigurację DHCP etc.

Dom : router https://i.imgur.com/IuB6Zwy.png | TP-LINK T1700G-28TQ |Zyxel XGS-1210-12 | 6x Ruckus r310 unleashed  + Ruckus icx7150-c12p | Truenas scale 124TB 25Gb| Xpenology 12TB | apc smart ups 750 lcd smile 100Mb/s - 25Gb/s
Podróżne : GL.Inet MT3000  +1TB hdd
Działka : rb260gs 1j wdm 1Gb+ ruckus r310 + nb m5 + kilka kamer ip  + panel 285Wp + lifepo4 12v 60Ah .

6 (edytowany przez Payti 2023-12-03 00:32:43)

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

@RafalB, gdzie kupiłeś tą wkładkę Leox GPON LXT-010S-H i w jakiej cenie?

Banana Pi BPI-R3 + SFP GPON ONT Nokia G-010S-A + LTE FIBOCOM L860-GL-16 (OpenWrt 25.12-SNAPSHOT, kernel 6.12.71)
Xiaomi AX3600 (OpenWrt 25.12-SNAPSHOT, kernel 6.12.71)
Xiaomi AX3000T (OpenWrt 25.12-SNAPSHOT, kernel 6.12.71)
All OpenWRT compilations from ASU by @Cezary

7 (edytowany przez RafalB 2023-12-03 07:30:36)

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Cezary napisał/a:

Cały czas aktualizuję. Nawet łatki mogę przeportować ale muszę widzieć co przeportować.

Sprawdziłem snapshot i zachowuje się tak samo tj niby widzi wkładkę ale jest link down niezależnie czy swiatłowód jest podłączony czy nie. Nie mogę dostać się też do wkładki od strony OpenWRT

ambrozy5 napisał/a:

Jak jest w bridge ustawiona to wskazujesz interfejs wan w luci i ma się terminować na nim pppoe, lub jeśli jest ustawiona jako router to normalnie z niej powinieneś pobrać konfigurację DHCP etc.

Wygląda na to, że nie tutaj mam problem, wkładka jest jako bridge ale ja nie mam z nią kontaktu od strony OpenWRT

Payti napisał/a:

@RafalB, gdzie kupiłeś tą wkładkę Leox GPON LXT-010S-H i w jakiej cenie?

Dostałem od leolabs, nie wiem w jakiej jest cenie.

8

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Cezary napisał/a:

Nawet łatki mogę przeportować ale muszę widzieć co przeportować.

Tutaj znalazłem problem https://forum.openwrt.org/t/bpi-r3-mtk- … /169790/14
Podniesienie wersji kernela do 6.1, możesz zerknać?

9

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Zbudować Ci czy będziesz sam robił?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Cezary napisał/a:

Zbudować Ci czy będziesz sam robił?

Poproszę o budowę, nie mam środowiska do tego od dawna.

11

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

https://dl.eko.one.pl/test/bananapi-rpi … k/filogic/

Tylko:
- nawet wersja rozwojowa nie ma mediateka na 6.1, więc to jest bardzo testowe
- sama postawa z luci
- skompilowałem dodatkowo parę różnych modułów, ale nie wszystko. Jak będzie czegoś brakowało to będę musiał dokompilować
- nie ma oczywiście repozytorium z modułami z pierwsze powodu

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Dziękuje, jest dalej problem z autonegocjacją

root@OpenWrt:/# ethtool -s eth1 speed 1000 duplex full autoneg off
[  777.763213] sfp sfp-1: Unable to ascertain link mode
[  777.768180] mtk_soc_eth 15100000.ethernet eth1: selection of interface failed, advertisement 00000000,00000000,00006400
Cannot set new settings: Invalid argument
  not setting speed
  not setting duplex
  not setting autoneg

Port przechodzi w tryb down

root@OpenWrt:/# dmesg | grep 'eth1'
[    1.243705] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc009600000, irq 123
[   23.053407] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
[   23.063537] br-wan: port 1(eth1) entered blocking state
[   23.068773] br-wan: port 1(eth1) entered disabled state
[   23.074254] device eth1 entered promiscuous mode
[   25.447913] mtk_soc_eth 15100000.ethernet eth1: switched to inband/1000base-x link mode
[   25.508924] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[   25.517374] br-wan: port 1(eth1) entered blocking state
[   25.522592] br-wan: port 1(eth1) entered forwarding state
[   26.488906] mtk_soc_eth 15100000.ethernet eth1: Link is Down
[   26.519629] br-wan: port 1(eth1) entered disabled state

Sprawdzałem też niższe wersje i openwrt-23.05.0-rc2 nie wykazywał takiego zachowania, może to bardziej kwestia sterownika do mtk, czy mógłbyś skompilować aktualna wersje openwrt ale z inna wersją sterownika?

13

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

To raczej pochodzi z kernela, więc nie da się tego downgradować z poprzedniej wersji.

Sam osobny sterownik jest od 2.5G phy, ale to też się nie zmieniło od maja: https://github.com/openwrt/openwrt/comm … 4d05dd0a09

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Na wcześniej wspomnianej wersji tj 23.05.0-rc2 sterownik jest jak poniżej

root@OpenWrt:~# ethtool -i eth1
driver: mtk_soc_eth
version: 5.15.118
firmware-version:
expansion-rom-version:
bus-info: 15100000.ethernet
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
root@OpenWrt:~#

I tutaj jest bardzo obiecująco

root@OpenWrt:~# ethtool eth1
Settings for eth1:
        Supported ports: [ FIBRE ]
        Supported link modes:   1000baseX/Full
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  1000baseX/Full
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  1000baseX/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Link partner advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: FIBRE
        PHYAD: 0
        Transceiver: internal
        Current message level: 0x000000ff (255)
                               drv probe link timer ifdown ifup rx_err tx_err
        Link detected: yes

Do tego wartości z wkładki są odczytywane

root@OpenWrt:/# ethtool -m eth1
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x01 (SC)
        Transceiver codes                         : 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: 1000BASE-LX
        Encoding                                  : 0x03 (NRZ)
        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                               : Hisense-Leox
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : LXT-010S-H
        Vendor rev                                : 1.0
        Option values                             : 0x00 0x1a
        Option                                    : RX_LOS implemented
        Option                                    : TX_FAULT implemented
        Option                                    : TX_DISABLE implemented
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : LEOXD10000F7
        Date code                                 : 221104
        Optical diagnostics support               : Yes
        Laser bias current                        : 9.336 mA
        Laser output power                        : 1.8451 mW / 2.66 dBm
        Receiver signal average optical power     : 0.0126 mW / -19.00 dBm
        Module temperature                        : 54.39 degrees C / 129.90 degrees F
        Module voltage                            : 3.3231 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   : 100.000 mA
        Laser bias current low alarm threshold    : 0.000 mA
        Laser bias current high warning threshold : 80.000 mA
        Laser bias current low warning threshold  : 0.000 mA
        Laser output power high alarm threshold   : 3.9811 mW / 6.00 dBm
        Laser output power low alarm threshold    : 0.7943 mW / -1.00 dBm
        Laser output power high warning threshold : 3.1623 mW / 5.00 dBm
        Laser output power low warning threshold  : 1.0000 mW / 0.00 dBm
        Module temperature high alarm threshold   : 110.00 degrees C / 230.00 degrees F
        Module temperature low alarm threshold    : -45.00 degrees C / -49.00 degrees F
        Module temperature high warning threshold : 105.00 degrees C / 221.00 degrees F
        Module temperature low warning threshold  : -40.00 degrees C / -40.00 degrees F
        Module voltage high alarm threshold       : 3.6000 V
        Module voltage low alarm threshold        : 3.0000 V
        Module voltage high warning threshold     : 3.5000 V
        Module voltage low warning threshold      : 3.1000 V
        Laser rx power high alarm threshold       : 0.1995 mW / -7.00 dBm
        Laser rx power low alarm threshold        : 0.0013 mW / -28.86 dBm
        Laser rx power high warning threshold     : 0.1585 mW / -8.00 dBm
        Laser rx power low warning threshold      : 0.0016 mW / -27.96 dBm

Niestety nie chce zestawić połączenia PPPoE, wkładki nie mogę tez spingować od strony OpenWRT

15

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

W sumie całe 23.05 leci na kernelu 5.15 który jest systematycznie podbijany wraz z pojawianiem się nowych wydań. Ciekawe że aż taką różnicę masz w stosunku do obecnego 23.05.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Cezary napisał/a:

To raczej pochodzi z kernela, więc nie da się tego downgradować z poprzedniej wersji.

Sam osobny sterownik jest od 2.5G phy, ale to też się nie zmieniło od maja: https://github.com/openwrt/openwrt/comm … 4d05dd0a09

Masz racje to kernel się różni i w jakiś sposób powoduje, ze nowsze mają brak obsługi tej wkładki

17

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

RafalB napisał/a:

Wkładka ma ustawione odpowiednie dane zgodnie z urządzeniem combo od operatora oraz adres ip 192.160.10.1


Wkładki nie mogę pingować

root@OpenWrt:~# ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
^C
--- 192.168.10.1 ping statistics ---
8 packets transmitted, 0 packets received, 100% packet loss

A nie pingujesz inny adres niż ma domyślnie wkładka?

Banana Pi BPI-R3 + SFP GPON ONT Nokia G-010S-A + LTE FIBOCOM L860-GL-16 (OpenWrt 25.12-SNAPSHOT, kernel 6.12.71)
Xiaomi AX3600 (OpenWrt 25.12-SNAPSHOT, kernel 6.12.71)
Xiaomi AX3000T (OpenWrt 25.12-SNAPSHOT, kernel 6.12.71)
All OpenWRT compilations from ASU by @Cezary

18

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Payti napisał/a:
RafalB napisał/a:

Wkładka ma ustawione odpowiednie dane zgodnie z urządzeniem combo od operatora oraz adres ip 192.160.10.1


Wkładki nie mogę pingować

root@OpenWrt:~# ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
^C
--- 192.168.10.1 ping statistics ---
8 packets transmitted, 0 packets received, 100% packet loss

A nie pingujesz inny adres niż ma domyślnie wkładka?

Nie jestem zbyt bystry ale zmieniłem adres na 192.168.10.1 z domyślnego 192.168.1.1 żeby nie było jakiegoś konfliktu na domyślnych obrazach openwrt.
Adres który ustawiłem jest dostępny w switchu z wkładką SFP ale już poziomu banana pi nie jest dostępny.
Z użyciem switcha sfp nie mogę też nawiązać połączenia PPPoE ale może tak się nie da? W sensie switch nie może pełnić roli mediakonwertera?

19

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Może. SFP w switchu traktowana jest jako zwykły kolejny port, więc mając z jednej strony SFP a z drugiej zwykły kabel do RJ45 - działa (oczywiście pomijam sprawy vlanów itp).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

20

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Cezary napisał/a:

Może. SFP w switchu traktowana jest jako zwykły kolejny port, więc mając z jednej strony SFP a z drugiej zwykły kabel do RJ45 - działa (oczywiście pomijam sprawy vlanów itp).

Nie wiem, napisałem do leolabs w tej kwestii, sam nie mam doświadczenia przez co nie wiem co jest właściwe a co nie, ehh miał być piękny router wszystko mający i jakis filmik a tu syzyfowe prace wychodzą wink

21 (edytowany przez RafalB 2023-12-05 16:23:45)

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Wczoraj wieczorem ucegliłem wkładkę, nawet uart nie pomaga, dostałem od producenta tj leolabs dump pamięci i będę programował flash na zewnętrznym programatorze.

Zauważyłem że Bananapi a może sam OpenWRT ma jakiś problem w identyfikacji wkładki(paramterów transmisji SFP), wkładka jest widziana poprawnie, nawet mogę ją pingować i wejsc na jej www tyle, że trwa to długo bo wkladka restartuje się co chwilę.

root@OpenWrt:~# ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1): 56 data bytes
64 bytes from 192.168.10.1: seq=4 ttl=64 time=1039.631 ms
64 bytes from 192.168.10.1: seq=5 ttl=64 time=39.732 ms
64 bytes from 192.168.10.1: seq=6 ttl=64 time=0.797 ms
64 bytes from 192.168.10.1: seq=7 ttl=64 time=0.729 ms
64 bytes from 192.168.10.1: seq=8 ttl=64 time=0.665 ms
64 bytes from 192.168.10.1: seq=9 ttl=64 time=0.678 ms
64 bytes from 192.168.10.1: seq=10 ttl=64 time=0.673 ms
64 bytes from 192.168.10.1: seq=11 ttl=64 time=0.677 ms
64 bytes from 192.168.10.1: seq=12 ttl=64 time=0.657 ms
64 bytes from 192.168.10.1: seq=13 ttl=64 time=0.684 ms
64 bytes from 192.168.10.1: seq=41 ttl=64 time=1075.423 ms
64 bytes from 192.168.10.1: seq=42 ttl=64 time=75.361 ms
64 bytes from 192.168.10.1: seq=43 ttl=64 time=0.694 ms
64 bytes from 192.168.10.1: seq=44 ttl=64 time=0.662 ms
64 bytes from 192.168.10.1: seq=45 ttl=64 time=0.821 ms
64 bytes from 192.168.10.1: seq=50 ttl=64 time=2075.105 ms
64 bytes from 192.168.10.1: seq=51 ttl=64 time=1075.185 ms
64 bytes from 192.168.10.1: seq=52 ttl=64 time=75.320 ms
64 bytes from 192.168.10.1: seq=53 ttl=64 time=0.833 ms
64 bytes from 192.168.10.1: seq=54 ttl=64 time=0.716 ms
64 bytes from 192.168.10.1: seq=55 ttl=64 time=0.677 ms
64 bytes from 192.168.10.1: seq=56 ttl=64 time=0.668 ms
64 bytes from 192.168.10.1: seq=57 ttl=64 time=0.748 ms
64 bytes from 192.168.10.1: seq=58 ttl=64 time=0.676 ms
64 bytes from 192.168.10.1: seq=59 ttl=64 time=0.741 ms
64 bytes from 192.168.10.1: seq=60 ttl=64 time=0.663 ms
^C
--- 192.168.10.1 ping statistics ---
64 packets transmitted, 26 packets received, 59% packet loss
round-trip min/avg/max = 0.657/210.354/2075.105 ms
root@OpenWrt:~#

[ 1303.512205] device eth1 entered promiscuous mode
[ 1303.518093] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
[ 1303.528012] br-wan: port 2(wan) entered blocking state
[ 1303.533164] br-wan: port 2(wan) entered disabled state
[ 1303.539393] device wan entered promiscuous mode
[ 1303.547216] br-wan: port 1(eth1) entered blocking state
[ 1303.552449] br-wan: port 1(eth1) entered forwarding state
root@OpenWrt:~#

Kombinując z wymuszeniem prędkości portu przez LAN_SDS_MODE i wyborem niższej wersji firmware, wkładka powiedziała dziękuje wink

22

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Ale to nie fajnie jak można w taki sposób uwalić wkładkę. Chwila nieuwagi i dymasz kilkaset kilometrów jak sprzęt jest daleko od ciebie.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

23 (edytowany przez RafalB 2023-12-05 16:23:15)

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Cezary napisał/a:

Ale to nie fajnie jak można w taki sposób uwalić wkładkę. Chwila nieuwagi i dymasz kilkaset kilometrów jak sprzęt jest daleko od ciebie.

Namieszałem bardziej niż producent pomyślał, że ktoś może być takim kretynem jak ja wink

Zmieniłem tryb pracy a potem wybrałem niższą wersje oprogramowania która ma problem ze zmianą tego trybu pracy i jeszcze zbyt szybko reboot dałem. Combo wyszło srogie

Te wszystkie rzeczy nie są dostępne via www więc zabawa jest obarczona ryzykiem i nie sądzę że w normalnej sytuacji istnieje potrzeba aż takich zmian przez użytkownika.

24

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Zostaleś prekursorem big_smile

Dom : router https://i.imgur.com/IuB6Zwy.png | TP-LINK T1700G-28TQ |Zyxel XGS-1210-12 | 6x Ruckus r310 unleashed  + Ruckus icx7150-c12p | Truenas scale 124TB 25Gb| Xpenology 12TB | apc smart ups 750 lcd smile 100Mb/s - 25Gb/s
Podróżne : GL.Inet MT3000  +1TB hdd
Działka : rb260gs 1j wdm 1Gb+ ruckus r310 + nb m5 + kilka kamer ip  + panel 285Wp + lifepo4 12v 60Ah .

25

Odp: Banana Pi BPI-R3 i Leox GPON LXT-010S-H OpenWRT 23.05 snapshot Cezary

Cezary, czy mogę prosić o dodanie tego patcha ? https://forum.banana-pi.org/t/bpi-r3-sf … y/14573/81