/etc/network/interfaces, please help me.
Hello.
I hope this is the right section to post this, if its not, please move this thread.
I am currently useing hrace009's server release and the HGN client. I can connect without problems. But, I want to have friends connect over the internet. Now, Drakaer has allready helped me quite a bit with this guide :
http://forum.ragezone.com/f452/help-...9/#post5769313
, but I cannot Ping my server IP or connect with WinSCP.
Here is a screenshot of all the important stuff :
http://img291.imageshack.us/img291/364/configb.png
Could anyone tell me how I should edit my interfaces, so that I can ping and connect to my server, like Drakaer posted in his guide?
Thanks.
Re: /etc/network/interfaces, please help me.
Writing something atm. Firefox just crashed on me earlier. Ill post it here and pm you when Im done.
Back to work...
---Here it is---
I looked at your image and did find some problems and have made some suggestions you can try.
Firstly you do not need to change the following as you should be using bridged mode. The following is for "host-only" mode as you can see so any changes here wont have any effect in bridged mode.
Secondly you should be using bridged mode if you arent already.
Now for the tricky part, configuring the interfaces. In the image I have highlight what you have dont correctly and what you havent done correctly and will try to explain under it.
RED: You IP cannot be 192.168.0.10. It must be on the same range as your network. Since your gateway is 192.168.178.1 you IP must also be 192.168.178.X
(NB: It is possible to be different but since you said you didnt know much about networking and since Idk how to configure it in such a way I said it cannot for these purposes).
BLUE: This is where my knowledge of networking is not the best. I will provide two possible solutions that you can try but I cant guarantee that they are correct.
- Network Possibilities
Network 192.168.0.0
Network 192.168.178.0
- Broadcast Possibilities
Broadcast 192.168.0.255
Broadcast 192.168.178.255
Try with the first one first as its what you had then try the others or a combination or read up a bit on those to understand them better.
GREEN: This is what Im pretty certain is correct so you can leave these as is. :thumbup1:
Try and test the network connectivity now. If you get a rely good work. If not Im not too sire where to go from here. You might like to try dhcp instead of static.
Anyway if you can get some connectivity you will then need to change the ips in the following files (except 0.0.0.0) so you can connect with your client.
You may need to forward port 29000 in your router to connect.
If you want your server to be public there is a good guide here
http://forum.ragezone.com/f452/tutor...ctures-653514/
People on your local network will connect via your local ip and other via your no-ip ip. Havent tested via hamachi so dont know if it will work
Good luck
~ Drakaer
---Edit---
Spelling mistakes :/
Gah in the image I was meant to say resolv.conf not resolv.cong
That what I get for typing in the dark.
Re: /etc/network/interfaces, please help me.
Thanks a lot m8.
Edit : Woah, thanks ! I will try this right away, and post here if it works. A BIG thanks again!
Edit 2 : It works now. I changed the IP.
This is the working config :
http://img17.imageshack.us/img17/4449/workingh.png
Thanks so much man!
Re: /etc/network/interfaces, please help me.
Np glad you got it working :thumbup1:
Hopefully this helps others too.
Re: /etc/network/interfaces, please help me.
Code:
Address: 192.168.178.88
Netmask: 255.255.255.0
Gateway: 192.168.178.1
Network: 192.168.178.0
Broadcast: 192.168.178.255
dns-nameservers: 192.168.178.1
This is the correct config for your machine :wink:
Re: /etc/network/interfaces, please help me.
Can anybody Diser WHY to put these settings in vbox and connect it to my connection with dedicated and so falls back when I talk to the company responsible?
Sorry the English I am Brazilian.
Re: /etc/network/interfaces, please help me.
http://img691.imageshack.us/img691/4504/28428160.jpg
would these be the correct settings for my network?
Re: /etc/network/interfaces, please help me.
Quote:
Originally Posted by
nytehawk
No, please reread carefully.
Don't need host only adapter at all.
Your broadcast and network are wrong.
Everything else is good.
Re: /etc/network/interfaces, please help me.
network: 192.168.1.107
broadcast: 192.168.1.109
would that work?
so i just delete the host adapter?
Re: /etc/network/interfaces, please help me.
No, look carefully. The network always ends in 0. Broadcast always ends in 255.
You can remove the host-only adapter if you wish. I just disabled mine however.
Re: /etc/network/interfaces, please help me.
my internet provider works with automatic DHCP
it detects ip with computer mac address ...
are there any possible ways to make it work on my computer ?
Re: /etc/network/interfaces, please help me.
Use loopback (localhost, 127.0.0.1) whatever xD for those server files:
Then search on the forum for the NO-IP tutorial to get a dynamic dns that will detect each time your internet IP will change.
So your player will can connect with this DNS instead of your dynamic IP.
---------- Post added at 06:45 AM ---------- Previous post was at 06:42 AM ----------
http://forum.ragezone.com/f452/tutor...ctures-653514/ (tutorial by Hemer)
http://forum.ragezone.com/5405611-post5.html (mine tutorial)
Re: /etc/network/interfaces, please help me.
Quote:
Originally Posted by
Romulan
Use loopback (localhost, 127.0.0.1) whatever xD for those server files:
Then search on the forum for the NO-IP tutorial to get a dynamic dns that will detect each time your internet IP will change.
So your player will can connect with this DNS instead of your dynamic IP.
---------- Post added at 06:45 AM ---------- Previous post was at 06:42 AM ----------
http://forum.ragezone.com/f452/tutor...ctures-653514/ (tutorial by Hemer)
http://forum.ragezone.com/5405611-post5.html (mine tutorial)
thanks but you don't understand me.. i have dynamic ip adress )
the problem is that my network configuration are detected by my computer mac address...
this is how my windows local area connection looks like
http://img718.imageshack.us/img718/7...dasdasdasd.png
well i can try to find the way to set automatic dhcp on linux but
i don't understand what configuration will i have to enter in server files ...
Re: /etc/network/interfaces, please help me.
127.0.0.1 for all internal process (gamedb.conf, uniquename.conf and so on)
0.0.0.0 for glinkd to make eveyone can connect to your port 29000 from any interface of your server.
and use NO IP to avoid your problem of your dynamic IP (like me :mellow:)
Btw, you show your Windows network config and i speak about your linux server network config :wink:
Vbox, Vmware whatever you want...
Re: /etc/network/interfaces, please help me.
Ok i will try to write more detailed info about DHCP
with help of DHCP my internet provider sees my computer MAC address and give's him network settings ...
as you know virtual box mac address and real computer mac addresses are different so internet provider can't give virtual box mac networking settings since it's not in there database
Re: /etc/network/interfaces, please help me.
Ok cleaning up this topic. Try to refrain from insulting each other please.
Try reading this for setting up without a router.
http://forum.ragezone.com/f452/make-...ternet-688425/
You may also like to try changing the "/etc/network/interfaces" from static to DHCP on your server.
---Edit---
For the record here is how DHCP works for anyone that is interested
http://en.wikipedia.org/wiki/Dynamic...ation_Protocol
Re: /etc/network/interfaces, please help me.
Quote:
Originally Posted by
Romulan
Use loopback (localhost, 127.0.0.1) whatever xD for those server files:
Then search on the forum for the NO-IP tutorial to get a dynamic dns that will detect each time your internet IP will change.
So your player will can connect with this DNS instead of your dynamic IP.
---------- Post added at 06:45 AM ---------- Previous post was at 06:42 AM ----------
http://forum.ragezone.com/f452/tutor...ctures-653514/ (tutorial by Hemer)
http://forum.ragezone.com/5405611-post5.html (mine tutorial)
Hi sir.. can you please help me? I am trying to get a server to work but it wont let me connect to WinSCP :/ can you maybe show me over Teamviewer or something?
Trident
Re: /etc/network/interfaces, please help me.
Re: /etc/network/interfaces, please help me.
[s]closed[/s]
(holy necro batman)