Привет ЛОР!
Юзаю PPPoE на сервере.(ненавижу PPPoE и провайдеров предоставляющих инет таким способом)
ppp контролит падение канала, в случае падения - перезванивает.
Внимание вопрос!:
Как можно заставить\отследить\пофиксить такую траблу, как поднятие интерфейса с другим именем при перезвоне?
был ppp0, после падения-перезвона становится ppp1 ppp2 итп...
Собственно лог:
Oct 21 07:04:00 fm pppd[1802]: LCP terminated by peer
Oct 21 07:04:00 fm pppd[1802]: Connect time 1440.3 minutes.
Oct 21 07:04:00 fm pppd[1802]: Sent 2952414517 bytes, received 2939602105 bytes.
Oct 21 07:04:01 fm pppd[1802]: Terminating on signal 15
Oct 21 07:04:01 fm pppd[20434]: Plugin rp-pppoe.so loaded.
Oct 21 07:04:01 fm pppd[20434]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5
Oct 21 07:04:01 fm pppd[20436]: pppd 2.4.5 started by root, uid 0
Oct 21 07:04:01 fm pppd[20436]: PPP session is 33111
Oct 21 07:04:01 fm pppd[20436]: Connected to 00:1e:14:1b:48:1a via interface eth0
Oct 21 07:04:01 fm pppd[20436]: Couldn't allocate PPP unit 0 as it is already in use
Oct 21 07:04:01 fm pppd[20436]: Using interface ppp1
Oct 21 07:04:01 fm pppd[20436]: Connect: ppp1 <--> eth0
Oct 21 07:04:01 fm NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
Oct 21 07:04:01 fm NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp1, iface: ppp1): no ifupdown configuration found.
Oct 21 07:04:01 fm pppd[20436]: PAP authentication succeeded
Oct 21 07:04:01 fm pppd[20436]: peer from calling number 00:1E:14:1B:48:1A authorized
Oct 21 07:04:01 fm pppd[20436]: Cannot determine ethernet address for proxy ARP
Oct 21 07:04:01 fm pppd[20436]: local IP address 186.12.61.190
Oct 21 07:04:01 fm pppd[20436]: remote IP address 10.10.1.23
Oct 21 07:04:03 fm pppd[1802]: Connection terminated.
Oct 21 07:04:03 fm NetworkManager: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Oct 21 07:04:03 fm pppd[1802]: Modem hangup
Oct 21 07:04:03 fm pppd[1802]: Exit.
Конфиг соединения:
# Minimalistic default options file for DSL/PPPoE connections
noipdefault
hide-password
noauth
persist
plugin rp-pppoe.so eth0
user "*****"
unit 0
Вижу, что:
Oct 21 07:04:01 fm pppd[20436]: Couldn't allocate PPP unit 0 as it is already in use
Oct 21 07:04:01 fm pppd[20436]: Using interface ppp1