Commit Graph

4882 Commits

Author SHA1 Message Date
jkh
156e57ed72 Quiet some overly chatty debug output, do some minor cleanups to
the DHCP support code.
1999-08-21 07:13:20 +00:00
mdodd
0e8a449986 MAXLINE not MAX_CMDLINE
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
1999-08-20 17:40:33 +00:00
mdodd
650bfbaefb Fix some cut and paste damage.
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
1999-08-20 07:14:46 +00:00
mdodd
add3f6325f 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
4f537e1f79 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
1e31ba6301 Use el_source() so we pick up .editrc 1999-08-19 04:10:33 +00:00
mdodd
fb1440bad5 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
be5c500691 Mention `alias enable no'', not `alias enable off''. 1999-08-18 15:35:54 +00:00
chris
212887c836 Fix a bunch of broken cross-references 1999-08-18 05:55:22 +00:00
brian
69ab84d0b3 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
56bc7b51a6 Set the close-on-exec flag for all unused descriptors when
exec()ing other programs.
1999-08-17 14:59:05 +00:00
yokota
cf21d97ccd Add support for the serial version of Interlink VersaPad. 1999-08-17 12:14:59 +00:00
mpp
b35c0c9c72 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
b22fe64f8a 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
0fa185e8a0 Make hostname comparisons case insensitive 1999-08-17 01:25:16 +00:00
chris
94e90769b6 Fix some bad references. 1999-08-16 20:56:31 +00:00
yokota
122d640213 Document -i, -k, and -K options. 1999-08-16 09:25:01 +00:00
mpp
94f5c41121 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
b35a17e3c9 Bad reference vidcontrol(4) -> vidcontrol(1) 1999-08-14 22:29:34 +00:00
chris
b3d60e9b90 Bad reference getsockname(8) -> getsockname(2) 1999-08-14 22:25:59 +00:00
iwasaki
424fc6d366 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
4db9029d44 Bad reference of su(8) changed to su(1). 1999-08-14 06:34:50 +00:00
billf
a66efa8a50 -Wall fixes. Ambigious if/elses, uninitialized values, missing headers,
missing prototypes, and empty format strings.
1999-08-11 20:55:42 +00:00
sheldonh
fe79cb6242 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
8b50508e93 If we receive an IPCP protocol reject, bring it down. 1999-08-10 08:42:20 +00:00
mjacob
2cfab0c1d9 Some floppy related commands (fdformat, fdwrite, fdcontrol) need not be
restricted to i386.
1999-08-10 01:04:11 +00:00
brian
d69ca183f0 Back out the last patch. I'm too tired to apply patches. 1999-08-09 23:49:59 +00:00
brian
b3409b1e8c 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
bef3aa58c7 Change printf formats %q[du] -> %ll[du] 1999-08-09 22:56:18 +00:00
brian
460ac15b25 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
a1775ed6ac Add support for picking up ttys with sysctl(kern.ttys). 1999-08-08 19:44:00 +00:00
brian
b431c07559 Silence a warning about uninitialized variables. 1999-08-08 17:36:10 +00:00
brian
b1b2d4a0a7 Don't includei 4b support on the alpha 1999-08-08 17:35:35 +00:00
brian
864dcd0b2f 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
a5df34bc5f 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
8229df47c3 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
c318ffb377 updating isdn4bsd to beta version 0.83 1999-08-06 14:05:10 +00:00
bde
2dc04dd2d7 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
47099bb1b3 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
c30dbdad40 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
abecc22881 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
7117f963c2 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
528f32365c - 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
75000c3883 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
c32597f761 Stay on the serial console if installed that way.
Requested by:	max
1999-08-05 10:07:09 +00:00
brian
054c42cb50 Reorganise ppp's usage to avoid some mandoc limitations.
Suggested by: wollman
1999-08-03 16:14:38 +00:00
brian
7b531b9dba Mention that ospf is a possible filter protocol. 1999-08-02 21:45:36 +00:00
se
5efdb8aee5 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
se
d3b550b224 Fix typo and use Fx macro instead of literal FreeBSD.
Submitted by:	charnier
1999-08-02 17:45:21 +00:00
brian
1e67382ede Use err[x]/warn[x] and improve error reporting
Submitted by: charnier
1999-08-02 16:59:28 +00:00