[GUIDA] Root e Modding FASTGate DGA4131 (VBNT-O)

  • 1596 Risposte
  • 844265 Visite

0 Utenti e 3 Visitatori stanno visualizzando questo topic.

Offline LuKePicci

  • Global Moderator
  • VIP
  • *****
  • 2789
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #705 il: 15 Gennaio 2020, 19:19 »
Sì, lo è, ma c'è anche la data precisa:

Codice: [Seleziona]
RIP_ID_FACTORY_RELEASE_DATE no_crypt
dumping to file  RIP_ID_FACTORY_RELEASE_DATE_0x0022-4f197d90  ....
00000000: 30 39 30 34 31 38                                 090418

RIP_ID_PART_NBR_VARIANT no_crypt
dumping to file  RIP_ID_PART_NBR_VARIANT_0x0004-4f197d90  ....
00000000: 33 37 36 34 32 35 30 41                           3764250A

RIP_ID_ICS no_crypt
dumping to file  RIP_ID_ICS_0x0010-4f197d90  ....
00000000: 45 31                                             E1

RIP_ID_FIA no_crypt
dumping to file  RIP_ID_FIA_0x0028-4f197d90  ....
00000000: 5A 45                                             ZE
« Ultima modifica: 15 Gennaio 2020, 19:22 da LuKePicci »

Offline lorenzocanalelc

  • Esperto
  • ****
  • 678
  • Sesso: Maschio
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #706 il: 15 Gennaio 2020, 19:24 »
Ma ad evitare l'overheat non ci dovrebbe essere lo script che viene avviato ogni 5 minuti? (/usr/bin/thermalProtection)

Offline LuKePicci

  • Global Moderator
  • VIP
  • *****
  • 2789
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #707 il: 15 Gennaio 2020, 19:37 »
Si, e tra l'altro controlla proprio quella del wifi. Di base qui legge la temperatura (2.4 e 5 GHz rispettivamente):
Codice: [Seleziona]
/sys/devices/i2c-0/0-0048/temp1_input
/sys/devices/i2c-0/0-004f/temp1_input
ed è configurato così:
Codice: [Seleziona]
thermal_protection.thermalprotection=thermalprotection
thermal_protection.thermalprotection.enabled='1'
thermal_protection.thermalprotection.upperthreshold='94'
thermal_protection.thermalprotection.lowerthreshold='90'
thermal_protection.thermalprotection.recurrence='5'

edit: ehm… ma io in /sys/devices/i2c-0/0-004f/ non ho il valore di temperatura….
« Ultima modifica: 15 Gennaio 2020, 19:47 da LuKePicci »

Offline LorenzoL

  • Membro Anziano
  • ***
  • 417
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #708 il: 15 Gennaio 2020, 19:43 »
CP1828JCF45
I'm the WIFI Ninja.......sono solo un praticone che si arrangia

Offline FrancYescO

  • VIP
  • *****
  • 3382
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #709 il: 15 Gennaio 2020, 19:55 »
Si ma di quelli che non si accendono più ...


edit: ehm… ma io in /sys/devices/i2c-0/0-004f/ non ho il valore di temperatura….
La avevo notata anche io questa cosa.. quando funziinava
« Ultima modifica: 15 Gennaio 2020, 20:55 da FrancYescO »

Offline LuKePicci

  • Global Moderator
  • VIP
  • *****
  • 2789
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #710 il: 15 Gennaio 2020, 20:00 »
Ho visto da /etc/init.d/sensors che in sostanza quegli device sono lì perchè quegli indirizzi sono hardcodati. Leggendo la radio sensor map e lo script di thermal protection ho capito che sostanzialmente sono errati. Se elimino e ricreo il device lm75 a quell'indirizzo vedo in dmesg il messaggio che dice:
Codice: [Seleziona]
lm75: probe of 0-004f failed with error -5
Quindi ora provo a capire qual è (se esiste) l'indirizzo corretto. Ho il leggero presentimento che il bus i2c qui se lo siano giocato per collegare l'SFP, vediamo un po'.

Offline luketdi

  • Nuovo Iscritto
  • *
  • 25
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #711 il: 17 Gennaio 2020, 10:56 »
@LuKePicci
@ArnoldWeber

Ciao ragazzi, mi sono letto tutta la discussione in questo topic e specialmente quella tra voi due per mettere in bridge il Fastgate con un secondo router/gateway... Premetto che sul Fastgate c'è già la root + la gui Ansuel.

