Bug 1331692 - ppp0 profiles created while reconnecting mobile broadband
Summary: ppp0 profiles created while reconnecting mobile broadband
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Lubomir Rintel
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-29 09:40 UTC by Vladimir Benes
Modified: 2018-06-19 13:56 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-19 13:56:49 UTC
Target Upstream Version:


Attachments (Terms of Use)
debug log.. test was executed 3 times and just 3rd time profile was created (1.47 MB, text/plain)
2016-04-29 09:41 UTC, Vladimir Benes
no flags Details

Description Vladimir Benes 2016-04-29 09:40:20 UTC
Description of problem:
not sure what exactly causing this but I am seeing generic ppp0 profiles created here and there I've executed 3 times this test and one ppp0 was created
     * Add a new connection of type "gsm" and options "ifname \* con-name gsm apn internet"
     * Bring "up" connection "gsm"
    When "gsm" is visible with command "nmcli con show -a" in "10" seconds
     * Bring "down" connection "gsm"
     And Unable to ping "redhat.com"
    When "gsm" is not visible with command "nmcli con show -a" in "10" seconds
     * Bring "up" connection "gsm"
    Then "gsm" is visible with command "nmcli con show -a" in "10" seconds
     And Ping "redhat.com"

debug log attached 

Version-Release number of selected component (if applicable):
NetworkManager-1.0.6-27.el7.x86_64
ModemManager-1.1.0-8.git20130913.el7.x86_64
usb_modeswitch-1.2.7-6.el7.x86_64
kernel-3.10.0-327.el7.x86_64

debug log attached it has > 8000 lines as the test was executed 3 times. Consider just the last test

Comment 1 Vladimir Benes 2016-04-29 09:41:16 UTC
Created attachment 1152201 [details]
debug log.. test was executed 3 times and just 3rd time profile was created

Comment 2 Vladimir Benes 2016-04-29 11:15:00 UTC
[root@wlan-intel-6150 ~]# nmcli d
DEVICE   TYPE      STATE                                  CONNECTION 
ttyUSB2  gsm       connecting (getting IP configuration)  gsm        
eth0     ethernet  disconnected                           --         
eth1     ethernet  disconnected                           --         
eth10    ethernet  disconnected                           --         
eth2     ethernet  disconnected                           --         
eth3     ethernet  disconnected                           --         
eth4     ethernet  disconnected                           --         
eth5     ethernet  disconnected                           --         
eth6     ethernet  disconnected                           --         
eth7     ethernet  disconnected                           --         
eth8     ethernet  disconnected                           --         
eth9     ethernet  disconnected                           --         
lo       loopback  unmanaged                              --         
ppp0     unknown   unmanaged                              --      

for a little while I can see ppp0 device too, this may be a reason ppp0 connection is assumed

Comment 3 Beniamino Galvani 2018-03-13 17:04:24 UTC
Is this still a problem on recent versions of NM?

Comment 4 Vladimir Benes 2018-06-18 11:51:23 UTC
Pavlin,
could you please retest and close if it's not visible with current version?

Thank you a lot.

Comment 5 Pavlin Georgiev 2018-06-19 13:56:49 UTC
Bug 1331692

ppp0 profiles

What is the problem? 
generic ppp0 profiles created and shown in the output of command:
"nmcli dev"

What is the question? 
Does the newest version of ModemManager shows this? 

Generc PPP profiles are created but should not be.


TEST SETUP
Distro: RHEL 7.6
Component version: ModemManager-1.6.10-1.el7

TEST PROCEDURE 1
1. Plug modem Siera Wireless MC7304 into a USB port on a physical host.
2. Check available USB devices until the modem appears.
3. nmcli dev
DEVICE      TYPE      STATE         CONNECTION
eth1        ethernet  connected     eth1
virbr0      bridge    connected     virbr0
cdc-wdm0    gsm       disconnected  --
eth0        ethernet  unavailable   --
lo          loopback  unmanaged     --
virbr0-nic  tun       unmanaged     --


TEST PROCEDURE 2
1. Plug modem Huawei K3765 into a USB port on a physical host.
2. Check available USB devices until the modem appears.
3. nmcli dev
DEVICE      TYPE      STATE         CONNECTION
eth1        ethernet  connected     eth1
virbr0      bridge    connected     virbr0
ttyUSB2     gsm       disconnected  --
eth0        ethernet  unavailable   --
lo          loopback  unmanaged     --
virbr0-nic  tun       unmanaged     --


TEST PROCEDURE 3
1. Plug modem Siera Wireless EM7355 into a USB port on a physical host.
2. Check available USB devices until the modem appears.
3. nmcli dev
DEVICE      TYPE      STATE         CONNECTION
eth1        ethernet  connected     eth1
virbr0      bridge    connected     virbr0
cdc-wdm0    gsm       disconnected  --
eth0        ethernet  unavailable   --
lo          loopback  unmanaged     --
virbr0-nic  tun       unmanaged     --


TEST SETUP
Distro: RHEL 7.6
Hostname: gsm-r6s15-01.wlan.rhts.eng.bos.redhat.com
Component version: ModemManager-1.6.10-1.el7

TEST PROCEDURE 4
1. Install RHEL-7.6-20180618.n.0
2. Use provided modem "Olivetti HSPA Data Card".
3. nmcli dev
DEVICE    TYPE      STATE         CONNECTION  
eno1      ethernet  connected     System eno1 
cdc-wdm0  gsm       disconnected  --          
lo        loopback  unmanaged     --


RESULTS
Upgrading component: ModemManager
from: 1.1.0-8.git20130913.el7
  to: 1.6.10-1.el7
has fixed the bug.


Note You need to log in before you can comment on or make changes to this bug.