[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2022-02-01 Thread Launchpad Bug Tracker
This bug was fixed in the package network-manager - 1.22.10-1ubuntu2.3

---
network-manager (1.22.10-1ubuntu2.3) focal; urgency=medium

  * wwan: Set MTU based on what ModemManager exposes
(LP: #1955797)

 -- Jerry Lee   Mon, 27 Nov 2021 09:37:06 +0800

** Changed in: network-manager (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2022-01-27 Thread Jerry Lee
** Description changed:

  [Impact]
  
  Some 4G/5G mobile networks(for ex., AT) requires a specific MTU
  setting, this setting will be exposed by the ModemManager for network-
  manger to configure the MTU of the modem network interface .
  
- The current modem-manager v1.22.10-1ubuntu2.2  in focal can’t pass
+ The current network-manager v1.22.10-1ubuntu2.2  in focal can’t pass
  AT’s modem system certification.
  
  [Fix]
  
  This upstream patch can resolve this bug:
  
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/499/diffs?commit_id=212758ea05a4c13d65f36b55c90aee7919642631
  
  [Test Plan]
  
  1. Use a Lenovo platform SE30 including 4G Quectel EM160 modem and an
  AT SIM card in US
  
  2. Enable 4G modem and connect to AT apn
  
  $ sudo mmcli -i 0 --pin=
  $ sudo mmcli --modem 0 --enable
  $ sudo mmcli -m 0 --simple-connect="pin=,apn=emome"
  $ sudo nmcli radio wwan on
  $ sudo nmcli connection add type gsm ifname wwan0p2MBIM con-name mymodem apn 
emome
  $ sudo nmcli connection up id mymodem
  
  3. Check if the MTU got from the following results are the same:
  
  $ sudo mmcli --bearer 5 | mtu
  $ ifconfig mhi_mbim0 | grep mtu
  
  * Expected result:
  Both MTUs are the same value 1430
  * Actual tested result:
  Different values (one is 1430 , another is 1500)
  
  [Where problems could occur]
  
  Very low.
  This is a simple fix: network-manager gets the MTU from the ModemManager then 
sets the MTU of the modem interface.
  
  [Other info]
  
  1. Network-manager v1.30.0-1ubuntu3 in hirsute has included the fix.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2022-01-21 Thread Jerry Lee
** Attachment added: "Verification report"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1955797/+attachment/5556131/+files/SRU%20for%20network-manager%28verify%20report%29%20.pdf

** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2022-01-21 Thread Jerry Lee
Test passed with Lenovo ThinkEdge SE30(11ND) on Focal:
   * The version of the packages tested:
 network-manager: 1.22.10-1ubuntu2. 3

The detail testing procedure and result is provided as the attached file
: "SRU for network-manager(verify report).pdf"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2022-01-18 Thread Brian Murray
Hello Jerry, or anyone else affected,

Accepted network-manager into focal-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/network-
manager/1.22.10-1ubuntu2.3 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: network-manager (Ubuntu Focal)
   Status: New => Fix Committed

** Tags added: verification-needed verification-needed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2022-01-13 Thread Łukasz Zemczak
Sponsored the change, it should now be in the focal Unapproved queue,
waiting from someone from the SRU team to review and accept. I also
pushed the change to the git repository.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2022-01-10 Thread Jerry Lee
Hi Lukasz,

Carrier network providers use bearer information to carry the MTU
setting, this can be received by the modem then exposed to its host
system either via NetworkManager's ipv4_config or ipv6_config.

I think ipv4_config is the must supported setting in carrier's network,
that may be why this upstream patch has not considered ipv6_config. (MTU
should be the same(per device) for both ipv4 and ipv6)

Our customer has used this patch in the field testing and this patch worked as 
expected.
There should be no concern to get MTU only via ipv4_config.

Thanks for highlight this question.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2022-01-10 Thread Łukasz Zemczak
Hey Jerry! This looks good and I can certainly sponsor it for you.

One question before I do that though. Looking at the original source commit:
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/499?commit_id=212758ea05a4c13d65f36b55c90aee7919642631
It is mentioned there by some user that MM can also expose this via MTU from 
the IPv6 bearer, not only IPv4. Not sure if this is an use case we are 
concerned about, and if there was a follow up patch for this use case.
Can you take a look and give me a sign if we should still continue as-is? 
Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2021-12-28 Thread Mathew Hodson
** Also affects: network-manager (Ubuntu Focal)
   Importance: Undecided
   Status: New

** Changed in: network-manager (Ubuntu)
   Importance: Undecided => Medium

** Changed in: network-manager (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: network-manager (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2021-12-28 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: network-manager (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2021-12-27 Thread Ubuntu Foundations Team Bug Bot
The attachment ".debdiff for focal" seems to be a debdiff.  The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff.  If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe
the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1955797] Re: [SRU] network-manager can’t modify MTU automatically based on what ModemManager exposes for WWAN modems.

2021-12-27 Thread Jerry Lee
The .debdiff file “network-manager_1-1.22.10-1ubuntu2.3-focal.debdiff”
is attached for focal(20.04).

** Description changed:

  [Impact]
  
  Some 4G/5G mobile networks(for ex., AT) requires a specific MTU
  setting, this setting will be exposed by the ModemManager for network-
  manger to configure the MTU of the modem network interface .
  
  The current modem-manager v1.22.10-1ubuntu2.2  in focal can’t pass
  AT’s modem system certification.
  
  [Fix]
  
  This upstream patch can resolve this bug:
  
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/499/diffs?commit_id=212758ea05a4c13d65f36b55c90aee7919642631
  
  [Test Plan]
  
  1. Use a Lenovo platform SE30 including 4G Quectel EM160 modem and an
  AT SIM card in US
  
  2. Enable 4G modem and connect to AT apn
  
  $ sudo mmcli -i 0 --pin=
  $ sudo mmcli --modem 0 --enable
  $ sudo mmcli -m 0 --simple-connect="pin=,apn=emome"
  $ sudo nmcli radio wwan on
  $ sudo nmcli connection add type gsm ifname wwan0p2MBIM con-name mymodem apn 
emome
  $ sudo nmcli connection up id mymodem
  
  3. Check if the MTU got from the following results are the same:
  
  $ sudo mmcli --bearer 5 | mtu
  $ ifconfig mhi_mbim0 | grep mtu
  
- * Expected result: 
- Both MTUs are the same value 1430
- * Actual tested result: 
- Different values (one is 1430 , another is 1500)
+ * Expected result:
+ Both MTUs are the same value 1430
+ * Actual tested result:
+ Different values (one is 1430 , another is 1500)
  
  [Where problems could occur]
  
  Very low.
  This is a simple fix: network-manager gets the MTU from the ModemManager then 
sets the MTU of the modem interface.
  
  [Other info]
  
- $ lsb_release -rd
- Description:  Ubuntu 20.04.3 LTS
- Release:  20.04
+ 1. Network-manager v1.30.0-1ubuntu3 in hirsute has included the fix.

** Patch added: ".debdiff for focal"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1955797/+attachment/5549698/+files/network-manager_1-1.22.10-1ubuntu2.3-focal.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1955797

Title:
  [SRU] network-manager can’t modify MTU automatically based on what
  ModemManager exposes for WWAN modems.

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs