[Wylug-help] Solved - pppd over ssl worked until dreytek ADSL / broadband added to the mix

Gary Stainburn gary.stainburn at ringways.co.uk
Tue Nov 1 08:39:56 UTC 2011


Morning all,

Forget this. The problem was that the vpn-up script was constantly trying to 
start the VPN even though it was already up. The log entries showed each 
attempt start and then finish.

Gary

On Monday 31 October 2011 22:31:35 Gary Stainburn wrote:
> Hi folks.
>
> I've set up another Fedora box as a VPN gateway.  Working locally on the
> LAN everything worked fine. However, I've just installed it now at a remote
> site using that site's Dreytek Vigor ADSL router over a BT broadband and
> now I have a problem with the pppd connection constantly dropping /
> raising.
>
> The pppd link is raised using the following:
>
> /usr/sbin/pppd updetach noauth passive \
>     pty "ssh $HOST -P -o Batchmode=yes /usr/sbin/pppd nodetach notty
> noauth" \ $LocIP:$RemIP
>
> Which worked before and still does. However, as the /var/log/messages
> extract shows, there is definitely a problem.
>
> Can anyone suggest what I need to do to fix it.
>
> Gary
>
> Oct 31 23:25:47 sma pppd[5479]: Warning: can't open options file
> /root/.ppprc: Permission denied
> Oct 31 23:25:47 sma pppd[5479]: pppd 2.4.5 started by root, uid 0
> Oct 31 23:25:47 sma pppd[5479]: Using interface ppp1
> Oct 31 23:25:47 sma pppd[5479]: Connect: ppp1 <--> /dev/pts/1
> Oct 31 23:25:47 sma pppd[5479]: Modem hangup
> Oct 31 23:25:47 sma pppd[5479]: Connection terminated.
> Oct 31 23:25:47 sma avahi-daemon[1050]: Withdrawing workstation service for
> ppp1.
> Oct 31 23:25:47 sma pppd[5479]: Exit.
> Oct 31 23:25:47 sma pppd[5496]: Warning: can't open options file
> /root/.ppprc: Permission denied
> Oct 31 23:25:47 sma pppd[5496]: pppd 2.4.5 started by root, uid 0
> Oct 31 23:25:47 sma pppd[5496]: Using interface ppp1
> Oct 31 23:25:47 sma pppd[5496]: Connect: ppp1 <--> /dev/pts/1
> Oct 31 23:25:47 sma pppd[5496]: Modem hangup
> Oct 31 23:25:47 sma pppd[5496]: Connection terminated.
> Oct 31 23:25:47 sma avahi-daemon[1050]: Withdrawing workstation service for
> ppp1.
> Oct 31 23:25:47 sma pppd[5496]: Exit.
> Oct 31 23:25:47 sma pppd[5513]: Warning: can't open options file
> /root/.ppprc: Permission denied
> Oct 31 23:25:47 sma pppd[5513]: pppd 2.4.5 started by root, uid 0
> Oct 31 23:25:47 sma pppd[5513]: Using interface ppp1
> Oct 31 23:25:47 sma pppd[5513]: Connect: ppp1 <--> /dev/pts/1
> Oct 31 23:25:47 sma pppd[5513]: Modem hangup
> Oct 31 23:25:47 sma pppd[5513]: Connection terminated.
> Oct 31 23:25:47 sma avahi-daemon[1050]: Withdrawing workstation service for
> ppp1.
> Oct 31 23:25:48 sma pppd[5513]: Exit.
> Oct 31 23:25:48 sma pppd[5530]: Warning: can't open options file
> /root/.ppprc: Permission denied
> Oct 31 23:25:48 sma pppd[5530]: pppd 2.4.5 started by root, uid 0
> Oct 31 23:25:48 sma pppd[5530]: Using interface ppp1
> Oct 31 23:25:48 sma pppd[5530]: Connect: ppp1 <--> /dev/pts/1
> Oct 31 23:25:48 sma pppd[5530]: Modem hangup
> Oct 31 23:25:48 sma pppd[5530]: Connection terminated.
> Oct 31 23:25:48 sma avahi-daemon[1050]: Withdrawing workstation service for
> ppp1.
> Oct 31 23:25:48 sma pppd[5530]: Exit.
> Oct 31 23:25:48 sma pppd[5547]: Warning: can't open options file
> /root/.ppprc: Permission denied
> Oct 31 23:25:48 sma pppd[5547]: pppd 2.4.5 started by root, uid 0
> Oct 31 23:25:48 sma pppd[5547]: Using interface ppp1
> Oct 31 23:25:48 sma pppd[5547]: Connect: ppp1 <--> /dev/pts/1
> Oct 31 23:25:48 sma pppd[5547]: Modem hangup
> Oct 31 23:25:48 sma pppd[5547]: Connection terminated.
> Oct 31 23:25:48 sma avahi-daemon[1050]: Withdrawing workstation service for
> ppp1.
> Oct 31 23:25:48 sma pppd[5547]: Exit.
> Oct 31 23:25:48 sma pppd[5564]: Warning: can't open options file
> /root/.ppprc: Permission denied
> Oct 31 23:25:48 sma pppd[5564]: pppd 2.4.5 started by root, uid 0
> Oct 31 23:25:48 sma pppd[5564]: Using interface ppp1
> Oct 31 23:25:48 sma pppd[5564]: Connect: ppp1 <--> /dev/pts/1
> Oct 31 23:25:48 sma pppd[5564]: Modem hangup
> Oct 31 23:25:48 sma pppd[5564]: Connection terminated.
> Oct 31 23:25:48 sma avahi-daemon[1050]: Withdrawing workstation service for
> ppp1.



-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 



More information about the Wylug-help mailing list