linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Richardson <mcr@sandelman.ca>
To: linux-ppp@vger.kernel.org
Subject: Re: Namespaces and pppd
Date: Mon, 30 Apr 2018 15:15:12 +0000	[thread overview]
Message-ID: <30936.1525101312@obiwan.sandelman.ca> (raw)
In-Reply-To: <CABS5c+EH+tDuaxjJpQ5_66uW1KrdsScFX8e_06GKmc84_3=A+w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 941 bytes --]


Goran <sendmailtogoran@gmail.com> wrote:
    > I've tried something like this

    > ip netns add physical
    > ip link set enp5s0f0 netns physical
    > ip netns exec physical pppd call my-isp

    > pppd starts, I can see it in the process-list, but no ppp0 device is created.

    > Is there a solution?

I assume that you read the log and you can see it connect successfully?
I was just thinking if one could test this by creating a ppp device manually
with ip link add, but I thnk we can only create one with an ioctl().

And you looked within that netns for the ppp interface??
(I'd expect it to show up inside)

I also want to do what you just described.

-- 
]               Never tell me the odds!                 | ipv6 mesh networks [ 
]   Michael Richardson, Sandelman Software Works        | network architect  [ 
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [ 
	



[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 464 bytes --]

      reply	other threads:[~2018-04-30 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-30 12:08 Namespaces and pppd Goran
2018-04-30 15:15 ` Michael Richardson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=30936.1525101312@obiwan.sandelman.ca \
    --to=mcr@sandelman.ca \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).