Installing opensimulator and subsequently connecting to a grid on Mac OSX – Part Four

Be sure to read parts one (1) to three (3) before reading this one!

Continued from part three..

Funny enough, I found other sites besides the official site with information for us Macintosh OS X users.

I found some helpful info on Maximilien Labadie‘s site called — namely this pre-packaged stand-alone Mac install: — imagine that, taking the OpenSimulator name and adding a dash and replacing the .org with a .com — that seems a bit misleading at first, the casual surfer may think it is the same site as the official, and indeed there is mirrored content on this site just like the main site (well it’s creative commons so I could effectively do the same here ) so, I will make a wild guess and say this guy is connected with the project to some official capacity (shrug?)

Anyway, I also found a handy list of ports he listed which are used by OpenSim, since I was looking specificially what I should open in my router and firewall to make this work (which it still does not..) and found this list, though, it isn’t completely accurate it gave me something to go on:

Ports used by OpenSim


TCP/8000 – Reserved
TCP/8002 – User Server and Login Services – Clients, Regions,  and other grid services talk to this
TCP/8003 – Asset Services – Regions and other grid services  talk to this
TCP/8001 – Grid Server – Regions and other grid services talk  to this
TCP/8004 – Inventory Services – Regions and other grid  services talk to this
TCP/8005 – Reserved (Dispatch Services)
TCP/8006 – Messaging Server
* TCP/8895 – no longer needed for region to region communications

These ports must be open on any box running a simulator that attaches to a grid:

UDP+TCP/9000 – Default First Simulator – grid, regions, and  clients talk to these
UDP+TCP/9001 – Default Second Simulator – grid, regions, and  clients talk to these
UDP+TCP/900x – Each next simulator…
* TCP/8895 – no longer needed for region to region communications


UDP+TCP/9000 – Everything runs on this port

No, that doesn’t really work — You do need to add other ports, as above, TCP and UDP for every port 9000 and up, depending on how many regions you have. Let’s say you have 4 regions. Then, you need ports 9000, 9001, 9002, 9003 open.

Anyway, I did some digging and was able to open up the needed ports on my 2wire router (as far as I know..) by logging into it, and configuring them into the advanced settings. I then SSH into my shell account at and did a ping test, yep I can reach my IP and ICMP packets are responding nicely.

Next, I tried to telnet into the port 9000 on my dyndns FQDN (which was resolving to my IP correctly).. guess what?

telnet: Unable to connect to remote host: Connection refused

So, I am still forgetting something. I check with the Mac firewall. That of itself is an interesting problem, since you can open up application based rules, but OpenSim.exe is running under mono — yesh, I can open up OpenSim.exe but the default (under System Preferences) doesn’t let you tell it what ports to open, it just has you select the application itself and the firewall is somehow supposed to know magickally what to do with it. Well, I don’t think it will. For one, it’s running under mono. I didn’t put any rules in the firewall for mono. Two, mono isn’t running as an GUI Application per se, no, it’s going from the command line and I am executing it to run OpenSim.exe … yoy ..

I more or less threw up my hands at this point and decided to back down from Mac glory and give my Bootcamp partition more space to play with under Windows XP. And hopes for the best.

I have a 10 Gb partition for Windows XP, on my roughly 160 Gb drive or whatever the MacBook Pro came with. After loading Windows, and Microsoft Security Essentials, and my tiny little OpenSim install, well, I found out that I was running out of room. Yeah, blame that nasty Windows swap file for taking up 2 Gb. I have a 4 Gb machine and I think only 3 Gb of it can be accessed under Windows, though in fact I haven’t looked there for ages.

Well, to the rescue may I present two of the most awesome tools ever written for the Mac OSX 10.5, iDefrag and iPartition, both by Coriolis Systems.

