Thank you so much Mario for your response.

Here is what I am doing :

I am trying to connect my openwrt router ( attitidue - linux 3-xx).to a  pptp 
server machine. They are connected directly ( Ethernet eth0 )  and no firewall 
in between.


I have followed this link :   http://wiki.openwrt.org/doc/howto/vpn.client.pptp

I have installed all required packages.

If I follow the  instruction to  create an entry  ucing Luci in 
/etc/config/network  for my vpn. After restarting the network service nothing 
happens and I only see  ( via top) that  "resolveip -t  5  192.168.1.209"    is 
running  and consuming %40 of cpu power.


If I follow the instruction in the same link ( toward the end)  for old method 
and configure all proper files and run this command:
>>pppd call peer_name debug dump nodetach
again I can't see anything happen  but there are lot of messages in syslog that 
u can see below:


Aug 16 18:49:52 pppd[7556]: pppd options in effect:                             
                            
Aug 16 18:49:52 pppd[7556]: debug               # (from command line)           
                            
Aug 16 18:49:52 pppd[7556]: nodetach            # (from command line)           
                            
Aug 16 18:49:52 pppd[7556]: logfile /dev/null           # (from 
/etc/ppp/options)                           
Aug 16 18:49:52 pppd[7556]: maxfail 0           # (from /etc/ppp/options)       
                            
Aug 16 18:49:52 pppd[7556]: dump                # (from command line)           
                            
Aug 16 18:49:52 pppd[7556]: name OurPassword            # (from 
/etc/ppp/peers/peer_name)                   
Aug 16 18:49:52 pppd[7556]: remotename peer_name                # (from 
/etc/ppp/peers/peer_name)           
Aug 16 18:49:52 pppd[7556]:             # (from /etc/ppp/options)               
                            
Aug 16 18:49:52 pppd[7556]: pty 192.168.1.209           # (from 
/etc/ppp/peers/peer_name)                   
Aug 16 18:49:52 pppd[7556]: nocrtscts           # (from /etc/ppp/options)       
                            
Aug 16 18:49:52 pppd[7556]: noaccomp            # (from /etc/ppp/options)       
                            
Aug 16 18:49:52 pppd[7556]: nopcomp             # (from /etc/ppp/options)       
                            
Aug 16 18:49:52 pppd[7556]: lcp-echo-failure 5          # (from 
/etc/ppp/options)                           
Aug 16 18:49:52 pppd[7556]: lcp-echo-interval 1         # (from 
/etc/ppp/options)                           
Aug 16 18:49:52 pppd[7556]: noipdefault         # (from /etc/ppp/options)       
                            
Aug 16 18:49:52 pppd[7556]: mppe xxx # [don't know how to print value]          
# (from /etc/ppp/peers/peer_
Aug 16 18:49:52 pppd[7556]: pppd 2.4.5 started by root, uid 0                   
                 
Aug 16 18:49:52 pppd[7556]: using channel 12                                    
     
Aug 16 18:49:52 pppd[7556]: Using interface ppp0                                
          
Aug 16 18:49:52 pppd[7556]: Connect: ppp0 <--> /dev/pts/1                       
                
Aug 16 18:49:52 pppd[7556]: Modem hangup                                        
                     
Aug 16 18:49:52 pppd[7556]: Connection terminated.                              
         
Aug 16 18:49:52 pppd[7556]: Waiting for 1 child processes...                    
     
Aug 16 18:49:52 pppd[7556]:   script 192.168.1.209, pid 7557                    
           
Aug 16 18:49:52 pppd[7556]: Script 192.168.1.209 finished (pid 7557), status = 
0x7f             
Aug 16 18:49:52 pppd[7556]: Exit.             



My openwrt box IP address is : 192.168.1.56
The pptp server address is : 192.168.1.209

here is the content of  /etc/ppp/peers/peer_name

pty 192.168.1.209
mppe required,stateless
name OurPassword
remotename peer_name




So would be appreciated if you could help me with this or tell me what i 
missing here.

Thanks,
Farid



________________________________
 From: Mario Krüger <[email protected]>
To: Farid Farid <[email protected]>; OpenWrt User List 
<[email protected]> 
Sent: Tuesday, August 27, 2013 1:46 AM
Subject: Re: [OpenWrt-Users] pptp client not workig
 


Hi,

we need same more Information to help you.

Run at least "logread" and "dmesg" after starting your network and
      post it.


Mario.

Am 26.08.2013 18:52, schrieb Farid Farid:

Hello Everyone,
>
>
>I am trying to launch pptp client on a openwrt  router but  no luck so far. I 
>have posted my questions many times  here but no response yet.:(
>I am wonder if someone in this forum with pptp experience could give me some 
>hints.
>
>
>I appreciate your help.
>
>
>Thanks,
>Farid
>
>
>_______________________________________________
openwrt-users mailing list [email protected] 
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users 
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to