Re: interface rename ?
- From: Clifford Kite <kite@xxxxxxxxxxxxxxxx>
- Date: Sat, 28 Oct 2006 16:12:29 -0500
Komuch <komuch@xxxxxxxxxxxxxxxxxxxx> 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
.
- References:
- interface rename ?
- From: Komuch
- interface rename ?
- Prev by Date: interface rename ?
- Next by Date: http server protocol
- Previous by thread: interface rename ?
- Next by thread: Re: interface rename ?
- Index(es):