Chinaunix首页 | 论坛 | 博客
  • 博客访问: 359630
  • 博文数量: 168
  • 博客积分: 6895
  • 博客等级: 准将
  • 技术积分: 1726
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-12 23:01
文章分类

全部博文(168)

文章存档

2011年(6)

2010年(162)

我的朋友

分类: LINUX

2010-09-13 15:57:04

  1,configuration file:  first you should know some files, /etc/network/interfaces,/etc/resolv.conf, /etc/init.d/networking.
first one /etc/network/interfaces, in it you can set your ip address, set your netmask, set your gateway, like following:

  auto lo

  iface lo inet loopback

  iface eth0 inet static

  address 192.168.200.***

  netmask 255.255.255.0

  gateway 192.168.200.***

  auto eth0

second, /etc/resolv.conf, in it, we can set nameserver, which is DNS. like following:

nameserver 202.117.***.**

third: /etc/networking

it can restart the net. like following:

sudo /etc/networking restart.

2, /etc/NetworkManager/nm-system-settings.conf, it can set the x-window's network.  The logo is in the desktop.



阅读(282) | 评论(0) | 转发(0) |
0

上一篇:how to set network in ubuntu

下一篇:9 13

给主人留下些什么吧!~~