USB 4G/LTE WAN con AGTHP rooted

  • 88 Risposte
  • 31259 Visite

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline goleador

  • Membro Giovane
  • **
  • 56
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #45 il: 27 Novembre 2020, 16:34 »
Dopo innumerevoli tentativi sono riuscito a far ricomparire la chiavetta nella GUI Ansuel. Il modem risulta connesso alla rete, ma non riesco a navigare. Sulla GUI  la voce "Stato dispositivo" dice "Connessione" e poco sotto mi esce il messaggio "Il dispositivo non supporta l'autentificazione del profilo selezionato.", immagino sia un problema di APN? Sono su SIM ho. e l'ho impostato come segue:

Codice: [Seleziona]
Nome: internet
APN: web.ho-mobile.it
Tipo PDP: IPv4
Nome utente: (vuoto)
Password: (vuoto)
Modalità autenticazione: Nessuno

(con lo stesso APN chiaramente navigo se mi collego direttamente al wifi della chiavetta). Vi riporto quello che esce con i classici comandi:

Codice: [Seleziona]
root@OpenWrt:~# lsusb
Bus 001 Device 006: ID 12d1:155e
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0003

root@OpenWrt:~# dmesg | tail -n20
[ 2120.718000] huawei_cdc_ncm 1-1:1.2: bind() failure
[ 2120.723000] option 1-1:1.2: GSM modem (1-port) converter detected
[ 2120.729000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 2120.814000] huawei_cdc_ncm 1-1:1.3: MAC-Address: 00:1e:10:1f:00:00
[ 2120.819000] huawei_cdc_ncm 1-1:1.3: setting rx_max = 16384
[ 2120.834000] huawei_cdc_ncm 1-1:1.3: NDP will be placed at end of frame for this device.
[ 2120.842000] huawei_cdc_ncm 1-1:1.3: cdc-wdm0: USB WDM device
[ 2120.849000] huawei_cdc_ncm 1-1:1.3: wwan0: register 'huawei_cdc_ncm' at usb-ehci-platform.0-1, Huawei CDC NCM device, 00:1e:10:1f:00:00
[ 2145.055000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.061000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.067000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.073000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.079000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.085000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.093000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.100000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.108000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.116000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.123000] netlink: 20 bytes leftover after parsing attributes.
[ 2145.128000] netlink: 20 bytes leftover after parsing attributes.

root@OpenWrt:~# ifconfig
bcmsw     Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Base address:0xffff

br-lan    Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          inet addr:192.168.1.254  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::1213:31ff:fef9:121e/64 Scope:Link
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:27033 errors:0 dropped:10 overruns:0 frame:0
          TX packets:23652 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6933237 (6.6 MiB)  TX bytes:7828404 (7.4 MiB)

eth0      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


eth1      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


eth2      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


eth3      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


eth4      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          inet addr:169.0.0.2  Bcast:169.0.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:3762 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3762 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:291099 (284.2 KiB)  TX bytes:291099 (284.2 KiB)

ptm0      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vlan_ptm0 Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl0       Link encap:Ethernet  HWaddr 10:13:31:F9:12:1F
          inet6 addr: fe80::1213:31ff:fef9:121f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2968 errors:0 dropped:0 overruns:0 frame:49721
          TX packets:6923 errors:4 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:309804 (302.5 KiB)  TX bytes:2225078 (2.1 MiB)
          Interrupt:92

wl0_1     Link encap:Ethernet  HWaddr 10:13:31:F9:12:1F
          inet6 addr: fe80::1213:31ff:fef9:121f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:49721
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl0_2     Link encap:Ethernet  HWaddr 12:13:31:F9:12:21
          inet addr:192.168.78.1  Bcast:192.168.78.255  Mask:255.255.255.0
          inet6 addr: fe80::1013:31ff:fef9:1221/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:49721
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl0_3     Link encap:Ethernet  HWaddr 12:13:31:F9:12:22
          inet6 addr: fe80::1013:31ff:fef9:1222/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:49721
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl1       Link encap:Ethernet  HWaddr 12:13:31:F9:12:27
          inet6 addr: fe80::1013:31ff:fef9:1227/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24066 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24153 errors:0 dropped:11 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6665165 (6.3 MiB)  TX bytes:6326088 (6.0 MiB)

wl1_1     Link encap:Ethernet  HWaddr 12:13:31:F9:12:27
          inet6 addr: fe80::1013:31ff:fef9:1227/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3773 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:460648 (449.8 KiB)

