SHARE
TWEET

Untitled

a guest Jul 17th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ ls /etc/sysconfig/network-scripts/ifcfg-*
  2. /etc/sysconfig/network-scripts/ifcfg-enp0s3  /etc/sysconfig/network-scripts/ifcfg-lo
  3. $ sudo vi /etc/sysconfig/network-scripts/ifcfg-enp0s3
  4. ------▼設定ファイルの中身▼-----------------------
  5. BOOTPROTO=none
  6. DEVICE=enp0s3
  7. DNS=8.8.8.8 <<<<<<<<<<<<<< 追記
  8. GATEWAY=192.168.0.1 <<<<<<< 追記
  9. IPADDR=192.168.0.6
  10. NAME=enp0s3
  11. NETMASK=255.255.255.0
  12. ONBOOT=yes
  13. TYPE=Ethernet
  14. --------------------------
RAW Paste Data
Top