Next: 12 Security
Up: Dwun 0.96c
Previous: 10 Custom/verbose client messages
pppd returns 0 for okay and 1 for error. This was not good enough for dwun.
As a solution, dwun can use signals from the the dialup scripts to recognise
the connection status. Dwun writes its pid to /var/run/dwun.pid5.
The following signals are recognised:
- shutdown server.
- fatal commandon error, alert users and stop dialing.
- connection is up and working.
- bad connection, need to disconnect and redial.