wl1_2     Link encap:Ethernet  HWaddr 12:13:31:F9:12:27
          inet6 addr: fe80::1013:31ff:fef9:1227/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3755 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:455160 (444.4 KiB)

wl1_3     Link encap:Ethernet  HWaddr 12:13:31:F9:12:27
          inet6 addr: fe80::1013:31ff:fef9:1227/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3755 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:455160 (444.4 KiB)

wwan0     Link encap:Ethernet  HWaddr 00:1E:10:1F:00:00
          inet6 addr: fe80::21e:10ff:fe1f:0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:6012 (5.8 KiB)

Se qualcuno potesse aiutarmi mi farebbe un enorme favore.

Per @larsen64it:
Codice: [Seleziona]
https://www.google.it/search?q=huawei_cdc_ncm+1-1%3A1.3+wwan0%3A+register+%27huawei_cdc_ncm%27+at+usb-ehci-platform.0-1&hl=it

Ti ringrazio innanzitutto per l'aiuto. Non so se quella risposta riguardasse anche me. Ho provato a cercare su Google ma non sono riuscito a capirci molto. Se potessi spiegarti meglio te ne sarei grato.
« Ultima modifica: 27 Novembre 2020, 16:36 da goleador »

Offline larsen64it

  • VIP
  • *****
  • 2696
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #46 il: 27 Novembre 2020, 19:06 »
Era solo per confermare che veniva vista come wwan0, e a quanto pare in questa modalità non funziona.
Come avevo detto la chiavetta effettua lo switch con il "messages" che trova  in /etc/usb-mode.json. Quindi bisogna modificare usb-mode.json in modo che venga vista in altro modo tipo (trovato in rete)
Codice: [Seleziona]
{
    "messages" : [
            "55534243000000000000000000000011060000000000000000000000000000"
],
    "devices" : {
        "12d1:1f01": {
            "*": {
                "t_vendor": 4817,
                "t_product": [ 4097, 5339, 5340, 7937 ],
                "msg": [ 0 ]
}
}
}
}

EDIT ho recuperato usb-mode.json di ROOTer openwrt con il quale viene vista come 12d1 : 14db
https://anonfiles.com/13h5Tbtep4/usb-mode_json
« Ultima modifica: 27 Novembre 2020, 21:15 da larsen64it »

Offline goleador

  • Membro Giovane
  • **
  • 56
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #47 il: 28 Novembre 2020, 11:51 »
Grazie mille per l'aiuto @larsen64it . Alla fine ho modificato il file "usb-mode.json" mettendo solo questo (come mi hai suggerito, ma con un messaggio diverso):

Codice: [Seleziona]
{
"messages" : [
"55534243123456780000000000000011062000000101000100000000000000"
],
"devices" : {
"12d1:1f01": {
"*": {
"t_vendor": 4817,
"t_product": [ 4097, 5339, 5340, 7937 ],
"msg": [ 0 ]
}
}
}
}

