Commit Graph

4883 Commits

Author SHA1 Message Date
wpaul
78e3149282 This commit adds device driver support for the Sundance Technologies ST201
PCI fast ethernet controller. Currently, the only card I know that uses
this chip is the D-Link DFE-550TX. (Don't ask me where to buy these: the
only cards I have are samples sent to me by D-Link.)

This driver is the first to make use of the miibus code once I'm sure
it all works together nicely, I'll start converting the other drivers.

The Sundance chip is a clone of the 3Com 3c90x Etherlink XL design
only with its own register layout. Support is provided for ifmedia,
hardware multicast filtering, bridging and promiscuous mode.
1999-08-21 18:34:58 +00:00
green
c50c45093a This is the addition of a syslog(3) security.* top-level category. This
should be used from now on for anything security but not auth-related.
Included are updates for all relevant manpages and also to /etc files,
creating a new /var/log/security. Nothing in the system logs to
/var/log/security yet as of the time of this commit.

Reviewed by:	rgrimes, imp, chris
1999-08-21 18:24:29 +00:00
jkh
61d8a53c77 Quiet some overly chatty debug output, do some minor cleanups to
the DHCP support code.
1999-08-21 07:13:20 +00:00
mdodd
e232c6b321 MAXLINE not MAX_CMDLINE
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
1999-08-20 17:40:33 +00:00
mdodd
6877efb36e Fix some cut and paste damage.
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
1999-08-20 07:14:46 +00:00
mdodd
1bdbdefa3d What the heck was I thinking? Nobody else saw this? Sheesh.
(num > MAX) ? MAX : num

rather than

(MAX > num) ? MAX : num

Also, make things a little easier to read while I'm here.
1999-08-20 01:24:35 +00:00
brian
9f2b7222c3 o Add the -foreground switch. This switch behaves like -background except
that ppp stays in the foreground.
o Add the -quiet switch to quieten ppps startup
o Add the -nat flag and discourage the use of the -alias flag.  Both do
  the same thing.
o Correct some nat usage strings.
o Change the internal ``alias'' command to ``nat''.
1999-08-19 18:15:52 +00:00
mdodd
23a6694192 Use el_source() so we pick up .editrc 1999-08-19 04:10:33 +00:00
mdodd
203aa2011f Add support for command line editing and history.
Remove src/contrib/bind/bin/nslookup/commands.c as it is generated by lex
from commands.l.

Submitted by: lpc/cdcontrol patches originally by msmith.
Reviewed by: msmith (in theory)
1999-08-19 03:29:15 +00:00
brian
fb6c3d09c1 Mention `alias enable no'', not `alias enable off''. 1999-08-18 15:35:54 +00:00
chris
24ff4e8603 Fix a bunch of broken cross-references 1999-08-18 05:55:22 +00:00
brian
0652c58a9e Implement a minimum idle time value as an optional second argument
to ``set timeout''.
This is useful for situations where your minimum call charge is (say)
5 minutes (like mine is)
1999-08-17 17:22:46 +00:00
brian
63105bcb67 Set the close-on-exec flag for all unused descriptors when
exec()ing other programs.
1999-08-17 14:59:05 +00:00
yokota
9874ef66a5 Add support for the serial version of Interlink VersaPad. 1999-08-17 12:14:59 +00:00
mpp
ab3b0f0a28 The sysinstall man page menetions that it was due to be replaced
in a previous FreeBSD version.  That never happened.  Document that
it is due to be replaced, but leave it open-ended as to when.

Also do some mdoc cleanup.

PR:		docs/13148
PR:		docs/13144
Submitted by:	Lee Cremeans <lcremeans@erols.com>
		Alex M. Zelkim <phantom@cris.net>
