LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Help with vpn pptpd (http://www.linuxquestions.org/questions/red-hat-31/help-with-vpn-pptpd-495559/)

andybrr 10-25-2006 06:50 PM

Help with vpn pptpd
 
Hi,

I am using redhat 9 with your default kernel configurations. I am trying to install and configure a vpn server with ppptp but I am facing some problems which I need some help from experts.
I have installed the rpms :
ppp-2.4.3-5.rhl9.i386.rpm
pptpd-1.3.0-0.i386.rpm

Ive configured the chap-secres, pap-secrets, options-pptpd, /etc/pptpd.conf, load the module ip_gre and I ran pptpd until now its ok.

Now when I try to connect with windows box, the linux shows me the messages:

Oct 25 18:43:54 fw-rv pppd[6781]: Connect: ppp0 <--> /dev/pts/2
Oct 25 18:43:54 fw-rv pppd[6781]: tcflush failed: Bad file descriptor
Oct 25 18:43:54 fw-rv /etc/hotplug/net.agent: assuming ppp0 is already up
Oct 25 18:43:54 fw-rv /etc/hotplug/net.agent: NET unregister event not supported
Oct 25 18:43:54 fw-rv /etc/hotplug/net.agent: NET unregister event not supported
Oct 25 18:43:54 fw-rv pppd[6781]: tcsetattr: Invalid argument (line 1016)
Oct 25 18:43:54 fw-rv pppd[6781]: Exit.
Oct 25 18:43:54 fw-rv pptpd[6780]: GRE: read(fd=6,buffer=804e560,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
Oct 25 18:43:54 fw-rv pptpd[6780]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
Oct 25 18:43:54 fw-rv pptpd[6780]: CTRL: Client 200.200.200.1 control connection finished

Any Ideas what it might be wrong?

centauricw 10-25-2006 11:26 PM

Can you post your /etc/pptpd.conf are /etc/ppp/options-pptpd files?

andybrr 10-26-2006 05:07 PM

vpn with pptp
 
Quote:

Originally Posted by centauricw
Can you post your /etc/pptpd.conf are /etc/ppp/options-pptpd files?

Hi,

Thanks for your reply but I installed all the packages from the zero and worked it.

Anderson


All times are GMT -5. The time now is 12:46 PM.