<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Tahoma","sans-serif";}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=RO link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText><span style='font-size:10.0pt'>Hi all,<o:p></o:p></span></p>
<p class=MsoPlainText><span style='font-size:10.0pt'><o:p> </o:p></span></p>
<p class=MsoPlainText><span style='font-size:10.0pt'>I have patched openswan
source with:<o:p></o:p></span></p>
<p class=MsoPlainText><span style='font-size:10.0pt'> root@B:/usr/src/openswan-2.4.9#
patch -p1 < ../openswan-2.4.9-stkl.patch<o:p></o:p></span></p>
<p class=MsoPlainText><span style='font-size:10.0pt'>but at B side same error:<o:p></o:p></span></p>
<p class=MsoPlainText style='margin-left:35.4pt'><span style='font-size:10.0pt'>Aug
29 09:32:40 B ipsec_setup: KLIPS ipsec0 on ppp0 89.123.122.76/255.255.255.255
pointopoint 89.123.64.254<o:p></o:p></span></p>
<p class=MsoPlainText style='margin-left:35.4pt'><span style='font-size:10.0pt'>Aug
29 09:32:41 B ipsec_setup: ...Openswan IPsec started<o:p></o:p></span></p>
<p class=MsoPlainText style='margin-left:35.4pt'><span style='font-size:10.0pt'>Aug
29 09:32:41 B ipsec_setup: Starting Openswan IPsec 2.4.9...<o:p></o:p></span></p>
<p class=MsoPlainText style='margin-left:35.4pt'><span style='font-size:10.0pt'>Aug
29 09:32:41 B ipsec__plutorun: ipsec_auto: fatal error in "A-B_rw":
%defaultroute requested but not known<o:p></o:p></span></p>
<p class=MsoPlainText><span style='font-size:10.0pt'><o:p> </o:p></span></p>
<p class=MsoPlainText><span style='font-size:10.0pt'><o:p> </o:p></span></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText><span lang=EN-US>-----Original Message-----<br>
From: Paulo F. Sedrez [mailto:sedrez+openswan@sedrez.ods.org] <br>
Sent: Tuesday, August 28, 2007 7:41 PM<br>
To: petermcgill@goco.net<br>
Cc: 'Toni Cosma'; users@www.openswan.org<br>
Subject: Re: [Openswan Users] roadwarrior over pppoe</span><o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>On Tue, 2007-08-28 at 12:13, Peter McGill wrote: <o:p></o:p></p>
<p class=MsoPlainText>> B is not getting a good internet connection setup,
it can't find<o:p></o:p></p>
<p class=MsoPlainText>> default route.<o:p></o:p></p>
<p class=MsoPlainText>> Before you try to start openswan on B, make sure the
internet<o:p></o:p></p>
<p class=MsoPlainText>> connection DSL PPPoE is up and running.<o:p></o:p></p>
<p class=MsoPlainText>> ifconfig should show an interface for the internet,
probably ppp0.<o:p></o:p></p>
<p class=MsoPlainText>> route should show a default route:<o:p></o:p></p>
<p class=MsoPlainText>> ie) 0.0.0.0/0 gw ?.?.?.?<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Actually, there is a bug introduced in version 2.4.9. It
was corrected<o:p></o:p></p>
<p class=MsoPlainText>only for 2.5.x tree, but there is a fix: check out<o:p></o:p></p>
<p class=MsoPlainText>http://bugs.xelerance.com/view.php?id=824 .<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>Basically, the _startklips script expects an IP for
default route; if it<o:p></o:p></p>
<p class=MsoPlainText>is device route (e.g., "default dev ppp0"),
without IP, it tries (and<o:p></o:p></p>
<p class=MsoPlainText>fails) to use the interface address.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>> Peter McGill<o:p></o:p></p>
<p class=MsoPlainText>> <o:p></o:p></p>
<p class=MsoPlainText>> <o:p></o:p></p>
<p class=MsoPlainText>>
______________________________________________________________<o:p></o:p></p>
<p class=MsoPlainText>>
From: users-bounces@www.openswan.org<o:p></o:p></p>
<p class=MsoPlainText>>
[mailto:users-bounces@www.openswan.org] On Behalf Of Toni<o:p></o:p></p>
<p class=MsoPlainText>>
Cosma<o:p></o:p></p>
<p class=MsoPlainText>>
Sent: August 28, 2007 10:22 AM<o:p></o:p></p>
<p class=MsoPlainText>> To:
users@www.openswan.org<o:p></o:p></p>
<p class=MsoPlainText>>
Subject: [Openswan Users] roadwarrior over pppoe<o:p></o:p></p>
<p class=MsoPlainText>> <o:p></o:p></p>
<p class=MsoPlainText>> <o:p></o:p></p>
<p class=MsoPlainText>> Hi
all,<o:p></o:p></p>
<p class=MsoPlainText>>
<o:p></o:p></p>
<p class=MsoPlainText>> I
try to make a roadwarrior tunnel<o:p></o:p></p>
<p class=MsoPlainText>> from
A to B.<o:p></o:p></p>
<p class=MsoPlainText>[...]<o:p></o:p></p>
<p class=MsoPlainText>>
<o:p></o:p></p>
<p class=MsoPlainText>>
after "ipsec start" B syslog is:<o:p></o:p></p>
<p class=MsoPlainText>>
Aug 28 17:06:21 B ipsec__plutorun: ipsec_auto: fatal<o:p></o:p></p>
<p class=MsoPlainText>>
error in "A-B_rw": %defaultroute requested but not<o:p></o:p></p>
<p class=MsoPlainText>>
known<o:p></o:p></p>
<p class=MsoPlainText>>
Aug 28 17:06:21 B ipsec__plutorun: 021 no connection<o:p></o:p></p>
<p class=MsoPlainText>>
named "A-B_rw"<o:p></o:p></p>
<p class=MsoPlainText>> Aug
28 17:06:21 B ipsec__plutorun: ...could not route<o:p></o:p></p>
<p class=MsoPlainText>>
conn "A-B_rw"<o:p></o:p></p>
<p class=MsoPlainText>>
Aug 28 17:06:21 B ipsec__plutorun: 021 no connection<o:p></o:p></p>
<p class=MsoPlainText>>
named "A-B_rw"<o:p></o:p></p>
<p class=MsoPlainText>>
Aug 28 17:06:21 B ipsec__plutorun: ...could not start<o:p></o:p></p>
<p class=MsoPlainText>>
conn "A-B_rw"<o:p></o:p></p>
<p class=MsoPlainText>> and
A error message after: ipsec auto --up A-B_rw is:<o:p></o:p></p>
<p class=MsoPlainText>>
"A-B_rw": cannot initiate connection without<o:p></o:p></p>
<p class=MsoPlainText>>
knowing peer IP address (kind=CK_TEMPLATE)<o:p></o:p></p>
<p class=MsoPlainText>>
<o:p></o:p></p>
<p class=MsoPlainText>> Thx
for help.<o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
<p class=MsoPlainText>-- <o:p></o:p></p>
<p class=MsoPlainText>Paulo F. Sedrez <sedrez+openswan@sedrez.ods.org><o:p></o:p></p>
<p class=MsoPlainText><o:p> </o:p></p>
</div>
</body>
</html>