The online racing simulator
Guide: Running an LFS Server
(704 posts, started , go to first unread)
Quote from Davo :The instructions are on the first page, did you follow them? Where exactyl are you having trouble?

i can't connect though my own pc to the server. When trying to connect from another pc it says "could not get track info" or smething like that. Any ideas?
Well it sounds like it's connecting but then disconnecting for some reason. Is the server you're setting up on the same local network as your pc?
Quote from Davo :Well it sounds like it's connecting but then disconnecting for some reason. Is the server you're setting up on the same local network as your pc?

Yes ofcourse it is in the same network. Any other sugestions?
Check the config file, or better yet post it up.
there it is my .cfg
Attached files
setup.rar - 381 B - 760 views
You will never beable to connect locally, using your config, because you've told LFS to only listen on 10.29.78.89. Either comment this line out, or try to connect to that IP from the machine instead of 127.0.0.1.

Unless you have multiple IP addresses, and you only want to listen on one, never configure the ip directive. This ensures that it will bind to all addresses on the machine, including localhost.

With regards to the track info not getting to another PC, its possible thats caused by a firewall.
Quote from the_angry_angel :You will never beable to connect locally, using your config, because you've told LFS to only listen on 10.29.78.89. Either comment this line out, or try to connect to that IP from the machine instead of 127.0.0.1.

Unless you have multiple IP addresses, and you only want to listen on one, never configure the ip directive. This ensures that it will bind to all addresses on the machine, including localhost.

With regards to the track info not getting to another PC, its possible thats caused by a firewall.

Dear Friend thankx for your advice, but the problem is that the whole network is using different subnet masks, so the only way is to give a unique ip address to the server. How can i solve this problem? Otherwise none is gonna be able to connect to the server because of the different subnets.
Quote from c_access :Dear Friend thankx for your advice, but the problem is that the whole network is using different subnet masks, so the only way is to give a unique ip address to the server. How can i solve this problem? Otherwise none is gonna be able to connect to the server because of the different subnets.

I'm not entirely following you, which maybe a language thing.

Perhaps a simple network diagram might help? I'm slightly confused by the statement "the whole network is using different subnet masks". Does this mean you have a different subnet for each machine (Surely not?!!?!! That would obviously be a bit crazy, but I've seen worse), or the machine you're trying to connect from is on a different subnet (this would be an infrastructure issue, and out of the scope of this thread somewhat).
Quote from the_angry_angel :I'm not entirely following you, which maybe a language thing.

Perhaps a simple network diagram might help? I'm slightly confused by the statement "the whole network is using different subnet masks". Does this mean you have a different subnet for each machine (Surely not?!!?!! That would obviously be a bit crazy, but I've seen worse), or the machine you're trying to connect from is on a different subnet (this would be an infrastructure issue, and out of the scope of this thread somewhat).

The network has several access points. We connect on them and each access point has it's subnetmask. The access points are connected each other with backbone(wireless links), e.g. i can't see in my shared folder all the shared stuff of the whole network because of the different subnets that are used. Everone has an ip looking like this : 10.xxx.xxx.xxx and every access point has a whole C class like 10.27.156.xxx or 10.34.46.xxx.
Sorry if my english aren't so good. Let me try to explain to you with an example. We have a dedicated server for playing counter strike. This server is running on someones pc. I put the ip of the server in the game
in my pc, i connect and then i play. I'm saying that the server has to be listening only to one ip. The client who wants to connect to the server has to put this ip in the LSF multiplayer conection and connect. I hope you understand what i want.

P.S. sorry for my english, i'm doing my best to explain to you.
Provided that IP address is present on the machine you're running LFS on, it should bind fine; but what I was trying to say, if you only bind to that 1 address, then LFS will never respond on trying to connect to localhost, because its not listening for connections.

Anyway, the fact that the you're not getting track info could be a result of an internal firewall, or an incomplete/invalid route.

The following ports need to be open:
Incoming (listening): TCP/63392, and UDP/63392 (or whatever port you specify in the cfg file)
Outgoing: TCP/29339

Quote from c_access : P.S. sorry for my english, i'm doing my best to explain to you.

Trust me, your English is much better than my Greek!
Quote from the_angry_angel :Provided that IP address is present on the machine you're running LFS on, it should bind fine; but what I was trying to say, if you only bind to that 1 address, then LFS will never respond on trying to connect to localhost, because its not listening for connections.

Anyway, the fact that the you're not getting track info could be a result of an internal firewall, or an incomplete/invalid route.

The following ports need to be open:
Incoming (listening): TCP/63392, and UDP/63392 (or whatever port you specify in the cfg file)
Outgoing: TCP/29339

Trust me, your English is much better than my Greek!

Thankx for your help, i will check it later(no more time) and i will let you know!
BTW don't you guys never sleep? I am talking about this problem more than 10 hours!!!
Quote from c_access :BTW don't you guys never sleep? I am talking about this problem more than 10 hours!!!

Sleep is for the weak! I'm regularly up before 7:30am, and usually dont goto sleep until about 1 to 2am
ClientConnect: connect failed
No matter what settings i set corectly, i keep getting this message:
"ClientConnect: connect failed"

Neither a buddy of mine can his server up and running.

This is as far as i got with a LFS dedi server that says its "ON LINE" (but i think it isnt)

