Author Topic: tremded on Linux question  (Read 4374 times)

darklurker

  • Posts: 23
  • Turrets: +0/-0
tremded on Linux question
« on: July 16, 2006, 01:14:56 am »
If these are totally stupid questions, please say so and forgive me.  

I'm trying to bring up a dedicated tremulous server on a linux box, but I'm having problems.  My first big question is: will tremded run on a linux box that doesn't have Xwindows installed?  The distro I'm trying to use is centos Server, which has no graphics stuff - no X, no kde or gnome, just a nice, friendly BASH shell.  If tremded needs graphics and the openGL stuff, then I guess I should stop now and lie down for a while... :)

Also, the linux box is behind a nat firewall, so what port(s) do I need to forward from the outside (Internet) to the linux box?  I guessed it was UDP 30720, but I see that in the startup output, the linux box tries to connect to the master server on 30710 - do I need to forward that port too? (the firewall allows all outgoing ports from the linux box, so _outgoing_ ports shouldn't be a problem)

I've read the 3 or 4 threads in the forum that deal with tremded's command line switches and server.cfg, but so far, my box isn't showing up on the master server's list when I run a game from my Windows machine.  Is there any "official" server documentation other than those threads?

Any help will be mucho appreciated.  All flames will be gleefully ignored.  :)

This is such a cool game.  To bad I perpetually sux at FPS games...

Dave

b-_-d

  • Posts: 12
  • Turrets: +0/-0
    • http://Linuxmall.us
tremded on Linux question
« Reply #1 on: July 16, 2006, 05:34:28 am »
What did you find out? I also whatc to start a server?
55d18c5573068300352f915e4ec140b

darklurker

  • Posts: 23
  • Turrets: +0/-0
tremded on Linux question
« Reply #2 on: July 17, 2006, 04:35:02 am »
Nothing yet - no replies in this forum, and the linux box is at work so I couldn't test anymore over the weekend.  Maybe on Monday...

Chojin

  • Posts: 96
  • Turrets: +0/-0
    • http://wraths.dyndns.org
tremded on Linux question
« Reply #3 on: July 17, 2006, 08:47:31 pm »
No, you do not need a graphic system running for tremded. You can even extract the package without the gui installer (--help).

Only UDP port 30720 should be enough, not exactly sure though...

To make a dedicated server public you need to add +set dedicated 2 to the commandline. But since you are sending heartbeat to master.tremulous.com, you seem to do that already. Maybe Tremulous does not support natted setup and is sending your LAN-IP to the master server?

Good luck,
Marc

darklurker

  • Posts: 23
  • Turrets: +0/-0
Re: tremded on Linux question
« Reply #4 on: July 17, 2006, 10:49:00 pm »
Somebody whack me with a dead fish.  Sometimes I amaze myself.

I fixed one big problem - the iptables rules weren't set to accept 30720.  Three hours banging my head against the wall tweaking server.cfg and startup switches, and it turned out to be iptables.  Why is it always the easy stuff that causes problems... I was wondering why the box wouldn't show up locally when I set dedicated to 1.  

So for the other newb admins, if you start a local tremded on the Linux box and try to connect to it from another box, if you don't get the map name, player count, or ping, check your iptables rules...

I'm still not showing up on the masterserver, but that might be a problem with the Internet firewall.  Does the master server send any acks back that it received the heartbeat?

BTW - in another thread, I've seen a reference to a startup switch of "+ip xxx.xxx.xxx.xxx" - is that a legitimate switch?  if so, how is it different from "+set net_ip xxx.xxx.xxx.xxx"?


Thanks to Chojin who confirmed that the server doesn't have to be able to do graphics to run tremded.

darklurker

  • Posts: 23
  • Turrets: +0/-0
Re: tremded on Linux question
« Reply #5 on: July 18, 2006, 02:28:35 pm »
Yep, it was a problem with my firewall.  The server is now showing up on the masterserver list (DarkLurker's Lair).  Woohoo...

I'll finalize stuff on the server, and hopefully have it running full time later today.  So if you see it and wanna play on it, go ahead.

To answer my earlier question, the masterserver does NOT send any acks back that it received your heartbeat.