Linux PPP protocol development
 help / color / mirror / Atom feed
From: James Cameron <james.cameron@hp.com>
To: linux-ppp@vger.kernel.org
Subject: Re: Interface Name
Date: Tue, 27 Apr 2004 12:29:54 +0000	[thread overview]
Message-ID: <20040427122954.GA32211@hp.com> (raw)
In-Reply-To: <408E24E6.6090900@guox.net>

On Tue, Apr 27, 2004 at 07:16:22PM +1000, Soragan Guo wrote:
> how to modify the interface name become pptp0 or adsl0 or any other
> name according to type of connection?

The name is set by the PPP kernel module.  With suitable expertise you
could modify the kernel module.

There is a program called ifrename that will let you change the
interface name for a network interface.  This is also released as as
package by the same name in the Debian project.  

	http://packages.debian.org/ifrename

I've not investigated it for use with PPP.  The man page says it has to
run before the interface is brought up.  My experience with PPP so far
is that the interface is created and brought up immediately.

The author of ifrename is Jean Tourrilhes <jt@hpl.hp.com>

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

  reply	other threads:[~2004-04-27 12:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-27  9:16 Interface Name Soragan Guo
2004-04-27 12:29 ` James Cameron [this message]
2004-04-27 22:58 ` Bill Unruh
2004-04-28  2:15 ` soragan
2004-04-28  2:28 ` James Cameron
2004-04-28  2:30 ` Bill Unruh
2004-04-28 10:51 ` James Carlson
2004-04-28 12:57 ` Soragan Guo
2004-04-28 15:56 ` Bill Unruh
2004-04-29  0:01 ` Soragan Guo
2004-04-29  2:47 ` Bill Unruh

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=20040427122954.GA32211@hp.com \
    --to=james.cameron@hp.com \
    --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