lost and found ( for me ? )

Ubuntu Server: ネットワークの設定方法

root@alaska:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu 9.10"
root@alaska:~#
root@alaska:~# uname -r
2.6.31-14-server


root@alaska:~# egrep -v \^# /etc/network/interfaces

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.254

root@alaska:~# cat /etc/resolv.conf
nameserver 192.168.1.254

root@alaska:~# /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                                    postconf: fatal: open /etc/postfix/main.cf: No such file or directory
postconf: fatal: open /etc/postfix/main.cf: No such file or directory

                                                                                   [ OK ]
root@alaska:~#

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.