프로...NetWork
[Ubuntu] Network
크크다스
2015. 9. 21. 11:33
반응형
vi /etc/network/interfaces
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
vi /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
/etc/init.d/networking restart
= IP가 할당 되어 있는데 /etc/network/interfaces 에는 관련 내용이 안 보일 때
. NetworkManager 로 세팅했는지 확인한다.
. 아래와 같은 형식으로 설정되어 있으면 원하는 IP address 로 변경하고 재시작하면 된다.
( 시험시 /etc/init.d/networking restart 로는 설정 변경이 안되어 Rebooting 하였음 )
( Linux debian-8-10 3.16.0-4-amd64 #1 SMP Debian 3.16.51-3 (2017-12-13) )
/etc/NetworkManager/system-connections
Wired connection 1
[ipv4]
method=manual
dns=192.168.88.254;
addresses1=192.168.88.29;24;192.168.88.254;
Add yourself to the sudo group
Please follow the steps below
sudo usermod -G sudo $USER sudo visudo ## Add - $USER ALL=NOPASSWD: ALL at the end of file
dpkg -i filename.deb
#dpkg(debian package) -i(install)
반응형