ifmetric don't understand ppp interface for PPPoE

Bug #1580559 reported by atimonin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifmetric (Ubuntu)
New
Undecided
Unassigned

Bug Description

ifmetric return exit status 1 and "Interface 'pppoe-provider' not existent" message
if I configure PPPoE via /etc/network/interfaces like this:

auto eth2
# no ip address
iface eth2 inet manual
#
auto pppoe-provider
iface pppoe-provider inet ppp
 metric 50
 pre-up /sbin/ip link set dev eth2 up
 provider pppoe-provider

Revision history for this message
atimonin (atimonin) wrote :

This happens if I try to use

ifup pppoe-provider

instead of

pon pppoe-provider

so the workaround is simple (just don't use ifup for such interface), but error message is confusing...

My be should check $METHOD (static|dhcp vs ppp etc) in /etc/network/if-up.d/ifmetric ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.