FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 11-01-2011, 07:40 AM
Gary Stainburn
 
Default pppd over ssl worked until dreytek ADSL / broadband added to the mix

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 Tuesday 01 November 2011 07:49:30 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



--
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-01-2011, 07:40 AM
Gary Stainburn
 
Default pppd over ssl worked until dreytek ADSL / broadband added to the mix

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 Tuesday 01 November 2011 07:49:30 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



--
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 12:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org