Hi,
What do you think about this??
Enabling Dial-on-demand
Dial-on-demand enables computers on a network to use one dial-up connection for everyone on the network. Placing the following code into /etc/rc.d/rc.inet2 (just after the IPV forward code) will allow this to happen. Just have the other computers use this computer as the gateway.
# This is to establish Dial-on-demand
# PPPD_AUTO: 0 = off, 1 = on. Pretty simple huh?
PPPD_AUTO=0
if [ "$PPPD_AUTO" = "1" ]; then
echo "Activating Dial-on-Demand."
# Replace with the Nameserver of YOUR ISP or just their address
pppd :1.2.3.4
route add -host 255.255.255.255 dev eth0
fi
http://members.cox.net/laitcg/new/share.html