Tag Archives: ubuntu

Setting up a Team Fortress 2 Server on Ubuntu

The install will take a while.  Near the end, we’ll end up downloading a 3.5 GB file.  I recommend screening the session, so you can close it when it starts the download and return to it later.

screen

Download the install file:

wget http://www.steampowered.com/download/hldsupdatetool.bin

Give permissions to execute, and execute it
This will download hldsupdatetool.bin to your current directory. Next we need to give this file execute permissions and the run it.

chmod +x hldsupdatetool.bin
./hldsupdatetool.bin

Run the Steam server to pick up any new Steam updates:

./steam

Once updated, run the Team Fortress 2 server to download the TF2 server updates (this is where screen sessions become handy):

./steam -command update -game tf -dir .

Once the TF2 server downloads and updates, it’s time to setup the configuration. Here’s a link to get you started.

http://www.dodbits.com/dods/index.php/tf2/66-team-fortress-cvars-september-2011

Now we start it:

./srcds_run -game tf +map ctf_2fort

And there you go! A simple way to start your own TF2 Server!

Ubuntu 9.10 to 10.04 update causes secondary video issues

I’ve been using Ubuntu 9.10 on my Lenovo Thinkpad T60p for a while and decided that I should update my OS to Ubuntu 10.04 to keep up with the kiddies.  My setup is having a Dell monitor attached to my Lenovo where I usually do most of my work.  After ~2-3 hours of updating packages, I was finally prompted to restart my system.  Once the 10.04 desktop came online, I noticed that there were a ton of squiggly rows on my secondary monitor which signalled a bad video output.

I decided to do a quick google search for “Ubuntu 10.04 upgrade squiggly monitor”.  This lead me to this forum post: http://www.uluga.ubuntuforums.org/showthread.php?t=1466072

Several forum posters reiterated what the OP was mentioning and finally, someone had a solution:

“create file /etc/modprobe.d/radeon.conf with contents “options radeon new_pll=0 modeset=0″ and reboot.”

Boom, I did that and all is good now.  If you want to follow this bug, here is a link: https://bugs.launchpad.net/ubuntu/lucid/+source/linux/+bug/541501

-K