IGOS Nusantara dan ifcfg-eth0: Perbedaan revisi
Dari IGNwiki
Baris 17: | Baris 17: | ||
PREFIX=24 | PREFIX=24 | ||
NAME="eth0" | NAME="eth0" | ||
+ | |||
+ | == skrip salin tempel == | ||
+ | Untuk mempercepat, salin tempel (copy paste) kode berikut: | ||
+ | cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF.eth0 | ||
+ | |||
+ | DEVICE=eth0 | ||
+ | ONBOOT=yes | ||
+ | IPADDR=192.168.228.4 | ||
+ | BOOTPROTO=none | ||
+ | NETMASK=255.255.255.0 | ||
+ | TYPE=Ethernet | ||
+ | GATEWAY=192.168.228.1 | ||
+ | DNS1=8.8.8.8 | ||
+ | DNS2=8.8.4.4 | ||
+ | IPV6INIT=no | ||
+ | USERCTL=no | ||
+ | PREFIX=24 | ||
+ | NAME="eth0" | ||
+ | |||
+ | EOF.eth0 |
Revisi per 10 Desember 2012 09.48
IGOS Nusantara
ifcfg-eth0
Berkas ada di: /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0 ONBOOT=yes IPADDR=192.168.228.4 BOOTPROTO=none NETMASK=255.255.255.0 TYPE=Ethernet GATEWAY=192.168.228.1 DNS1=8.8.8.8 DNS2=8.8.4.4 IPV6INIT=no USERCTL=no PREFIX=24 NAME="eth0"
skrip salin tempel
Untuk mempercepat, salin tempel (copy paste) kode berikut:
cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF.eth0
DEVICE=eth0 ONBOOT=yes IPADDR=192.168.228.4 BOOTPROTO=none NETMASK=255.255.255.0 TYPE=Ethernet GATEWAY=192.168.228.1 DNS1=8.8.8.8 DNS2=8.8.4.4 IPV6INIT=no USERCTL=no PREFIX=24 NAME="eth0"
EOF.eth0