Run
ifconfig
and see the name of your network adapter. Mine is: enp0s3
now run this command
sudo nano /etc/network/interfaces
and you should get something inside....delete everything and paste this (but change the network adapter name where enp0s3 is):
# 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
auto enp0s3
iface enp0s3 inet dhcp
save the document and reboot...
|
'Development > Linux' 카테고리의 다른 글
리눅스에서 find 명령어 (0) | 2018.12.20 |
---|---|
쉘(shell)에 대하여 (0) | 2018.12.20 |
맥, 터미널 명령어 (0) | 2018.12.20 |
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 오류 (0) | 2018.12.20 |
E: Sub-process /usr/bin/dpkg returned an error code (1) 오류 해결 (0) | 2018.12.20 |