LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-28-2017, 08:12 AM   #1
adrhc
Member
 
Registered: Dec 2006
Location: Bucharest
Distribution: Ubuntu 16.04 LTS
Posts: 103

Rep: Reputation: 13
NetworkManager restart switch between ppp0 and ppp1


Hi, I'm on Ubuntu 16.04.2 LTS.
I have a pppoe connection which creates a ppp0 interface.

When restarting NetworkManager (network-manager.service) the previous ppp0 is replaced with ppp1. When again restart NetworkManager then ppp1 is replaced with ppp0 and so on.

q1: why this happens? I even stopped then removed ppp0 using ifconfig and still ppp1 is created

q2: what should I do in order for somehow (with additional scripts/commands) to stay with ppp0 after restarting NetworkManager (restart with systemctl restart or with stop/start)?

Environment:
Linux adr-desktop 4.4.0-75-generic #96-Ubuntu SMP Thu Apr 20 09:56:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Last edited by adrhc; 04-28-2017 at 08:13 AM.
 
Old 04-29-2017, 02:31 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,749

Rep: Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137Reputation: 1137
Quote:
Hi, I'm on Ubuntu 16.04.2 LTS.
I have a pppoe connection which creates a ppp0 interface.
Just to confirm explicitly that the pppoe connection is activated using NetworkManager (as opposed to manually invoking from a terminal command)?

Quote:
When restarting NetworkManager (network-manager.service) the previous ppp0 is replaced with ppp1. When again restart NetworkManager then ppp1 is replaced with ppp0 and so on.

q1: why this happens? I even stopped then removed ppp0 using ifconfig and still ppp1 is created
I guess you could examine the output from NetworkManager. Monitor via a terminal then restart NM and examine/capture output...
Code:
sudo journalctl -fu NetworkManager
or perhaps output related to pppX interfaces...
Code:
sudo journalctl -f |grep ppp
Quote:
q2: what should I do in order for somehow (with additional scripts/commands) to stay with ppp0 after restarting NetworkManager (restart with systemctl restart or with stop/start)?
Well, maybe the PPPoE connection needs to be stopped first before restarting NetworkManager? (You've been a bit vague with the conditions under which this happens that requires you to restart NetworkManager in first place.)
 
  


Reply

Tags
pppoe, restart, ubuntu 16.04


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ppp0 and ppp1 keep switching around centos andycol Linux - Server 2 11-23-2009 03:12 AM
ppp multilink doesn't combine ppp0 and ppp1 lgs Linux - Networking 0 07-08-2007 01:48 PM
Can't route traffic between ppp0 and ppp1 Jongi Debian 1 04-15-2007 06:35 AM
pppoe dialed twice - I got ppp0 and ppp1 carboncopy Linux - Networking 1 10-23-2005 02:15 AM
routing ppp0 & ppp1 hariiyer Linux - Networking 1 09-09-2005 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration