Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Resolve a sendmail issue with DSL and PPPoE' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Resolve a sendmail issue with DSL and PPPoE
Authored by: jkooy on Mar 06, '03 12:41:29PM

I think you could also solve this problem by starting sendmail in a script that runs when PPPoE dials your ISP. The system will run /etc/ppp/ip-up when PPP gets connected if the script exists and is executable. This way sendmail will only start when your DSL line gets connected. The script will run as root so there may be issues.
If you want PPPoE to connect at startup you can use the ping -c 1 www.google.com. I enabled the network time sync in the system preferences and that seems to force PPPoE to connect on startup. I am not sure if there is a command line way of making PPPoE connect at startup without using ping or ntp or something like that.



[ Reply to This | # ]