From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: tun interface name conflicts with ppp driver
Date: Thu, 06 Dec 2012 12:50:25 +0100 [thread overview]
Message-ID: <1354794625.1815.25.camel@aeonflux> (raw)
In-Reply-To: <CABvLYuBUFN+YtPd9=vd4akWfEYZR84xp6TaFrBYY=EUvd7istg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]
Hi Cedric,
> when a context is active, the interface name is typically ppp0. If you try
> to run pppd for some other device/interface, the kernel ppp driver prints
> an error because it can't register ppp0. It looks like it's assumed that
> ppp* interface names are reserved for the ppp_driver.
> Can the tun interface name be changed to eg. ofono0?
actually we are using ppp%d syntax to assign the network interfaces. So
the kernel does the numbering. This is a bug in pppd and not ours.
Looking at the pppd code, it seems to hardcodes ppp0. So please complain
to them for assuming that a certain device name is owned by them.
Regards
Marcel
next prev parent reply other threads:[~2012-12-06 11:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-06 11:13 tun interface name conflicts with ppp driver Cedric Jehasse
2012-12-06 11:50 ` Marcel Holtmann [this message]
2012-12-06 14:58 ` Cedric Jehasse
2012-12-06 15:59 ` Marcel Holtmann
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=1354794625.1815.25.camel@aeonflux \
--to=marcel@holtmann.org \
--cc=ofono@ofono.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