La mia rete è cosi composta, modem fastgate + unifi USG + switch + Uap ac Pro, l'obbiettivo è quello di far acquisire l'ip pubblico direttamente alla interfaccia wan dell' usg.
Ho provato a fare le configurazioni che avete postato in questo topic, ma non riesco a far rilasciare nessun ip all' USG, presumo di essere in Vula in quanto ho traffico rx e tx sia su ptm0 che su vlan_ptm0. Vi allego la config originale con cui il fastgate negozia correttamente ip e connessione, ho il dubbio su come impostare la wan in network e se devo clonare il mac del fastgate in cli sull'usg?

Codice: [Seleziona]
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'xx:xx:xx::/48'
option default_ps '0'

config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
list pppoerelay ''
list ifname 'eth0'
list ifname 'eth1'
list ifname 'eth2'
list ifname 'eth3'
list ifname 'wl0'

config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''

config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'

config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'

config interface 'wan'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'xx:xx:xx:xx:xx:xx'
option auto '1'
option password 'password'
option proto 'dhcp'
option ifname '@vlan_wan'

config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'

config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '100'

config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '0'

config interface 'wwan'
option proto 'mobiled'
option session_id '0'
option profile '1'
option auto '0'
option enabled '0'

config interface 'vlan_wan'
option ifname 'vlan_ptm0'

config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr 'xx:xx:xx:xx:xx:xx'

config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr 'xx:xx:xx:xx:xx:xx'

config config 'config'
option wan_mode 'dhcp'

config interface 'ipoe'
option proto 'dhcp'
option metric '1'
option reqopts '1 3 6 43 51 58 59'
option release '1'
option neighreachabletime '1200000'
option neighgcstaletime '2400'
option ipv6 '1'

config device 'waneth4'
option enabled '1'
option type '8021q'
option name 'waneth4'
option vid '835'

config device 'wanptm0'
option enabled '1'
option type '8021q'
option name 'wanptm0'
option vid '835'
option ifname 'ptm0'
« Ultima modifica: 17 Gennaio 2020, 11:02 da MisterFTTH »

Offline LuKePicci

  • Global Moderator
  • VIP
  • *****
  • 2789
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #712 il: 17 Gennaio 2020, 11:54 »
Metti un option type 'bridge' sotto wan, cambia option proto con 'bridge' e aggiungi in ifname il nome dell'interfaccia ethernet a cui vuoi collegare l'usg, poi rimuovi quella interfaccia ethernet dagli ifname di lan. Il tagging vlan te lo farà il fastgate, non dovrai impostarne nessuno sull'USG. Se l'USG prende un ip ma non naviga, fai la registrazione; altrimenti dobbiamo vedere cosa mette l'USG come suo id nella richiesta dhcp, e se clonando il mac ce lo va a mettere dentro.

Se poi vorrai comunque lasciare al fastgate la possibilità di raggiungere internet, bisognerà fare qualcos'altro sull'usg per far si che il fastgate vi si colleghi in cascata (a livello ip, non fisico)
« Ultima modifica: 17 Gennaio 2020, 11:57 da LuKePicci »

Offline luketdi

  • Nuovo Iscritto
  • *
  • 25
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #713 il: 17 Gennaio 2020, 12:28 »
@LuKePicci niente con questa config ancora nessun ip viene assegnato alla wan dell' USG, dici di provare a clonare il mac?

Codice: [Seleziona]
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'xx:xx:xx::/48'
option default_ps '0'

config interface 'lan'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.1.254'
option ip6assign '64'
option force_link '0'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '0'
option ip6weight '1'
option stp '1'
list pppoerelay ''
list pppoerelay ''
list ifname 'eth1'
list ifname 'eth2'
list ifname 'eth3'
list ifname 'wl0'

config interface 'Guest'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.78.1'
option ifname 'wl0_2'
option ip6assign '64'
option ip6class '6rd'
option ipv6 '1'
option ip6hint '1'
option ip6weight '0'
option force_link '0'
list pppoerelay ''

config switch 'bcmsw'
option reset '1'
option enable_vlan '0'
option qosimppauseenable '0'
option jumbo '0'

config interface 'sfp'
option proto 'static'
option ifname 'eth4'
option ipaddr '169.0.0.2'
option netmask '255.255.255.0'

