Sometimes Linux customers can have problems connecting with Linux and PPP, although we do not support linux here is something that may overcome connection problems for you.
1. Add "usepeerdns" to
/etc/pp/options
2. modify the scripts
/etc/ppp/ip-up and
/etc/ppp/ip-down
as follows
ip-up
This sample code shows you one way to modify your setup to allow automatic configuration of your resolv.conf for peer supplied DNS addresses when using the usepeerdns option.
In my case I just added this to my /etc/ppp/ip-up.local script. You may need to create an executable script if one does not exist.
You will also need to add the following to your ip-up.local and ip-down.local scripts:-
Please add to your ip-up.local script:-
if [ -n "$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then
rm -f /etc/ppp/resolv.prev
if [ -f /etc/resolv.conf ]; then
cp /etc/resolv.conf /etc/ppp/resolv.prev
grep search /etc/ppp/resolv.prev > /etc/resolv.conf
grep nameserver /etc/ppp/resolv.prev >> /etc/resolv.conf
cat /etc/ppp/resolv.conf >> /etc/resolv.conf
else
cp /etc/ppp/resolv.conf /etc
fi
chmod 644 /etc/resolv.conf
fi
Please add to your ip-down.local script to restore the original state:-
if [ -n "$USEPEERDNS" -a -f /etc/ppp/resolv.conf ]; then
if [ -f /etc/ppp/resolv.prev ]; then
cp -f /etc/ppp/resolv.prev /etc/resolv.conf
else
rm -f /etc/resolv.conf
fi
chmod 644 /etc/resolv.conf
fi