-.TH ARP 8 "2008-10-03" "net\-tools" "Linux System Administrator's Manual"
+.TH ARP 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
arp \- manipulate the system ARP cache
.SH SYNOPSIS
-.TH ETHERS 5 "May 15th, 2005" "" "File formats"
+.TH ETHERS 5 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME \"{{{roff}}}\"{{{
ethers \- Ethernet address to IP number database
.\"}}}
IP numbers, one line for each IP number:
.sp
.RS
-\fIEthernet-address\fP \fIIP-number\fP
+\fIEthernet\-address\fP \fIIP\-number\fP
.RE
.sp
The two items are separated by any number of SPACE and/or TAB characters.
A \fB#\fP at the beginning of a line starts a comment
-which extends to the end of the line. The \fIEthernet-address\fP is
+which extends to the end of the line. The \fIEthernet\-address\fP is
written as
.IR x : x : x : x : x : x ,
where \fIx\fP is a hexadecimal number between \fB0\fP and \fBff\fP
which represents one byte of the address, which is in network byte
-order (big-endian). The \fIIP-number\fP may be a hostname which
+order (big-endian). The \fIIP\-number\fP may be a hostname which
can be resolved by DNS or a dot separated number.
.\"}}}
.SH EXAMPLES \"{{{
-.TH HOSTNAME 1 "28 Jan 1996" "net-tools" "Linux Programmer's Manual"
+.TH HOSTNAME 1 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
hostname \- show or set the system's host name
.RB [ \-f ]
.RB [ \-\-fqdn ]
.RB [ \-i ]
-.RB [ \-\-ip-address ]
+.RB [ \-\-ip\-address ]
.RB [ \-\-long ]
.RB [ \-s ]
.RB [ \-\-short ]
.I "\-h, \-\-help"
Print a usage message and exit.
.TP
-.I "\-i, \-\-ip-address"
+.I "\-i, \-\-ip\-address"
Display the IP address(es) of the host.
.TP
.I "\-n, \-\-node"
.SH FILES
.B /etc/hosts
.SH AUTHOR
-Peter Tobias, <tobias@et-inf.fho-emden.de>
+Peter Tobias, <tobias@et\-inf.fho\-emden.de>
.br
-Bernd Eckenfels, <net-tools@lina.inka.de> (NIS and manpage).
+Bernd Eckenfels, <net\-tools@lina.inka.de> (NIS and manpage).
.br
Steve Whitehouse, <SteveW@ACM.org> (DECnet support and manpage).
-.TH IFCONFIG 8 "2007-11-07" "net-tools" "Linux Programmer's Manual"
+.TH IFCONFIG 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
ifconfig \- configure a network interface
.SH SYNOPSIS
.B interface
argument is given, it displays the status of the given interface
only; if a single
-.B -a
+.B \-a
argument is given, it displays the status of all interfaces, even
those that are down. Otherwise, it configures an interface.
can be used to tell the driver to auto-sense the media. Again, not
all drivers can do this.
.TP
-.B "[-]broadcast [addr]"
+.B "[\-]broadcast [addr]"
If the address argument is given, set the protocol broadcast
address for this interface. Otherwise, set (or clear) the
.B IFF_BROADCAST
flag for the interface.
.TP
-.B "[-]pointopoint [addr]"
+.B "[\-]pointopoint [addr]"
This keyword enables the
.B point-to-point
mode of an interface, meaning that it is a direct link between two
.BR iptables (8)
command.
.LP
-Since net-tools 1.61 ifconfig is printing byte counters and human readable
+Since net\-tools 1.60\-4 ifconfig is printing byte counters and human readable
counters with IEC 60027-2 units. So 1 KiB are 2^10 byte. Note, the numbers
are truncated to one decimal (which can by quite a large error if you
consider 0.1 PiB is 112.589.990.684.262 bytes :)
Interrupt problems with Ethernet device drivers fail with EAGAIN
.I (SIOCSIIFLAGS: Resource temporarily unavailable)
it is most likely a interrupt conflict. See
-.I http://www.scyld.com/expert/irq-conflict.html
+.I http://www.scyld.com/expert/irq\-conflict.html
for more information.
.SH FILES
.I /proc/net/socket
While appletalk DDP and IPX addresses will be displayed they cannot be
altered by this command.
.SH SEE ALSO
-route(8), netstat(8), arp(8), rarp(8), ipchains(8), iptables(8)
+route(8), netstat(8), arp(8), rarp(8), ipchains(8), iptables(8), ifup(8), interfaces(5).
.br
http://physics.nist.gov/cuu/Units/binary.html - Prefixes for binary multiples
.SH AUTHORS
.br
Andi Kleen
.br
-Bernd Eckenfels, <net-tools@lina.inka.de>
+Bernd Eckenfels, <net\-tools@lina.inka.de>
.\" Copyright (C) 2000 David A. Hinds -- dhinds@pcmcia.sourceforge.org
.\" mii-tool.8 1.5 2000/04/25 22:58:19
.\"
-.TH MII-TOOL 8 "2004/03/28 23:30:00" "net-tools"
+.TH MII\-TOOL 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
-mii-tool \- view, manipulate media-independent interface status
+mii\-tool \- view, manipulate media-independent interface status
.SH SYNOPSIS
-.B mii-tool
+.B mii\-tool
[\fB\-v\fR, \fB\-\-verbose\fR]
[\fB\-V\fR, \fB\-\-version\fR]
[\fB\-R\fR, \fB\-\-reset\fR]
devices, the MII protocol also allows for establishing a link by
simply detecting either a 10baseT or 100baseT link beat. The \fB\-F\fR
or \fB\-\-force\fR options can be used to force the MII to operate in
-one mode, instead of autonegotiating. The \fB\-A\fR and \fB-F\fR
+one mode, instead of autonegotiating. The \fB\-A\fR and \fB\-F\fR
options are mutually exclusive.
.PP
The default short output reports the negotiated link speed and link
status for each interface. If an interface or interfaces are not
-specified on the command line, then \fBmii-tool\fR will check any
+specified on the command line, then \fBmii\-tool\fR will check any
available interfaces from \fBeth0\fR through \fBeth7\fR.
.SH OPTIONS
.TP
interfaces are polled at one second intervals.
.TP
\fB\-l\fR, \fB\-\-log\fR
-Used with \fB-w\fR, records link status changes in the system log
+Used with \fB\-w\fR, records link status changes in the system log
instead of printing on standard output.
.TP
\fB\-F\fI media\fR, \fB\-\-force=\fImedia\fR
-.TH NAMEIF 8 "18 Oct 2000" "net-tools" "Linux's Administrator's Manual"
+.TH NAMEIF 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
nameif \- name network interfaces based on MAC addresses
.SH SYNOPSIS
-.B "nameif [-c configfile] [-s]"
+.B "nameif [\-c configfile] [\-s]"
.br
-.B "nameif [-c configfile] [-s] {interface macaddress}"
+.B "nameif [\-c configfile] [\-s] {interface macaddress}"
.SH DESCRIPTION
.B nameif
renames network interfaces based on mac addresses. When no arguments are
name given.
When the
-.I -s
+.I \-s
argument is given all error messages go to the syslog.
When the
-.I -c
+.I \-c
argument is given with a file name that file is read instead of /etc/mactab.
.SH NOTES
.\" Modified: Tuan Hoang tqhoang@bigfoot.com
.\"
.\"
-.TH NETSTAT 8 "2008-10-04" "net-tools" "Linux System Administrator's Manual"
+.TH NETSTAT 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
netstat \- Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
.RB [ \-\-listening | \-l ]
.RB [ \-\-all | \-a ]
.RB [ \-\-numeric | \-n ]
-.RB [ \-\-numeric-hosts "] [" \-\-numeric-ports "] [" \-\-numeric-users ]
+.RB [ \-\-numeric\-hosts "] [" \-\-numeric\-ports "] [" \-\-numeric\-users ]
.RB [ \-\-symbolic | \-N ]
.RB [ \-\-extend | \-e [ \-\-extend | \-e] ]
.RB [ \-\-timers | \-o ]
.RB [ \-\-extend | \-e [ \-\-extend | \-e] ]
.RB [ \-\-verbose | \-v ]
.RB [ \-\-numeric | \-n ]
-.RB [ \-\-numeric-hosts "] [" \-\-numeric-ports "] [" \-\-numeric-users ]
+.RB [ \-\-numeric\-hosts "] [" \-\-numeric\-ports "] [" \-\-numeric\-users ]
.RB [ \-\-continuous | \-c]
.P
.B netstat
.B netstat
.RB { \-\-groups | \-g }
.RB [ \-\-numeric | \-n ]
-.RB [ \-\-numeric-hosts "] [" \-\-numeric-ports "] [" \-\-numeric-users ]
+.RB [ \-\-numeric\-hosts "] [" \-\-numeric\-ports "] [" \-\-numeric\-users ]
.RB [ \-\-continuous | \-c]
.P
.B netstat
.RB { \-\-masquerade | \-M }
.RB [ \-\-extend | \-e ]
.RB [ \-\-numeric | \-n ]
-.RB [ \-\-numeric-hosts "] [" \-\-numeric-ports "] [" \-\-numeric-users ]
+.RB [ \-\-numeric\-hosts "] [" \-\-numeric\-ports "] [" \-\-numeric\-users ]
.RB [ \-\-continuous | \-c]
.P
.B netstat
.SS "\-\-numeric , \-n"
Show numerical addresses instead of trying to determine symbolic host, port
or user names.
-.SS "\-\-numeric-hosts"
+.SS "\-\-numeric\-hosts"
shows numerical host addresses but does not affect the resolution of
port or user names.
-.SS "\-\-numeric-ports"
+.SS "\-\-numeric\-ports"
shows numerical port numbers but does not affect the resolution of
host or user names.
-.SS "\-\-numeric-users"
+.SS "\-\-numeric\-users"
shows numerical user IDs but does not affect the resolution of host or
port names.
Show only listening sockets. (These are omitted by default.)
.SS "\-a, \-\-all"
Show both listening and non-listening sockets. With the
-.B --interfaces
+.B \-\-interfaces
option, show interfaces that are not up
.SS "\-F"
Print routing information from the FIB. (This is the default.)
.SS Active Internet connections \fR(TCP, UDP, raw)\fR
.SS "Proto"
The protocol (tcp, udp, raw) used by the socket.
-.SS "Recv-Q"
+.SS "Recv\-Q"
Established: The count of bytes not copied by the user program connected to this socket.
Listening: Since Kernel 2.6.18 this column contains the current syn backlog.
-.SS "Send-Q"
+.SS "Send\-Q"
Established: The count of bytes not acknowledged by the remote host.
Listening: Since Kernel 2.6.18 this column contains the maximum size of the syn backlog.
.SS "Local Address"
.SS "PID/Program name"
Slash-separated pair of the process id (PID) and process name of the
process that owns the socket.
-.B --program
+.B \-\-program
causes this column to be included. You will also need
.I superuser
privileges to see this information on sockets you don't own. This
.PP
.SH NOTES
Starting with Linux release 2.2
-.B netstat -i
+.B netstat \-i
does not show interface statistics for alias interfaces. To get per
alias interface counters you need to setup explicit rules using the
.BR ipchains(8)
.P
.SH AUTHORS
The netstat user interface was written by Fred Baumgarten
-<dc6iq@insu1.etec.uni-karlsruhe.de>, the man page basically
+<dc6iq@insu1.etec.uni\-karlsruhe.de>, the man page basically
by Matt Welsh <mdw@tc.cornell.edu>. It was updated by
Alan Cox <Alan.Cox@linux.org> but could do with a bit more
work. It was updated again by Tuan Hoang
<tqhoang@bigfoot.com>.
.br
-The man page and the command included in the net-tools
+The man page and the command included in the net\-tools
package is totally rewritten by Bernd Eckenfels
<ecki@linux.de>.
-.TH PLIPCONFIG 8 "17 February 1995" "" ""
+.TH PLIPCONFIG 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
plipconfig \- fine tune PLIP device parameters
.SH SYNOPSIS
-.TH RARP 8 "4 August 1997" "net-tools" "Linux Programmer's Manual"
+.TH RARP 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
rarp \- manipulate the system RARP table
.SH SYNOPSIS
-.B "rarp [-V] [--version] [-h] [--help]"
+.B "rarp [\-V] [\-\-version] [\-h] [\-\-help]"
.br
-.B "rarp -a"
+.B "rarp \-a"
.br
-.B "rarp [-v] -d hostname ..."
+.B "rarp [\-v] \-d hostname ..."
.br
-.B "rarp [-v] [-t type] -s hostname hw_addr"
+.B "rarp [\-v] [\-t type] \-s hostname hw_addr"
.SH NOTE
.P
This program is obsolete. From version 2.3, the Linux kernel
no longer contains RARP support. For a replacement RARP daemon, see
.I
-ftp://ftp.dementia.org/pub/net-tools
+ftp://ftp.dementia.org/pub/net\-tools
.SH DESCRIPTION
.B Rarp
manipulates the kernel's RARP table in various ways. The primary options
-.TH ROUTE 8 "02 October 2003" "net-tools" "Linux Programmer's Manual"
+.TH ROUTE 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
route \- show / manipulate the IP routing table
.SH SYNOPSIS
.RB [ \-V ]
.RB [ \-\-version ]
.RB [ \-h ]
-.RB [ \--help ]
+.RB [ \-\-help ]
.SH DESCRIPTION
.B Route
manipulates the kernel's IP routing tables. Its primary use is to set
.SH OPTIONS
.TP
.B \-A family
-use the specified address family (eg `inet'; use `route --help' for a full
+use the specified address family (eg `inet'; use `route \-\-help' for a full
list).
.TP
-.B -F
+.B \-F
operate on the kernel's FIB (Forwarding Information Base) routing
table.
This is the default.
.TP
-.B -C
+.B \-C
operate on the kernel's routing cache.
.TP
.TP
.B \-e
use
-.BR netstat (8)-format
+.BR netstat (8)\-format
for displaying the routing table.
.B \-ee
will generate a very long line with all parameters from the routing table.
.B target
is a network.
.TP
-.B -host
+.B \-host
the
.B target
is a host.
.SH EXAMPLES
.TP
-.B route add -net 127.0.0.0
-adds the normal loopback entry, using netmask 255.0.0.0 (class A net,
-determined from the destination address) and associated with the
+.B route add \-net 127.0.0.0 netmask 255.0.0.0 dev lo
+adds the normal loopback entry, using netmask 255.0.0.0 and associated with the
"lo" device (assuming this device was previously set up correctly with
.BR ifconfig (8)).
.TP
-.B route add -net 192.56.76.0 netmask 255.255.255.0 dev eth0
-adds a route to the network 192.56.76.x via
-"eth0". The Class C netmask modifier is not really necessary here because
-192.* is a Class C IP address. The word "dev" can be omitted here.
+.B route add \-net 192.56.76.0 netmask 255.255.255.0 dev eth0
+adds a route to the local network 192.56.76.x via
+"eth0". The word "dev" can be omitted here.
.TP
-.B route add default gw mango-gw
+.B route del default
+deletes the current default route, which is labeled "default" or 0.0.0.0
+in the destination field of the current routing table.
+
+.TP
+.B route add default gw mango\-gw
adds a default route (which will be used if no other route matches).
-All packets using this route will be gatewayed through "mango-gw". The
+All packets using this route will be gatewayed through "mango\-gw". The
device which will actually be used for that route depends on how we
-can reach "mango-gw" - the static route to "mango-gw" will have to be
+can reach "mango\-gw" - the static route to "mango\-gw" will have to be
set up before.
.TP
"ipx4" is the SLIP host).
.TP
-.B route add -net 192.57.66.0 netmask 255.255.255.0 gw ipx4
+.B route add \-net 192.57.66.0 netmask 255.255.255.0 gw ipx4
This command adds the net "192.57.66.x" to be gatewayed through the former
route to the SLIP interface.
.TP
-.B route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
+.B route add \-net 224.0.0.0 netmask 240.0.0.0 dev eth0
This is an obscure one documented so people know how to do it. This sets
all of the class D (multicast) IP routes to go via "eth0". This is the
correct normal configuration line with a multicasting kernel.
.TP
-.B route add -net 10.0.0.0 netmask 255.0.0.0 reject
+.B route add \-net 10.0.0.0 netmask 255.0.0.0 reject
This installs a rejecting route for the private network "10.x.x.x."
.LP
Number of references to this route. (Not used in the Linux kernel.)
.TP
.B Use
-Count of lookups for the route. Depending on the use of -F and -C this will
-be either route cache misses (-F) or hits (-C).
+Count of lookups for the route. Depending on the use of \-F and \-C this will
+be either route cache misses (\-F) or hits (\-C).
.TP
.B Iface
Interface to which packets for this route will be sent.
Linus Torvalds for pl15. Alan Cox added the mss and window options for
Linux 1.1.22. irtt support and merged with netstat from Bernd Eckenfels.
.SH AUTHOR
-Currently maintained by Phil Blundell <Philip.Blundell@pobox.com>.
+Currently maintained by Phil Blundell <Philip.Blundell@pobox.com> and Bernd Eckenfels <net-tools@lina.inka.de>.
-.TH SLATTACH 8 "10 Oct 2006" "" ""
+.TH SLATTACH 8 "2008\-10\-03" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
slattach \- attach a network interface to a serial line
.SH SYNOPSIS
-.B "slattach [-dehlLmnqv] [-c command] [-p proto] [-s speed] [tty]"
+.B "slattach [\-dehlLmnqv] [\-c command] [\-p proto] [\-s speed] [tty]"
.br
.SH DESCRIPTION
.B Slattach
you to use it for point-to-point links to other computers.
.SH OPTIONS
.TP
-.B "[-c command]"
+.B "[\-c command]"
Execute
.B command
when the line is hung up. This can be used to run scripts or re-establish
connections when a link goes down.
.TP
-.B "[-d]"
+.B "[\-d]"
Enable debugging output. Useful when determining why a given
setup doesn't work.
.TP
-.B "[-h]"
+.B "[\-h]"
Exit when the carrier is lost. This works on both /dev/tty and /dev/cua
devices by directly monitoring the carrier status every 15 seconds.
.TP
-.B "[-v]"
+.B "[\-v]"
Enable verbose output. Useful in shell scripts.
.TP
-.B "[-q]"
+.B "[\-q]"
Operate in quiet mode - no messages at all.
.TP
-.B "[-l]"
+.B "[\-l]"
Create an UUCP-style lockfile for the device in /var/lock.
.TP
-.B "[-n]"
+.B "[\-n]"
Equivalent to the "mesg n" command.
.TP
-.B "[-m]"
+.B "[\-m]"
Do \fBnot\fP initialize the line into 8 bits raw mode.
.TP
-.B "[-e]"
+.B "[\-e]"
Exit right after initializing device, instead of waiting for the
line to hang up.
.TP
-.B "[-L]"
+.B "[\-L]"
Enable 3 wire operation. The terminal is moved into CLOCAL mode,
carrier watching is disabled.
.TP
-.B "[-p proto]"
+.B "[\-p proto]"
Set a specific kind of protocol to use on the line. The default
is set to
.BR "cslip" ,
.B axattach
program should be used.
.TP
-.B "[-s speed]"
+.B "[\-s speed]"
Set a specific line speed, other than the default.
.PP
If no arguments are given, the current terminal line (usually: the