config interface 'wan'
option reqopts '1 3 6 15 33 42 43 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option notused 'xx:xx:xx:xx:xx:xx'
option auto '1'
option password 'password'
option proto 'bridge'
option type 'bridge'
option ifname 'eth0 @vlan_wan'

config interface 'mgmt'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'

config device 'vlan_ptm0'
option type '8021q'
option ifname 'ptm0'
option mtu '1500'
option name 'vlan_ptm0'
option vid '100'

config interface 'wantag'
option proto 'dhcp'
option reqopts '1 3 6 15 33 42 51 121 249 212'
option vendorid 'Technicolor_DGA4131FWB/dslforum.org'
option authfail '0'
option iface6rd '6rd'
option zone6rd 'wan'
option mtu '1500'
option initboot '1'
option ipv6 '0'
option ifname '@vlan_wan'
option auto '0'

config interface 'wwan'
option proto 'mobiled'
option session_id '0'
option profile '1'
option auto '0'
option enabled '0'

config interface 'vlan_wan'
option ifname 'vlan_ptm0'

config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr 'xx:xx:xx:xx:xx:xx'

config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr 'xx:xx:xx:xx:xx:xx'

config config 'config'
option wan_mode 'bridge'

config interface 'ipoe'
option proto 'dhcp'
option metric '1'
option reqopts '1 3 6 43 51 58 59'
option release '1'
option neighreachabletime '1200000'
option neighgcstaletime '2400'
option ipv6 '1'

config device 'waneth4'
option enabled '1'
option type '8021q'
option name 'waneth4'
option vid '835'

config device 'wanptm0'
option enabled '1'
option type '8021q'
option name 'wanptm0'
option vid '835'
option ifname 'ptm0'
« Ultima modifica: 17 Gennaio 2020, 12:35 da luketdi »

Offline LuKePicci

  • Global Moderator
  • VIP
  • *****
  • 2789
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #714 il: 17 Gennaio 2020, 15:11 »
Prova, ma non è detto che l'USG adatti il suo Client ID dhcp di conseguenza.
« Ultima modifica: 17 Gennaio 2020, 15:13 da LuKePicci »

Offline luketdi

  • Nuovo Iscritto
  • *
  • 25
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #715 il: 17 Gennaio 2020, 15:26 »
infatti niente da fare nemmeno clonando il mac..... la cosa che non capisco è che non sono riuscito nemmeno a usare un altro modem tipo frizbox7530 con mac clonato, stesso problema non mi viene rilasciato nessun ip.....
« Ultima modifica: 17 Gennaio 2020, 16:35 da MisterFTTH »

Offline FrancYescO

  • VIP
  • *****
  • 3382
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #716 il: 17 Gennaio 2020, 15:31 »
Immagino il problema sia che l'usg non mette il vendorid nel pacchetto di richiesta DHCP

Ma il "modem libero" di Fastweb su questa cosa non mi pare dica nulla quindi non capisco perché continua ad essere un parametro necessario...

Offline luketdi

  • Nuovo Iscritto
  • *
  • 25
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #717 il: 17 Gennaio 2020, 15:34 »
non vorrei dire una stupidata ma pare che chi non è in vula come me tutti questi "problemi" non li abbia...... :headbang:
« Ultima modifica: 17 Gennaio 2020, 16:35 da MisterFTTH »

Offline FrancYescO

  • VIP
  • *****
  • 3382
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #718 il: 17 Gennaio 2020, 15:37 »
Al contrario direi che i problemi non li ha proprio chi è in vula, perché lì mi pare utilizzino il VLANID 835 al posto del 100 dove il controllo sul vendor id non viene fatto... Ma aspetto qualcuno che confermi la cosa

Offline luketdi

  • Nuovo Iscritto
  • *
  • 25
Re:[GUIDA] Sblocco/rooting FASTGate DGA4131 (VBNT-O)
« Risposta #719 il: 17 Gennaio 2020, 15:44 »
che è esattamente quello che pensavo pure io fino a che non ho avuto tutte queste difficoltà.... non capisco (USG a parte), allora perchè nemmeno col fizbox riesco a ottenere l'ip.... teoricamente li bastava clonare il mac....
Mi sono complicato la vita da solo, con tim funzionava tutto perfettamente in bridge, ora che sono passato a fastweb sto impazzendo. :facepalm:
« Ultima modifica: 17 Gennaio 2020, 16:35 da MisterFTTH »