<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19222">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff size=2 face=Verdana>Dear Sirs,</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana>I merged the openswan(2.6.37) into
embedded linux(2.6.30 mips).When I started the ipsec.I got the error
message 'no public interfaces found' as below.Please help,how can I solve
this question.thank's. </FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana>Best Regards,</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana>Ozai</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana># cat ipsec.conf<BR></FONT><FONT
color=#0000ff size=2 face=Verdana></DIV>
<DIV>config setup<BR>
dumpdir=/var/run/pluto/<BR> interfaces=ipsec0=ppp0.1<BR>
oe=off<BR> protostack=klips<BR></DIV>
<DIV>conn
%default<BR>
keyexchange=ike<BR>
ike=3des-md5-modp1024<BR>
esp=3des-md5<BR>
auth=esp<BR>
type=tunnel<BR>
authby=secret<BR>
auto=start</DIV>
<DIV> </DIV>
<DIV>conn
sample<BR>
left=111.243.154.145<BR>
leftsubnet=192.168.1.0/24</DIV>
<DIV>
right=111.243.154.196<BR>
rightsubnet=192.168.2.0/24</DIV>
<DIV>=====================================================</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana># cat
ipsec.secrets<BR>111.243.154.145 111.243.154.196 : PSK "12345"</FONT><FONT
color=#0000ff size=2 face=Verdana></FONT><FONT color=#0000ff size=2
face=Verdana></FONT></DIV>
<DIV><FONT color=#0000ff size=2
face=Verdana>========================================================</FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Verdana>Jan 1 00:44:31 daemon err
ipsec_setup: Starting Openswan IPsec 2.6.37...<BR>Jan 1 00:44:31 daemon
err ipsec_setup: head: invalid option -- 1<BR>Jan 1 00:44:31 daemon err
ipsec_setup: BusyBox v1.17.2 (2012-04-18 12:40:34 CST) multi-call
binary.<BR>Jan 1 00:44:31 daemon err ipsec_setup: Usage: head [OPTIONS]
[FILE]...<BR>Jan 1 00:44:31 daemon err ipsec_setup: Print first 10 lines
of each FILE (or stdin) to stdout.<BR>Jan 1 00:44:31 daemon err
ipsec_setup: With more than one FILE, precede each with a filename
header.<BR>Jan 1 00:44:31 daemon err ipsec_setup: Options:<BR>Jan 1
00:44:31 daemon err ipsec_setup: -n N[kbm] Print first N
lines<BR>Jan 1 00:44:31 daemon err ipsec_setup: N may be suffixed by k
(x1024), b (x512), or m (x1024^2).<BR>Jan 1 00:44:31 daemon err
ipsec_setup: head: invalid option -- 1<BR>Jan 1 00:44:31 daemon err
ipsec_setup: BusyBox v1.17.2 (2012-04-18 12:40:34 CST) multi-call
binary.<BR>Jan 1 00:44:31 daemon err ipsec_setup: Usage: head [OPTIONS]
[FILE]...<BR>Jan 1 00:44:31 daemon err ipsec_setup: Print first 10 lines
of each FILE (or stdin) to stdout.<BR>Jan 1 00:44:31 daemon err
ipsec_setup: With more than one FILE, precede each with a filename
header.<BR>Jan 1 00:44:31 daemon err ipsec_setup: Options:<BR>Jan 1
00:44:31 daemon err ipsec_setup: -n N[kbm] Print first N
lines<BR>Jan 1 00:44:31 daemon err ipsec_setup: N may be suffixed by k
(x1024), b (x512), or m (x1024^2).<BR>Jan 1 00:44:31 daemon err
ipsec_setup: [: 1000: unknown operand<BR>Jan 1 00:44:31 daemon err
ipsec_setup: Using KLIPS/legacy stack<BR>Jan 1 00:44:32 daemon err
ipsec_setup: KLIPS debug `none'<BR>Jan 1 00:44:33 daemon err ipsec_setup:
KLIPS ipsec0 on ppp0.1 111.243.154.145/ pointtopoint 168.95.98.254/32 mtu
1492<BR>Jan 1 00:44:33 daemon err ipsec_setup: ipsec0 -> NULL mtu=0(0)
-> 0<BR>Jan 1 00:44:33 authpriv err ipsec__plutorun: Starting Pluto
subsystem...<BR>Jan 1 00:44:34 user warn syslog: adjusting ipsec.d to
/var/ipsec.d<BR>Jan 1 00:44:34 daemon err ipsec__plutorun: adjusting
ipsec.d to /var/ipsec.d<BR>Jan 1 00:44:34 authpriv warn pluto[2139]:
LEAK_DETECTIVE support [disabled]<BR>Jan 1 00:44:34 authpriv warn
pluto[2139]: OCF support for IKE [disabled]<BR>Jan 1 00:44:34 authpriv
warn pluto[2139]: NSS support [disabled]<BR>Jan 1 00:44:34 authpriv warn
pluto[2139]: HAVE_STATSD notification support not compiled in<BR>Jan 1
00:44:34 authpriv warn pluto[2139]: Setting NAT-Traversal port-4500 floating to
off<BR>Jan 1 00:44:34 authpriv warn pluto[2139]: port
floating activation criteria nat_t=0/port_float=1<BR>Jan 1 00:44:34
authpriv warn pluto[2139]: NAT-Traversal support
[disabled]<BR>Jan 1 00:44:34 authpriv warn pluto[2139]: using /dev/urandom
as source of random entropy<BR>Jan 1 00:44:34 authpriv warn pluto[2139]:
ike_alg_register_enc(): Activating OAKLEY_AES_CBC: Ok (ret=0)<BR>Jan 1
00:44:34 authpriv warn pluto[2139]: starting up 1 cryptographic
helpers<BR>Jan 1 00:44:34 authpriv warn pluto[2144]: using /dev/urandom as
source of random entropy<BR>Jan 1 00:44:34 daemon err ipsec_setup:
...Openswan IPsec started<BR>Jan 1 00:44:34 authpriv warn pluto[2139]:
started helper pid=2144 (fd:6)<BR>Jan 1 00:44:34 authpriv warn
pluto[2139]: Using KLIPS IPsec interface code on 2.6.30<BR>Jan 1 00:44:34
authpriv warn pluto[2139]: Could not change to directory '/var/ipsec.d/cacerts':
/var/run/pluto<BR>Jan 1 00:44:34 authpriv warn pluto[2139]: Could not
change to directory '/var/ipsec.d/aacerts': /var/run/pluto<BR>Jan 1
00:44:34 authpriv warn pluto[2139]: Could not change to directory
'/var/ipsec.d/ocspcerts': /var/run/pluto<BR>Jan 1 00:44:34 authpriv warn
pluto[2139]: Could not change to directory '/var/ipsec.d/crls'<BR>Jan 1
00:44:34 authpriv warn pluto[2139]: added connection description
"sample"<BR>Jan 1 00:44:34 daemon err ipsec__plutorun: 002 added
connection description "sample"<BR>Jan 1 00:44:34 authpriv warn
pluto[2139]: listening for IKE messages<BR>Jan 1 00:44:34 authpriv warn
pluto[2139]: <STRONG><FONT color=#ff0000>no public interfaces
found<BR></FONT></STRONG>Jan 1 00:44:34 daemon err ipsec__plutorun: 003 no
public interfaces found<BR>Jan 1 00:44:34 authpriv warn pluto[2139]:
loading secrets from "/var/ipsec.secrets"<BR>Jan 1 00:44:34 daemon err
ipsec__plutorun: 022 "sample": we cannot identify ourselves with either end of
this connection<BR>Jan 1 00:44:35 authpriv warn pluto[2139]: "sample": We
cannot identify ourselves with either end of this connection.<BR>Jan 1
00:44:35 daemon err ipsec__plutorun: 022 "sample": We cannot identify ourselves
with either end of this connection.<BR></FONT></DIV></BODY></HTML>