个人工具

“模板:USJ networking”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(以内容'== Set networking parameters == *Set a static IP address for your server. sudo gedit /etc/network/interfaces :and edit the lines to…'创建新页面)
 
(没有差异)

2010年6月25日 (五) 10:19的最新版本

Set networking parameters

sudo gedit /etc/network/interfaces
and edit the lines to resemble:
# iface eth0 inet dhcp
#
iface eth0 inet static
address 192.168.0.99
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
and restart networking:
sudo /etc/init.d/networking restart