Defrag? on a FreeBSD machine? Yes … The Mac does a bit of constant defragging, but what I needed was a bigger chunk of free space on the drive. My catalog file was in perhaps thousands of fragments as well, which wouldn’t hurt to be defragged. I burned a self-booting DVD containing both apps and the needed system files to enable booting, and then popped it into my Mac and started it up. iDefrag takes quite a few hours to do its thing, heck I was defragging the whole Mac partition, which had never been done really since I got the thing back in OSX 10.4 Tiger days.

So, once that was done I had a massive 60 Gb to play with, so I squished down the Mac OSX partition and expanded out the Windows partition (iPartition will do both tasks at once, hehe) and now I ended up with a 110 Gb Mac partition and a 40 Gb Windows partition, yay! Lots of space..! Fantastic programs, worked the first time with no issues and I even saved 10% buying both at the same time online! Now back to OpenSim..

After all that, you know, it kind of dawned on me that I did setup my OpenSim as a stand-alone, perhaps there was something in the configuration itself that needed to be done to open it to network connections outside of my own laptop’s localhost? shrug who knows!

So, anyways, now that I have my 2wire 2700HG-E Gateway configured properly, I will give The New World Grid and OSgrid builds one more try from the Windows side of things.

[ time passes … ]

I had the software downloaded. I downloaded the newest builds from NewWorldGrid and OSgrid, and installed them in separate places on my Windows XP (yes, the MacBook Pro reduced to a Intel Duo Core Windows PC!) .. Everything looked good.

Then I ran the connectivity test for New World Studio (like Diva Distro and the OSgrid build of Open Simulator, they have some of their own nifty config. stuff happening, one of them is a built-in network connectivity test.) FAIL

I logged into New World Grid and there at the welcome center was the admin herself, Ms. Lycie Newman. Lycie monitors the community forums and helps people out, she even gave me some landmarks for helping to customize my appearance, though also admitted in the areas of avatar customization there is a lot more available for female avatars than male ones (I guess guys don’t care much about their looks, LOL!) More important, she double-checked the needed firewall ports with me so that I could get my region online and connected into the grid. I had an exported .oar file of Islandia3 ready to upload once it got going.

So next I rechecked all of the firewall settings in Windows, they were fine. Then  I checked the traffic from outside my network to New World Grid, it was fine too. DynDNS, fine too, my IP was resolving correctly but for some reason I still wasn’t getting past the Telus (2 wire) DSL router. Then it dawned on me, there are EXTRA settings in those firewall rules. I finally noticed that the rules were specific to a particular machine (MAC address based firewall rules!) DOH so I took my rule sets for the router, and applied them to my Windows XP’s network connection, and viola, it finally worked!

To think all this time it may have been working on the Mac if I had just dealt with the firewall on the DSL router UGH but hey here it was working, and so I messed about in New World Grid and the world was stable. I left the sim on for a few days and connectivity remained good.

I was missing my 4 standalone sims though, 1 just wasn’t enough for me. Alas, I remembered that OSgrid installation ready for unpacking, so unpacking I did, and threw one, then two sims on the grid. They were good until my wife closed the lid on my laptop and I lost my space in the world map due to auto-cleaning of dead spots OOPS well sheesh, before reconnecting I figured what the heck, may as well make it a bigger world, so I went back to Mac OSX again, and created a map of 9 interconnected regions, then ported that config over to OSgrid on the PC partition again.. Connected up, all was good (yay!) but I needed my objects and inventory from stand-alone to reach OSgrid, and couldn’t quite figure how to connect both inventory services at once, so made .OAR files of all my regions, doing something else in the process.. (will say what in a later post!) the end result being, I had my inventory and islands all loaded and running on the OSgrid successfully, and there they have been running the past few days (since I haven’t closed the laptop lid to shut it down yet LOL) … The adventure continues! Could I have done it on the Mac OSX? Why yes, yes I could have. The reason I went with Windows is because everything in Open Simulator (e.g., the .NET libraries) seems to be tailored to a Windows type of environment, as unstable and unsecure as they are, that’s what works, so that’s what I will use for the time being…

Leave a Reply

Your email address will not be published. Required fields are marked *