[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

pppoe redial when disconnected



Hi!

I've set up a pppoe connection to my ISP with pppoeconf(8), and now I 
can connect to it using `pon <provider`, and disconnect using `poff 
[provider]`. I'm wondering, is it possible to configure this connection 
to redial if it gets disconnected. See, if I plug out the cord then it 
never gets connected again, I have to manually connect using `pon 
<provider>`. Is there a daemon or something which listens when the ppp0 
device goes down, and redial if needed?

My config file:
# cat /etc/ppp/peers/digi
# Minimalistic default options file for DSL/PPPoE connections

noipdefault
defaultroute
replacedefaultroute
hide-password
#lcp-echo-interval 30
#lcp-echo-failure 4
noauth
persist
#mtu 1492
#persist
#maxfail 0
#holdoff 20
plugin rp-pppoe.so eth1
user "myuser"
usepeerdns
------------###------------

Thanks!

Daniel

-- 
LEVAI Daniel
PGP key ID = 0x4AC0A4B1
Key fingerprint = D037 03B9 C12D D338 4412  2D83 1373 917A 4AC0 A4B1


Reply to: