找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 16020|回复: 16

CL插件

[复制链接]
发表于 2004-12-30 23:20:40 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
http://stolk.se/files/ethtool/ethtool

QUOTE
NAMEethtool - Display or change ethernet card settings SYNOPSISethtool ethX ethtool -h ethtool -a ethX ethtool -A ethX [autoneg on|off] [rx on|off] [tx on|off] ethtool -c ethX ethtool -C ethX [adaptive-rx on|off] [adaptive-tx on|off] [rx-usecs N] [rx-frames N] [rx-usecs-irq N] [rx-frames-irq N] [tx-usecs N] [tx-frames N] [tx-usecs-irq N] [tx-frames-irq N] [stats-block-usecs N] [pkt-rate-low N] [rx-usecs-low N] [rx-frames-low N] [tx-usecs-low N] [tx-frames-low N] [pkt-rate-high N] [rx-usecs-high N] [rx-frames-high N] [tx-usecs-high N] [tx-frames-high N] [sample-interval N] ethtool -g ethX ethtool -G ethX [rx N] [rx-mini N] [rx-jumbo N] [tx N] ethtool -i ethX ethtool -d ethX ethtool -e ethX ethtool -k ethX ethtool -K ethX [rx on|off] [tx on|off] [sg on|off] ethtool -p ethX [N] ethtool -r ethX ethtool -S ethX ethtool -t ethX [offline|online] ethtool -s ethX [speed 10|100|1000] [duplex half|full] [port tp|aui|bnc|mii] [autoneg on|off] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...] [sopass xx:yy:zz:aa:bb:cc] [msglvl N] DESCRIPTIONethtool is used for querying settings of an ethernet device and changing them. ethX is the name of the ethernet device to work on. OPTIONSethtool with a single argument specifying the device name prints current setting of the specified device. -h shows a short help message. -a queries the specified ethernet device for pause parameter information. -A change the pause parameters of the specified ethernet device. autoneg on|off Specify if pause autonegotiation is enabled. rx on|off Specify if RX pause is enabled. tx on|off Specify if TX pause is enabled. -c queries the specified ethernet device for coalescing information. -C change the coalescing settings of the specified ethernet device. -g queries the specified ethernet device for rx/tx ring parameter information. -G change the rx/tx ring parameters of the specified ethernet device. rx N Change number of ring entries for the Rx ring. rx-mini N Change number of ring entries for the Rx Mini ring. rx-jumbo N Change number of ring entries for the Rx Jumbo ring. tx N Change number of ring entries for the Tx ring. -i queries the specified ethernet device for associated driver information. -d retrieves and prints a register dump for the specified ethernet device. -e retrieves and prints an EEPROM dump for the specified ethernet device. -k queries the specified ethernet device for checksumming information. -K change the checksumming parameters of the specified ethernet device. rx on|off Specify if RX checksumming is enabled. tx on|off Specify if TX checksumming is enabled. sg on|off Specify if scatter-gather is enabled. -p initiates adapter-specific action intended to enable an operator to easily identify the adapter by sight. typically this involves blinking one or more LEDs on the specific ethernet port. N Length of time to perform phys-id, in seconds. -r restarts auto-negotiation on the specified ethernet device, if auto-negotiation is enabled. -S queries the specified ethernet device for NIC- and driver-specific statistics. -t executes adapter selftest on the specified ethernet device. Possible test modes are: offline|online defines test type: offline (default) means to perform full set of tests possibly causing normal operation interruption during the tests, online means to perform limited set of tests do not interrupting normal adapter operation. -s option allows changing some or all settings of the specified ethernet device. All following options only apply if -s was specified. speed 10|100|1000 Set speed in Mb/s. ethtool with single argument will show you the supported device speeds. duplex half|full Set full or half duplex mode. port tp|aui|bnc|mii Select device port. autoneg on|off Specify if autonegotiation is enabled. In the usual case it is, but might cause some problems with some network devices, so you can turn it off. phyad N PHY address. xcvr internal|external Select transceiver type. Currently only internal and external can be specified, in the future further types might be added. wol p|u|m|b|a|g|s|d... Set Wake-on-LAN options. Not all devices support this. The argument to this option is a string of characters specifying which options to enable. p Wake on phy activity u Wake on unicast messages m Wake on multicast messages b Wake on broadcast messages a Wake on ARP g Wake on MagicPacket s Enable SecureOn password for MagicPacket d Disable (wake on nothing). This option clears all previous options. sopass xx:yy:zz:aa:bb:ccSet the SecureOn password. The argument to this option must be 6 bytes in ethernet MAC hex format (xx:yy:zz:aa:bb:cc). msglvl N Set the driver message level. Meanings differ per driver.

ethtool.rar

45.37 KB, 下载次数: 247, 下载积分: 铜板 -1

routeros
发表于 2004-12-30 23:53:46 | 显示全部楼层
呵呵,哪儿找来的阿?是linux下的?不光可以用在CL下吧?好东西,收下再说。。。
routeros
回复

使用道具 举报

发表于 2004-12-31 00:02:11 | 显示全部楼层
什么东西啊,怎么没有中文说明的啊?
routeros
回复

使用道具 举报

发表于 2004-12-31 08:47:03 | 显示全部楼层
请问怎么按装这个插件.
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-31 08:56:52 | 显示全部楼层
把ethtool.rar下回去。。。   直接放进/usr/sbin   然后给他权限就可以了。。
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-31 08:59:58 | 显示全部楼层
哈啤翻译一下吧。你英文强。。我看还可以。 要我翻译会很惨
routeros
回复

使用道具 举报

发表于 2004-12-31 09:05:54 | 显示全部楼层
谢谢了  已经放进去了 不知道怎么给权限
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-31 09:08:54 | 显示全部楼层
chmod 755 ethtool
routeros
回复

使用道具 举报

发表于 2004-12-31 09:12:15 | 显示全部楼层
好了 谢谢了 明白了 见笑了  可以解决很多问题 很实用   感谢
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-31 09:15:34 | 显示全部楼层
QUOTE (哈啤猫 @ Dec 30 2004, 11:53 PM)
呵呵,哪儿找来的阿?是linux下的?不光可以用在CL下吧?好东西,收下再说。。。   
  没找到源代码但知道CL能用
routeros
回复

使用道具 举报

发表于 2004-12-31 09:54:19 | 显示全部楼层
QUOTE (EMP @ Dec 31 2004, 08:59 AM)
哈啤翻译一下吧。你英文强。。我看还可以。 要我翻译会很惨
你给我原文地址吧,不然翻译也慢。软件可以压缩成 .tgz 文件,直接复制到软盘上。这样一是能省空间,二是可以相应目录的直接释放。CL的ADDON都是这么做的。不过如果只是临时用,直接复制就是了,不必保存到软盘上。
routeros
回复

使用道具 举报

发表于 2004-12-31 10:53:01 | 显示全部楼层
是显示和设置网卡得工具?
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-31 13:47:22 | 显示全部楼层
http://stolk.se/files/ethtool/ethtool这是地址。。。我方出来的时候 身边没有CL   也不想搞错目录(其实就是懒)所以资和解放文件 没放tgz
routeros
回复

使用道具 举报

 楼主| 发表于 2004-12-31 14:07:15 | 显示全部楼层
文章地址我现在都找不到了。。。。 郁闷。。不过整编文章都在上面 我贴出来了
routeros
回复

使用道具 举报

发表于 2005-4-13 00:42:33 | 显示全部楼层
在有关网卡的吗?应该会很有用的,谢谢!
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-12-23 12:52 , Processed in 0.084746 second(s), 6 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表