ここではネットワークの設定を行う. またここでは PCI のネットワークデバイスを使用する.
使用するデバイス127.0.0.1 grey localhost 133.50.160.50 grey.ep.sci.hokudai.ac.jp grey # The following lines are desirable for IPv6 capable hosts # (added automatically by netbase upgrade) ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts
search ep.sci.hokudai.ac.jp nameserver 133.87.45.70 nameserver 133.87.45.66 nameserver 133.87.1.11
# 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 eth2 iface eth2 inet static address 133.50.160.50 netmask 255.255.254.0 network 133.50.160.0 broadcast 133.50.161.255 gateway 133.50.160.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 133.87.45.70 133.87.45.66 133.87.1.11 dns-search ep.sci.hokudai.ac.jp
# # deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 NETINST Binary-1 20100201-16:45]/ lenny main #deb cdrom:[Debian GNU/Linux 5.0.4 _Lenny_ - Official i386 NETINST Binary-1 20100201-16:45]/ lenny main deb http://dennou-h.gfd-dennou.org/debian/ lenny main deb-src http://dennou-h.gfd-dennou.org/debian/ lenny main deb http://security.debian.org/ lenny/updates main deb-src http://security.debian.org/ lenny/updates main deb http://volatile.debian.org/debian-volatile lenny/volatile main deb-src http://volatile.debian.org/debian-volatile lenny/volatile main deb ftp://dennou-h.gfd-dennou.org/pub/Linux/debian/debian lenny main contrib non-free deb ftp://dennou-h.gfd-dennou.org/pub/Linux/debian/debian-jp lenny-jp main contrib non-free deb ftp://dennou-h.gfd-dennou.org/pub/Linux/debian/debian-non-US lenny/non-US main contrib non-free deb ftp://dennou-h.gfd-dennou.org/pub/Linux/debian/debian lenny-proposed-updates main contrib non-free # Line commented out by installer because it failed to verify: #deb-src http://security.debian.org/ etch/updates main contrib deb http://dennou-h.gfd-dennou.org/library/Linux/debian lenny main contrib non-free
設定を有効にする.
# ifup eth2 # apt-get update # apt-get upgrade
最終更新日: 2010/06/04 山田 圭祐 | Copyright © 2010 epcore |