<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)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<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:12.0pt;
        font-family:"Times New Roman","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
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Can you confirm whether “</span>set external to the outside
address of your modem<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>” and “</span>Configure your client to use the External IP
address<span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>” means like ‘111.222.333.444’ or like ‘www.mydomain.com’? –
Thanks, Kevin<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> opensim-users-bounces@lists.berlios.de
[mailto:opensim-users-bounces@lists.berlios.de] <b>On Behalf Of </b>Richard
Taft<br>
<b>Sent:</b> 14 October 2009 18:09<br>
<b>To:</b> opensim-users@lists.berlios.de<br>
<b>Subject:</b> Re: [Opensim-users] Opensim 0.6.6 release standalone hangs at
'Waiting for region handshake' (LoginPacketNeverReceived) on other intranet
computers<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<div>

<p class=MsoNormal>I had this with a New install of 0.6.6 on a Fedora 11
server.  This is what I did.<br>
<br>
Set internal address to the internal address of the opensim server<br>
set external to the outside address of your modem<br>
open ports 9000 to 9020 on the router firewall<br>
forward ports 9000 to 9020 from the router to the internal IP address of the
OpenSim Server<br>
open ports 9000 to 9020 on the servers firewall.<br>
Update the IPTables with the Following Commands<br>
<br>
Unix<br>
iptables -t nat -A OUTPUT --dst EXTERNAL_IP -p tcp --dport 9000:9010 -j DNAT
--to-destination INTERNAL_IP<br>
iptables -t nat -A OUTPUT --dst EXTERNAL_IP -p udp --dport 9000:9010 -j DNAT
--to-destination INTERNAL_IP<br>
service iptables restart<br>
<br>
Windows:<o:p></o:p></p>

<p>iptables -t nat -A PREROUTING --dst EXTERNAL_IP -p tcp --dport 9000:9010 -j
DNAT --to-destination INTERNAL_IP <o:p></o:p></p>

<p>iptables -t nat -A PREROUTING --dst EXTERNAL_IP -p udp --dport 9000:9010 -j
DNAT --to-destination INTERNAL_IP<o:p></o:p></p>

<p><o:p> </o:p></p>

<p>Configure your client to use the External IP address.  All of this came
after digging through multiple pages in the Wiki. Took me a couple of late
nights to piece what was right and what was incorrect from the Wiki.  But
this all seemed to work. <o:p></o:p></p>

<p><o:p> </o:p></p>

<p>Rich<o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>

</div>

<div>

<p class=MsoNormal><o:p> </o:p></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>

<hr size=1 width="100%" align=center>

