樹心幽徑

« 20170424將WGS84台灣經緯度座標轉TWD97二度分帶座標Java Script | Main | 20170504用C設計的SavePGM()與SavePBM()影像存檔函數 »

20170502ubuntu network setup
2017/05/02,10:01

treehrt@hrt:~$ sudo vi /etc/network/interfaces
[sudo] password for treehrt:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static
address 163.25.20.90
netmask 255.255.255.0
gateway 163.25.20.254
dns-nameserver 163.25.20.1
dns-search kmvs.km.edu.tw

 

treehrt@hrt:~$ sudo /etc/init.d/networking restart
[ ok ] Restarting networking (via systemctl): networking.service.
treehrt@hrt:~$

迴響

 
Accessible and Valid XHTML 1.0 Strict and CSS Powered by LifeType