Changing interface names in pppd, where is the ifname option?

Derek Broughton derek at pointerstop.ca
Wed Mar 25 18:48:42 UTC 2009


Josef Wolf wrote:

> On Tue, Mar 24, 2009 at 07:19:59PM -0400, H.S. wrote:
> [ ... ]
>> er .. this is weird. It appears to have been in Gutsy (in Universe) and
>> not in more recent Ubuntu versions. It is in Debian though. So if you
>> find no other option, you could always add a Debian repo and set up
>> /etc/apt/preferences such that only that package is pulled from Debian
>> repos and none other.
> 
> OK.
> 
> But AFAICS, ifrename operates only on hardware-related information.
> There is no way to rename th interface based on the provider.

Sure there is.  udev (which is what should be used, and why we don't _have_
ifrename any more) can rename an interface based on anything you want.  If
it's too complicated for udev's own parsing, you can have udev invoke a
script.
-- 
derek





More information about the ubuntu-users mailing list