Need help playing Linux D3 on LAN

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
thwart
DBB Ace
DBB Ace
Posts: 116
Joined: Mon Apr 14, 2003 2:01 am
Location: PA

Need help playing Linux D3 on LAN

Post by thwart »

I am able to start a new game OK. However the 2nd computer can't see the game when selecting \"scan for local games\". I tried typing the local IP for the computer running the game (without a port #) but it still doesn't work.

Any idea what I need to do next?

Thanks in advance,
thwart
Cuda68
DBB Captain
DBB Captain
Posts: 745
Joined: Mon Jul 09, 2001 2:01 am
Location: Denver, CO USA
Contact:

Post by Cuda68 »

Usually getting the game to load is the problem, due to getting the rights setup correctly. Rights could be jerking you around. Try opening a shell and useing the SU command, and then launching the game from within the shell.
then move onto normal LAN connectivty issues, Both machines are pulling the proper IP address, cabling and such. Also try to ping one another from each machine. You know the usual stuff.
Once that has been addressed move on over to disabling firewalls and such.
Once all that has been addressed the game should at least seen useing IP addressing with the port ie.. 192.168.1.100:2090 or whatever you are useing, but do specify the port if not the default. I don't remember what the proper default port number is.
User avatar
Duper
DBB Master
DBB Master
Posts: 9214
Joined: Thu Nov 22, 2001 3:01 am
Location: Beaverton, Oregon USA

Post by Duper »

sounds like Windows ME.
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

firewall up?
thwart
DBB Ace
DBB Ace
Posts: 116
Joined: Mon Apr 14, 2003 2:01 am
Location: PA

Re:

Post by thwart »

fliptw wrote:firewall up?
Yep, on both. Cuda68 was mentioning this also. The strange thing is I can connect to games on the internet with both machines. Maybe because clients can and servers are blocked??

Does anyone know what port D3 uses for LAN games so I can open it up rather than shutting the whole firewall down?

Thanks again.
User avatar
Krom
DBB Database Master
DBB Database Master
Posts: 16138
Joined: Sun Nov 29, 1998 3:01 am
Location: Camping the energy center. BTW, did you know you can have up to 100 characters in this location box?
Contact:

Post by Krom »

Default port on D3 is 2092 for both internet and LAN games for all versions and operating systems.

If you can access internet games on both computers, it sounds like your router is screwing something up on the internal LAN side. Have you tried starting a game from the other computer on direct IP?
thwart
DBB Ace
DBB Ace
Posts: 116
Joined: Mon Apr 14, 2003 2:01 am
Location: PA

Post by thwart »

Thanks for all the help. That port number was invaluable. I got it working by:

Add this line to /etc/shorewall/rules

ACCEPT net:192.xxx.x.x fw udp 2092

The IP address is the other computer that is allowed to connect. Notice the udp not tcp. This is only needed for the computer starting the game (running the server).

Restart shorewall with

shorewall restart

The other computer connects to game using address:

192.xxx.x.x:2092

Press \"search for games at address\" to see game.

Replace the IP addresses with your LAN IPs


On another note, ping still doesn't work between the 2 machines because of the firewall. Linux keeps the network very tight by default. I leave it that way.

Thanks again,
thwart
User avatar
Duper
DBB Master
DBB Master
Posts: 9214
Joined: Thu Nov 22, 2001 3:01 am
Location: Beaverton, Oregon USA

Post by Duper »

Great info and well done thwart.

Is there any chance we can get this posted in the \"How to..\" thread in the Multi forum?
Post Reply