Commit Graph

47 Commits

Author SHA1 Message Date
itojun
f3a31dc12d support "prefixlen n" for IPv4 too. 2001-01-17 06:07:32 +00:00
onoe
f56e1f272f powersavesleep requires argument 2000-12-12 20:22:45 +00:00
thorpej
b22f104458 Add powersave, -powersave, and powersavesleep to manipulate 802.11
power management parameters.
2000-12-12 04:08:40 +00:00
kleink
e90b215b52 Don't make references to _10Mb/s_ Ethernet where not appropriate; from
Christian Weisgerber.
2000-10-18 07:27:11 +00:00
thorpej
c77c2baf89 Add vlan(4) support. From Andy Doran <ad@netbsd.org>. 2000-09-27 23:00:24 +00:00
wiz
fb3d40deab add two letters in strategically important places, and replace one
ifconfig by .Nm
2000-08-13 17:17:26 +00:00
onoe
afa6a922a6 also note that the WaveLAN/IEEE Gold cards accept the 104 bits key.
pointed out by jhawk.
XXX this doesn't match to wiconfig(8), which is probably wrong.
2000-07-21 18:31:03 +00:00
onoe
05079cfc6d Clarify the restrictions in length for argument of the nwid and nwkey. 2000-07-21 17:37:12 +00:00
onoe
9efdccbdb5 Add nwkey and -nwkey keywords, to enable/disable WEP,
and to set WEP encryption key for IEEE802.11 wireless network interfaces.
2000-07-21 04:53:03 +00:00
thorpej
5bf452f867 Add a -C flag, to list all available network interface cloners. 2000-07-20 18:42:02 +00:00
onoe
b4a8e334e8 hexadecimal digits for nwid. 2000-07-06 11:02:02 +00:00
enami
a6edd9cf2f - Remove description about trailers/-trailers since they are no longer
a meaningful option.
- Don't captialize the word address or interface when it refers an arugment.
- Use .Ar macro for dest_address since it is not a keyword.
2000-07-03 09:18:52 +00:00
enami
34c3137212 Sort the SEE ALSO list first by section and kill the comma at the
end of the list.
2000-07-03 08:55:14 +00:00
thorpej
f70c591ad2 Add create' and destroy' commands. 2000-07-02 00:28:00 +00:00
thorpej
1a9289d09a - Add tunnel' and deletetunnel' commands, which issue the ioctls
that gifconfig(8) would issue to configure tunnel endpoints.  This
  allows IP tunnel interfaces (`gif' right now, and `gre' later) to
  be configured with ifconfig(8), and via /etc/ifconfig.<interface>.
  Partially taken from similar changes in OpenBSD.
- Const poison the command functions a bit.  We really need to clean
  up the command function interface.
2000-06-30 17:45:11 +00:00
enami
6059f8bc37 Fix typo. 2000-03-01 03:32:55 +00:00
itojun
a6cfc0a168 note that ifconfig delete does not work for IPv6
this is intentional - IPv6 assumes multiple addresses on an interface,
and it is not very safe to "delete" arbitrary one.  -alias with
explicit IPv6 address works fine.
2000-01-31 18:02:01 +00:00
itojun
809b9a5822 add "nwid" directive.
XXX there are too many flags that are not listed in usage().
what should we do?
2000-01-31 17:22:28 +00:00
joda
4aafeffb6f implement netmask slash notation for IP and IPv6 addresses 2000-01-12 10:29:35 +00:00
itojun
a338a0d47b add reference to "inet6" family.
document -alias.
1999-12-09 01:28:25 +00:00
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