Help a noob: wired network connection works in browsers but not in games -- fixed
I'm not even sure where I can ask for some advice as a noob, but here goes anyway.
I'm still running Ubuntu Studio 8.04 and I've a wired net connection through ADSL that works automagically by DHCP. Internet browsing, online radios, everything seemed to be fine.
Except games cannot connect to the internet. First I bought World of Goo (Linux native binaries) and it says it cannot connect in that goo-tower-building special level, where it would connect to compare heights to other people's. There's no system error, just a friendly in-game connection failure. I just thought their servers are down since my browsing is fine.
And now, after getting the beta key for Heroes of Newerth, the same. When I run it, it somehow finds that the newest game version is newer than the installed one, but it just skips doing the update. So some part of the connecting works, some doesn't. And then, I search games to join, and it finds that there's e.g. 90 existing games, but then it cannot download the actual list of games so it appears as if there's none and there's nothing I can do.
I thought to myself, this looks like some strong firewall rules or something? I searched how to configure Ubuntu 8.04's firewall and I found some ufw hints. I run ufw status and it says it's disabled.
So if there's no firewall, what can block the games from connecting? (Heroes of Newerth manages to do some sort of connection though as I said but not enough)
Thanks for whoever has the time to read this long post.
Last edited by geamandura; 10-03-2009 at 02:49 PM.
Ubuntu also might have firewall enabled by default in a pretty restrictive mode. I don't remember if it does. Probably want to check iptables.
9 times out of 10 the dsl modem is a hybrid modem / router / firewall and many linux apps don't play well with UPnP (what really does).
Alternatively (and Im sure this is the initial response you will get in the Ubuntu forums), do a distro upgrade to 9.04. The 8.04 release is significantly old and an upgrade will probably fix your issue just by freshing your configs, unless you have a hardware issue.
I solved it!
Thanks everyone for giving a hand, especially Bölvadur for your detailed attempt (I wrote on Ubuntu forums and got no reply but whatever)...
None of the above guesses was the cause. It was something else... I don't even remember how I came to realize it but I'm glad I did (I was very very lucky considering my n00bness).
OK so this was the problem: when installing the games, they were created with root ownership. I had to "chown myuser.myuser gamedir -R" and now they connect to the mighty internets Now, to finally start testing Heroes of Newerth, yummy.
Bölvadur, I'll look into the gaming event, but time is tight atm so maybe I won't make it.
Last edited by geamandura; 10-03-2009 at 02:48 PM.