Networking Forums

Networking Forums > Computer Networking > Linux Networking > interface rename ?

Reply
Thread Tools Display Modes

interface rename ?

 
 
Komuch
Guest
Posts: n/a

 
      10-28-2006, 08:06 PM
Hi,

How can I rename interface in gentoo ?

I have many ppp interfaces (pppoe server) and I want to rename them
(e.g. ppp0 -> ppp0-hans or ppp0-10.1.1.10)

Thanks for any help.

Regards,
 
Reply With Quote
 
 
 
 
Clifford Kite
Guest
Posts: n/a

 
      10-28-2006, 09:12 PM
Komuch <komuch@--usun-to--komuch.pl> wrote:
> Hi,


> How can I rename interface in gentoo ?


> I have many ppp interfaces (pppoe server) and I want to rename them
> (e.g. ppp0 -> ppp0-hans or ppp0-10.1.1.10)


A while back I was able to use ifrename from the wireless_tools.27
package to do this. That is not a gentoo package per se, and may
or may not be included in gentoo.

Example:
~# <start pppd as usual>
~# ifconfig ppp0 down
~# ifrename -i ppp0 -n dsl0
dsl0
~# ifconfig dsl0 up
~# route add default dsl0

A new default route is necessary since the old default routing via ppp0
went away when the interface was taken down.

> Thanks for any help.


> Regards,


--
Clifford Kite
 
Reply With Quote
 
Paul Colquhoun
Guest
Posts: n/a

 
      10-29-2006, 06:29 AM
On Sat, 28 Oct 2006 22:06:03 +0200, Komuch <komuch@--USUN-TO--komuch.pl> wrote:
| Hi,
|
| How can I rename interface in gentoo ?
|
| I have many ppp interfaces (pppoe server) and I want to rename them
| (e.g. ppp0 -> ppp0-hans or ppp0-10.1.1.10)
|
| Thanks for any help.


I use UDEV to rename my ethernet interfaces, it might work for PPP
stuff, I don't know. This was to work around a "feature" where different
kernel versions found the physical interfaces on my motherboard in a
different order, so eth0 moved around. UDEV let me tie the name to the
MAC address and keep things stable.

The procedure is at
http://gentoo-wiki.com/HOWTO_Customi...work_interface


--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Asking for technical help in newsgroups? Read this first:
http://catb.org/~esr/faqs/smart-questions.html#intro
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain rename? Tom Windows Networking 6 08-19-2007 10:13 PM
Logon/rename via VPN Brian Windows Networking 10 06-18-2007 08:27 PM
Rename a Site Paul Windows Networking 3 10-23-2006 11:24 PM
Rename AD domain name Daniel Windows Networking 17 09-11-2006 07:30 PM
Rename Bob Glica Windows Networking 1 06-22-2004 10:05 AM



1 2 3 4 5 6 7 8 9 10 11