ifmetric don't understand ppp interface for PPPoE

Bug #1580559 reported by atimonin on 2016-05-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifmetric (Ubuntu)
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

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  Edit
Everyone can see this information.

Other bug subscribers