</span></div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Robert Klein
<rtkwebman@gmail.com><br>
<b>To:</b> opensim-users@lists.berlios.de<br>
<b>Sent:</b> Wed, October 14, 2009 12:53:16 PM<br>
<b>Subject:</b> Re: [Opensim-users] Opensim 0.6.6 release standalone hangs at
'Waiting for region handshake' (LoginPacketNeverReceived) on other intranet
computers<br>
</span><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><br>
<br>
Hey Kevin,<br>
<br>
This actually happened to me recently when I tried using an OpenSim.ini and<br>
Regions files from version 0.6.2 with the latest stable release. I had to<br>
re-edit the OpenSim.ini file and I believe making sure InternalIP is set to<br>
0.0.0.0 in the Regions.ini file too. I wish I could remember exactly what I<br>
did but when you are reeling late at night from screwing up an install and<br>
in reactive mode everything becomes a blur. :)<br>
<br>
-Robert<br>
<br>
<br>
Kevin Buckley wrote:<br>
> <br>
> Yes - I have tried using the actual IP address for ExternalHostName. 
When<br>
> I<br>
> do that it makes no difference to the other PC's but the viewer running on<br>
> the opensim server also now fails at the region handshake.<br>
> <br>
> -----Original Message-----<br>
> From: <a href="mailto:opensim-users-bounces@lists.berlios.de">opensim-users-bounces@lists.berlios.de</a><br>
> [mailto:<a href="mailto:opensim-users-bounces@lists.berlios.de">opensim-users-bounces@lists.berlios.de</a>]
On Behalf Of Marc Adored<br>
> Sent: 13 October 2009 21:40<br>
> To: <a href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</a><br>
> Subject: Re: [Opensim-users] Opensim 0.6.6 release standalone hangs at<br>
> 'Waiting for region handshake' (LoginPacketNeverReceived) on other<br>
> intranet<br>
> computers<br>
> <br>
> <br>
> Have you tried using the actual ip address instead of the dns? Maybe<br>
> just maybe there is some reversal issues with the handshake. It seems<br>
> like its sending a request for a handshake but maybe sending the wrong<br>
> information about where to make the handshake. I had the same issue<br>
> when I had used 127.0.0.1 and tried to connect with a remote machine.<br>
> That's what makes me think maybe its a reversal issue. Not sure how<br>
> possible it is for 1 part of a program to have issues reversing a<br>
> domain but not the other but its worth a shot I think.<br>
> <br>
> <br>
> On Tue, Oct 13, 2009 at 4:12 PM, Kevin Buckley<br>
> <<a href="mailto:kevin@buckley70.freeserve.co.uk">kevin@buckley70.freeserve.co.uk</a>>
wrote:<br>
>> I have considered getting the bleeding-edge version, lol.  But I
wanted<br>
>> to<br>
>> start with something stable (...).  Thanks for the suggestion
though -<br>
>> but<br>
> I<br>
>> DID check my ports with a port scanner.  I'm pretty sure a
blocked port<br>
>> isn't the problem though.  It's weird that it works perfectly if
opensim<br>
> and<br>
>> the viewer are on the same machine - after all, they STILL talk to
each<br>
>> other via the same network protocols - they just didn't go through a
LAN<br>
>> card and the lower layers is all.  And there's a LOT of
interaction<br>
>> before<br>
>> they get to the region handshake point - so network protocols in
general<br>
>> seem to be just fine.  I was wondering if there is anything
tangibly<br>
>> different about the 'loginpacket' like maybe it goes to an
undocumented<br>
> port<br>
>> or something which isn't covered in the '.ini' files.  I also
have a port<br>
>> logger - and nothing looks untoward in that either - but it's kinda
hard<br>
> to<br>
>> analyse unless you know the protocols!<br>
>><br>
>> I haven't yet tried just connecting my machines to each other with the<br>
>> dumbest of routers, rather than going via the Belkin, to see if that<br>
>> makes<br>
> a<br>
>> difference.  Cheers, Kevin<br>
>><br>
>> -----Original Message-----<br>
>> From: <a href="mailto:opensim-users-bounces@lists.berlios.de">opensim-users-bounces@lists.berlios.de</a><br>
>> [mailto:<a href="mailto:opensim-users-bounces@lists.berlios.de">opensim-users-bounces@lists.berlios.de</a>]
On Behalf Of Paul<br>
>> Fishwick<br>
>> Sent: 13 October 2009 20:57<br>
>> To: <a href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</a><br>
>> Subject: Re: [Opensim-users] Opensim 0.6.6 release standalone hangs at<br>
>> 'Waiting for region handshake' (LoginPacketNeverReceived) on other<br>
> intranet<br>
>> computers<br>
>><br>
>><br>
>> I usually run the bleeding edge version in fresh directories (to keep
a<br>
>> trail<br>
>> of implementations). This is mainly because of fairly recent changes
that<br>
>> do well with 64-bit Ubuntu. Not sure if this will help, but I have
found<br>
>> port<br>
>> scanners to be useful during testing:<br>
>> <a href="http://www.t1shopper.com/tools/port-scanner/" target="_blank">http://www.t1shopper.com/tools/port-scanner/</a><br>
>> However, if you cannot connect even behind your firewall....not
sure...<br>
>> -p<br>
>><br>
>> Kevin Buckley wrote:<br>
>>> Yes.  And that works - because when my friend tried to login
(from far<br>
>> away<br>
>>> - outside the router firewall) I could see that activity on the
opensim<br>
>>> window and it got to the region handshake point (actually opensim
says<br>
>>> logged-in).  That shouldn't affect this problem though I
think - all the<br>
>>> PC's I am using are behind the router (and being explicitly
addressed<br>
>> using<br>
>>> internal addresses (192.168.10.x).  Do you have 0.6.6 running
OK in<br>
>>> standalone?  Thanks - Kevin<br>
>>><br>
>>> -----Original Message-----<br>
>>> From: <a href="mailto:opensim-users-bounces@lists.berlios.de">opensim-users-bounces@lists.berlios.de</a><br>
>>> [mailto:<a href="mailto:opensim-users-bounces@lists.berlios.de">opensim-users-bounces@lists.berlios.de</a>]
On Behalf Of Paul<br>
> Fishwick<br>
>>> Sent: 13 October 2009 19:53<br>
>>> To: <a href="mailto:opensim-users@lists.berlios.de">opensim-users@lists.berlios.de</a><br>
>>> Subject: Re: [Opensim-users] Opensim 0.6.6 release standalone
hangs at<br>
>>> 'Waiting for region handshake' (LoginPacketNeverReceived) on other<br>
>> intranet<br>
>>> computers<br>
>>><br>
>>><br>
>>> Have you logged into your Belkin router and set up your router to<br>
>>> forward<br>
>>> any traffic on the port you are using (9000 for instance) to the
machine<br>
>>> where opensim is running (behind your router) ?<br>
>>> -p<br>
>>><br>
>>> Kevin Buckley wrote:<br>
>>><br>
>>>> I'm trying to get a 'vanilla' instance of OS-0.6.6 running<br>
>>>> 'standalone' on my PC so that I can log-in to it from outside
(I have<br>
>>>> a pseudo-Static Domain: i.e. a Dynamic Domain Name from the
ISP and a<br>
>>>> service from '<a href="http://deerfield.com" target="_blank">deerfield.com</a>'
called 'DNS2Go' that tracks it - has<br>
>>>> worked just fine with various packages for years). Ultimately
I would<br>
>>>> like to get opensim running as a standalone-hypergrid
implementation -<br>
>>>> but just standalone seemed a good first step. I planned to
test it:<br>
>>>> viewer on same PC as opensim, viewer on different PC but
within the<br>
>>>> firewall and finally: remote access using my Static Domain.<br>
>>>><br>
>>>> After a few false starts, I built the release on one of my
PC's<br>
>>>> (Windows XP SP2) using Port 9100 (Port 9000 is used already by
my<br>
>>>> streaming music system). It works just fine if I use either
the 2L<br>
>>>> viewer (v1.23.4 - 123908) or Hippo viewer, running on the same
machine<br>
>>>> as opensim.<br>
>>>><br>
>>>> However, if I run the viewer on different machines within my
firewall<br>
>>>> (I have 2 others: Windows XP, also SP2 plus a Vista laptop -
both<br>
>>>> tower PC's are high performance Pentium-4's with high-end
NVIDIA<br>
>>>> graphics cards btw) it finds my opensim OK (can see the
modified<br>
>>>> welcome message during login) but hangs at 'Waiting for region<br>
>>>> handshake'. Then I get the 'may have network issues message'
and stops.<br>
>>>><br>
>>>> I also got a friend to try to login from far away (outside the<br>
>>>> firewall) with the same failure at 'Waiting for region
handshake'. I<br>
>>>> am about 50h into this now and have run out of ideas (and
hair). I<br>
>>>> have seen in various forums that a number of people have (are)
also<br>
>>>> experienced this problem - but so far I have never seen a
posted<br>
>> solution.<br>
>>>><br>
>>>> So far I have done the following things (and they have made no<br>
>>>> difference - behaviour is exactly the same):<br>
>>>><br>
>>>> - Tried different Ports: 9100, 9200, 9217 and even 9000 by
shutting<br>
>>>> down my music server (changing the port addresses in
'Regions.ini' and<br>
>>>> 'opensim.ini')<br>
>>>><br>
>>>> - Tried 'runprebuild' ('compile' runs with no errors) and<br>
>>>> 'runprebuild2008' (path error for .NETFramework - I have v3.5
btw)<br>
>>>><br>
>>>> - Tried '0.0.0.0', '127.0.0.1', '192.168.10.100' (the server
PC<br>
>>>> internal address) as 'InternalAddress' inside 'Regions.ini'<br>
>>>><br>
>>>> - Tried 'SYSTEMIP' and '192.168.10.100' as 'ExternalHostName'
inside<br>
>>>> 'Regions.ini'<br>
>>>><br>
>>>> - Tried '127.0.0.1', '192.168.10.100' and even my external
domain name<br>
>>>> in the various places in 'opensim.ini'<br>
>>>><br>
>>>> - Tried running the '/bin' application on a different PC on
the<br>
>>>> intranet (so then the viewers work OK on that PC but not now
on the<br>
>>>> original server PC)<br>
>>>><br>
>>>> - Tried 'AllowAlternatePorts' as both True and False<br>
>>>><br>
>>>> - I have inserted the 'AV rezzes as cloud' patch and rebuilt
(that<br>
>>>> fixed THAT issue!)<br>
>>>><br>
>>>> - I have totally rebuilt from scratch many times<br>
>>>><br>
>>>> - I have rebooted all the PC's at various times<br>
>>>><br>
>>>> - Tried router firewall off and on (not that it should matter
- router<br>
>>>> is Belkin F5D8635-4v1 btw)<br>
>>>><br>
>>>> - Tried Windows firewalls off and on<br>
>>>><br>
>>>> - Searched high and low on the internet (generally and within
the<br>
>>>> opensim forums)<br>
>>>><br>
>>>> All to no avail.<br>
>>>><br>
>>>> All I have changed in 'opensim.ini' (and 'Regions.ini') are
the Port<br>
>>>> and Internet related addresses. The only other thing I changed
was<br>
>>>> somewhere I had to uncomment a line to say which version of
cache to<br>
>>>> use. Everything is 'out of the box' (I did, of course, copy
the<br>
>>>> '.ini.examples' and convert them to '.ini's as appropriate).<br>
>>>><br>
>>>> Has anyone had this issue and actually fixed it? How?<br>
>>>><br>
>>>> Any help really appreciated. I'm a professional programmer by
the way<br>
>>>> - but I wasn't intending to have to start diving into the
opensim<br>
>>>> source to fix this!<br>
>>>><br>
>>>> Kevin<br>
>>>><br>
>>>> ------------------------------------------------------------------------<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Opensim-users mailing list<br>
>>>> <a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
>>>> <a
href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
>> Dr. Paul A. Fishwick           E-Mail: <a
href="mailto:fishwick@cise.ufl.edu">fishwick@cise.ufl.edu</a><br>
>> Dept. of Computer & Info       Phone & FAX:
(352) 392-1414<br>
>>  Science and Engineering       WWW: <a
href="http://www.cise.ufl.edu/%7Efishwick" target="_blank">http://www.cise.ufl.edu/~fishwick</a><br>
>> University of Florida          (PGP Key
available at above WWW address)<br>
>> P. O. Box 116120<br>
>> 332 Bldg. CSE, Gainesville, FL 32611-6120<br>
>><br>
>> _______________________________________________<br>
>> Opensim-users mailing list<br>
>> <a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users"
target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Opensim-users mailing list<br>
>> <a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
>> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users"
target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
>><br>
> _______________________________________________<br>
> Opensim-users mailing list<br>
> <a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users"
target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
> <br>
> <br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> Opensim-users mailing list<br>
> <a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
> <a href="https://lists.berlios.de/mailman/listinfo/opensim-users"
target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br>
> <br>
> <br>
<br>
-- <br>
View this message in context: <a
href="http://n2.nabble.com/Opensim-0-6-6-release-standalone-hangs-at-Waiting-for-region-handshake-LoginPacketNeverReceived-on-os-tp3817749p3824081.html"
target="_blank">http://n2.nabble.com/Opensim-0-6-6-release-standalone-hangs-at-Waiting-for-region-handshake-LoginPacketNeverReceived-on-os-tp3817749p3824081.html</a><br>
Sent from the opensim-users mailing list archive at <a href="http://Nabble.com"
target="_blank">Nabble.com</a>.<br>
_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users"
target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><o:p></o:p></span></p>

</div>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>