Hi all,
Am recently married and are trying to find a way for my wife to connect to the internet, currently I plug modem into phone line open an ssh session to linux box (angus), login, su, and issue the following two commands;
1. [EMAIL PROTECTED] 2004]# /sbin/route del default
2. [EMAIL PROTECTED] 2004]# /usr/sbin/pppd /dev/ttyS2 115200 remotename paradise user me connect "/usr/sbin/chat -v '' AT OK ATD086727234 CONNECT '\d\c'"; tail -f /var/log/ppp
DNS handled statically and MASQ handled by iptables rules which execute as link comes up.
Now the box is a LAMP box (Linux + Apache + MySQL + PHP) and the deault page for the web browsers on my windows box point to my apache server.
I could write a script that apache could execute to bring the link up, however I have apache running as a non root user. Only root has sufficient permissions to run pppd.
I am not interested in implementing demand dialing, the internet is full of lovely mail while you are at work zombies and I am not prepared to have my windows box add to the noise, if it became infected.
Any sugestions? or other help?
Thanks,
Mark Carey
