First time ubuntu user

Discussion in 'HOWTO-Related Questions' started by cruxley, Feb 9, 2011.

  1. cruxley

    cruxley New Member

    Hi, I'm trying to install a home server that will host my own website. I cama across this page on my search:

    http://www.howtoforge.com/set-up-ubuntu-server-with-ehcp-lamp-dns-ftp-mail-p3

    Which is how I ended up here.
    The info that gets me is, every support page i find mentions editing the DNS numbers. For example:
    # The loopback network interface
    auto lo
    iface lo inet loopback
    # The primary network interface
    auto eth0
    iface eth0 inet static
    address 192.168.1.254
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1

    How do i find these addresses and nameserver?

    Thank You!
    :confused::confused::confused:
     
  2. johjoh2k

    johjoh2k New Member

  3. kwickcut

    kwickcut Member

    run this command

    Code:
    nano /etc/network/interfaces
    and your output will be

    Code:
    # The loopback network interface
    auto lo
    iface lo inet loopback
    # The primary network interface
    auto eth0
    iface eth0 inet static
            [COLOR="Red"]address 192.168.1.254
            netmask 255.255.255.0
            network 192.168.1.0
            broadcast 192.168.1.255
            gateway 192.168.1.1[/COLOR]
    there are 2 ways i know to find these numbers.

    1) if you are running windows xp go to the control panel internet connections and double left click the connection and you will see this inforamtion on the second tab

    2) is to log into your router and it will look like this if you have a linksys like i do.
    [​IMG]

    now use the numbers u just found and replace these numbers then save it and run the rest of your install
    Code:
    [COLOR="Red"]address 192.168.1.254
            netmask 255.255.255.0
            network 192.168.1.0
            broadcast 192.168.1.255
            gateway 192.168.1.1[/COLOR] 
    kwick
     
    Last edited: Feb 11, 2011

Share This Page