Salve,
ho lo stesso modulo SFP MA5671A ma una Banana PI 4
l'SFP non mi dà il link, è probabile che siano incompatibili?
Salve,
ho lo stesso modulo SFP MA5671A ma una Banana PI 4
l'SFP non mi dà il link, è probabile che siano incompatibili?
teknoraver Banana Pi R4 supporta solo SFP+ a 10 Gbps.
Non supporta SFP a 1 o a 2.5 HSGMII.
Devi usare un media converter o uno switch in mezzo.
Qualcuno dice che usando OpenWrt Snapshot le cose migliorino, evitando quindi di usare l'immagine prodotta dal produttore.
Sì utilizzo sempre OpenWrt compilato dagli ultimi sorgenti.
Praticamente vede l'SFP quando lo inserisco, legge anche il nome e farnetica qualcosa sul link a 2500, ma poi il carrier resta giù
teknoraver credo che ci sia la configurazione di un file .conf da effettuare, per andare ad impartire i valori corretti, mi pare anche che la corrente che arriva all'SFP non debba superare i 3W, mentre il modulo 10G di default arriva a 5/6.
mi pareva di averlo letto su un forum inglese, se lo ritrovo te lo rigiro.
con il comando : ethtool sfp2 - cosa ti esce?
GiuseppePaglialonga niente perche` l'SFP si chiama eth1 e non sfp2. Ma se avvio ethtool su eth1 dice:
root@router:~# ethtool eth1
Settings for eth1:
Supported ports: [ FIBRE ]
Supported link modes: 2500baseX/Full
1000baseX/Full
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: 2500baseX/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 2500Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: no
da quello che vedo sembrano mancare dei parametri. non conoscendo l'esatta programmazione del modulo in questione e della board, non so però quali sono quelli da usare.
infatti su linux ho sempre usato sfp1/2 mentre a te sembra che lo abbia inserito come se fosse ethernet.
vediamo se qualcuno che conosce questa board e la sua configurazione riesce ad aiutare, almeno lo vedo anche io, che smanettare con sistemi linux mi piace abbastanza.
nel caso esiste anche il forum uffuciale di banana pi, in lingua inglese, prova a vedere anche li se hanno usato componenti simili e se avessero già una possibile soluzione
GiuseppePaglialonga il modulo si chiama sempre eth*
Se a te si chiama sfp* probabilmente hai una regola di udev che te lo rinomina.
Se guardi nel log dovresti vedere un messaggio tipo "renaming interface eth1 to sfp2"
Comunque confermo che forzando il link a 2.5 gbit il modulo MA5671A funziona con la Banana Pi R4.
teknoraver Ah, ottimo! Da dove lo forzi? E di default cosa provava?
andreagdipaolo guarda è un quirk che è stato messo appositamente per questo modello e altri, il driver della cage riconosce il modulo e forza il link da solo
Sta dentro dal kernel 5.5:
Ho rootato l'SFP per avere accesso root e cambiare seriale e password
root@192.168.1.10's password:
BusyBox v1.22.1 (2017-05-20 08:54:30 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
OpenWrt - (14.07_ltq) --- Lantiq Edition for GPON
----------------------------------------------
root@SFP:~# cat /proc/cpuinfo
system type : Falcon rev A22
machine : SFP - Lantiq Falcon SFP Stick
processor : 0
cpu model : MIPS 34Kc V5.6
BogoMIPS : 265.98
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0000, 0x0918, 0x0000, 0x0640]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16 dsp mt
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
root@SFP:~#
Adesso mi sto collegando ad internet con la Banana Pi R4 e l'SFP Huawei:
[ 71.912555] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 2.5Gbps/Full - flow control off
Confermo pure che la rete funziona con la MTU della PPPoE a 1500:
matteo@turbo:~$ ping -nc4 -Mdo -s1472 www.google.com
PING www.google.com (216.58.205.36) 1472(1500) bytes of data.
1480 bytes from 216.58.205.36: icmp_seq=1 ttl=115 time=9.32 ms
1480 bytes from 216.58.205.36: icmp_seq=2 ttl=115 time=4.00 ms
1480 bytes from 216.58.205.36: icmp_seq=3 ttl=115 time=3.69 ms
1480 bytes from 216.58.205.36: icmp_seq=4 ttl=115 time=3.99 ms
--- www.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 3.694/5.249/9.318/2.352 ms
matteo@turbo:~$ ping -nc4 -Mdo -s1472 www.cloudflare.com
PING www.cloudflare.com (104.16.124.96) 1472(1500) bytes of data.
1480 bytes from 104.16.124.96: icmp_seq=1 ttl=55 time=10.7 ms
1480 bytes from 104.16.124.96: icmp_seq=2 ttl=55 time=3.98 ms
1480 bytes from 104.16.124.96: icmp_seq=3 ttl=55 time=12.5 ms
1480 bytes from 104.16.124.96: icmp_seq=4 ttl=55 time=4.17 ms
--- www.cloudflare.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 3.982/7.833/12.529/3.817 ms
matteo@turbo:~$ ping -nc4 -Mdo -s1472 www.microsoft.com
PING e13678.dscb.akamaiedge.net (2.22.33.235) 1472(1500) bytes of data.
1480 bytes from 2.22.33.235: icmp_seq=1 ttl=57 time=12.5 ms
1480 bytes from 2.22.33.235: icmp_seq=2 ttl=57 time=12.2 ms
1480 bytes from 2.22.33.235: icmp_seq=3 ttl=57 time=3.43 ms
1480 bytes from 2.22.33.235: icmp_seq=4 ttl=57 time=3.63 ms
--- e13678.dscb.akamaiedge.net ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 3.425/7.923/12.455/4.396 ms
teknoraver Ho rootato l'SFP
Che cavo console/seriale hai utilizzato per collegarti alla cli?
fammi uno speedtest verso Three Dublino please
GusEdgestream Che cavo console/seriale hai utilizzato per collegarti alla cli?
gianry
Non saprei come farlo verso dublino dato che è talmente lontano che non lo vedo in lista:
matteo@turbo:~$ speedtest-cli --list
Retrieving speedtest.net configuration...
49631) Arcade Solutions AG (Luzern, Switzerland) [188.13 km]
49180) Speedcom AG (Schaan, Liechtenstein) [190.09 km]
9801) Speedcom AG (Eschen, Liechtenstein) [194.36 km]
20085) Hoi Internet AG (Bendern, Liechtenstein) [194.99 km]
39071) 31173 Services AB (Zurich, Switzerland) [216.79 km]
3188) iway AG (Zürich, Switzerland) [220.45 km]
54457) SWITCH (Zurich, Switzerland) [220.45 km]
43030) Init7 AG (Winterthur, Switzerland) [228.01 km]
7961) Stadtwerke Konstanz GmbH (Konstanz, Germany) [244.02 km]
63684) Stiegeler Internet Service GmbH (Stühlingen, Germany) [259.12 km]
e l'ID datomi dal bot non è valido:
$ speedtest-cli --simple --server 38092
ERROR: No matched servers: 38092
Però se faccio un download scarica a 920 mbit:
root@router:~# curl http://cloudfront.debian.net/debian/pool/main/0/0ad-data/0ad-data_0.0.26.orig.tar.xz >/dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1288M 100 1288M 0 0 114M 0 0:00:11 0:00:11 --:--:-- 115M
Il cavo seriale è un normalissimo TTL FTDI, poi mi sono fatto prestare un adattatore per accedere più comodamente ai pin
teknoraver Non saprei come farlo verso dublino dato che è talmente lontano che non lo vedo in lista:
speedtest -s 38092 da terminale
gianry e` proprio quello che ho fatto nel precedente messaggio e che non va
Informativa privacy
-
Informativa cookie
-
Termini e condizioni
-
Regolamento
-
Disclaimer
-
🏳️🌈
P.I. IT16712091004 - info@fibraclick.it
♻️ Il server di questo sito è alimentato al 100% con energia rinnovabile