ここではネットワークの設定を行う. またここでは PCI のネットワークデバイスを使用する.
/etc/hosts, /etc/resolv.conf, /etc/network/interfaces
をそれぞれ以下のように編集する.
※入れ替え日までは IP アドレスは予備機 usuzumi のものである 133.50.160.52 に設定すること
127.0.0.1 localhost 133.50.160.52 usuzumi.ep.sci.hokudai.ac.jp usuzumi # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters
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). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug enp1s0 iface enp1s0 inet static address 133.50.160.52/23 gateway 133.87.45.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 12.7.0 _Bookworm_ - Official amd64 NETINST with firmware 20240831-10:38/ bookworm contrib main non-free-firmware deb http://dennou-k.gfd-dennou.org/debian/ bookworm main non-free-firmware deb-src http://dennou-k.gfd-dennou.org/debian/ bookworm main non-free-firmware deb http://security.debian.org/debian-security bookworm-security main non-free-firmware deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware #bookworm-updates, to get updates before a point release is made; #see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports deb http://dennou-k.gfd-dennou.org/debian/ bookworm-updates main non-free-firmware deb-src http://dennou-k.gfd-dennou.org/debian/ bookworm-updates main non-free-firmware #This system was installed using small removable media #(e.g. netinst, live or single CD).The matching "deb cdrom" #entries were disabled at the end of theinstallation precess. #For insformation about how to configure apt package sources, #see the sources.list(5) manual.
設定を有効にする(変更がない場合は以下のコマンドは必要ない).
# ifup enp1s0 # aptitude update # aptitude upgrade
最終更新日: 2024/11/01 髙橋 聖輝 | Copyright © 2000-2024 epcore |