Chinaunix首页 | 论坛 | 博客
  • 博客访问: 340848
  • 博文数量: 89
  • 博客积分: 2919
  • 博客等级: 少校
  • 技术积分: 951
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-23 11:51
个人简介

好懒,什么都没写

文章分类

全部博文(89)

文章存档

2012年(3)

2011年(17)

2007年(20)

2006年(49)

我的朋友

分类: LINUX

2011-04-07 09:01:06


1.为特定网卡设置IP地址 
  1. ifconfig pcn1 inet 172.25.73.19 netmask 0xffffff00   broadcast 172.25.73.255

2.为特定的IP地址设置默认网关
  1. route add -host 172.25.73.19 172.25.73.254

3.「debian fetching interface information: device not found」というエラーの解決方法:
  1. 「debian fetching interface information: device not found」というエラーの解決方法:
  2.  0) #ifaceの設定場所:/etc/network/interfaces

  3.  1)MAC アドレスを確認する。
  4.    #ifconfig -a

  5.  2)/etc/udev/rules.d/**-persistent-net.rules を修正する。("yx" are random numbers, depends on your system).
  6.    #具体的に、ifaceのMACアドレスの実際のMACアドレスに修正する。

  7.  3)udevをrestartする。
  8.    #/etc/init.d/udev restart

  9.  4)networkをrestartする。
  10.    #/etc/init.d/networking restart

  11. 5)参考した資料:
  12.     WebSite:http://www.linuxquestions.org/questions/linux-networking-3/error-fetching-interface-information-device-not-found-637381/

阅读(1530) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~