Discussed with: jkh
1999-08-17 10:57:18 +00:00
hosokawa
b4395a7a1a Added "include" feature to pccard.conf to put the default pccard.conf
entries in /etc/defaults/.
1999-08-17 03:38:51 +00:00
brian
f665b4bb4c Make hostname comparisons case insensitive 1999-08-17 01:25:16 +00:00
chris
c83edf8733 Fix some bad references. 1999-08-16 20:56:31 +00:00
yokota
79a5f062f6 Document -i, -k, and -K options. 1999-08-16 09:25:01 +00:00
mpp
7de62de44f Various man page cleanup:
- Sort xrefs.
- FreeBSD.ORG -> FreeBSD.org
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR:		doc/13144
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
1999-08-15 08:47:11 +00:00
chris
d1e5755d93 Bad reference vidcontrol(4) -> vidcontrol(1) 1999-08-14 22:29:34 +00:00
chris
357749e609 Bad reference getsockname(8) -> getsockname(2) 1999-08-14 22:25:59 +00:00
iwasaki
e46d28f8ce Change to continue process after calling `Get Resume TImer' APM
BIOS function (supported in v1.2) on older BIOS version (v1.1 or 1.0).

Reviewed by:	-mobile ML folks.
1999-08-14 18:45:19 +00:00
chris
9b59ff51e6 Bad reference of su(8) changed to su(1). 1999-08-14 06:34:50 +00:00
billf
59887a99f7 -Wall fixes. Ambigious if/elses, uninitialized values, missing headers,
missing prototypes, and empty format strings.
1999-08-11 20:55:42 +00:00
sheldonh
f9374492b7 Christen a BUGS section for an explanation of the impact of Daylight
Savings Time on cron(8). If we ever introduce some work-around code for
handling jobs scheduled for a time that "doesn't happen" due to DST,
the section should be renamed to IMPLEMENTATION NOTES.

PR:	10947
Reported by:	Scott Drassinower <scottd@cloud9.net>
Submitted by:	Seth Bromberger <seth@freebie.dp.ny.frb.org>
Reviewed by:	mpp
1999-08-11 13:00:19 +00:00
brian
9be39f69db If we receive an IPCP protocol reject, bring it down. 1999-08-10 08:42:20 +00:00
mjacob
eb92252a50 Some floppy related commands (fdformat, fdwrite, fdcontrol) need not be
restricted to i386.
1999-08-10 01:04:11 +00:00
brian
9fa72e2948 Back out the last patch. I'm too tired to apply patches. 1999-08-09 23:49:59 +00:00
brian
44ba1f8de6 Remove CLOCAL when we're not in -dedicated mode.
PR:		13046
Submitted by:	Vsevolod Lobko <seva@alex-ua.com>
1999-08-09 23:38:56 +00:00
brian
2038236d78 Change printf formats %q[du] -> %ll[du] 1999-08-09 22:56:18 +00:00
brian
a3201b63a4 Insist that ppp.conf and it's parent directories aren't `other'
writable rather than not being writable at all.

PR:			13009
Kind-of submitted by:	Anthony Kimball <alk@pobox.com>
1999-08-09 22:54:51 +00:00
phk
ec2c3a6a5a Add support for picking up ttys with sysctl(kern.ttys). 1999-08-08 19:44:00 +00:00
brian
a714c97c5e Silence a warning about uninitialized variables. 1999-08-08 17:36:10 +00:00
brian
7787776bac Don't includei 4b support on the alpha 1999-08-08 17:35:35 +00:00
brian
1d136c5cea Don't log_Printf(..., buf) in case buf contains %s
Info provided by: Ollivier Robert <roberto@keltia.freenix.fr>
1999-08-08 15:19:00 +00:00
jkh
c8761aa692 Re-enable play-nice-with-DHCP option now that bpf is the default
in GENERIC.  Now a dhcp-configured system will both install and boot
initially with proper interface configuration.
1999-08-07 01:43:39 +00:00
brian
3c5205f426 Add ISDN support via isdnd & i4b. This requires version
0.81.1 of the i4b code - namely support of the I4B_VR_REQ
ioctl via the i4brbchX device.

