NetWork †

更新日 2023-07-31 (月) 11:52:39
↑

IPアドレスの変更 †

/etc/network/interfaces というファイルに

auto eth0iface 
iface eth0 inet static
address 192.168.1.128
netmask 255.255.255.0
network 192.168.25.0
broadcast 192.168.1.255
gateway 192.168.25.1

# dhcp
# iface eth0 inet dhcp

/etc/udev/rules.d/70-persistent-net.rulesを削除

$ sudo /etc/init.d/networking restart
↑

hostnameの変更 †

/etc/hostnameを変更し

$ sudo /etc/init.d/networking restart

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS