/etc/network/interfaces, please help me.

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    uint is best int. Swoosh91 is offline
    MemberRank
    Feb 2010 Join Date
    BerlinLocation
    712Posts

    /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.


  2. #2
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    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.
    Spoiler:


    Secondly you should be using bridged mode if you arent already.
    Spoiler:


    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.
    Spoiler:

    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.

    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.

    Spoiler:
    /PWServer/gacd/gamesys.conf
    /PWServer/gamed/gmserver.conf
    /PWServer/gamed/gs.conf
    /PWServer/gamed/gsrollback.conf
    /PWServer/gamedbd/cashstat.conf
    /PWServer/gamedbd/gamesys.conf
    /PWServer/gdeliveryd/gamesys.conf
    /PWServer/gfactiond/gamesys.conf
    /PWServer/glinkd/gamesys.conf
    /PWServer/logservice/logservice.conf
    /PWServer/uniquenamed/gamesys.conf
    /etc/authd.conf
    /etc/gmopgen.xml
    /etc/GMserver.conf
    /etc/hosts
    /etc/iweb.conf
    /root/apache-tomcat-5.5.28/webapps/pwAdmin/.pwconf.conf


    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.
    Last edited by Drakaer; 25-08-10 at 05:03 PM. Reason: Here it is

  3. #3
    uint is best int. Swoosh91 is offline
    MemberRank
    Feb 2010 Join Date
    BerlinLocation
    712Posts

    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!
    Last edited by Swoosh91; 15-08-10 at 08:00 PM.

  4. #4
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: /etc/network/interfaces, please help me.

    Np glad you got it working
    Hopefully this helps others too.
    Last edited by Drakaer; 15-08-10 at 08:14 PM.

  5. #5
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    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

  6. #6
    Apprentice ashlley is offline
    MemberRank
    Feb 2007 Join Date
    15Posts

    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.

  7. #7
    Enthusiast nytehawk is offline
    MemberRank
    Aug 2010 Join Date
    34Posts

    Re: /etc/network/interfaces, please help me.



    would these be the correct settings for my network?

  8. #8
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    Re: /etc/network/interfaces, please help me.

    Quote Originally Posted by nytehawk View Post


    would these be the correct settings for my network?
    No, please reread carefully.

    Don't need host only adapter at all.

    Your broadcast and network are wrong.

    Everything else is good.

  9. #9
    Enthusiast nytehawk is offline
    MemberRank
    Aug 2010 Join Date
    34Posts

    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?
    Last edited by nytehawk; 26-08-10 at 09:16 PM.

  10. #10
    3D Illusionist Drakaer is offline
    MemberRank
    Apr 2010 Join Date
    In My Own WorldLocation
    946Posts

    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.

  11. #11
    Member Blatnoi is offline
    MemberRank
    Jan 2009 Join Date
    55Posts

    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 ?

  12. #12
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: /etc/network/interfaces, please help me.

    Use loopback (localhost, 127.0.0.1) whatever xD for those server files:
    Spoiler:
    /PWServer/gacd/gamesys.conf
    /PWServer/gamed/gmserver.conf
    /PWServer/gamed/gs.conf
    /PWServer/gamed/gsrollback.conf
    /PWServer/gamedbd/cashstat.conf
    /PWServer/gamedbd/gamesys.conf
    /PWServer/gdeliveryd/gamesys.conf
    /PWServer/gfactiond/gamesys.conf
    /PWServer/glinkd/gamesys.conf
    /PWServer/logservice/logservice.conf
    /PWServer/uniquenamed/gamesys.conf
    /etc/authd.conf
    /etc/gmopgen.xml
    /etc/GMserver.conf
    /etc/hosts
    /etc/iweb.conf
    /root/apache-tomcat-5.5.28/webapps/pwAdmin/.pwconf.conf


    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)

  13. #13
    Member Blatnoi is offline
    MemberRank
    Jan 2009 Join Date
    55Posts

    Re: /etc/network/interfaces, please help me.

    Quote Originally Posted by Romulan View Post
    Use loopback (localhost, 127.0.0.1) whatever xD for those server files:
    Spoiler:
    /PWServer/gacd/gamesys.conf
    /PWServer/gamed/gmserver.conf
    /PWServer/gamed/gs.conf
    /PWServer/gamed/gsrollback.conf
    /PWServer/gamedbd/cashstat.conf
    /PWServer/gamedbd/gamesys.conf
    /PWServer/gdeliveryd/gamesys.conf
    /PWServer/gfactiond/gamesys.conf
    /PWServer/glinkd/gamesys.conf
    /PWServer/logservice/logservice.conf
    /PWServer/uniquenamed/gamesys.conf
    /etc/authd.conf
    /etc/gmopgen.xml
    /etc/GMserver.conf
    /etc/hosts
    /etc/iweb.conf
    /root/apache-tomcat-5.5.28/webapps/pwAdmin/.pwconf.conf


    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


    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 ...

  14. #14
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    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 )

    Btw, you show your Windows network config and i speak about your linux server network config

    Vbox, Vmware whatever you want...
    Last edited by Romulan; 20-09-10 at 08:19 AM.

  15. #15
    Member Blatnoi is offline
    MemberRank
    Jan 2009 Join Date
    55Posts

    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



Page 1 of 2 12 LastLast

Advertisement