Problems following - Perfect Setup Debian Lenny ISPConfig3

Discussion in 'HOWTO-Related Questions' started by GergOGerdy, Jun 30, 2009.

  1. GergOGerdy

    GergOGerdy New Member

    Hello all,

    I'm new here and am learning how to set up a home web/mail server and this seemed like a good tutorial: http://www.howtoforge.com/perfect-server-debian-lenny-ispconfig3-p3. However, i've only gotten to the "Configure the network" part, and i've already seemed to mess it up. I'm sure it's the settings i chose for /etc/network/interfaces. This is what i have:

    # 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
    #allow-hotplug eth0
    #iface eth0 inet dhcp
    auto eth0
    iface eth0 inet static
    address 192.168.1.100
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1

    The server shows up as 192.168.1.255 on my router (i think) however, when i try and ssh to it, i get a "permission denied on port 22" when i try and login as my user. I only have the tower, and initially set it up using a buddy's keyboard across the hall and our tv, so without ssh i can't currently reconfigure anything till tomorrow, but ideas welcome.

    Thanks for any help in advance,
    Greg
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please make sure that you insert the lines with the correct formatting:

    Code:
    auto eth0
    iface eth0 inet static
        address 192.168.1.100
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.1
    
     
  3. GergOGerdy

    GergOGerdy New Member

    yes, sorry, those lines are tabbed in
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Does
    Code:
    ifconfig
    show that eth0's IP is 192.168.1.100?
    Is 192.168.1.1 your router's local IP?
     
  5. Tezux

    Tezux New Member

    You will need to do this after the configuring of the /etc/network/interfaces


    Type this:

    /etc/init.d/networking restart


    Now if you type ifconfig as falko has said above you should see your IP Address as 192.168.1.100
     

Share This Page