NetworkManager auto-connect GSM module is not stable
Hi NetworkManager authors, *** What I except: I want NetworkManager can auto-connect the GSM module in my board when reboot every time, So I set the 'connection.autoconnect' to 'yes' and set the 'connection.autoconnect-retries' to 3. What I encounter: I found that the NetworkManager auto-connect GSM module is not stable, sometimes it works fine, but sometimes it is not ok What I find: I checked the log of NetworkManager in syslog and found that NetworkManager tried to connect the GSM module only once in the condition auto-connect failed. I have set the 'connection.autoconnect' to 3 and why does NetworkManager reconnect only once sometimes? *** 1. The Version of softwares is as follows: root@debian:~# nmcli -v nmcli tool, version 1.14.6 root@debian:~# mmcli -V mmcli 1.10.0 root@debian:~# cat /proc/version Linux version 4.19.38+ (builder@6628e7f94e5a) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP PREEMPT Mon Oct 14 20:34:37 UTC 2019 *** 2. My GSM connection file is as follows: root@debian:~# nmcli connection show id cellular4g connection.id: cellular4g connection.uuid:ce204ddd-8e3e-4a15-8435-e4b7f399e353 connection.stable-id: -- connection.type:gsm connection.interface-name: -- connection.autoconnect: yes connection.autoconnect-priority:0 connection.autoconnect-retries: 3 connection.multi-connect: 0 (default) connection.auth-retries:-1 connection.timestamp: 1571799683 connection.read-only: no connection.permissions: -- connection.zone:-- connection.master: -- connection.slave-type: -- connection.autoconnect-slaves: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout:0 connection.metered: unknown connection.lldp:default connection.mdns:-1 (default) connection.llmnr: -1 (default) ipv4.method:auto ipv4.dns: -- ipv4.dns-search:-- ipv4.dns-options: "" ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes:-- ipv4.route-metric: -1 ipv4.route-table: 0 (unspec) ipv4.ignore-auto-routes:no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id:-- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname:yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.never-default: no ipv4.may-fail: yes ipv4.dad-timeout: -1 (default) ipv6.method:auto ipv6.dns: -- ipv6.dns-search:-- ipv6.dns-options: "" ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes:-- ipv6.route-metric: -1 ipv6.route-table: 0 (unspec) ipv6.ignore-auto-routes:no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.ip6-privacy: -1 (unknown) ipv6.addr-gen-mode: stable-privacy ipv6.dhcp-duid: -- ipv6.dhcp-send-hostname:yes ipv6.dhcp-hostname: -- ipv6.token: -- gsm.number: *99# gsm.username: -- gsm.password: gsm.password-flags: 0 (none) gsm.apn:ctnet gsm.network-id: -- gsm.pin: gsm.pin-flags: 0 (none) gsm.home-only: no gsm.device-id: -- gsm.sim-id: -- gsm.sim-operator-id:-- gsm.mtu:auto proxy.method: none proxy.browser-only: no proxy.pac-url:
NetworkManager auto-connect GSM module is not stable
Hi NetworkManager Authors, I encountered a problem with using Networkmanager to auto-connect GSM module. What I except: I want NetworkManager can auto-connect the GSM module in my board when reboot every time, So I set the 'connection.autoconnect' to 'yes' and set the 'connection.autoconnect-retries' to 3. What I encounter: I found that the NetworkManager auto-connect GSM module is not stable, sometimes it works fine, but sometimes it is not ok What I find: I checked the log of NetworkManager in syslog and found that NetworkManager tried to connect the GSM module only once in the condition auto-connect failed. I have set the 'connection.autoconnect' to 3 and why does NetworkManager reconnect only once sometimes? *** 1. The Version of softwares is as follows: root@debian:~# nmcli -v nmcli tool, version 1.14.6 root@debian:~# mmcli -V mmcli 1.10.0 root@debian:~# cat /proc/version Linux version 4.19.38+ (builder@6628e7f94e5a) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP PREEMPT Mon Oct 14 20:34:37 UTC 2019 *** 2. My GSM connection file is as follows: root@debian:~# nmcli connection show id cellular4g connection.id: cellular4g connection.uuid:ce204ddd-8e3e-4a15-8435-e4b7f399e353 connection.stable-id: -- connection.type:gsm connection.interface-name: -- connection.autoconnect: yes connection.autoconnect-priority:0 connection.autoconnect-retries: 3 connection.multi-connect: 0 (default) connection.auth-retries:-1 connection.timestamp: 1571799683 connection.read-only: no connection.permissions: -- connection.zone:-- connection.master: -- connection.slave-type: -- connection.autoconnect-slaves: -1 (default) connection.secondaries: -- connection.gateway-ping-timeout:0 connection.metered: unknown connection.lldp:default connection.mdns:-1 (default) connection.llmnr: -1 (default) ipv4.method:auto ipv4.dns: -- ipv4.dns-search:-- ipv4.dns-options: "" ipv4.dns-priority: 0 ipv4.addresses: -- ipv4.gateway: -- ipv4.routes:-- ipv4.route-metric: -1 ipv4.route-table: 0 (unspec) ipv4.ignore-auto-routes:no ipv4.ignore-auto-dns: no ipv4.dhcp-client-id:-- ipv4.dhcp-timeout: 0 (default) ipv4.dhcp-send-hostname:yes ipv4.dhcp-hostname: -- ipv4.dhcp-fqdn: -- ipv4.never-default: no ipv4.may-fail: yes ipv4.dad-timeout: -1 (default) ipv6.method:auto ipv6.dns: -- ipv6.dns-search:-- ipv6.dns-options: "" ipv6.dns-priority: 0 ipv6.addresses: -- ipv6.gateway: -- ipv6.routes:-- ipv6.route-metric: -1 ipv6.route-table: 0 (unspec) ipv6.ignore-auto-routes:no ipv6.ignore-auto-dns: no ipv6.never-default: no ipv6.may-fail: yes ipv6.ip6-privacy: -1 (unknown) ipv6.addr-gen-mode: stable-privacy ipv6.dhcp-duid: -- ipv6.dhcp-send-hostname:yes ipv6.dhcp-hostname: -- ipv6.token: -- gsm.number: *99# gsm.username: -- gsm.password: gsm.password-flags: 0 (none) gsm.apn:ctnet gsm.network-id: -- gsm.pin: gsm.pin-flags: 0 (none) gsm.home-only: no gsm.device-id: -- gsm.sim-id: -- gsm.sim-operator-id:-- gsm.mtu:auto proxy.method: none proxy.browser-only: no proxy.pac-url: -- proxy.pac-script: