Don_Tech Allora confermi che anche ZefiroNet utilizza apparati per le sue BTS che creano problemi con il router.
Don_Tech Sicuramente con OpenWRT riesci a rimediare velocemente alle disconnessioni.
rettifico quanto ho confermato nel post precedente, forse mi sono espresso male la BTS a cui si aggancia il router appartiente all'elenco delle BTS Zefironet non so quali apparati sono montati sulla BTS, ma con lo script che gira ogni minuto che mi riaggancia la connessione e provvede a generare quella righa nei log, non mi accorgo nemmeno della disconnessione a meno che non sia collegato ad internet proprio in quell'istante e per circa 1minuto ho una perdita di connettività, che viene automaticamente ristabilita.
ps: oviamente non riavvio il router per ripristinare la connettività si arrangia lo script, ma prima che me lo chiedi non è compatibile con il firmware Zyxel originale in quanto si basa sul comando "uqmi" non presente sul firware originale (vado a memoria, in caso mi scuso se ho detto una cosa non vera)
Don_Tech Dai log non riesci a capire il motivo?
questo è il log che ottengo sul router con Openwrt, ovviamente i log sono dovuti al comando ifdown wan e ifup wan dello script che gira ogni minuto quindi praticamente inutili a un debug della problematica.
ps: ho solo oscurato i seguenti campi:
deviceid: xxxxxxxxxxxxxx
simiccid: xxxxxxxxxxxxxxxx
subscriberid: xxxxxxxxxxxx
ecco il log: se ti può essere di aiuto ma ne dubito in quanto non viene presentato nessun errore nel momento dell'avvenuta disconnessione lo script capisce che c'e' e prende i necessari provvedimenti ...
Mon Mar 24 11:25:01 2025 user.notice root: exec /root/wan2_connect: lost connection detected exec ifdown wan; ifup wan
Mon Mar 24 11:25:01 2025 daemon.notice netifd: Interface 'wan_4' is now down
Mon Mar 24 11:25:01 2025 daemon.notice netifd: Interface 'wan_4' is disabled
Mon Mar 24 11:25:01 2025 daemon.notice netifd: Interface 'wan_4' has link connectivity loss
Mon Mar 24 11:25:01 2025 daemon.notice netifd: Network alias '' link is down
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13737): mbim[13737] Stopping network
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13737): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wan" } (Permission denied)
Mon Mar 24 11:25:01 2025 daemon.notice netifd: Interface 'wan' is now down
Mon Mar 24 11:25:01 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): mbim[13756] Reading capabilities
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): devicetype: 0003 - remote
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): cellularclass: 0001
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): voiceclass: 0001 - no-voice
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): simclass: 0002
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): dataclass: 003C
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): smscaps: 0003
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): controlcaps: 0001
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): maxsessions: 0008
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): deviceid: xxxxxxxxxxxxxx
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): firmwareinfo: EG18EAPAR01A12M4G
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): hardwareinfo: EG18-EA
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): mbim[13756] Checking pin
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): required pin: 3 - pin2
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): remaining attempts: 3
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): mbim[13756] Checking subscriber
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): readystate: 0001 - initialized
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): simiccid: xxxxxxxxxxxxxxxx
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): subscriberid: xxxxxxxxxxxx
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): mbim[13756] Register with network
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): nwerror: 0000 - unknown
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): registerstate: 0003 - home
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): registermode: 0001 - automatic
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): availabledataclasses: 0020 - lte
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): currentcellularclass: 0001 - gsm
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): provider_id: 22250
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): provider_name: Iliad
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): roamingtext: (null)
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): mbim[13756] Registered in home mode
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): mbim[13756] Attach to network
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): nwerror: 0000 - unknown
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): packetservicestate: 0002 - attached
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): uplinkspeed: 50000000
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): downlinkspeed: 100000000
Mon Mar 24 11:25:01 2025 daemon.notice netifd: wan (13756): mbim[13756] Connect to network
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): sessionid: 0
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): activationstate: 0001 - activated
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): voicecallstate: 0000 - none
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): nwerror: 0000 - unknown
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): iptype: 0001 - ipv4
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): mbim[13756] Connected
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): mbim[13756] Setting up wwan0
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): ipv4address: 10.79.1.201/30
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): ipv4gateway: 10.79.1.202
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): ipv4mtu: 1420
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): ipv4dnsserver: 83.158.240.241
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): ipv4dnsserver: 83.158.240.240
Mon Mar 24 11:25:02 2025 daemon.notice netifd: Interface 'wan' is now up
Mon Mar 24 11:25:02 2025 kern.info kernel: [1045188.842706] 8021q: adding VLAN 0 to HW filter on device wwan0
Mon Mar 24 11:25:02 2025 daemon.notice netifd: Network device 'wwan0' link is up
Mon Mar 24 11:25:02 2025 daemon.notice netifd: Network alias 'wwan0' link is up
Mon Mar 24 11:25:02 2025 daemon.notice netifd: Interface 'wan_4' is enabled
Mon Mar 24 11:25:02 2025 daemon.notice netifd: Interface 'wan_4' is setting up now
Mon Mar 24 11:25:02 2025 daemon.notice netifd: Interface 'wan_4' is now up
Mon Mar 24 11:25:02 2025 daemon.notice netifd: Interface 'wan_4' has link connectivity
Mon Mar 24 11:25:02 2025 daemon.notice netifd: wan (13756): Setting MTU of wwan0 to 1420