summaryrefslogtreecommitdiffstats
path: root/sbin/ifconfig
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
|
* Replace call to obsolete inet_addr routine with inet_aton so we can specifypst1995-04-261-2/+2
| | | | netmasks and broadcast addresses of 255.255.255.255.
* Impliment -ad and -au flags in addition to -a and document the changewpaul1995-03-122-8/+42
| | | | | | | | in the man page. ifconfig -au affects all interfaces marked as up, and ifconfig -ad affects only the interfaces marked down. ifconfig -a still handles everything. This change is purely for compatibility with SunOS, for those who might be accustomed to the SunOS ifconfig's behavior.
* Tweak the man page too.jkh1994-12-301-0/+7
|
* From: Wankle Rotary Engine <wpaul@skynet.ctr.columbia.edu>jkh1994-12-302-3/+144
| | | | | | | | | | | | | | | | | | | | | | - The -a flag now works just as it does in SunOS: '-a' is actually handled like a wildcard for all interfaces. 'ifconfig -a' displays the status of all interfaces, 'ifconfig -a netmask 0xffffff00' sets the netmask of all interfaces, and so forth. I don't know if many people really need to be able to set the netmasks of all interfaces at once, but the SunOS ifconfig seems to allow this, so there you have it. - An 'ether_status' function has been added to display the ethernet address of all ethernet interfaces. Again, as in SunOS, you must be root in order for this to work. The ethernet address is read from /dev/kmem using kvm_open() and kvm_read(), much in the same was as it's done with netstat. If you choose to install ifconfig set-gid kmem then normal users will be able to see the ethernet address as well, though this may not be desireable. This feature requires a small change to the ifconfig Makefile: you need to link with -lkvm in order to use the kvm_*() functions. Submitted by: wpaul
* Add parameters "compress", "normal" and "noicmp" for the slip usage.ats1994-11-201-0/+3
| | | | | These names are used in the slip.hosts file as examples, but ifconfig have formerly only accepted link0, -link0 and link1 for this.
* Added support for setting the per-interface MTU.dg1994-08-082-8/+34
|
* Convert to our man installation style. Also fixed long-standing bugwollman1994-08-051-1/+1
| | | | | in `fastboot'/`fasthalt' in which the interpreter would hang around after `reboot' or `halt' is run, causing an irritating ``Killed'' message.
* BSD 4.4 Lite sbin Sourcesrgrimes1994-05-263-0/+960
Note: XNSrouted and routed NOT imported here, they shall be imported with usr.sbin.
OpenPOWER on IntegriCloud