The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10)

Discussion in 'Installation/Configuration' started by B767Mike, Jan 16, 2008.

  1. B767Mike

    B767Mike New Member

    First off I am brand new to this server install. I have been using Ubuntu 7.10 for a few months now. Really enjoy it. Moved my home computer and notebook over from windows, get lost a bit, but slowly I find my way.

    Server connected to home network through a router. All other computers (5, 3 wired 2 wireless) in house connect through same router.

    Trying to set up a server. Following instruction in The Perfect Server - Ubuntu Gutsy Gibbon (Ubuntu 7.10). Everything goes according to plan until I get to page 33 where it states, "Edit /etc/network/interfaces"

    # The primary network interface
    auto eth0
    iface eth0 inet static

    Ok, did that but I do not get the same results when I restart the network. Or at least this is where I think the problem is.... Then edit /etc/hosts You are supposed to see localhost.localdomain localhost server1.

    I see localhost.localdomain <-- this is my server unbuntu, rr is my isp

    Why am I not seeing the change in address from 127.... to 192..... Also if I change from DHCP to static I cannot access the internet. When I changed to static i could not apt-get anything. Changing back to DHCP and deleting let me get the apt-get to work.

    I think I just answered my own question... Looking back over my settings I need to change gateway to whatever my router is set up for, otherwise it wont know who to talk to.... Is that correct.

    If not will somebody point me in the right direction....

  2. falko

    falko Super Moderator ISPConfig Developer

    You must change to

    Yes, you must use an IP address that's in your subnet as well as your router'S internal IP address as the gateway. So if you subnet is 192.168.55.x, then you can't use for your server, but should work (assuming that this IP address is free).

    When you use DHCP, please run
    and post the output here.
  3. B767Mike

    B767Mike New Member

    ifconfig results..

    eth0 inet addr: Bcast: Mask:
    RX packets:159318 errors:0 dropped:0 overruns:59 frame:0
    TX packets:14323 errors:0 dropped:0 overruns:0 frame:0
    collisions:0 txqueuelen:1000
    RX bytes:66694738 (63.6 MB) TX bytes:1442462 (1.3 MB)

    lo inet addr: Mask
    inet adddr: ::1/128 Scope:Host
    RX packets:304 errors:0 dropped:0 overruns:0 frame:0
    TX packets:304 errors:0 dropped:0 overruns:0 frame:0
    collisions:0 txqueuelen:0
    RX bytes:30344 (29.6 KB) TX bytes:30344 (29.6 KB)
  4. unclecameron

    unclecameron New Member

    so does it work now?
  5. B767Mike

    B767Mike New Member

    Not yet. I changed a few lines

    static and the address lines but still came up with the same localhost.localdomain <-- this is my server unbuntu, rr is my isp

    I had my sons windows notebook with me and when I changed a few of the lines, such as address, broadcast etc, got an error on the windows machine that there was an conflict. So I know I am going in the right direction. Have to change the address or broadcast or something, but I have to leave for work and won't be able to work on it till I get back tomorrow.

    From my notes Here is my windows machine

    DHCP enabled....yes
    IP Address....
    Subnet Mask..
    Default gateway...
    DHCP Server.....192.1681.1
  6. falko

    falko Super Moderator ISPConfig Developer

    Try this:
    IP address (if the IP is free)

Share This Page