Commit Graph

27 Commits

Author SHA1 Message Date
sommerfeld 8bfcc5ad34 Add a new -s option to make it easier to test the link-level status
(i.e., 10baseT carrier/no carrier) of an interface from scripts

ifconfig -s <interface> will exit with a false status if the interface
reports its unconnected.

-s also works in conjunction with -l and -a, filtering out interfaces
which are reporting down.

Also, add -b (which shows only broadcast interfaces with -l and -a).

I find these options useful in network autoconfig scripts for mobile
systems.
1999-07-03 17:31:15 +00:00
itojun 565fad43fa write up IPv6 operations (prefixlen and others) 1999-07-02 15:45:46 +00:00
itojun 25eb444e29 make ifconfig IPv6-ready.
TODO: update manpage for new options.
1999-07-01 13:19:20 +00:00
christos 7852090868 Add support for displaying interface alias information. Based on PR/6109 by
Phil Nelson.
1998-09-06 17:51:32 +00:00
thorpej 6bd72c7fd7 Cross-reference ifmedia(4). 1998-08-09 00:39:02 +00:00
thorpej 1dc9284e4f Document "instance". 1998-08-08 22:50:13 +00:00
enami 4385d9fe62 - Use .Nm "" instead of .Nm ifconfig in SYNOPSIS.
- Delete space at the end of line.
1997-10-11 02:44:36 +00:00
lukem 76e13a0128 all but the first .Nm in SYNOPSIS need to be spelt out. [bin/4256] 1997-10-10 16:12:45 +00:00
lukem 92f7af5b8d * cleanup for WARNS=1
* deprecate register
* use .Nm correctly
1997-09-15 01:53:35 +00:00
lukem b4123d6862 Add "mask" argument to description of "broadcast".
From Thorsten Frueauf <frueauf@ira.uka.de> in [misc/3657]
1997-05-30 03:49:36 +00:00
lukem 13d5dd4446 Implemented two modifier flags for -a and -l: -d (only show "down" interfaces)
and -u (only show "up" interfaces)
1997-04-21 01:17:57 +00:00
is d743f36705 Add mtu n parameter. Part of code by Matthias Pfaller (PR 1648). 1997-04-10 19:10:16 +00:00
jeremy 90a04776b1 Fix typo in media selector example. (from frueauf@ira.uka.de)
Fixes half of PR#3470.
1997-04-10 06:30:26 +00:00
christos 8e9ba6bac6 - netatalk additions
- KNF
- prototype fixes
- ifconfig -a now prints all the address family parameters for all configured
  interfaces.
1997-04-03 02:07:58 +00:00
thorpej dbdde72e82 Add a "-l" flag, which lists available network interfaces, with no
additional information.
1997-03-27 22:50:09 +00:00
thorpej 4fcebbc43a Add support for BSD/OS-style media selection:
- new "media" keyword specified media to select:
		ifconfig de0 media utp
	- new "mediaopt/-mediaopt" keywords for setting/clearing
	  media options (such as full-duplex)
	- new "-m" flag to display all supported media types for
	  a given interface.
Also, some generial cleanup of argument parsing while I was there.
Manual page updates from Jeremy Cooper <jeremy@netbsd.org>.
1997-03-17 03:08:46 +00:00
pk 9a4742e3ce Merge with lite-2. 1996-01-04 21:27:29 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
mycroft 3c78ef3311 Merge with 4.4-Lite version. 1994-09-23 01:38:45 +00:00
cgd bc980fa1b4 fix a botch 1994-01-22 00:29:20 +00:00
jtc ab3a89f913 Fix spelling errors 1994-01-14 02:05:23 +00:00
cgd 285bdc5f46 LLC -> LINK, documentation 1993-12-10 11:23:54 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
deraadt 46c2563196 Added another sunos-ism: ifconfig -a 1993-05-04 09:26:52 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00