ifmetric don't understand ppp interface for PPPoE
Bug #1580559 reported by
atimonin
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/
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
To post a comment you must log in.
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 ?