I also wrote a perl script that has the added bonus that the script itself will not return unless pptp exists. This allows putting the script into inittab with "respawn", causing almost all disconnects to reconnect on their own. Going over this script now, however, reveals that I have not did my own workaround regarding resolving and then adding route. This means that the only reason this script works at all is BECAUSE it is "respawned" until it works. The script as it is before this fix is attached to this email. Bear in mind that it was meant for Debian, so you might need to change the place the DHCP log file is searched for (line 8) for it to work on Fedora.
With the actual script attached, this time around.
-- Shachar Shemesh Open Source integration & consulting Home page & resume - http://www.shemesh.biz/
cablestart.pl
Description: Perl program