Diald is a mechanism that will do auto-dialing and auto-PPP negotiations for Linux. Though the newer PPPd code can do this too, Diald allows for much greater flexibility, determine what traffic does/doesn't bring up the line, etc.
NOTE: Diald now has a new maintainer and has been updated to v0.98. The the URLs are in Section 5
+-------------------------------------------------------------------------+
| Follow this link for more information until I can integrate it into the |
| TrinityOS doc: |
| |
| http://www.ecst.csuchico.edu/~dranch/PPP/ppp-performance.html#linux |
+-------------------------------------------------------------------------+
Here are a few quick tips:
Use dcntrl or diald-top to see what networ traffic is bringing up your PPP/SLIP link.
Rough order to get things running:
- /etc/rc.d/rc.S
Enabled rc.serial load up
- /etc/rc.d/rc.serial
/bin/setserial /dev/ttyS1 spd_vhi
cp diald.conf /etc/diald
diald.conf:
--
restrict 16:00:00 20:45:00 * * *
down
restrict * * * * *
mode ppp
connect /etc/ppp/diald/earthlink-connect
device /dev/cua1
speed 115200
modem
lock
crtscts
local 192.168.1.7
remote 0.0.0.0
dynamic
defaultroute
accounting-log /var/adm/ppp.log
include /usr/local/lib/diald/standard.filter
--
In /etc/rc.d/rc.local, add the following line:
--
cat "1" > /proc/sys/net/ipv4/ip_dynaddr