Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
2 answers
71 views
Wait for file to be able to be opened with systemd
I am trying to use systemd to spin up a ROS2 system on startup that needs to talk to a microcontroller. I have udev rules to create named links to the serial device based on serial number, device id, etc. A path unit configuration waits for the path to exist, and then starts the service, which also...
I am trying to use systemd to spin up a ROS2 system on startup that needs to talk to a microcontroller. I have udev rules to create named links to the serial device based on serial number, device id, etc. A path unit configuration waits for the path to exist, and then starts the service, which also waits for the .device file for the path to exist before starting. This works fine, but when the launch file is called and ROS2 attempts to open the connection it always gets a "Device or resource busy" error. I tried implementing a retry system for this, but this approach doesn't work well with how we currently have the serial implementation written, so I wanted to ask if anyone had ideas about another solution? Here is the .service file:
[Unit]
Description=Start PRIMROSE ROS2 Stack
After=dev-MCIU0.device
Requires=dev-MCIU0.device

[Service]
User=pstdl
Group=pstdl
ExecStart=/bin/bash -c '/home/pstdl/Primrose-onboard/src/control/bringup/config/Primrose-startup.sh'
Restart=on-failure
RestartSec=2s

[Install]
WantedBy=multi-user.target
And here is the .path file:
[Unit]
Description= Watch /dev for MCIU0 to appear and then start the PRIMROSE ROS2 stack
After=network-online.target

[Path]
PathExists=/dev/MCIU0

[Install]
WantedBy=multi-user.target
UPDATE: Removing Modem Manager allows the port to be opened, but the port constantly reports no data when attempting to read. Having Modem Manager installed and running the software (not started as a service) allows it to run fine. Some more information about the system: - Jetson Orin NX running JetPack 6 - Communicating with a Teensy 4.1 over USB Serial, comes up as a /dev/ttyACM port. Udev creates a symlink to the /dev/MCIU0 The udev file to create the devices is placed below:
#SUBSYSTEM=="tty",ENV{ID_PATH}=="platform-3610000.usb-usb-0:2.1:1.0",SYMLINK+="rplidar0"
#SUBSYSTEM=="tty",ENV{ID_PATH}=="platform-3610000.usb-usb-0:2.4:1.0",SYMLINK+="vectornav0"
#SUBSYSTEM=="tty",ENV{ID_PATH}=="platform-3610000.usb-usb-0:2.3:1.0",SYMLINK+="zedfp90"

# backup of the local rules, placing this file in /etc/udev/rules.d/ with the appropriate idVendor and idProducts will bring up
# the teensies/sensors with the defined symlink names

KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="00", ENV{channel}="0"
KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="02", ENV{channel}="1"

ACTION=="add", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="vectornav0"
ACTION=="add", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", SYMLINK+="rplidar0"
ACTION=="add", ATTRS{idVendor}=="1546", ATTRS{idProduct}=="01a9", SYMLINK+="zedf9p0"


ENV{channel}=="0" ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="048b", SYMLINK+="MCIU0"
ENV{channel}=="1" ATTRS{idVendor}=="16c0", ATTRS{idProduct}=="048b", SYMLINK+="MCIU1"
ajgoddu (3 rep)
Jun 23, 2025, 07:16 PM • Last activity: Jun 30, 2025, 07:30 PM
0 votes
0 answers
463 views
How to make Huawei E5372 USB 4g LTE Modem work on Debian 12?
I'm trying to make my Huawei E5372 USB modem work with my Debian 12 Linux with Gnome Desktop Environment but having no luck with it. When listing modems with ModemManager the USB modem is shown: ```bash tiago@dell-inspiron-15-3520:~$ sudo mmcli -L /org/freedesktop/ModemManager1/Modem/1 [huawei] E537...
I'm trying to make my Huawei E5372 USB modem work with my Debian 12 Linux with Gnome Desktop Environment but having no luck with it. When listing modems with ModemManager the USB modem is shown:
tiago@dell-inspiron-15-3520:~$ sudo mmcli -L
    /org/freedesktop/ModemManager1/Modem/1 [huawei] E5372
