Salve a tutti!
ho un problema con la chiavetta 4g MF823.
la riconosce ma non riesce a collegarsi alla rete.
Se imposto la chiavetta in modalità ethernet invece funziona, ma mi crea un doppio nat e non riesco in questo modo accedere da remoto.
allego il log
Wed Oct 28 17:42:27 2020 daemon.debug mobiled-netifd[3067]: Running teardown action on interface wwan
Wed Oct 28 17:42:27 2020 daemon.debug mobiled-netifd[3067]: Action teardown completed with return code 0 on interface wwan after 190.42ms
Wed Oct 28 17:42:35 2020 kern.info kernel: [ 331.732806] usb 3-1: new high-speed USB device number 3 using ehci-platform
Wed Oct 28 17:42:36 2020 kern.info kernel: [ 331.892638] option 3-1:1.0: GSM modem (1-port) converter detected
Wed Oct 28 17:42:36 2020 kern.info kernel: [ 331.892890] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
Wed Oct 28 17:42:36 2020 kern.info kernel: [ 331.893277] option 3-1:1.1: GSM modem (1-port) converter detected
Wed Oct 28 17:42:36 2020 kern.info kernel: [ 331.893441] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
Wed Oct 28 17:42:36 2020 kern.info kernel: [ 331.893863] option 3-1:1.2: GSM modem (1-port) converter detected
Wed Oct 28 17:42:36 2020 kern.info kernel: [ 331.894021] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
Wed Oct 28 17:42:36 2020 user.notice usb: ACITVE_PORT=1. 10802
Wed Oct 28 17:42:36 2020 user.notice usb: EMI detected on port (EMI_ON_PORT= PORT=1 DEVPATH=/devices/platform/ehci-platform.0/usb3/3-1). 10802
Wed Oct 28 17:42:36 2020 user.notice usb: UCI companion state (1==). 10802
Wed Oct 28 17:42:38 2020 daemon.notice mobiled: Opening /dev/ttyUSB1
Wed Oct 28 17:42:39 2020 daemon.debug mobiled: [atchannel] /dev/ttyUSB1: >> >> AT len 2
Wed Oct 28 17:42:39 2020 daemon.debug mobiled: [atchannel] /dev/ttyUSB1: << >> len 9
Wed Oct 28 17:42:40 2020 daemon.notice mobiled: Probing /dev/ttyUSB1
Wed Oct 28 17:42:42 2020 daemon.notice mobiled: Network registration state changed to: registered
Wed Oct 28 17:42:52 2020 daemon.warn mobiled: Failed to retrieve ICCID
Wed Oct 28 17:42:54 2020 daemon.notice mobiled: Network registration state changed to: not_registered_searching
Wed Oct 28 17:42:54 2020 daemon.debug mobiled-netifd[3067]: Queuing disconnected action on interface wwan
Wed Oct 28 17:42:54 2020 daemon.debug mobiled-netifd[3067]: Running disconnected action on interface wwan
Wed Oct 28 17:42:54 2020 daemon.debug mobiled-netifd[3067]: Action disconnected completed with return code 0 on interface wwan after 173.04ms
Wed Oct 28 17:42:56 2020 daemon.notice mobiled: Network registration state changed to: registered
Wed Oct 28 17:42:56 2020 daemon.notice mobiled: Starting data session 0
Wed Oct 28 17:42:56 2020 daemon.debug mobiled-netifd[3067]: Queuing setup action on interface wwan
Wed Oct 28 17:42:56 2020 daemon.debug mobiled-netifd[3067]: Running setup action on interface wwan
Wed Oct 28 17:42:57 2020 daemon.notice netifd: Interface 'wwan_ppp' is setting up now
Wed Oct 28 17:42:57 2020 daemon.debug mobiled-netifd[3067]: Action setup completed with return code 0 on interface wwan after 239.56ms
Wed Oct 28 17:42:57 2020 daemon.info pppd[11111]: Plugin connstate.so loaded.
Wed Oct 28 17:42:57 2020 daemon.notice pppd[11111]: pppd 2.4.7 started by root, uid 0
Wed Oct 28 17:42:57 2020 daemon.notice pppd[11111]: Connection state changed to connecting (phase 2)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: abort on (BUSY)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: abort on (NO CARRIER)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: abort on (ERROR)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: report (CONNECT)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: timeout set to 10 seconds
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: send (ATE1^M)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: expect (OK)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: ^M
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: OK
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: -- got it
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: send (AT+CGDCONT=1,"IP","web.ho-mobile.it"^M)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: timeout set to 30 seconds
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: expect (OK)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: ^M
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: AT+CGDCONT=1,"IP","web.ho-mobile.it"^M^M
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: OK
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: -- got it
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: send (ATE0^M)
Wed Oct 28 17:42:58 2020 local2.info chat[11114]: send (ATD*99***1#^M)
Wed Oct 28 17:42:58 2020 daemon.debug pppd[11111]: Script USE_APN='web.ho-mobile.it' DIAL_STRING='*99***1#' USE_SESSION=1 USE_PDPTYPE=IP /usr/sbin/chat -t5 -v -E -f /etc/chatscripts/mobiled.chat finished (pid 11113), status = 0x0
Wed Oct 28 17:42:58 2020 daemon.info pppd[11111]: Serial connection established.
Wed Oct 28 17:42:58 2020 daemon.debug pppd[11111]: using channel 14
Wed Oct 28 17:42:59 2020 kern.info kernel: [ 354.788086] wwan_ppp: renamed from ppp0
Wed Oct 28 17:42:59 2020 daemon.info pppd[11111]: Using interface wwan_ppp
Wed Oct 28 17:42:59 2020 daemon.notice pppd[11111]: Connect: wwan_ppp <--> /dev/ttyUSB2
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xab8710af>]
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0x246c1dd6> <pcomp> <accomp>]
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: No auth is possible
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: sent [LCP ConfRej id=0x0 <auth chap MD5> <pcomp> <accomp>]
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xab8710af>]
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x246c1dd6>]
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x246c1dd6>]
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: sent [LCP EchoReq id=0x0 magic=0xab8710af]
Wed Oct 28 17:43:00 2020 daemon.notice pppd[11111]: Connection state changed to authenticating (phase 5)
Wed Oct 28 17:43:00 2020 daemon.notice pppd[11111]: Connection state changed to networking (phase 7)
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: rcvd [LCP DiscReq id=0x2 magic=0x246c1dd6]
Wed Oct 28 17:43:00 2020 daemon.debug pppd[11111]: rcvd [LCP EchoRep id=0x0 magic=0x246c1dd6 ab 87 10 af]
Wed Oct 28 17:43:01 2020 daemon.debug pppd[11111]: rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:01 2020 daemon.debug pppd[11111]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:02 2020 daemon.debug pppd[11111]: rcvd [IPCP ConfNak id=0x2 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:02 2020 daemon.debug pppd[11111]: sent [IPCP ConfReq id=0x3 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:03 2020 daemon.debug pppd[11111]: rcvd [IPCP ConfNak id=0x3 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:03 2020 daemon.debug pppd[11111]: sent [IPCP ConfReq id=0x4 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:04 2020 daemon.debug pppd[11111]: rcvd [IPCP ConfNak id=0x4 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:04 2020 daemon.debug pppd[11111]: sent [IPCP ConfReq id=0x5 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:05 2020 daemon.debug pppd[11111]: rcvd [IPCP ConfNak id=0x5 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:05 2020 daemon.debug pppd[11111]: sent [IPCP ConfReq id=0x6 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:06 2020 daemon.debug pppd[11111]: rcvd [IPCP ConfNak id=0x6 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:06 2020 daemon.debug pppd[11111]: sent [IPCP ConfReq id=0x7 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:07 2020 daemon.debug pppd[11111]: rcvd [IPCP ConfNak id=0x7 <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:07 2020 daemon.debug pppd[11111]: sent [IPCP ConfReq id=0x8 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns2 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
Wed Oct 28 17:43:07 2020 daemon.notice mobiled: Starting data session 0
Wed Oct 28 17:43:07 2020 daemon.debug mobiled-netifd[3067]: Queuing setup action on interface wwan
Wed Oct 28 17:43:07 2020 daemon.debug mobiled-netifd[3067]: Running setup action on interface wwan
Wed Oct 28 17:43:07 2020 daemon.info pppd[11111]: Terminating on signal 15
Wed Oct 28 17:43:07 2020 daemon.notice pppd[11111]: Connection state changed to disconnecting (phase 9)
Wed Oct 28 17:43:07 2020 daemon.debug pppd[11111]: sent [LCP TermReq id=0x2 "User request"]
Wed Oct 28 17:43:07 2020 daemon.debug pppd[11111]: rcvd [LCP TermAck id=0x2]
Wed Oct 28 17:43:07 2020 daemon.notice pppd[11111]: Connection terminated.
Wed Oct 28 17:43:07 2020 daemon.debug mobiled-netifd[3067]: Action setup completed with return code 0 on interface wwan after 443.53ms
Wed Oct 28 17:43:08 2020 daemon.notice pppd[11111]: Connection state changed to disconnected (phase 0)
Wed Oct 28 17:43:08 2020 daemon.info pppd[11111]: Exit.
Wed Oct 28 17:43:08 2020 daemon.notice netifd: Interface 'wwan_ppp' is now down
root@modemtim:~#