[Openswan Users] Different experience with OpenWRT

John Joseph jjk_saji at yahoo.com
Wed Dec 6 23:16:16 EST 2006


Hi 
  I am trying to test  OpenSwan on  OpenWRT for PSK
authentication, I am using the latest RC6 . I
installed  OpenSwan and l2tpd  using   OpenWrt Admin
Console.
                      Now  replicated  the same 
“ipsec.conf” , “chap-secrets”,”
ppp/options.l2tpd.client”, ”ipsec.secrets” which  I
had done for CentOS successfully 
                                 While rying to
connect , it gets connect and gets disconnected  the
same time . my message file shows the following logs

###############
Dec  7 07:50:37 ispc1 l2tpd[12739]: Connection
established to AAA.BB.CC.DD, 13660.  Local: 33007,
Remote: 28694.  LNS session is 'default' 
Dec  7 07:50:37 ispc1 l2tpd[12739]: Call established
with AAA.BB.CC.DD, Local: 11257, Remote: 54742,
Serial: 1 
Dec  7 07:50:37 ispc1 pppd[28012]: pppd 2.4.2 started
by root, uid 0
Dec  7 07:50:37 ispc1 pppd[28012]: Using interface
ppp0
Dec  7 07:50:37 ispc1 l2tpd[12739]: control_finish:
Connection closed to AAA.BB.CC.DD, serial 1 () 
Dec  7 07:50:37 ispc1 pppd[28012]: Terminating on
signal 15.
Dec  7 07:50:37 ispc1 pppd[28012]: Connect: ppp0 <-->
/dev/pts/1
Dec  7 07:50:37 ispc1 pppd[28012]: Modem hangup
Dec  7 07:50:37 ispc1 pppd[28012]: Connection
terminated.
Dec  7 07:50:37 ispc1 pppd[28012]: Exit.
####################              

                      I am trying to find the reason
why this is happening. The configuration files were
tested successfully on CentOS and was able to connect
to VPN.


Also I had found that after we start “ipsec” . In 
openWrt , I can find a interface  “ipsec0”, while in
CenOS , this interface “ipsec0” was not there  afte
the service started.

the ifconfig on openWrt , gives the result 

root at techwrt:/etc# ifconfig 
br0       Link encap:Ethernet  HWaddr
00:14:BF:25:E2:6B  
          inet addr:10.0.0.88  Bcast:10.0.0.255 
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500 
Metric:1
          RX packets:2228 errors:0 dropped:0
overruns:0 frame:0
          TX packets:665 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:114144 (111.4 KiB)  TX bytes:120196
(117.3 KiB)

         

ipsec0    Link encap:Ethernet  HWaddr
00:14:BF:25:E2:6B  
          inet addr:10.0.0.88  Mask:255.255.255.0
          UP RUNNING NOARP  MTU:16260  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0
frame:0
          TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:10 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

                     Guidance requested 
		           Thanks 
   	        	Joseph John


		
___________________________________________________________ 
All New Yahoo! Mail – Tired of Vi at gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html


More information about the Users mailing list