OpenSim server: Part 1, preparations for setup

In a few blog posts I will try to explain how I did set up my own OpenSim server at home. I will not cover how to install the operation system of your choice and some other system dependent details. I might however in a later post go through how to set up Ubuntu or Linux Mint for this purpose, as it might be new to some of the readers. However a normal Windows machine will be fine for one or two regions….. if you don’t burden them to much.

These are my steps:

1. Find a suitable computer for it. I started of using a 2,5 years old MacBook and installed Ubuntu 10.10 on it. Any decent Windows machine will work fine.

2. Go to osgrid.org and register an account for the OSgrid. It might be a good idea to use the same name as in IW if IW at a later time will enable hypergrid.

3. To be able to communicate with the OSGrid you have to open a certain port in your broadband router. This seems to be a very common reason for failing so please do this carefully. I connect to my router with a normal web browser to the default internal P-adress 192.168.1.1. Look in your router documentation how you connect to your router. There you will also find the default login name and password….   ;o)

a. Now find out the internal IP-adress of the machine you intend to use as the server. This is quite often dynamically allocated from the router and if it is possible for you you should set to a static IP-adress. If you have the server on all the time this is not such a big problem but if you intend to close the server down at nights, you might have to edit the router tables quite often.

b. Find out the external IP-adress to your router. If you are on a DSL or cable modem this is typically a dynamic address that will change sometimes, meaning you have to edit a file in your OpenSim configuration sometimes. Write this down as you will need this at a later step. However there are ways to set up free services like DynDNS that will provide you with a static name to your dynamic IP-adress. I will cover that in a later post as it is a few steps involved for that.

c. The default port to open in you router is port 9000. That should be set up as port forwarding for both UDP and TCP to the IP-adress of your server. This is the important step! Be sure that both protocols are enabled to the correct IP-adress. If you have internal dynamic IP-adresses, you will have to change this port forwarding when the IP-adress of your server changes (that might happen after you have had it shut down for a longer period)

d. Port 9000 is dedicated for the first region on your planned server. If you want to have a few more regions on the server you have to forward those ports as well to your server. I have ports 9000 – 9005.

Note! Not all routers support this kind of port forwarding but many modern ones do. My network is connected to an Apple Time capsule for WiFi and automatic backups and the router in that is then connected to a Linksys ADSL2+ modem. I have put the routers in bridged mode so I only have to make changes in the Linksys router. Most modern Netgear and Linksys routers will work I guess.

Great! Now we have one port forwarded from the external world (the OSGrid) to each planned region on the server. This was the difficult steps….  ;o)

Time for a pause…..   sigh! Lol
Next part soon!

Advertisements
Post a comment or leave a trackback: Trackback URL.

Comments

  • Ener Hax  On January 3, 2011 at 2:20 am

    very cool that you are documenting this so nicely! thank you (it may make me brave enough to set one up too!)

    good luck! =)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: