#!/bin/sh
# copy the motorolla v3xx init script to /tmp/ppp/ppers
cp /usr/local/dial/motov3xx /tmp/ppp/peers/

# copy the init strings from provider 3 Austria to motov3xx.chat - just replace it with your isp
cp /usr/local/dial/3at.chat /tmp/ppp/peers/motov3xx.chat

# writes null entries to the pap-secrets and copy it to chap-secrets - if you need username/password insert 
# in the first "" your username and in the second "" your password/pin

echo "# Secrets for authentication using CHAP" > /tmp/ppp/pap-secrets
echo "# client        server  secret                  IP addresses" >> /tmp/ppp/pap-secrets
echo '"" * "" *' >> /tmp/ppp/pap-secrets
chmod 600 /tmp/ppp/pap-secrets
cp /tmp/ppp/pap-secrets /tmp/ppp/chap-secrets