Ppp controls the phone number, but idle timers and
SYNC/RAW decisions are still made by isdnd (in isdnd.rc).

This involves a new datalink state machine phase.  The
``wait for carrier'' phase happens after dialing but
before logging in.  The whole dial state should really
be abstracted so that each device type can deal with it
in its own way (thinking about PPPoE) - but that'll have
to wait.

The ``set cd'' symantics remain the same for tty devices,
but we now delay until we either get CD or timeout waiting
(at which time we drop the link if we require CD).

For i4b devices we always insist on carrier.

Thanks to hm@ for his help, and especially for pointing out
that I *don't* need to re-implement isdnd (that was a huge
waste of time !) :-]
1999-08-06 20:04:08 +00:00
hm
1c8f239db0 updating isdn4bsd to beta version 0.83 1999-08-06 14:05:10 +00:00
bde
009ba522f3 Fixed printf format errors. One of them fixes the garbage output for
sa -km reported in the PR.

PR:		4582
1999-08-06 07:03:25 +00:00
dwhite
c7b59b885f Typo police. 'Acknowledgement' is spelled correctly so it was left untouched.
PR: docs/12986
Submitted by:	Seth <seth@freebie.dp.ny.frb.org>
1999-08-06 04:19:27 +00:00
brian
06fc461492 If the clock is put back, ensure that we don't end up dividing by
zero when calculating our throughput
1999-08-06 01:34:03 +00:00
sos
39892425b0 Add a local distribution under the "costum distribution" menu.
This allows to add local additions on install time..
1999-08-05 20:04:56 +00:00
phk
1ba9917725 Make the newfs parameters a global option.
The default is still "-b 8192 -f 1024" but my experiments show that
"-b 16384 -f 4096 -c 100" is a more sensible value for modern
disksizes.
1999-08-05 19:50:26 +00:00
ru
08c9faf238 - ignore the user-supplied umask, set it to 0022 by default
- install /etc/wall_cmos_clock with 0444 mode rather than 0666
- -Wall inspection

PR:		12967
1999-08-05 11:48:47 +00:00
brian
8040e68857 o Obsolete the undocumented ``set weight'' command.
o If we're using RADIUS and the RADIUS mtu is less than our
  peers mru/mrru, reduce our mtu to this value for NetBSD too.
o Make struct throughput's sample period dynamic and tweak the ppp
  version number to reflect the extra stuff being passed through
  the local domain socket as a result (MP mode).
o Measure the current throughput based on the number of samples actually
  taken rather than on the full sample period.
o Keep the throughput statisics persistent while being passed to
  another ppp invocation through the local domain socket.
o When showing throughput statistics after the timer has stopped, use
  the stopped time for overall calculations, not the current time.
  Also show the stopped time and how long the current throughput has
  been sampled for.
o Use time() consistently in throughput.c
o Tighten up the ``show bundle'' output.
o Introduce the ``set bandwidth'' command.
o Rewrite the ``set autoload'' command.  It now takes three arguments
  and works based on a rolling bundle throughput average compared against
  the theoretical bundle bandwidth over a given period (read: it's now
  functional).
1999-08-05 10:32:16 +00:00
jkh
f19b99db4d Stay on the serial console if installed that way.
Requested by:	max
1999-08-05 10:07:09 +00:00
brian
068d2e8f66 Reorganise ppp's usage to avoid some mandoc limitations.
Suggested by: wollman
1999-08-03 16:14:38 +00:00
brian
cb03a0a505 Mention that ospf is a possible filter protocol. 1999-08-02 21:45:36 +00:00
se
9064436dd4 Remove accidental 8bit character in error message.
Add checks for malloc failure and add error exit in case of malloc failure.
Add rcsid.

Submitted by:	charnier
1999-08-02 17:50:07 +00:00