Problem with The Perfect Setup for Ubuntu 7.04

Discussion in 'Installation/Configuration' started by rdbrown, May 1, 2007.

  1. rdbrown

    rdbrown New Member

    Falko, I'm having a repeatable problem when installing 7.04 server using your guidelines.

    Quickly, it goes like this:

    I perform the installation
    the computer reboots
    sudo passwd root
    su
    apt-get install ssh openssh-server
    vi /etc/network/interfaces
    /etc/init.d/networking restart
    vi /etc/hosts
    echo server1.example.com >/etc/hostname
    shutdown -r now

    The computer reboots and gets to Running local boot scripts
    (/etc/rc.local) [OK]

    After which it hangs and goes no further.

    It's done this three times now, and I never saw this happen with earlier versions of server. [in fact I just installed server 6.1 on this machine as a test and it performed as expected - rb]

    Any ideas at all what could be going on?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did the system reboot before you changed /etc/network/interfaces? What did you put into that file?
     
  3. rdbrown

    rdbrown New Member

    Installation proceeded exactly as described. The reboot prior to changing interfaces was at the end of section 3, just prior to login.

    /etc/network/interfaces was made to look exactly like your example, with the following exceptions:

    address 10.0.0.5
    netmask 255.255.255.0
    network 10.0.0.0
    broadcast 10.0.0.255
    gateway 10.0.0.254

    Of course, in the echo command at the end of the procedure I used my own information
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Can you post your /etc/network/interfaces and wrap it in CODE tags?
     
  5. rdbrown

    rdbrown New Member

    I didn't want to type it all in... :mad:


    Code:
    auto lo
    iface lo inet loopback
    
    auto eth0
    iface eth0 inet static
    address 10.0.0.5
    netmask 255.255.255.0
    network 10.0.0.0
    broadcast 10.0.0.255
    gateway 10.0.0.254
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Why don'T you just copy & paste (e.g. with an SSH client such as Putty)?

    This must look like this (the leading spaces are missing in your file!):

    Code:
    auto eth0
    iface eth0 inet static
        address 10.0.0.5
        netmask 255.255.255.0
        network 10.0.0.0
        broadcast 10.0.0.255
        gateway 10.0.0.254
     
  7. rdbrown

    rdbrown New Member

    I indented the lines with tabs, Falko. Are those supposed to be spaces, instead?

    ...R
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Tabs should work as well...
     
  9. rdbrown

    rdbrown New Member

    Well then, are there any other ideas why it won't work?
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Can you compare your configuration again with the one from the tutorial? Maybe you made a typo somewhere.
     
  11. caspert_ghost

    caspert_ghost New Member

    Hello. I cant even get out of the edit screen let alone know if it is working.

    How do you put in the space/tabs?? I use tab but all I get is a "beep" sound
     
  12. pacman40

    pacman40 New Member

    IP Issues

    When i try to go in and change my IP information to create a static IP all I get is

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    # The loopback network interface
    auto lo
    iface lo inet loopback

    # The primary network interface
    auto eth0
    iface eth0 inet static
    ~
    ~
    ~
    ~
    ~
    ~

    And it wont let me go in and change the ~. Is there something I'm missing here?
    Thanks
     
  13. rdbrown

    rdbrown New Member

  14. rdbrown

    rdbrown New Member

    There were no typos, and using the same info in the Ubuntu server 6.1 installation worked fine, so I'm lead to the conclusion that something is different in this latest release.
     
  15. pacman40

    pacman40 New Member

    Hey Rdbrown,
    I dont know if this post was directed towards me, but when I look at the manual the large one from cisco says that a ~ is an indicator that those lines are not part of the file. If I went into insert mode, would I be able to edit my address? Or should the IP's already come up?
     
  16. rdbrown

    rdbrown New Member

    That just means, for example, that if you were to open a 5 line document and VI has 20 lines on the screen to display text then you would see 15 lines of ~ because there's nothing more in your document to show. Does that make sense?
     
  17. pacman40

    pacman40 New Member

    Unfortunantly yeah it does, is there anything that I might have done wrong that would not give me:

    address 10.0.0.5
    netmask 255.255.255.0
    network 10.0.0.0
    broadcast 10.0.0.255
    gateway 10.0.0.254

    With my own numbers in it? I am not seeing any of the address, netmask, network.. fields. But when i run

    man interfaces

    there are all those fields listed out in my manual...
     
  18. rdbrown

    rdbrown New Member

    That's what confuses me about all this. I simply edited /etc/network/interfaces in VI and substituted my data in the places given, but it works fine on my 6.1 installation and breaks under version 7.
     
  19. pacman40

    pacman40 New Member

    I might just go with the older version to atleast get my server up and running, is it hard to upgrade from 6 to 7? Or is it a complete re-install with a harddrive swipe?
     
  20. rdbrown

    rdbrown New Member

    I'm installing ver 6 because I need to be productive. I was hoping the solution to this issue would be easy, but apparently not.

    I tried google on "upgrade Ubuntu" and found quite a few entries on the subject of upgrading 6 to 7, so you might start there. It looks complicated, but not overly difficult.

    Try this link:

    http://www.ubuntu.com/getubuntu/upgrading
     

Share This Page