When listing the USB Modem info with ModemManager the following is shown:
tiago@dell-inspiron-15-3520:~$ sudo mmcli -m 1
  --------------------------------
  General  |                 path: /org/freedesktop/ModemManager1/Modem/1
           |            device id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  --------------------------------
  Hardware |         manufacturer: huawei
           |                model: E5372
           |    firmware revision: 21.221.19.00.00
           |            supported: gsm-umts
           |              current: gsm-umts
           |         equipment id: XXXXXXXXXXXXXXX
  --------------------------------
  System   |               device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1
           |              drivers: huawei_cdc_ncm, option
           |               plugin: huawei
           |         primary port: cdc-wdm0
           |                ports: cdc-wdm0 (at), ttyUSB0 (at), wwx0c5b8f279a64 (net)
  --------------------------------
  Status   |       unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           |                state: registered
           |          power state: on
           |          access tech: lte
           |       signal quality: 100% (recent)
  --------------------------------
  Modes    |            supported: allowed: 2g; preferred: none
           |                       allowed: 3g; preferred: none
           |                       allowed: 4g; preferred: none
           |                       allowed: 2g, 3g, 4g; preferred: 4g
           |                       allowed: 2g, 3g, 4g; preferred: 4g
           |                       allowed: 2g, 3g, 4g; preferred: 3g
           |                       allowed: 2g, 3g, 4g; preferred: 3g
           |                       allowed: 2g, 3g, 4g; preferred: 2g
           |                       allowed: 2g, 3g, 4g; preferred: 2g
           |                       allowed: 3g, 4g; preferred: 4g
           |                       allowed: 2g, 4g; preferred: 4g
           |                       allowed: 2g, 3g; preferred: 3g
           |                       allowed: 3g, 4g; preferred: 3g
           |                       allowed: 2g, 3g; preferred: 2g
           |                       allowed: 2g, 4g; preferred: 2g
           |                       allowed: 2g, 3g, 4g; preferred: none
           |              current: allowed: 2g, 3g, 4g; preferred: none
  --------------------------------
  IP       |            supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP     |                 imei: XXXXXXXXXXXXXXXX
           |          operator id: 72404
           |        operator name: TIMBRASIL
           |         registration: home
           | packet service state: attached
  --------------------------------
  3GPP EPS | ue mode of operation: csps-2
  --------------------------------
  SIM      |     primary sim path: /org/freedesktop/ModemManager1/SIM/1
  --------------------------------
  Bearer   |                paths: /org/freedesktop/ModemManager1/Bearer/4
           |                       /org/freedesktop/ModemManager1/Bearer/3
           |                       /org/freedesktop/ModemManager1/Bearer/2
ModemManager bearer info are:
tiago@dell-inspiron-15-3520:~$ sudo mmcli -m 1 -b 2
  --------------------------------------
  General    |                     path: /org/freedesktop/ModemManager1/Bearer/2
             |                     type: default
  --------------------------------------
  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.Core.Unsupported
             | connection error message: Only IPv4 is supported by this modem
             |                suspended: no
             |              multiplexed: no
             |               ip timeout: 20
  --------------------------------------
  Properties |                      apn: timbrasil.br
             |                  roaming: allowed
             |                  ip type: ipv4v6
             |                     user: tim
             |                 password: tim
  --------------------------------------
  Statistics |                 attempts: 8
             |                 attempts: 8

tiago@dell-inspiron-15-3520:~$ sudo mmcli -m 1 -b 3
  --------------------------------------
  General    |                     path: /org/freedesktop/ModemManager1/Bearer/3
             |                     type: default
  --------------------------------------
  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown
             | connection error message: Unknown error
             |                suspended: no
             |              multiplexed: no
             |               ip timeout: 20
  --------------------------------------
  Properties |                      apn: timbrasil.br
             |                  roaming: allowed
             |                  ip type: ipv4
             |                     user: tim
             |                 password: tim
  --------------------------------------
  Statistics |                 attempts: 8
             |                 attempts: 8

tiago@dell-inspiron-15-3520:~$ sudo mmcli -m 1 -b 4
  --------------------------------------
  General    |                     path: /org/freedesktop/ModemManager1/Bearer/4
             |                     type: default
  --------------------------------------
  Status     |                connected: no
             |    connection error name: org.freedesktop.ModemManager1.Error.Core.Unsupported
             | connection error message: Only IPv4 is supported by this modem
             |                suspended: no
             |              multiplexed: no
             |               ip timeout: 20
  --------------------------------------
  Properties |                      apn: timbrasil.br
             |                  roaming: allowed
             |                  ip type: ipv6
             |                     user: tim
             |                 password: tim
  --------------------------------------
  Statistics |                 attempts: 8
             |                 attempts: 8
ModemManager Interface info is:
tiago@dell-inspiron-15-3520:~$ sudo mmcli -i 1
  -------------------------------
  General    |              path: /org/freedesktop/ModemManager1/SIM/1
  -------------------------------
  Properties |            active: yes
             |              imsi: XXXXXXXXXXXXXXX
             |             iccid: XXXXXXXXXXXXXXXXXXXXXX
             |       operator id: 72404
             |     operator name: TIM
             |              gid2: FFFFFFFFFFFFFFFFFF
