hm, it seems to work like this for me on E3372h:
https://mail.gnome.org/archives/networkmanager-list/2021-March/msg00017.html

"NetworkManager is not thinking it will be a PPP
connection, NM cannot know in advance what kind of connection it will
be. Well it could, but it doesn't really do any guess. Instead NM
waits for the bearer object exposed by MM to know which kind of
connection it will be."

so I simply setup the traditional way nmcli add type gsm <...> then when
I do nmcli c up gsm, suprise, it configures the wwan0 interface, yey!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1592514

Title:
  3G usb Card - mmcli and network manager broken compatibility

Status in network-manager package in Ubuntu:
  Confirmed

Bug description:
  This bug is specific to "ipv4 only" 3g providers

  Here is syslog

  Jun 14 19:26:12 Latitude-E5440 NetworkManager[758]: <info>  [1465928772.9535] 
device (cdc-wdm1): Activation: starting connection 'XXXx XXXXX / XXX XXX XXX' 
(1554021e-ff2e-44f9-8e2d-c16cae73bfe0)
  Jun 14 19:26:12 Latitude-E5440 NetworkManager[758]: <info>  [1465928772.9538] 
audit: op="connection-activate" uuid="1554021e-ff2e-44f9-8e2d-c16cae73bfe0" 
name="XXXx XXXXX / XXX XXX XXX" pid=1663 uid=1000 result="success"
  Jun 14 19:26:12 Latitude-E5440 NetworkManager[758]: <info>  [1465928772.9542] 
device (cdc-wdm1): state change: disconnected -> prepare (reason 'none') [30 40 
0]
  Jun 14 19:26:12 Latitude-E5440 ModemManager[675]: <info>  Simple connect 
started...
  Jun 14 19:26:12 Latitude-E5440 ModemManager[675]: <info>  Simple connect 
state (4/8): Wait to get fully enabled
  Jun 14 19:26:12 Latitude-E5440 ModemManager[675]: <info>  Simple connect 
state (5/8): Register
  Jun 14 19:26:12 Latitude-E5440 ModemManager[675]: <info>  Simple connect 
state (6/8): Bearer
  Jun 14 19:26:12 Latitude-E5440 ModemManager[675]: <info>  Simple connect 
state (7/8): Connect
  Jun 14 19:26:12 Latitude-E5440 ModemManager[675]: <info>  Modem 
/org/freedesktop/ModemManager1/Modem/2: state changed (registered -> connecting)
  Jun 14 19:26:15 Latitude-E5440 ModemManager[675]: <info>  error: couldn't get 
current settings: Cannot send message: QMI service 'wds' version '1.2' 
required, got version '1.1'
  Jun 14 19:26:15 Latitude-E5440 ModemManager[675]: <info>  Modem 
/org/freedesktop/ModemManager1/Modem/2: state changed (connecting -> connected)
  Jun 14 19:26:15 Latitude-E5440 ModemManager[675]: <info>  Simple connect 
state (8/8): All done
  Jun 14 19:26:15 Latitude-E5440 NetworkManager[758]: <warn>  [1465928775.2418] 
(cdc-wdm1): failed to connect modem: invalid bearer IP configuration
  Jun 14 19:26:15 Latitude-E5440 NetworkManager[758]: <info>  [1465928775.2419] 
device (cdc-wdm1): state change: prepare -> failed (reason 'config-failed') [40 
120 4]
  Jun 14 19:26:15 Latitude-E5440 NetworkManager[758]: <info>  [1465928775.2421] 
policy: disabling autoconnect for connection 'Tunisie Télécom / TUNTEL WEB 
DATA'.
  Jun 14 19:26:15 Latitude-E5440 NetworkManager[758]: <warn>  [1465928775.2423] 
device (cdc-wdm1): Activation: failed for connection 'Tunisie Télécom / TUNTEL 
WEB DATA'
  Jun 14 19:26:15 Latitude-E5440 NetworkManager[758]: <info>  [1465928775.2428] 
device (cdc-wdm1): state change: failed -> disconnected (reason 'none') [120 30 
0]
  Jun 14 19:26:15 Latitude-E5440 ModemManager[675]: <info>  Modem 
/org/freedesktop/ModemManager1/Modem/2: state changed (connected -> 
disconnecting)
  Jun 14 19:26:15 Latitude-E5440 ModemManager[675]: <info>  Modem 
/org/freedesktop/ModemManager1/Modem/2: state changed (disconnecting -> 
registered)

  i managed to make it work using this shell script

  #!/bin/bash
  mmcli -m 0 -b $1 --connect
  ifconfig wwp0s29u1u8u3i3 up
  mmcli -m 0 -b $1
  dhclient -d wwp0s29u1u8u3i3 &
  echo "nameserver 8.8.8.8" >> /etc/resolv.conf

  i also disabled ipv6 with gui

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1592514/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to