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 9th October 2010, 13:28
Alf71 Alf71 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Network Configuration Server - Ubuntu 10.04

Hi

Thanks for this nice work.
However, I'm having a problem.
After installing Ubuntu server 10.04 and configuring the network (point 7, page 3, http://www.howtoforge.com/perfect-se...ispconfig-3-p3)

I cannot move further

vi /etc/network/interfaces

and than

# 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

/etc/init.d/networking restart

Nothing happens...
How do I move further and get out of the network configuration window?

Best regards!

Alf71
Reply With Quote
Sponsored Links
  #2  
Old 10th October 2010, 19:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Quote:
Originally Posted by Alf71 View Post
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
Are you sure that these are the correct network settings for your network? What's your router's internal IP address?
__________________
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
  #3  
Old 10th October 2010, 19:53
Alf71 Alf71 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default IP address

Hi

IPv4-Adresse . . . . . . . . . . : 192.168.0.100(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.255.0
Lease erhalten. . . . . . . . . . : Sonntag, 10. Oktober 2010 19:41:49
Lease luft ab. . . . . . . . . . : Sonntag, 17. Oktober 2010 19:44:07
Standardgateway . . . . . . . . . : 192.168.0.1
DHCP-Server . . . . . . . . . . . : 192.168.0.1

I have other problem:

Following the tutorial I cannot move further after installing text editor
and inserting the command

vi /etc/network/interfaces


in order to change DHCP into static.
How do I move further and get out of this network configuration window?
"/etc/init.d/networking restart" didn't work:

"Point 7 Configure The Network
Because the Ubuntu installer has configured our system to get its network settings via DHCP, we have to change that now because a server should have a static IP address. Edit /etc/network/interfaces and adjust it to your needs (in this example setup I will use the IP address 192.168.0.100):

vi /etc/network/interfaces

# 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
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

Then restart your network:

/etc/init.d/networking restart"



Best regards

Last edited by Alf71; 10th October 2010 at 19:55.
Reply With Quote
  #4  
Old 11th October 2010, 10:22
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Take a look here: http://www.howtoforge.com/faq/12_15_en.html
__________________
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 14th October 2010, 02:27
Alf71 Alf71 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Thanks - Ubuntu x Virtual Box x Windows x Networking

It works

One more question:

Today I installed the new Ubuntu Server 10.10 in my PC, running the latest version of VirtualBox on Windows 7 Ultimate 64 bit.

I was curious to find if it is possible to access the server from outside:

WORLD => INTERNET => ROUTER => PC => VIRTUAL PC => SERVER

Quite confusing all this:

NETWORK

So, first of all, I need to get a DDNS name.
I already have it: server.athome.com
It is pointed to a dynamic IP address, for example "0.0.0.0"

My router gateway works on 192.168.0.1 and my PC has a reserved static IP,
say 192.168.0.155

I cannot get through from outside of the network, to access my PC, so I thought, if I install UBUNTU SERVER 10.10 in a VirtualBox on it, I will be able to do it...

After installing my Ubuntu in VirtualBox, I tried to follow this part:

http://www.howtoforge.com/perfect-se...ispconfig-3-p3

vi /etc/network/interfaces
i
auto eth0
iface eth0 inet static
address 192.168.56.100
netmask 255.255.255.0
network 192.168.56.101
broadcast 192.168.0.255
gateway 192.168.56.1

ESC
:x

/etc/init.d/networking restart


vi /etc/hosts
i

127.0.0.1 localhost.localdomain localhost
192.168.0.1 CRAZY-PC.server.athome.com CRAZY-PC

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

I think I need to change first the value
192.168.56.1 to 192.168.56.100

but I'm getting a READ ONLY WARNING...

And before it didn't work at all at:

aptitude update

Any hint?

Best regards

Alf71


Last edited by Alf71; 14th October 2010 at 02:44.
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
Ubuntu Server, postfix, gmail relay sjau Server Operation 3 14th December 2010 18:20
Can't Ping over VPN RoMiONeT Server Operation 2 4th July 2010 00:19
Problem s RTL8111DL a BCM4311 - Ubuntu Server 10.04 32bit tio289 Installation/Configuration 0 17th June 2010 15:59
problem with upgrade to 2.2.34 brianetilley Installation/Configuration 14 11th November 2009 17:22
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 13:49


All times are GMT +2. The time now is 05:17.


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