Once you’ve installed Ubuntu Server you will need a mechanism to be able to administer it. One way is to Install Putty. Putty gives you a “Command Line” interface and so you’ll need to learn a few Linux commands in order to be able to administer your server this way. Some people find this prospect rather too daunting and would rather use a graphical user interface (GUI) instead. As a result many people actually install Ubuntu Desktop instead of installing Ubuntu Server since the desktop version of Ubuntu has the GUI built in. There is a better way however, and that is to install VNC. VNC provides a “virtual desktop” so it is more lightweight than a full blown desktop installation.
Install the Gnome components
Install a Virtual Desktop using VNC
You’re probably wondering why we just created a session and then killed it before we’d actually used it? Well, creating the session for the first time automatically generates the file we now need to edit.
So, type the following command to kill the session:
Ubuntu versions up to and including 9.10 Karmic Koala
Ubuntu Versions 10.04 Lucid Lynx & Maverick Meerkat 10.10
Ubuntu Version Precise Pangolin 12.04LTS
The Synaptic Package Manager is not installed by default in Lucid or Karmic
How to prevent Gnome starting on the server on boot
DO NOT attempt to reset or power cycle the router while it is still in the process of upgrading!
Wait a couple of minutes after upgrade is complete and the router has rebooted itself.
Wait a couple of minutes after upgrade is complete and the router has rebooted itself.
Hard Reset (aka 30/30/30 reset):
- With the unit powered on, press and hold the reset button on back of unit for 30 seconds
- Without releasing the reset button, unplug the unit and hold reset for another 30 seconds
- Plug the unit back in STILL holding the reset button a final 30 seconds (please note that this step can put Asus devices into recovery mode…see note below!)
[CAUTION] - On some devices, resetting NVRAM in this fashion may cause more problems than it solves. For example, Asus WL-500g and the Motorola WR850G bootloader will not recreate default values and will not boot properly after being reset. If you do this on a Siemens SE505 V1, your router will not be accessible to you anymore! You will have to reflash it with the stock firmware on IP address 192.168.1.1 (NOT 192.168.2.1 as the installation procedure says!!)
mtd -r erase nvram
Install / Flash Linksys E1000 v1 only! (see above link for v2)
- Read the Peacock Announcement.
- Download dd-wrt.v24-15279_NEWD-2_K2.6_mini_e1000.bin. If you wish to experiment with a newer build, you should read the “build thread” for any build you are considering putting on your router, before flashing a newer build, (as discussed in the peacock announcement).
- Set a static IP on your computer to 192.168.1.7. Subnet mask should be 255.255.255.0
- Connect the lan cable from your computer to a LAN port of your router. Make sure your router is plugged in. Nothing should be connected to your computer or the router except the lan cable between them.
- Ensure you have a physical ethernet connection to your router, and disable your wireless adapter, antivirus/firewall protection, and any software that makes strong use of your network (BitTorrent, Streaming Audio/Video, etc).
- Perform a hard 30/30/30 reset.
- Navigate to http://192.168.1.1/ in your web browser of choice.
- At the Linksys Administration > Firmware Upgrade page, do not give the reboot command. You will use this page to upgrade your firmware.
- Browse to the firmware you downloaded and click Upload.
- Do not touch anything. The page will tell you that the upgrade was successful and the router is now rebooting. Your router may take upwards of a couple minutes to reboot. Watch the lights… once the wireless and power indicators are on steadily for several seconds, your router is fully rebooted and you can click “Continue” in your browser window.
- If the DD-WRT password change page displays, your upgrade has been successful, and you must now perform another hard 30/30/30. This time, when you navigate to http://192.168.1.1/, click “Reboot” and wait for the router to come online again so you can configure it.
Performing a 30/30/30 Reset on a Linksys E1000 v1.0
- Perform a normal 30/30/30 reset.
- Login to http://192.168.1.1/ and you will see the Linksys – Management Mode page.
- Click “Reboot.”
- In a moment, you will see “Command reboot completed.” The router will now start the reboot process. When the lights return to their normal state, you can click “Continue” to be taken to the router’s main page.
I used Auslogics Disk Defrag and highly reccomend it. It worked faster than the OS defrag option.
netsh advfirewall firewall add rule name=”YoutubeHTTP1″ protocol=TCP localport=80 action=block dir=IN remoteip=126.96.36.199/24
netsh advfirewall firewall add rule name=”YoutubeHTTP2″ protocol=TCP localport=80 action=block dir=IN remoteip=188.8.131.52/16
Enjoy. The incredible thing is now I’m not even seeing any delay when switching to 1080p, I used to see a complete refresh and then a pause. Why do these commands create a better streaming experience? TimeWarner/Insight is throttling downloads from servers that host cached videos. By rejecting these IP address ranges you will force the video to be served to you directly. This harnesses the full download speed of your internet connection. Other people can dive into the complexity much better than I ever could, but that’s the overall theme.
Steam accounts to idle on. You can create new accounts here.
Sandboxie so you can run multiple Steam accounts. A full version is needed to run multiple sandboxes.
(optional) A Steam Dev API key for an account which contains a purchased game. This will be used to access steam backpacks so you can see your drops happening.
All my instructions are written assuming you will be running 8 idle accounts, and are running Windows 7. XP and earlier OSs do not have the mklink command available for making the symlinks needed to save a ton of hard drive space. I’ve also written it assuming you have Steam installed in c:Program Files (x86)Steam and you put all your idle steam copies in C:idle if you have these in different places, you will need to change the below info accordingly.
Firstly, you need Steam installed and TF2 downloaded and playable. If you’re idling then you no doubt already have an active account and play the game, so will already have this.
(I’m not sure if these parts are needed, but I saw that tf2idle checked for an idle.cfg so I did some googling and found this:)
Go to your steamappsusernameteam fortress 2tfcfg folder and create a new text file. Name it idle.cfg (Make sure it isn’t idle.cfg.txt turn on the showing of file extensions if you aren’t sure, google if you need to know how) and paste in the following:
Also, open up your server.cfg and add the following:
hostname "Valve Loves Idlers"
*End of possibly unneeded stuff*
In your steamapps folder, create a new folder containing the username of each account you are going to idle with. Go into your original one, and copy the ‘team fortress 2’ folder, and paste it into each of these named folders.
Create a folder to contain all the copies of steam needed for the sandboxes. For me, I simply made a folder in the root, c:idle
In this folder, create a new folder, and give it a simple name with a number at the end to help differentiate it. I named mine steam1 to steam8. Into the steam1 folder, copy the contents of your normal Steam folder, minus the steamapps folder, as that will be a huge folder. Once you have the steam1 folder, I simply copy+pasted it 7 more times into the folder, renaming each folder so I had 8 steam folders.
Each of these folders needs a symlink to your steamapps folder. This makes it appear that there is a copy of the steamapps folder in each of these steam installs, when in fact they are all automatically redirected to your base steam install. This means that you don’t need 8 copies of the ~10Gb of TF2 files for each sandbox.
Open up a command prompt (Not sure if you need admin rights, but run it as an admin just in case), and navigate to the first idle steam folder (c:idlesteam1 for me)
Once there type the following:
mklink /D steamapps “C:Program Files (x86)SteamSteamapps”
Now if you go to the steam1 folder, you will see what appears to be a shortcut to the steamapps folder, double click it and you go there, but the address bar still shows it as being in the steam1 folder, which is what we want.
You will need to repeat this for each idle steam folder you have, you can’t simply copy+paste the steamapps symlink. Use the command prompt to go to the steam2 folder, run the mklink again, and so on for all the idle accounts you want.
Now all that is prepared, you need to install Sandboxie, which is a program that will allow us to run multiple instances of Steam. Once installed, on the menu go Sandbox>Create new sandbox. Give it a name, don’t bother copying the settings.
Once created, right click it and go to Sandbox Settings.
In there, you need to go to the restrictions>Drop Rights option, and unsure it is unchecked
Next go to the Resource Access>File Access>Full Access, and add the root folder of the drive that contains Steam, and the drive which will contain all the sandbox files (If they are both on the same drive then you don’t need to add it twice)
Now, create more sandboxes, one for each account you will be idling with. With these, copy the settings from one of your previously made sandboxes so you don’t need to go into the settings for each one. Giving them all simple names is strongly advised.
Finally, run TF2Idle. I put it into c:idle so I had everything in the same place, but it doesn’t matter where it goes. Its a stand alone exe, no installing, though it does make its own cfg file, and will make error files to check if there are problems, so its nice to have it separated.
Hit the ‘add account’ button and it will bring up a simple screen. Your steam username and password are self explanatory. You will need to log into the Steam community page with each account to create a vanity ID, which is required for item tracking.
In the Sandbox Name, this needs to be the name of one of the sandboxes you created earlier in sandboxie. The sandbox path needs to be the root directory of one of the idle steam folders you created. For instance C:idleSteam1
You don’t need any of the other options, so just hit ok and your account will be listed there. Repeat this process for each account you want to idle with, remembering you need a different sandbox name and sandbox path for each account.
Once all the account settings have been made, in TF2Idle go file>settings
In the TF2 tab, the steam install location and sandboxie install location should have been filled automatically, but point it the right way if not. Enter the Steam API key obtained right at the top to allow you to track the drops into all of your accounts. The API key can be from any account, it just needs to have a game tied to it to be able to generate the key.
The backpack viewer is optionally used as a way to view details on an item that has dropped. Leave the idle launch settings how it is, and I would advise increasing the account launch delay to ~120 seconds, as this gives each account time to create a server and get through any CPU/ram intensive tasks before the next one tries. And you aren’t going to miss a couple of minutes not idling.
Any other settings are optional. In the TF2Idle tab you can select to encript the config file, as this otherwise contains the steam account usernames and passwords in plaintext.
And you’re done! For the first time running, I would select one account at a time (orange icon if selected, grey if not by default), and hit the ‘start idling’ button. This will launch steam through sandboxie, and you will eventually get a command prompt full of text as the game runs in text mode. For reference, mine looks like this. The important thing is that it contains the ‘<account name> connected’ line near the bottom, as this shows you have connected fine. Once it looks ok, unselect the first and select the second, and start idling again (You don’t need to close the first one). Repeat this for all of the accounts, until they are all idling. Once they started up ok, next time you can just select them all and hit the start idling button and it will do all this automatically, but for the first time I find it better to start them manually so you can spot any problems.
Once they are all idling you can hit the ‘terminate sandbox’ to obviously stop them idling.
Otherwise, you can hit the ‘drop log view’ to see the drops, though first you will need to click ‘add accounts’. This should bring up a message for each account confirming that it has started logging the drops. Then you can sit back and watch as the list slowly fills up with all your free items.
And now you’re idling!
This thread for the .cfg contents
Questions or comments? Ask here! Everything I’ve just posted comes from searching various forums and threads trying to work out how exactly to get this working, so I hope this proves useful to some of you. And in the end, all credit goes to Moussekateer for actually making TF2Idle in the first place!
And remember, free TF2 accounts can only find weapons, no hats. And you can’t trade either, you’ll need to buy a copy of TF2/buy something from the Mann Co store if you want to get the top drops and start shifting them over to your main account.
Here’s some pictures of my setup:
http://i.imgur.com/KFoqQ.jpg – Idle folder containing 8 physical copies of the steam folder, bar the steamapps folder.
http://i.imgur.com/hhFsj.jpg – Inside one of the steam folders, showing the mklink steamapps
http://i.imgur.com/LAmCw.jpg – Inside the steamapps folder, account names blanked out.
http://i.imgur.com/TZZIi.jpg – TF2 idle settings, API key blanked out
http://i.imgur.com/R6CrP.jpg – More TF2 idle settings, details blanked out
http://i.imgur.com/yYPUv.jpg – 8 named sandboxes
http://i.imgur.com/gtPBn.jpg – Sandboxie full access
- First start VMware Player
- Create A New Virtual Machine
- Select the option “I will install the operating system later”
- Once done, your new virtual machine will be added to your virtual library, under Home.
- Double click on your new Virtual Machine to start it.
- It will next say the OS is not installed and provide an option to insert the OS installation media.
- Simply click on Change CD/DVD Settings to select your media then Restart VM!
The solution we figured out involved changing a value in a config file in %APPDATA%/Trine2 called options.txt.
In that cfg file there is an option; setOption(networkModule, “DisableSteamRelay”, false). It is set to false by default. Change it to ture so that; setOption(networkModule, “DisableSteamRelay”, true) is saved in the options.txt file. Make sure to close the game before you do this or it will change the value back. Both players need to change the option in their options.txt config file.
Another thing to check is if the ports for the game are correctly opened. We temporarly set our routers to DMZ mode, which is an option, but forwarding the ports is more secure. Frozenbyte makes a console program that checks to see if the correct ports are open for Trine 2. The program can be found at
It will run and display whether or not the correct ports are open for Trine2.
Another solution that was given in the forums by a developer of FrozenByte was as followed: .
Playing with v1.14
If you’re having connection issues, you can try the older v1.14 version of Trine 2. It uses different multiplayer methods internally.
You should know that savegames from versions 1.15 and 1.16 are not compatible with 1.14 (it will simply not recognize them as having any levels completed). So be prepared to lose your savegames. You can avoid that by using a different save slot (Settings -> Save Slot) and not touch the other saves, but it may not always be bulletproof.
You should do the downgrade to all co-op players, because 1.14 can only play with other 1.14 players. Mixing 1.14 and 1.16 will not work.
To downgrade to 1.14: Launch Steam, go to Library, right-click on Trine 2 and go to Properties. Then go to Betas tab, and choose “old”. It doesn’t require password. Now Steam will load v1.14 on your computer. (“old_v115” is v1.15 but it is based on the new multiplayer system so you don’t want to use that.)
To summarize, this thread to help with the various multiplayer errors and troubles that still occur to some users. For general information, Trine 2 now supports multiplayer between Steam (Windows/Mac), and also with standalone Mac and Linux versions. This works very well for the most part and most players don’t encounter any problems – there’s a lot of multiplayer games going on.
That said, some are encountering errors and other trouble. Usually it’s related to connecting to other players. The game will output an error code when it can. This can happen due to a few reasons – one reason is the simple fact that the servers might be under heavy load right now. It’s advised to try a few times at least. If the error numbers are always different, then that might indicate that the problem isn’t “permanent” and you’ll get through with enough tries.
Here are the error codes and explanations:
0 = NetErrorUnknown
// Unexpected disconnection
2 = NetErrorJoinLobbyAborted
// User cancelled connection attempt
3 = ConnectFailReasonNotOnline
// Not connected to master server
4 = NetErrorNoResponseFromHost
// No reply received in 30s
6 = NetErrorConnectionRejected, NetErrorNoResponseFromServer
// Connection was lost
7 = NetErrorConnectionRejectedByServer, Disconnecting
// Server is disconnecting
8 = NetErrorConnectionLost
// Connection was lost
9 = NetErrorConnectionSyncDataTimeOut
// Sync data was not received in 30s (slow connection)
10 = NetErrorConnectingToMasterFailed
// Cannot connect to master server
65539 = ConnectFailReasonFull
// Game is full
65541 = NetErrorConnectionRejected, ResponseRejectedFull
// Game is full
65543 = NetErrorConnectionRejectedByServer, ServerFull
// Game is full
131075 = ConnectFailReasonRejected
// Rejected by peer
131077 = NetErrorConnectionRejected, ResponseRejectedBadPassword
// Invalid password
131079 = NetErrorConnectionRejectedByServer, BadVersion
// Incompatible version
196611 = ConnectFailReasonInvalidTarget
// No such peer
196613 = NetErrorConnectionRejected, ResponseRejected
// No longer hosting a game
196615 = NetErrorConnectionRejectedByServer, BadRequest
// Incompatible version
262147 = ConnectFailReasonTimeOut
// Connecting took too long
262151 = NetErrorConnectionRejectedByServer, TimeOut
// Join attempt timed out
327683 = ConnectFailReasonDeleted
// Disconnected from master server
393223 = NetErrorConnectionRejectedByServer, KickedOut
// Kicked out by server
Trine 2 nettest program
We have a quick port test program now at
This may help figuring out if the ports are open or not. It is not, however, conclusive – most players will be able to play just fine even if the ports are closed. (We’ll try to add some more help and how-to as we go along, but right now you’ll have to look elsewhere for info on how to open those.)
How to start solving the problem
First, make sure the Steam Ports are open.
Then, there’s a lot of different options that relate to multiplayer in the game itself. You can access them by opening %APPDATA%Trine2 folder and then opening options.txt. %APPDATA%Trine2 can be copypasted to Windows Explorer and it should go to e.g. C:UsersJoelAppDataRoamingTrine2 (AppData is a hidden folder). On Mac it’s in ~/Library/Trine2/
The settings we are looking for are at the end, and the most important ones are these:
setOption(networkModule, “AllowSteamConnections”, true)
setOption(networkModule, “AllowNonSteamConnections”, true)
setOption(networkModule, “AllowSteamRelay”, false)
The first thing to try is to enable AllowSteamRelay. If it doesn’t work, change something else and try again…
There’s been reports that Private games have more trouble than Public ones. So try Public and see if it has the same issues. We are looking into this too and will see if there’s anything that would cause this (there shouldn’t, but who knows)…
Private games with password
The password system in Trine 2 is a little unintuitive. Even if you are invited by your friend, you may get a Bad Password popup. In this case, go to the Multiplayer / Join Online Game menu, and join the Private game manually. First enter the password at the bottom of the screen, and then click on the server to join.
If you have any internet speed/connectivity programs on the computer(s), e.g. to boost downloads, or other similar things, please make sure they are not enabled.
Petrified Tree / The Final Chapter
We are aware of some strange disconnection issues with the levels Petrified Tree and The Final Chapter. These seem to be related to Low/Very Low graphics settings (which cause longer loading times as well). You may do well to try Medium settings and see if the problem remains with these levels.
Playing with older version
One alternative, if you only want to play with Steam friends, is to try out the older version of the game. This may help in some of the cases (but not all – the newer version should be the best one for most people).
If you are interested in that, there’s a couple of things to know:
1. Your savegames will get messed up. Newer versions of the game can load any savegame, but older versions do not recognize newer savegames. Therefore, if you “downgrade” to v1.14, your v1.16 savegames will not work (they may show up as only having the Story Begins level available). Use a different “Save Slot” for v1.14 and that way you might be able to keep all saves in working condition. In general, be prepared to lose your savegames.
2. V1.14 can only play multiplayer against other v1.14 versions. So if you do this, you can only play with your friends or others who use the same version (which is very few people).
3. This has not been done many times so something strange can happen – most dramatic would be losing your savegames (as said in #1).
If that sounds ok, then here’s instructions on how to do this: Launch Steam, go to Library, right-click on Trine 2 and go to Properties. Then go to Betas tab, and choose “old”. It doesn’t require password. Now Steam will load v1.14 on your computer. (“old_v115” is v1.15 but it is based on the new multiplayer system so you don’t want to use that.)
Enable multiplayer logging
In options.txt ( %APPDATA%Trine2 , see above for a longer explanation), there’s this line:
setOption(networkModule, “NetLogEnabled”, false)
set it to true, and the game will produce a log of the events to logtrine2.log file. You can open this file with e.g. Notepad, it’s just text data. Please either copypaste it along with your post or make it available elsewhere online, so we can take a look at it.
Report your problem in detail
To help us figure out what’s going on.
Here’s some information that would help:
– the net log output ( trine2.log )
– what game settings you are using (resolution, graphics detail level, etc)
– your computer specs
– your location (country/city)
– your ISP and bandwidth/connection