Installation / from DHCP - Static

Discussion in 'Installation/Configuration' started by loben, Jan 1, 2008.

  1. loben

    loben New Member

    Hi
    I,m installing Ubuntu server and I did use the HowTo The Perfect Setup Ubuntu 6.10 Server (Edgy Eft).
    When I'm change from DHCP to static IP the network dosn't work and the command /etc/init.d/networking restart says
    "Don't seem to be have all the variables for eth0/inet
    Failed to bring up eth0
    " .

    It was no problem with the card and network after the installation and when I was used DHCP. Is there anything more to do after the static configuration?
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What's in /etc/networkk/interfaces?
    What network settings does your router use (network, netmask, gateway, etc.)?
     
  3. loben

    loben New Member

    #The loppback network interface
    auto lo
    iface lo inet loopback
    #Primary network interafces
    auto eth0
    iface eth0 inet static
    adress 192.168.0.100
    netmask 255.255.255.0
    network 192.168.0.0
    broadcast 192.168.0.255
    gateway 192.168.0.1

    All as it says in the manual HowTo
     
  4. falko

    falko Super Moderator ISPConfig Developer

    It must look as follows (the spaces in front of address, netmask, etc. are important!):

    Code:
    # The loopback network interface
    auto lo
    iface lo inet loopback
    
    # The primary network interface
    auto eth0
    iface eth0 inet static
            address 192.168.0.100
            netmask 255.255.255.0
            network 192.168.0.0
            broadcast 192.168.0.255
            gateway 192.168.0.1
     
  5. loben

    loben New Member

    Hi Falko
    Thank's for helping me. After your message i saw that I have some problem whid my spelling to. A new installation and configuration with the right spelling and adjust of the interfaces file the configuration did go well. Know I'm training and everithing is ok.

    Thank's again for helping me.

    /loben
     
  6. mspIggy

    mspIggy New Member

    ok...

    a bit of a twist on this....

    i have installed ubuntu server 'hardy'

    i am also stuck at this prompt

    "please enter the ip address of the ISPConfig web"

    i have set my server up at my office b4 bringing it to my dataenter to see if it actually will work...

    i forgot to change the DHCP in thsi file to the real ones for the data center

    now i am stuck at this screen

    what do i do?

    many thanks
     
  7. falko

    falko Super Moderator ISPConfig Developer

    Use one of the IP addresses that you see in the output of
    Code:
    ifconfig
     

Share This Page