博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
kudzu命令查看及设置网卡等硬件信息
阅读量:2448 次
发布时间:2019-05-10

本文共 1963 字,大约阅读时间需要 6 分钟。

kudzu 是Linux下检测硬件变化的命令,这个命令可以用于检查系统中网卡的型号等信息:

  kudzu(1)

  NAME

  kudzu - detects and configures new and/or changed hardware on a system

  SYNOPSIS

  kudzu

  DESCRIPTION

  kudzu detects and configures new and/or changed hardware on a system.

  When started, kudzu detects the current hardware, and checks it against

  a database stored in /etc/sysconfig/hwconf, if one exists. It then

  determines if any hardware has been added or removed from the system.

  If so, it gives the users the opportunity to configure any added hard-

  ware, and unconfigure any removed hardware. It then updates the

  database in /etc/sysconfig/hwconf.

  If no previous database exists, kudzu attempts to determine what

  devices have already been configured, by looking at /etc/modules.conf,

  /etc/sysconfig/network-scripts/, and /etc/X11/XF86Config.

  以下是这个命令执行的输出示例:

  [root@wapdbrac1 ~]# kudzu --probe --class=network

  -

  class: NETWORK

  bus: PCI

  detached: 0

  device: eth1

  driver: bnx2

  desc: "Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet"

  network.hwaddr: 00:1B:78:97:E4:EA

  vendorId: 14e4

  deviceId: 164c

  subVendorId: 103c

  subDeviceId: 7038

  pciType: 1

  pcidom:    0

  pcibus:  5

  pcidev:  0

  pcifn:  0

  -

  class: NETWORK

  bus: PCI

  detached: 0

  device: eth0

  driver: bnx2

  desc: "Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet"

  network.hwaddr: 00:1B:78:97:E4:EC

  vendorId: 14e4

  deviceId: 164c

  subVendorId: 103c

  subDeviceId: 7038

  pciType: 1

  pcidom:    0

  pcibus:  3

  pcidev:  0

  pcifn:  0

本篇文章来源于《点睛考试网》[www.kswchina.com] ;原文链接地址:

[@more@]

自动配置安装 如果安装完Linux系统后,又添加了新的硬件,那么系统必须载入正确的驱动程序才可以使用它。

Kudzu服务默认每次启动时都要运行,如果需要缩短启动时间,使用下面命令可以停止系统启动时的kudzu服务: # chkconfig kudzu off 如果要安装新的硬件,可以手动运行kudzu程序。

以上介绍了Linux下驱动程序的大体结构、主要的加载方式和相关配置文件,在安装Linux时加载驱动程序,并且根据需要定制自己的引导盘,在安装完成后安装新的、即插即用硬件。

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/94384/viewspace-1031106/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/94384/viewspace-1031106/

你可能感兴趣的文章
Ubuntu 18.04 LTS现在在Microsoft Store中
查看>>
如何检查已安装的Ubuntu版本
查看>>
如何在Windows 10上禁用附近共享
查看>>
gmail_Gmail将提供自毁电子邮件
查看>>
google 禁止广告_是否应禁止针对个人的广告?
查看>>
Plover.io在本地设备之间快速共享文件
查看>>
如何在OS X照片中禁用iCloud照片同步
查看>>
Minecraft的官方网站分发了受恶意软件感染的皮肤
查看>>
word模板快速填内容_如何快速轻松地在Word中选择内容块
查看>>
如何在Word 2013中直接从一个表导航到另一个表
查看>>
twitch 录像_如何通过NVIDIA GeForce Experience将您的PC游戏玩法传送到Twitch
查看>>
打印机疑难解答_使用内置电源疑难解答改善Windows 7中的电池寿命
查看>>
drupal加密_立即更新您的Drupal网站,否则黑客可能将其变成加密货币矿工
查看>>
vimrc配置 鼠标光标_在“提示”框中:即时调整窗口大小,包含鼠标光标并了解电池配置...
查看>>
询问HTG:安装XBMC附加组件,缩小视频以进行移动播放,自动更改默认打印机
查看>>
High Sierra推出后如何离开macOS公开Beta
查看>>
如何格式化您的WhatsApp消息
查看>>
pixel2pixel_Pixel 2的视觉核心是什么?
查看>>
更改用户账户设置自动更改_您应该更改的5个SimpliSafe设置
查看>>
excel中转换为数值_如何在Microsoft Excel中转换货币
查看>>