[ADSL Modem]----[WIFI Router] - - - - [Laptop]-[LFS DEDI U30]
[ADSL Modem]----[WIFI Router] - - - - [PC]-[LFSU30]

The server says its up and running, no red errors. Connecting to the server by entering the server name in "specific server" gives me "ClientConnect: connect failed".

LFS gone illepall

All ports are forwarded, all firewalls have been taken down, ive plugged in the laptop dirctly into the modem but then it would not "bind" with the server . (Yes i had internet working then through the cat5)

Help apreciated as im about to go apeskittles

LFS rocks though
im a bit confused with ur post maxk
are you connecting from the other PC on ur network or someone elses PC on the internet?

if its the PC on ur network, then just use the local IP of that machine that its being hosted on
Quote from MaxK :... then it would not "bind" with the server.

Have you specified the /ip setting in the server setup cfg ? In 99.9% of cases this is not necessary and afaik the only way you could make the server fail to 'bind' unless you've accidentally started several instances. Leaving this setting undefined should make the server listen on all available network interfaces.
Ill try to explain my situation a bit better.

I want to use the laptop as the server, just because its not my gaming pc It has a wifi card and a lan port.

1 For testing the Dedi i used the wifi and disabled the lan intreface in windows. Once ive configured the .cfg file as demo (and commented the ip address) it says "ON LINE" and no red messages listed.

1.5 Look like its working at this stage.

2 Now i move to my game PC which is attached also with a wifi card to the same router, i open up LFS, click on list demo servers, cant find my server. Nothing is lost yet, so lets try to use the option for a specific server. I enter the name of my server and it starts connecting, but then it says client connect: connection failed.


So lets try something else.

1 Server runs on the laptop
2 Startup LFS on the laptop while the server is running, and list demo server. I couldn't find my server listed.

3 start the game and type in the localhost ip 127.0.0.1 and it connects, but i needed to create a game accessable from the internet

Thats really odd i think. Going to try again tonight, It will work somehow

I might want to investigate what my modem actually does with forwarding ports in the firewall :S (its a sagem 3202 or better known as Wanadoo live box or orange live box)
The likely explanation is:
Your router doesn't understand what to do.
1. You connect from your gaming PC to the master server to get the list of servers.
2. Your server is within the list.
3. Your copy of LFS tries to talk to the ip address it specifies; The packet(s) get to your router and the router thinks "that ip address is on my wan port. thats for me!", then doesn't understand what to do with the packets from that point as there are no rules for it to follow. It is likely that your router is only applying the forwarding rules from the WAN to the LAN.
4. Your LFS server fails to show up in any server list within the LAN.

Connect to your LAN server using the LAN ip address. For a start unless you've got a decent router, it'll be quicker.

Second, if you run the server again, what did you call it? We'll connect to see if its running properly, and all ports are forwarded correctly. If we can connect then the issue is as above.
Hey the_angry_angel,

Thanks for your help, Im currently at work, but once i get home ill setup a server and write a post how ive connected everything exactly. Ive been wondering if certain ports in the modem are blocked no matter what. (Standard emule/Azureus ports are blocked by the ISP it seems, setting them to other values made those download programs work)

I will let you know when im home and got a server up and running. Connecting the modem directly to the laptop with the server should help i think, just hope it will 'bind' .
Quote from MaxK :Standard emule/Azureus ports are blocked by the ISP it seems, setting them to other values made those download programs work

This is likely to be the same cause, as LFS the same / similar "high" ports.
Yes, but why does the Dedi say "ON LINE"

Does it peform a talk back test to send a hello world test, send something to the LFS main server, and let the LFS main server send something towards the Dedi, on which the DEDI respond with "ok".

When a player on the internet wants to connect to a server, the player sends a request to the main server, and from there is redirected with the IP to use right?
Quote from MaxK :Does it peform a talk back test to send a hello world test, send something to the LFS main server, and let the LFS main server send something towards the Dedi, on which the DEDI respond with "ok".

I've not tested whether it does a talkback or not. As such as far as I'm aware all it tries to do is talk to the master server, if it responses and registers successfully, it displays online.
Hello Karl,

Ive got the server up, im DIRECTLY connected to the modem and ive port forwarded port 50005 to my laptop, and the server reports itself as ON LINE

the name of the game is ABCTESTABC, type : demo. ** oops its S2**

Ive ran a port scan and port 50005 is open.

Id highly appreciate to test if this game is joinable.

Kind regards,
Steven
Yup, it works fine and I'm in
Quote from the_angry_angel :Yup, it works fine and I'm in

Thank you very much!

I can get in only over the lan itself now... going to ry a different comp on the other NIC of the modem.
wo wo wooooooooooo dude STOP

u had it setup fine the first time
LFS is weird how they setup there servers, i use to run other servers like AA and Farcry myself, and i know LFS is different

In your home network you ALWAYS connect to the laptop via its local IP( ie. 192.168.1.1) to get in........and people out on the internet search through list to get logged in

The only way to test LFS's back to front server arctitecture is to get a friend on the internet to look

go to LFSworld.net and search the online servers, i garantee it was there the whole time

Note: in your own network at home u CANT search for ur own server

Guide: Running an LFS Server
(704 posts, started )
FGED GREDG RDFGDR GSFDG