Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th June 2009, 09:37
GergOGerdy GergOGerdy is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems following - Perfect Setup Debian Lenny ISPConfig3

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-se...-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
Reply With Quote
Sponsored Links
  #2  
Old 30th June 2009, 09:44
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,402
Thanks: 834
Thanked 5,494 Times in 4,325 Posts
Default

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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 30th June 2009, 09:46
GergOGerdy GergOGerdy is offline
Junior Member
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, sorry, those lines are tabbed in
Reply With Quote
  #4  
Old 1st July 2009, 14:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Does
Code:
ifconfig
show that eth0's IP is 192.168.1.100?
Is 192.168.1.1 your router's local IP?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 6th July 2009, 12:11
Tezux Tezux is offline
Member
 
Join Date: Jun 2009
Posts: 38
Thanks: 0
Thanked 2 Times in 2 Posts
 
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Perfect Desktop Debian Lenny: Configure Additional Repositories ensens HOWTO-Related Questions 1 21st February 2009 01:27
The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 2] - Page 3 edge HOWTO-Related Questions 4 19th February 2009 20:24
Perfect Server Debian Lenny jcombs_31 HOWTO-Related Questions 3 18th February 2009 20:38
The Perfect Setup - Debian Woody (3.0)... sending mail from my XP box? ExCIA HOWTO-Related Questions 17 27th June 2007 18:31
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57


All times are GMT +2. The time now is 16:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.