The huawei-4g **NetworkManager connection** is configured as following:
tiago@dell-inspiron-15-3520:~$ sudo nmcli c show huawei-4g | cat
connection.id:                          huawei-4g
connection.uuid:                        0aa9ce26-96a3-49a8-a509-f48e56a3981e
connection.stable-id:                   --
connection.type:                        gsm
connection.interface-name:              cdc-wdm0
connection.autoconnect:                 yes
connection.autoconnect-priority:        0
connection.autoconnect-retries:         -1 (default)
connection.multi-connect:               0 (default)
connection.auth-retries:                -1
connection.timestamp:                   1726645128
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)
connection.dns-over-tls:                -1 (default)
connection.mptcp-flags:                 0x0 (default)
connection.wait-device-timeout:         -1
connection.wait-activation-delay:       -1
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.routing-rules:                     --
ipv4.replace-local-rule:                -1 (default)
ipv4.ignore-auto-routes:                no
ipv4.ignore-auto-dns:                   no
ipv4.dhcp-client-id:                    --
ipv4.dhcp-iaid:                         --
ipv4.dhcp-timeout:                      0 (default)
ipv4.dhcp-send-hostname:                yes
ipv4.dhcp-hostname:                     --
ipv4.dhcp-fqdn:                         --
ipv4.dhcp-hostname-flags:               0x0 (none)
ipv4.never-default:                     no
ipv4.may-fail:                          yes
ipv4.required-timeout:                  -1 (default)
ipv4.dad-timeout:                       -1 (default)
ipv4.dhcp-vendor-class-identifier:      --
ipv4.link-local:                        0 (default)
ipv4.dhcp-reject-servers:               --
ipv4.auto-route-ext-gw:                 -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.routing-rules:                     --
ipv6.replace-local-rule:                -1 (default)
ipv6.ignore-auto-routes:                no
ipv6.ignore-auto-dns:                   no
ipv6.never-default:                     no
ipv6.may-fail:                          yes
ipv6.required-timeout:                  -1 (default)
ipv6.ip6-privacy:                       -1 (unknown)
ipv6.addr-gen-mode:                     default
ipv6.ra-timeout:                        0 (default)
ipv6.mtu:                               auto
ipv6.dhcp-duid:                         --
ipv6.dhcp-iaid:                         --
ipv6.dhcp-timeout:                      0 (default)
ipv6.dhcp-send-hostname:                yes
ipv6.dhcp-hostname:                     --
ipv6.dhcp-hostname-flags:               0x0 (none)
ipv6.auto-route-ext-gw:                 -1 (default)
ipv6.token:                             --
gsm.auto-config:                        no
gsm.number:                             --
gsm.username:                           tim
gsm.password:                           
gsm.password-flags:                     0 (none)
gsm.apn:                                "timbrasil.br"
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:                       --
When trying to connect to it, the following error is shown:
tiago@dell-inspiron-15-3520:~$ sudo nmcli c up huawei-4g
Error: Connection activation failed: Unknown error
Hint: use 'journalctl -xe NM_CONNECTION=0aa9ce26-96a3-49a8-a509-f48e56a3981e + NM_DEVICE=cdc-wdm0' to get more details.
The syslog shows the following:
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6054] device (cdc-wdm0): Activation: starting connection 'huawei-4g' (0aa9ce26-96a3-49a8-a509-f48e56a3981e)
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6055] device (cdc-wdm0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6063] device (cdc-wdm0): state change: prepare -> need-auth (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6075] device (cdc-wdm0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6271] modem-broadband[cdc-wdm0]: failed to connect modem: Only IPv4 is supported by this modem
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6272] device (cdc-wdm0): state change: prepare -> failed (reason 'unknown', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6278] device (cdc-wdm0): Activation: failed for connection 'huawei-4g'
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6280] device (cdc-wdm0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6286] device (cdc-wdm0): Activation: starting connection 'huawei-4g' (0aa9ce26-96a3-49a8-a509-f48e56a3981e)
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6287] device (cdc-wdm0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6290] device (cdc-wdm0): state change: prepare -> need-auth (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6297] device (cdc-wdm0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6469] modem-broadband[cdc-wdm0]: failed to connect modem: Only IPv4 is supported by this modem
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6469] device (cdc-wdm0): state change: prepare -> failed (reason 'unknown', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6473] device (cdc-wdm0): Activation: failed for connection 'huawei-4g'
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6475] device (cdc-wdm0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6481] device (cdc-wdm0): Activation: starting connection 'huawei-4g' (0aa9ce26-96a3-49a8-a509-f48e56a3981e)
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6482] device (cdc-wdm0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6487] device (cdc-wdm0): state change: prepare -> need-auth (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6495] device (cdc-wdm0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6663] modem-broadband[cdc-wdm0]: failed to connect modem: Only IPv4 is supported by this modem
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6663] device (cdc-wdm0): state change: prepare -> failed (reason 'unknown', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6665] device (cdc-wdm0): Activation: failed for connection 'huawei-4g'
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6666] device (cdc-wdm0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6669] device (cdc-wdm0): Activation: starting connection 'huawei-4g' (0aa9ce26-96a3-49a8-a509-f48e56a3981e)
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6670] device (cdc-wdm0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6673] device (cdc-wdm0): state change: prepare -> need-auth (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6681] device (cdc-wdm0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6845] modem-broadband[cdc-wdm0]: failed to connect modem: Only IPv4 is supported by this modem
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6846] device (cdc-wdm0): state change: prepare -> failed (reason 'unknown', sys-iface-state: 'managed')
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6850] device (cdc-wdm0): Activation: failed for connection 'huawei-4g'
set 18 04:44:31 dell-inspiron-15-3520 NetworkManager:   [1726645471.6852] device (cdc-wdm0): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Also, the modem sometimes opens a storage device in Debian with the windows .exe drivers. Apart from that the modem is still visible through modem manager and lsusb. Do anyone knows what is going on and how to make a GSM/cellular connection work in this Debian GNU/Linux?
Tiago Stapenhorst (145 rep)
Sep 18, 2024, 07:55 AM
1 votes
2 answers
161 views
How can I share LTE modem internet over Wifi?
I've got my LTE modem setup with NetworkManager/ModemManager and that's working fine. I've also got Wifi setup as an access point in NetworkManager with DHCP. But how can I share the LTE modem internet access over Wifi? I've enabled IP forwarding (`echo 1 > /proc/sys/net/ipv4/ip_forward`), what else...
I've got my LTE modem setup with NetworkManager/ModemManager and that's working fine. I've also got Wifi setup as an access point in NetworkManager with DHCP. But how can I share the LTE modem internet access over Wifi? I've enabled IP forwarding (echo 1 > /proc/sys/net/ipv4/ip_forward), what else is there? # ifconfig 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:65536 Metric:1 RX packets:12946 errors:0 dropped:0 overruns:0 frame:0 TX packets:12946 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1297231 (1.2 MiB) TX bytes:1297231 (1.2 MiB) wlan0 Link encap:Ethernet HWaddr E8:4F:25:DD:BD:51 inet addr:10.42.0.1 Bcast:10.42.0.255 Mask:255.255.255.0 inet6 addr: fe80::ea4f:25ff:fedd:bd51/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:77 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:12101 (11.8 KiB) wwan0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:100.72.254.176 P-t-P:100.72.254.176 Mask:255.255.255.224 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:1808 errors:0 dropped:0 overruns:0 frame:0 TX packets:2176 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:356293 (347.9 KiB) TX bytes:261384 (255.2 KiB) # ip route default via 100.72.254.177 dev wwan0 metric 700 10.42.0.0/24 dev wlan0 scope link src 10.42.0.1 metric 600 100.72.254.160/27 dev wwan0 scope link src 100.72.254.176 metric 700 The DHCP for the Wifi is done by NetworkManager starting dnsmasq with default parameters: # ps -eF | grep dnsmasq nobody 1104 606 0 1285 2444 0 09:05 ? 00:00:00 /usr/bin/dnsmasq --conf-file=/dev/null --no-hosts --keep-in-foreground --bind-interfaces --except-interface=lo --clear-on-reload --strict-order --listen-address=10.42.0.1 --dhcp-range=10.42.0.10,10.42.0.254,60m --dhcp-lease-max=50 --dhcp-leasefile=/var/lib/NetworkManager/dnsmasq-wlan0.leases --pid-file=/var/run/nm-dnsmasq-wlan0.pid --conf-dir=/etc/NetworkManager/dnsmasq-shared.d ref https://unix.stackexchange.com/questions/384762/networkmanager-and-dnsmasq-dhcp-address-range) . # cat /etc/NetworkManager/system-connections/ap.nmconnection [connection] id=ap uuid=3205b229-8c4d-4766-8d63-bcd949d03321 type=wifi autoconnect=false interface-name=wlan0 [wifi] band=bg channel=1 mode=ap ssid=MySSID [wifi-security] group=ccmp; key-mgmt=wpa-psk pairwise=ccmp; proto=rsn; psk=MyPSK [ipv4] method=shared [ipv6] addr-gen-mode=stable-privacy method=ignore [proxy] A colleague suggested https://github.com/oblique/create_ap . I tried both the NAT and bridge options but they both failed. NAT: # create_ap -w 2 wlan0 wwan0 APTest 12345678 WARN: brmfmac driver doesn't work properly with virtual interfaces and it can cause kernel panic. For this reason we disallow virtual interfaces for your adapter. For more info: https://github.com/oblique/create_ap/issues/203 WARN: Your adapter does not fully support AP virtual interface, enabling --no-virt Config dir: /tmp/create_ap.wlan0.conf.XX59Vdf8 PID: 537195 Network Manager found, set wlan0 as unmanaged device... [46988.754925] ieee80211 phy1: brcmf_set_pmk: failed to change PSK in firmware (len=0) [46988.784848] ieee80211 phy1: brcmf_vif_set_mgmt_ie: vndr ie set error : -52 [46988.792027] ieee80211 phy1: brcmf_vif_set_mgmt_ie: vndr ie set error : -52 DONE Sharing Internet using method: nat iptables v1.8.7 (legacy): unknown option "--to-ports" Try `iptables -h' or 'iptables --help' for more information. Doing cleanup.. done Bridge: # create_ap -w 2 -m bridge wlan0 wwan0 APTest 12345678 WARN: brmfmac driver doesn't work properly with virtual interfaces and it can cause kernel panic. For this reason we disallow virtual interfaces for your adapter. For more info: https://github.com/oblique/create_ap/issues/203 WARN: Your adapter does not fully support AP virtual interface, enabling --no-virt Config dir: /tmp/create_ap.wlan0.conf.XXgGPNON PID: 540585 Network Manager found, set wlan0 as unmanaged device... DONE Sharing Internet using method: bridge Create a bridge interface... ip: RTNETLINK answers: Operation not supported
parsley72 (319 rep)
Jul 22, 2024, 04:18 AM • Last activity: Jul 31, 2024, 11:02 PM
1 votes
0 answers
202 views
Foxconn X55 modem disconnects without any reason
My Thinkpad P1 gen4 has a Foxconn Snapdragon X55 wwan-modem. I'm running Arch (6.7.2-arch1-1) with Gnome (45.3) on it. I updated firmware of modem to T99W175.F0.1.0.0.9.TF.008.079 . I also symlinked FCC-unlock. The modem is working, I can connect and use it. ```` $ ls -la /etc/ModemManager/fcc-unloc...
My Thinkpad P1 gen4 has a Foxconn Snapdragon X55 wwan-modem. I'm running Arch (6.7.2-arch1-1) with Gnome (45.3) on it. I updated firmware of modem to T99W175.F0.1.0.0.9.TF.008.079 . I also symlinked FCC-unlock. The modem is working, I can connect and use it.
`
$ ls -la /etc/ModemManager/fcc-unlock.d
lrwxrwxrwx 1 root root   56 22. Jan 22:20 105b:e0ab -> /usr/share/ModemManager/fcc-unlock.available.d/105b:e0ab
` But without any reason, the connection is diconnected, the modem is lost and comes back with new device-id (+1). In log I see, while its working, every 10-20 seconds:
`
Jan 30 08:27:31 thinkpad kernel: sequence number glitch prev=7 curr=0
` ....if it dies:
`
Jan 30 13:18:51 thinkpad kernel: mhi-pci-generic 0000:08:00.0: firmware crashed (6)
Jan 30 13:18:51 thinkpad kernel: wwan0: Failed to queue TX buf (-5)
Jan 30 13:18:52 thinkpad ModemManager:  [modem1] port 'wwan0mbim0' no longer controllable, reprobing
Jan 30 13:18:52 thinkpad NetworkManager:   [1706617132.0900] device (wwan0mbim0): state change: activated -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Jan 30 13:18:52 thinkpad kernel: wwan wwan0: port wwan0qcdm0 disconnected
Jan 30 13:18:52 thinkpad kernel: wwan wwan0: port wwan0mbim0 disconnected
Jan 30 13:18:52 thinkpad kernel: wwan wwan0: port wwan0at0 disconnected
Jan 30 13:18:52 thinkpad ModemManager:  [/dev/wwan0mbim0] MBIM error: Device must be open to send commands
Jan 30 13:18:52 thinkpad ModemManager:  [/dev/wwan0mbim0] MBIM error: Device must be open to send commands
Jan 30 13:18:52 thinkpad ModemManager:  [/dev/wwan0mbim0] MBIM error: Device must be open to send commands
Jan 30 13:18:52 thinkpad ModemManager:  [/dev/wwan0mbim0] MBIM error: Device must be open to send commands
Jan 30 13:18:52 thinkpad ModemManager:  [/dev/wwan0mbim0] MBIM error: Device must be open to send commands
Jan 30 13:18:52 thinkpad ModemManager:  [modem1/wwan0mbim0/mbim] Couldn't properly close QMI device: Device must be open to send commands
Jan 30 13:18:52 thinkpad passimd: resetting Passim-D3AC
Jan 30 13:18:52 thinkpad passimd: Emitting PropertyChanged('Status'='running')
Jan 30 13:18:52 thinkpad passimd: signal_name: StateChanged (is)
Jan 30 13:18:52 thinkpad ModemManager:  [base-manager] port wwan0qcdm0 released by device '/sys/devices/pci0000:00/0000:00:1c.4/0000:08:00.0'
Jan 30 13:18:52 thinkpad ModemManager:  [base-manager] port wwan0mbim0 released by device '/sys/devices/pci0000:00/0000:00:1c.4/0000:08:00.0'
Jan 30 13:18:52 thinkpad ModemManager:  [base-manager] port wwan0at0 released by device '/sys/devices/pci0000:00/0000:00:1c.4/0000:08:00.0'
Jan 30 13:18:52 thinkpad ModemManager:  [base-manager] port wwan0 released by device '/sys/devices/pci0000:00/0000:00:1c.4/0000:08:00.0'
Jan 30 13:18:52 thinkpad dnsmasq: no servers found in /etc/resolv.conf, will retry
Jan 30 13:18:52 thinkpad NetworkManager:   [1706617132.1380] manager: NetworkManager state is now CONNECTED_LOCAL
Jan 30 13:18:52 thinkpad NetworkManager:   [1706617132.1388] modem-broadband[wwan0mbim0]: failed to disconnect modem: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Object does not exist at path “/org/freedesktop/ModemManager1/Modem/1”
Jan 30 13:18:52 thinkpad evolution: Network disconnected.  Forced offline.
Jan 30 13:18:52 thinkpad systemd: Starting Network Manager Script Dispatcher Service...
Jan 30 13:18:52 thinkpad systemd: Started Network Manager Script Dispatcher Service.
Jan 30 13:18:52 thinkpad kernel: wwan wwan0: port wwan0qcdm0 attached
Jan 30 13:18:52 thinkpad kernel: wwan wwan0: port wwan0mbim0 attached
Jan 30 13:18:52 thinkpad kernel: wwan wwan0: port wwan0at0 attached
Jan 30 13:18:52 thinkpad vivaldi-stable.desktop: Fontconfig error: Cannot load default config file: No such file: (null)
Jan 30 13:18:53 thinkpad passimd: signal_name: StateChanged (is)
Jan 30 13:18:54 thinkpad ModemManager:  [wwan0mbim0/mbim] MBIM device is not QMI capable
Jan 30 13:18:56 thinkpad ModemManager:  [device /sys/devices/pci0000:00/0000:00:1c.4/0000:08:00.0] creating modem with plugin 'foxconn' and '4' ports
Jan 30 13:18:56 thinkpad ModemManager:  [base-manager] modem for device '/sys/devices/pci0000:00/0000:00:1c.4/0000:08:00.0' successfully created
Jan 30 13:18:56 thinkpad ModemManager:  [modem2/wwan0mbim0/mbim] MBIM device is QMI capable
Jan 30 13:18:56 thinkpad ModemManager:  [modem2] state changed (unknown -> disabled)
Jan 30 13:18:56 thinkpad NetworkManager:   [1706617136.5651] manager: (wwan0mbim0): new Broadband device (/org/freedesktop/NetworkManager/Devices/8)
Jan 30 13:18:56 thinkpad NetworkManager:   [1706617136.5655] device (wwan0mbim0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Jan 30 13:18:56 thinkpad NetworkManager:   [1706617136.5660] device (wwan0mbim0): modem state 'enabling'
Jan 30 13:18:56 thinkpad NetworkManager:   [1706617136.5666] device (wwan0mbim0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
` I also tried to set card to 3g+4G without 5G, but this did not help too. Any ideads how to fix this?
Johannes C. Schulz (192 rep)
Jan 30, 2024, 09:10 AM • Last activity: Jan 30, 2024, 12:21 PM
0 votes
2 answers
441 views
3G connection with ModemManager and Netplan connect and disconnect immediatly
I have a problem with an old 3G modem (Telit HE910), the connection is made via Netplan and ModemManager. The modem is recognized correctly when Ubuntu starts and the SIM is also recognized without problems. The strange thing is that it seems that the connection is established but then immediately t...
I have a problem with an old 3G modem (Telit HE910), the connection is made via Netplan and ModemManager. The modem is recognized correctly when Ubuntu starts and the SIM is also recognized without problems. The strange thing is that it seems that the connection is established but then immediately the modem disconnects. I tried starting ModemManager in debug mode but I'm not very expert with modems to understand where the problem actually is. Netplan config: network: version: 2 renderer: NetworkManager ethernets: enp3: # eth0 - Maintenance dhcp4: false optional: true addresses: - 172.0.0.10/24 routes: - to: default via: 172.0.0.1 nameservers: addresses: - 8.8.8.8 - 8.8.4.4 dhcp4-overrides: route-metric: 1 match: name: enp3* set-name: enp3 enp4: # eth1 - External modem dhcp4: true dhcp6: false optional: true match: name: enp4* set-name: enp4 modems: telit: # Internal modem dhcp4: true optional: true apn: iliad auto-config: true dhcp4-overrides: route-metric: 900 match: name: ttyACM* set-name: mobile wifis: wlp1s0: dhcp4: false dhcp6: false optional: true access-points: # Required for wifis "empty": password: "" ModemManager logs: ModemManager: [1662750117.761616] [modem0/bearer0] connection through a plain serial AT port: ttyACM0 ModemManager: [1662750117.761825] [modem0/ttyACM0/at] device open count is 5 (open) ModemManager: [1662750117.762137] [modem0/ttyACM0/at] device open count is 4 (close) ModemManager: [1662750117.762428] [modem0/ttyACM0/at] --> 'ATD*99***3#' ModemManager: [1662750117.796882] [modem0/ttyACM0/at] CONNECT' ModemManager: [1662750117.797202] [modem0/bearer0] setting flow control in ttyACM0: rts-cts ModemManager: [1662750117.797369] [modem0/ttyACM0/at] enabling RTS/CTS flow control ModemManager: [1662750117.797575] [modem0/ttyACM0/at] flow control settings updated to rts-cts ModemManager: [1662750117.797780] [modem0/ttyACM0/at] port now connected ModemManager: [1662750117.798010] [modem0/bearer0] connected ModemManager: [1662750117.798634] [modem0/bearer0] PPP is required for connection, will ignore disconnection reports ModemManager: [1662750117.798836] [modem0] state changed (registered -> connected) ModemManager: [1662750117.800684] [modem0] simple connect state (8/8): all done ModemManager: [1662750117.801266] [modem0/ttyACM0/at] device open count is 3 (close) ModemManager: [1662750117.836536] [modem0] user request to disconnect modem (all bearers) ModemManager: [1662750117.839942] [modem0] user request to disconnect modem (all bearers) ModemManager: [1662750117.850015] [modem0] user request to connect modem ModemManager: [1662750117.859771] [modem0/bearer0] disconnecting... ModemManager: [1662750117.860051] [modem0] state changed (connected -> disconnecting) ModemManager: [1662750117.861365] [modem0/bearer0] sending PDP context deactivation in secondary port... ModemManager: [1662750117.861621] [modem0/ttyACM3/at] device open count is 2 (open) ModemManager: [1662750117.862099] [modem0/ttyACM3/at] --> 'AT+CGACT=0,3' ModemManager: [1662750117.888064] [modem0/ttyACM3/at] OK' ModemManager: [1662750117.888482] [modem0/bearer0] reopening data port ttyACM0... ModemManager: [1662750117.888661] [modem0/ttyACM0/at] reopening port (3) ModemManager: [1662750117.888796] [modem0/ttyACM0/at] device open count is 2 (close) ModemManager: [1662750117.888921] [modem0/ttyACM0/at] device open count is 1 (close) ModemManager: [1662750117.889047] [modem0/ttyACM0/at] device open count is 0 (close) ModemManager: [1662750117.889250] [modem0/ttyACM0/at] closing serial port... ModemManager: [1662750117.889431] [modem0/ttyACM0/at] port now disconnected ModemManager: [1662750117.892280] [modem0/ttyACM0/at] serial port closed ModemManager: [1662750117.892472] [modem0/ttyACM3/at] device open count is 1 (close) ModemManager: [1662750117.892880] [modem0] simple connect started... ModemManager: [1662750117.893018] [modem0] profile ID: unspecified ModemManager: [1662750117.893149] [modem0] PIN: unspecified ModemManager: [1662750117.893266] [modem0] operator ID: unspecified ModemManager: [1662750117.893376] [modem0] allowed roaming: yes ModemManager: [1662750117.893487] [modem0] APN: iliad ModemManager: [1662750117.893596] [modem0] APN type: unspecified ModemManager: [1662750117.893707] [modem0] IP family: ipv4v6 ModemManager: [1662750117.893828] [modem0] allowed authentication: unspecified ModemManager: [1662750117.893948] [modem0] user: unspecified ModemManager: [1662750117.894068] [modem0] password: unspecified ModemManager: [1662750117.894184] [modem0] multiplex: unspecified ModemManager: [1662750117.894341] [modem0] simple connect state (4/8): wait to get fully enabled ModemManager: [1662750118.893991] [modem0/ttyACM0/at] opening serial port... ModemManager: [1662750118.896308] [modem0/ttyACM0/at] setting up baudrate: 57600 ModemManager: [1662750118.896488] [modem0/ttyACM0/at] no flow control explicitly requested for device ModemManager: [1662750118.896831] [modem0/ttyACM0/at] device open count is 1 (open) ModemManager: [1662750118.896970] [modem0/ttyACM0/at] device open count is 2 (open) ModemManager: [1662750118.897117] [modem0/ttyACM0/at] device open count is 3 (open) ModemManager: [1662750118.897306] [modem0/bearer0] flashing data port ttyACM0... ModemManager: [1662750118.897691] [modem0/ttyACM0/at] [1662750118.898171] [modem0/ttyACM0/at] device open count is 2 (close) ModemManager: [1662750118.898562] [modem0/ttyACM0/at] running init sequence... ModemManager: [1662750118.899053] [modem0/bearer0] PDP disconnection already sent ModemManager: [1662750118.899235] [modem0/bearer0] disconnected ModemManager: [1662750118.899435] [modem0] state changed (disconnecting -> registered) ModemManager: [1662750118.899820] [modem0] simple connect state (5/8): register ModemManager: [1662750118.900457] [modem0] already registered automatically in network '22250', automatic registration not launched... ModemManager: [1662750118.902789] [modem0/bearer0] connection #1 finished: duration 1s, tx: 0 bytes, rx: 0 bytes ModemManager: [1662750118.903778] [modem0] simple connect state (6/8): bearer ModemManager: [1662750118.905370] [modem0] creating new bearer... ModemManager: [1662750118.905609] [modem0] creating broadband bearer in broadband modem... ModemManager: [1662750118.906852] [modem0/ttyACM0/at] device open count is 3 (open) ModemManager: [1662750118.910141] [modem0] simple connect state (7/8): connect ModemManager: [1662750118.910928] [modem0/bearer1] connecting... ModemManager: [1662750118.911186] [modem0] state changed (registered -> connecting) ModemManager: [1662750118.913608] [modem0/bearer1] launching 3GPP connection attempt ModemManager: [1662750118.913857] [modem0] set profile state (1/8): check format ModemManager: [1662750118.914074] [modem0/ttyACM0/at] device open count is 4 (open) ModemManager: [1662750118.914341] [modem0/ttyACM0/at] device open count is 3 (close) ModemManager: [1662750118.915863] [modem0/ttyACM0/at] --> 'ATE0' ModemManager: [1662750119.795226] [modem0/ttyACM0/at] [1662750120.795152] [modem0/ttyACM0/at] [1662750121.180951] [modem0/ttyACM3/at] +CIEV: signal,2' ModemManager: [1662750121.181451] [modem0] signal quality updated (28) ModemManager: [1662750121.795367] [modem0/ttyACM0/at] [1662750122.510824] [modem0/ttyACM0/at] device open count is 4 (open) ModemManager: [1662750122.511330] [modem0/ttyACM0/at] --> 'ATV1' ModemManager: [1662750122.795777] [modem0/ttyACM0/at] [1662750123.795760] [modem0/ttyACM0/at] [1662750124.796161] [modem0/ttyACM0/at] [1662750125.510748] [modem0] port ttyACM0 timed out 2 consecutive times ModemManager: [1662750125.511081] [modem0/ttyACM0/at] --> 'AT+CMEE=1' ModemManager: [1662750125.796557] [modem0/ttyACM0/at] [1662750126.797186] [modem0/ttyACM0/at] [1662750127.797395] [modem0/ttyACM0/at] [1662750128.511090] [modem0] port ttyACM0 timed out 3 consecutive times ModemManager: [1662750128.511364] [modem0/ttyACM0/at] --> 'ATX4' ModemManager: [1662750128.931528] [modem0/ttyACM0/at] NO CARRIER' ModemManager: [1662750128.931900] [modem0/ttyACM0/at] operation failure: 1 (No carrier) ModemManager: [1662750128.932274] [modem0/ttyACM0/at] --> 'AT&C1' ModemManager: [1662750128.938206] [modem0/ttyACM0/at] +CIEV: signal,2' ModemManager: [1662750128.938646] [modem0] signal quality updated (28) ModemManager: [1662750128.948414] [modem0/ttyACM0/at] OK' ModemManager: [1662750128.949130] [modem0] +CGDCONT format details for PDP type 'ipv4v6': minimum 1, maximum 5 ModemManager: [1662750128.949320] [modem0] context definition format: minimum 1, maximum 5 ModemManager: [1662750128.949464] [modem0] set profile state (2/8): list before ModemManager: [1662750128.949675] [modem0/ttyACM0/at] device open count is 5 (open) ModemManager: [1662750128.949897] [modem0/ttyACM0/at] device open count is 4 (close) ModemManager: [1662750128.950154] [modem0/ttyACM0/at] --> 'AT+CCLK?' ModemManager: [1662750128.975347] [modem0/ttyACM0/at] ' ModemManager: [1662750128.975784] [modem0/ttyACM0/at] OK' ModemManager: [1662750128.976535] [modem0/ttyACM0/at] device open count is 3 (close) ModemManager: [1662750128.977418] [modem0/ttyACM0/at] --> 'AT+CGDCONT?' ModemManager: [1662750129.003874] [modem0/ttyACM0/at] +CGDCONT: 1,"IP","web.omnitel.it","",0,0+CGDCONT: 2,"IP","iliad","",0,0+CGDCONT: 3,"IPV4V6","iliad","",0,0OK' ModemManager: [1662750129.004954] [modem0] set profile state (3/8): select profile (best) ModemManager: [1662750129.005130] [modem0] found exact context at profile 3 ModemManager: [1662750129.005258] [modem0] reusing profile '3' ModemManager: [1662750129.005408] [modem0] set profile state (4/8): check activated profile ModemManager: [1662750129.005614] [modem0] checking if profile with id '3' is already activated...= ModemManager: [1662750129.005813] [modem0/ttyACM0/at] device open count is 4 (open) ModemManager: [1662750129.006106] [modem0/ttyACM0/at] device open count is 3 (close) ModemManager: [1662750129.006645] [modem0/ttyACM0/at] --> 'AT+CGACT?' ModemManager: [1662750129.032246] [modem0/ttyACM0/at] ' ModemManager: [1662750129.032967] [modem0/ttyACM0/at] +CGACT: 2,0+CGACT: 3,0OK' ModemManager: [1662750129.034446] [modem0] profile '3' is not activated ModemManager: [1662750129.034826] [modem0] set profile state (6/8): profile already stored ModemManager: [1662750129.035450] [modem0] set profile state (8/8): all done ModemManager: [1662750129.036522] [modem0/ttyACM0/at] device open count is 4 (open)
Cristian (1 rep)
Oct 12, 2023, 12:20 PM • Last activity: Oct 18, 2023, 07:08 AM
0 votes
0 answers
124 views
Modem manager problem on Slackware 15.0
On syslog of my Slackware 15.0 I see those annoying messages Oct 1 06:41:45 nas NetworkManager[1867]: [1696135305.0097] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied Oct 1...
On syslog of my Slackware 15.0 I see those annoying messages Oct 1 06:41:45 nas NetworkManager: [1696135305.0097] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied Oct 1 06:43:45 nas NetworkManager: [1696135425.0122] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied Oct 1 06:45:45 nas NetworkManager: [1696135545.0116] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied Oct 1 06:47:45 nas NetworkManager: [1696135665.0108] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied Oct 1 06:49:45 nas NetworkManager: [1696135785.0037] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied Oct 1 06:51:45 nas NetworkManager: [1696135905.0029] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied Oct 1 06:53:45 nas NetworkManager: [1696136025.0019] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied Oct 1 06:55:45 nas NetworkManager: [1696136145.0013] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied What to check? Thanks permissions are those: ls -lhd /usr/sbin/ModemManager -rwxr-xr-x 1 root root 1,8M nov 26 2021 /usr/sbin/ModemManager* Those are permission of serial device, I don't understand who change ttyS02 permissions ls -ld /dev/ttyS* crw-rw---- 1 root dialout 4, 64 ott 8 04:07 /dev/ttyS0 crw-rw---- 1 root dialout 4, 65 ott 8 04:07 /dev/ttyS1 crw--w---- 1 root tty 4, 66 ott 8 04:10 /dev/ttyS2 crw-rw---- 1 root dialout 4, 67 ott 8 04:07 /dev/ttyS3 grep -irl ttyS2 /etc /etc/default/grub~ /etc/default/grub /etc/radiusclient/port-id-map /etc/radiusclient/radiusclient.conf /etc/securetty /etc/serial.conf /etc/inittab~ /etc/inittab I have tried to set permissions as default (root:dialout and 660) to ttyS2 but... Oct 9 21:07:23 nas NetworkManager: [1696878443.0583] modem-manager: error poking ModemManager: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program org.freedesktop.ModemManager1: Permission denied
elbarna (13690 rep)
Oct 8, 2023, 02:16 AM • Last activity: Oct 9, 2023, 07:05 PM
Showing page 1 of 6 total questions