nameif.8
来自「linux里面的网络工具代码,用于无线局域网」· 8 代码 · 共 36 行
8
36 行
.TH NAMEIF 8 "18 Oct 2000" "net-tools" "Linux's Administrator's Manual".SH NAMEnameif \- name network interfaces based on MAC addresses.SH SYNOPSIS.B "nameif [-c configfile] [-s]".br.B "nameif [-c configfile] [-s] {interface macaddress}".SH DESCRIPTION.B nameif renames network interfaces based on mac addresses. When no arguments aregiven .I /etc/mactabis read. Each line of it contains an interface name and a Ethernet MAC address. Comments are allowed starting with #. Otherwise the interfaces specified on the command line are processed..I nameiflooks for the interface with the given MAC address and renames it to thename given.When the .I -sargument is given all error messages go to the syslog.When the .I -c argument is given with a file name that file is read instead of /etc/mactab..SH NOTES.I nameifshould be run before the interface is up, otherwise it'll fail..SH FILES/etc/mactab.SH BUGSOnly works for Ethernet currently.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?