La chiavetta assume l'id corretto (12d1:14db) e internet funziona. L'unico problema è che non riesco più a vedere la chiavetta nella GUI. Per caso così facendo si bypassa completamente mobiled? In più avevo visto che sul modem Telstra era possibile usare la SIM per ricevere chiamate sulle porte FXS (https://hack-technicolor.readthedocs.io/en/stable/Unlock/#volte-backup-voice-service-sms-reception), pensi sia possibile fare qualcosa di simile? Grazie ancora.

Offline fabiobassa

  • Esperto
  • ****
  • 728
  • Sesso: Maschio
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #48 il: 28 Novembre 2020, 12:04 »
@goleador
in pratica tu vorresti usare le porte fxs per chiamare col numero cellulare della sim ?

Offline goleador

  • Membro Giovane
  • **
  • 56
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #49 il: 28 Novembre 2020, 12:12 »
@goleador
in pratica tu vorresti usare le porte fxs per chiamare col numero cellulare della sim ?
Si, esatto.

Offline fabiobassa

  • Esperto
  • ****
  • 728
  • Sesso: Maschio
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #50 il: 28 Novembre 2020, 12:22 »
uhmmm la vedo difficile, me ne vado a lume di naso ma alzo  le mani se dico una castroneria:

teoricamente asterisk lo fa attraverso chan dongle
http://www.raspberry-asterisk.org/documentation/gsm-voip-gateway-with-chan_dongle/

mmpbx è in effetti un asterisk di proprietà di technicolor. tuttavia quello che non è chiaro nel tuo link è se mmpbx necessita di ulterori moduli o gia è predisposto di per se.
A questo punto segui quello che dice quel link e vedi che succede

Offline goleador

  • Membro Giovane
  • **
  • 56
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #51 il: 28 Novembre 2020, 12:38 »
Grazie mille dei suggerimenti. Proverò a dare quei comandi descritti in quel link anche se anch'io dubito possano funzionare. Più che altro non vorrei rischiare di fare danni...

Offline fabiobassa

  • Esperto
  • ****
  • 728
  • Sesso: Maschio
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #52 il: 28 Novembre 2020, 12:41 »
@goleador
sai cosa che pure a volere fare una prova , effettuata da altro utente, ci sarebbe bisogno ESATTAMENTE dello stesso tuo setup:
stesso modem stessa chiavetta stesso gestore, insomma troppe variabili

Danni non credo al limite un bel resettone a zero e almeno sai come riconfigurare la chiavetta

Offline larsen64it

  • VIP
  • *****
  • 2696
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #53 il: 28 Novembre 2020, 13:24 »
Domanda importante con 12d1:14db come viene vista e come si collega? ethX?

Offline goleador

  • Membro Giovane
  • **
  • 56
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #54 il: 28 Novembre 2020, 14:34 »
Domanda importante con 12d1:14db come viene vista e come si collega? ethX?

Viene creata un'interfaccia eth5:

Codice: [Seleziona]
root@OpenWrt:~# ifconfig
...
eth5      Link encap:Ethernet  HWaddr 0C:5B:8F:27:9A:64
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::e5b:8fff:fe27:9a64/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7219 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7785 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2885790 (2.7 MiB)  TX bytes:1253221 (1.1 MiB)

root@OpenWrt:~# ip r
default via 192.168.0.1 dev eth5  proto static
169.0.0.0/24 dev eth4  proto kernel  scope link  src 169.0.0.2
192.168.0.0/24 dev eth5  proto kernel  scope link  src 192.168.0.100
192.168.0.1 dev eth5  proto static  scope link  src 192.168.0.100
192.168.1.0/24 dev br-lan  proto kernel  scope link  src 192.168.1.254
192.168.78.0/24 dev wl0_2  proto kernel  scope link  src 192.168.78.1

La chiavetta viene segnalata come "Sconosciuto/a" nella tab "Configurazione" mentre a volte appare con il nome corretto ("E5575s-210") nelle altre tab della scheda mobile. Altre volte segna "0 dispositivi connessi", ma navigo lo stesso. Non so da che dipenda...

@goleador
sai cosa che pure a volere fare una prova , effettuata da altro utente, ci sarebbe bisogno ESATTAMENTE dello stesso tuo setup:
stesso modem stessa chiavetta stesso gestore, insomma troppe variabili

Danni non credo al limite un bel resettone a zero e almeno sai come riconfigurare la chiavetta

Provato, come era da immaginarsi mancano delle cose...

Codice: [Seleziona]
root@OpenWrt:~# uci set mmpbxmobilenet.mobile_profile_0.enabled='1'
uci: Entry not found

root@OpenWrt:~# uci set mobiled_sessions.@session[0].activated='1'
uci: Entry not found

Grazie mille a entrambi.
« Ultima modifica: 28 Novembre 2020, 17:28 da goleador »

Offline larsen64it

  • VIP
  • *****
  • 2696
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #55 il: 28 Novembre 2020, 14:51 »
Guarda /etc/config/metwork  la eth5 dovrebbe essere il wifi 5G, che tra le altre cose dovrebbe essere presente anche nel bridge lan. Forse la confusione nasce da lì. Prova a fare un reboot senza cavo e chiavetta inserita e prova ad inserirla a boot avvenuto (led wifi 5G acceso).

Offline goleador

  • Membro Giovane
  • **
  • 56
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #56 il: 28 Novembre 2020, 15:05 »
A scanso di equivoci io ho un dga4131fwb, non un Tim HUB. Credo che nel fastgate il wifi 5g sia wl1 e giustamente la eth5 non nello switch lan. Non credo ci sia nulla di sbagliato in come è impostata, comunque ti posto l'ifconfig completo e la network config (su cui tra l'altro dovrei fare un po' di ordine perché è piena di roba inutilizzata):
Codice: [Seleziona]
root@OpenWrt:~# ifconfig
bcmsw     Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Base address:0xffff

br-lan    Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          inet addr:192.168.1.254  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::1213:31ff:fef9:121e/64 Scope:Link
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:16187 errors:0 dropped:3 overruns:0 frame:0
          TX packets:39099 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2133005 (2.0 MiB)  TX bytes:48309734 (46.0 MiB)

eth0      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


eth1      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


eth2      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


eth3      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


eth4      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          inet addr:169.0.0.2  Bcast:169.0.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:2044  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth5      Link encap:Ethernet  HWaddr 0C:5B:8F:27:9A:64
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::e5b:8fff:fe27:9a64/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25259 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33491 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11806535 (11.2 MiB)  TX bytes:4147496 (3.9 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:63 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6399 (6.2 KiB)  TX bytes:6399 (6.2 KiB)

ptm0      Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vlan_ptm0 Link encap:Ethernet  HWaddr 10:13:31:F9:12:1E
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl0       Link encap:Ethernet  HWaddr 10:13:31:F9:12:1F
          inet6 addr: fe80::1213:31ff:fef9:121f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:13204
          TX packets:1224 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:139655 (136.3 KiB)
          Interrupt:92

wl0_1     Link encap:Ethernet  HWaddr 10:13:31:F9:12:1F
          inet6 addr: fe80::1213:31ff:fef9:121f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:13204
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl0_2     Link encap:Ethernet  HWaddr 10:13:31:F9:12:1F
          inet addr:192.168.78.1  Bcast:192.168.78.255  Mask:255.255.255.0
          inet6 addr: fe80::1213:31ff:fef9:121f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:13204
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl0_3     Link encap:Ethernet  HWaddr 12:13:31:F9:12:22
          inet6 addr: fe80::1013:31ff:fef9:1222/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:13204
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl1       Link encap:Ethernet  HWaddr 12:13:31:F9:12:27
          inet6 addr: fe80::1013:31ff:fef9:1227/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:29508 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70942 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4273115 (4.0 MiB)  TX bytes:89847575 (85.6 MiB)

wl1_1     Link encap:Ethernet  HWaddr 12:13:31:F9:12:27
          inet6 addr: fe80::1013:31ff:fef9:1227/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1225 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:134523 (131.3 KiB)

wl1_2     Link encap:Ethernet  HWaddr 12:13:31:F9:12:27
          inet6 addr: fe80::1013:31ff:fef9:1227/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1225 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:134523 (131.3 KiB)

wl1_3     Link encap:Ethernet  HWaddr 12:13:31:F9:12:27
          inet6 addr: fe80::1013:31ff:fef9:1227/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1226 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:134593 (131.4 KiB)
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 'fd65:7cbd:07c1::/48'
option default_ps '0'

config interface 'lan'
option ifname 'eth0 eth1 eth2 eth3'
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 ''

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 proto 'dhcp'
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 auto '0'
option notused '10:13:31:F9:12:1F'
option password 'password'

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 auto '0'

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

config interface 'vlan_wan'
option ifname 'vlan_ptm0'

config device 'if0atm'
option enable '1'
option name 'atm0'
option macaddr '10:13:31:F9:12:1E'

config device 'if1atm'
option enable '1'
option name 'atm1'
option macaddr '10:13:31:F9:12:1F'

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'
« Ultima modifica: 28 Novembre 2020, 15:07 da goleador »

Offline larsen64it

  • VIP
  • *****
  • 2696
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #57 il: 28 Novembre 2020, 16:30 »
Controlla pure /etc/config/ethernet almeno sulle versioni vecchie del 4131 c'era questo
Codice: [Seleziona]
#add config from CONFIG_WLAN_REMOTE_MGMT_ETH_INTERFACE

config port 'eth5'
        option enable '1'
        option speed 'auto'
        option duplex 'full'

# add extra info for mappings

config mapping
       option port 'eth5'
       option wlan_remote '1'

Offline goleador

  • Membro Giovane
  • **
  • 56
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #58 il: 28 Novembre 2020, 17:07 »
Ho controllato e ci sono. Devo eliminarle?

Offline larsen64it

  • VIP
  • *****
  • 2696
Re:USB 4G/LTE WAN con AGTHP rooted
« Risposta #59 il: 28 Novembre 2020, 17:16 »
So rimasugli delle configurazioni comuni e dovrebbero servire per la wl1 (quantenna), non li togliere commentali e ravvia e vedi se cambia qualche cosa
Codice: [Seleziona]
#add config from CONFIG_WLAN_REMOTE_MGMT_ETH_INTERFACE

#config port 'eth5'
#       option enable '1'
#       option speed 'auto'
#       option duplex 'full'

# add extra info for mappings

#config mapping
#      option port 'eth5'
#      option wlan_remote '1'