Commit Graph

4440 Commits

Author SHA1 Message Date
jkh
041c5b374a Add spanish mirrors to FTP menu. 1999-02-11 14:42:39 +00:00
brian
5dc50d8ed5 When resending chap challenges, resend the same challenge
each time rather than making up a new one.

Increase the authname/authkey max sizes to 100 characters.

Allow ``authkey'' specifications beginning with ``!''.
When a challenge is received, the text following the
``!'' is executed as a program (expanding stuff in the same
way that ``sh'' and ``!bg'' do).  The program is passed the
peer name, peer challenge and local ``authname'' on standard
input and is expected to output the name/key combination that
should be used to build the CHAP response.

This provides support for Secure ID cards (guess what I was
given at work recently!) using CHAP.

Examples will follow.
1999-02-11 10:14:08 +00:00
wpaul
7a6606c859 The ypbind_setdom_2 procedure returns NULL in the success case. This is
incorrect; returning NULL here means that the dispatcher won't send any
response back to the caller, which means the caller will sit there waiting
until it times out. I don't know how this ever worked before. The effect
is that using 'ypset foo' to get the local ypbind to change servers would
work, but would sit there hanging for a long time for no reason.
1999-02-10 20:04:22 +00:00
wpaul
fdde373153 Add some tweaks to hopefully fix a problem I've started to notice recently.
Under certain conditions (possibly associated with heavy load), ypserv will
fork() child processes that don't exit like they're supposed to. I think
this is because of some suspect logic in the ypproc_all procedure. I updated
it to use what I hope is a more bulletproof approach.

Also tweaked yp_svc_run() a little so that the 'are we a child?' test happens
at every pass through the for(;;) loop, not just immediately after returning
from svc_getreqset2().
1999-02-10 16:16:14 +00:00
jkh
9e9e0d3516 Write changes out to /etc/rc.conf again; rc.conf.site is dead! 1999-02-09 22:18:10 +00:00
wosch
09f406ace9 Added myself as maintainer. 1999-02-09 17:23:03 +00:00
abial
80aaf3a0e2 Patch to make mrouted more friendly with crunchgen.
Reviewed by:	fenner, wollman
Submitted by:	luigi
1999-02-08 21:48:31 +00:00
des
6d5fc29071 Don't assume a_name is a number just because the first character
is a digit.

PR:		bin/9484
Submitted by:	Matthew D. Fuller <fullermd@futuresouth.com>
1999-02-08 21:26:44 +00:00
wollman
9dfb38d4fe Fix mismerged error message.
Submitted by:	charnier
1999-02-08 16:52:42 +00:00
brian
7537d2c54d Correct server-side chap authentication comparison
(broken with last commit).
1999-02-07 13:56:29 +00:00
brian
c661658ae7 Remove forgotten diagnostics 1999-02-07 13:48:38 +00:00
jkh
cb7f925859 If user selects X, also auto-select compat22 (for now). 1999-02-07 12:57:04 +00:00
jkh
b0f7a4e4ea SMAILCF distro no longer exists. 1999-02-07 12:43:14 +00:00
peter
82ea36d410 MaxHeaderLines is now MaxHeadersLength (in bytes) 1999-02-07 09:48:52 +00:00
jkh
ab77140218 Reshuffle a number of menus to be more navigable. Delete extra
Root Password entry (PR#9291 - Jack O'Neill).
1999-02-06 16:35:26 +00:00
jhay
d742c3c525 Teach IPXrouted to handle the internal net properly.
PR:		9871
Submitted by:	Boris Popov <bp@butya.kz>
1999-02-06 10:52:21 +00:00
jkh
739e785ca5 Ack! Correct a typo which crept into here and reshuffle the index back
into alphabetical order.
1999-02-06 08:45:20 +00:00
brian
4435d086fa Decouple pap & chap output routines from the corresponding
input routines and take advantage of the new init/continue
interface in libradius.  This allows a timely response on
other links in an MP setup while RADIUS requests are in
progress as well as the ability to handle other data from
the peer in parallel.  It should also make the future addition
of PAM support trivial.

While I'm in there, validate pap & chap header IDs if
``idcheck'' is enabled (the default) for other FSM packet
types.

NOTE: This involved integrating the generation of chap
      challenges and the validation of chap responses
      (and commenting what's going on in those routines).
      I currently have no way of testing ppps ability
      to respond to M$Chap CHALLENGEs correctly, so if
      someone could do the honours, it'd be much
      appreciated (it *looks* ok!).

Sponsored by: Internet Business Solutions Ltd., Switzerland
1999-02-06 02:54:47 +00:00
jkh
2714bb3817 Add one more "escape" for marking internal variables. 1999-02-05 22:25:13 +00:00
jkh
75fb26219b Totally change the way variables are accounted for in sysinstall.
Now we know which variables are internal and which need to be
backed to /etc/rc.conf.site.  rc.conf is not touched now.

Also kget kernel change information back properly and set up a loader.rc
file to use it.
1999-02-05 22:15:52 +00:00
bde
8bd29729fb Oops, really don't generate compiler warnings about missing braces. 1999-02-05 16:58:22 +00:00
bde
3336f26328 Don't generate compiler warnings about missing braces. 1999-02-05 16:49:18 +00:00
kuriyama
bb6581fcda Use O_RDONLY and O_RDWR for open() instead of number.
Encouraged by:	Nate
1999-02-05 16:00:17 +00:00
kuriyama
8e2b9b4978 s/card.conf/pccard.conf/ 1999-02-05 15:59:57 +00:00
jkh
5056538ea6 Update snapshot build machine names. 1999-02-05 09:54:59 +00:00
jkh
eecec05d9b Indicate that we're using XFree86 3.3.3.1 1999-02-05 09:28:16 +00:00
jkh
c56f9dc9e3 Add a lot of additional keymaps to the appropriate menu.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-02-04 13:47:54 +00:00
markm
af4b14e3cf Fix the handling of certain devices.
Previously the foolowing lines would have broken:
controller      fdc0 at isa? disable port ? bio
controller      fdc0 at isa? disable port 0x100 bio

While this would work:
controller      fdc0 at isa? disable port "IO_FD1" bio

The first of the three lines is useful for making placeholder devices
for PCMCIA-floppies, and the second is useful for non-standard hardware.
The failure is a "(null)" string in ioconf.c that the compiler pukes on.

Thanks to:	Bruce Evans (bde@freebsd.org)
1999-02-04 10:24:45 +00:00
jkh
2c1624cfdc Add compat22 distribution in anticipation of its appearance. 1999-02-04 03:30:34 +00:00
brian
4bdbe56100 Encode & Decode the PROTOCOMP fields correctly.
When NAKing the peer, get as close as we can to what
he REQd.
When the peer NAKs us, get as close as we can to what
they NAKd with on our next REQ.
1999-02-02 20:27:12 +00:00
wollman
34b4257ca1 Add a `default' feature to tzsetup for use in script-driven installation
(if someone writes the other half).  Also rewrite the man page in a more
appropriate (formal) style.
1999-02-02 20:26:31 +00:00
jkh
d36c0b9b86 List palm pilot category. 1999-02-02 16:57:55 +00:00
jkh
c2a2c32e9f Show dependencies in package menu.
PR:		7454
Submitted by:	Stefan Eggers <seggers@semyam.dinoco.de>
1999-02-02 15:57:14 +00:00
brian
d8bfa57b5f Don't allow root to specify non-existent labels on
the command line.
Revise the error diagnostics so that invalid labels
are reported immediately.
1999-02-02 09:35:30 +00:00
brian
61788f8e53 Reimplement the previous fix (no response to PAP requests)
at the authentication layer rather than at the PAP layer
so that it also applies to CHAP (no response to CHAP
challenges).
1999-02-02 09:35:17 +00:00
wollman
fabccb3cbd Sigh. Fix capitalization bogon. Who had the pointy hat? 1999-02-02 01:04:51 +00:00
wosch
6cb8ee7ff2 Added xref to nologin(5). 1999-02-01 21:02:38 +00:00
wosch
dc7afd75d2 Added xref to nologin(8). 1999-02-01 21:00:24 +00:00
wollman
dbe2de7c7a Observe -U flag again, and use it in preference to getlogin(), if
the user is privileged.

I believe this should address both concerns in PR 9729, and may also
provide the desired behavior from PR 9485.
1999-02-01 19:53:08 +00:00
jkh
ee4842909a Man, was I ever smoking crack when I wrote this. Don't free()
values I'm going to use again. :-}
1999-02-01 16:35:40 +00:00
brian
a66fe159a8 If we receive no answer from the server when sending PAP
requests, give up (don't sit there indefinitely).
1999-02-01 13:42:25 +00:00
billf
29aa2dd17b (1) Make usage() and SYNOPSIS agree with each other.
(2) Use 'device' instead of 'device name', there seems to be a precedent in
    /usr/share/man/man1

Prompted By:	bde
1999-01-31 15:30:21 +00:00
brian
a1492aac3d Mention the error when we fail to connect(). 1999-01-31 12:24:29 +00:00
billf
d233a9d411 Consistantly use 'devicename' instead of varying between 'discname' and
'devicename'.
1999-01-31 03:35:17 +00:00
jkh
0c1e072cd8 1. Install /boot/loader correctly on boot.flp
2. Back up old rc.conf.site if it exists.
1999-01-30 22:15:36 +00:00
brian
e71381fcd9 o Send a CHAP challenge of 16 random digits when RADIUS is
configured.  This isn't strictly necessary according to the
  rfc, but it's suggested there....
o Don't forget to include our authname when sending a
  CHAP challenge when RADIUS is configured.
o Don't supply the ``16'' representing the chap answer
  length to radius_Authenticate() - libradius does this
  for us.
o When we successfully authenticate via radius_Authenticate(),
  continue with datalink_AuthOk() as expected.

Sponsored by: Internet Business Solutions Ltd., Switzerland
1999-01-29 22:46:31 +00:00
jkh
d5f0625dc5 More support for Alpha installs.
Submitted by:	dfr
1999-01-29 11:39:04 +00:00
billf
c88aa1a2e0 Reflect syslog(8)'s acceptance of either tabs or spaces.
PR:		docs/9660
Submitted by:	Kris Kennaway <kkennawa@physics.adelaide.edu.au>
1999-01-28 22:55:08 +00:00
billf
3e4448fa1c Fix nasty bug where getpackagesite() will return an integer if it doesn't
know what revision of FreeBSD is being run. This case should never happen,
but just in case.
1999-01-28 20:17:32 +00:00
wollman
01f6cd279e jkoshy forgot up update the heading date on the man page. 1999-01-28 19:56:05 +00:00
brian
7d85de0510 MAINTAINER=brian@FreeBSD.org 1999-01-28 15:16:38 +00:00
brian
9a87a586f7 Version 2.0 > 2.1 to reflection RADIUS additions. 1999-01-28 09:40:15 +00:00
brian
c970e06ccf Initial RADIUS support (using libradius). See the man page for
details.  Compiling with -DNORADIUS (the default for `release')
removes support.

TODO: The functionality in libradius::rad_send_request() needs
      to be supplied as a set of routines so that ppp doesn't
      have to wait indefinitely for the radius server(s).  Instead,
      we need to get a descriptor back, select() on the descriptor,
      and ask libradius to service it when necessary.
      For now, ppp blocks SIGALRM while in rad_send_request(), so
      it misses PAP/CHAP retries & timeouts if they occur.

      Only PAP is functional.  When CHAP is attempted, libradius
      complains that no User-Password has been specified... rfc2138
      says that it *mustn't* be used for CHAP :-(

Sponsored by: Internet Business Solutions Ltd., Switzerland
1999-01-28 01:56:34 +00:00
jkoshy
a625ea4d8c Note that the 'owner.group' field is optional in the config file.
PR:		docs/9602
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-01-27 04:27:49 +00:00
jkh
51f031f980 Write changes out to /etc/rc.conf.site now rather than mucking with
rc.conf.  There were many different ways I could have done this, some of
them "cleaner", but this represented the lowest impact.
1999-01-27 02:32:47 +00:00
billf
5341d790d6 typo - "a follows" -> "as follows"
PR:		docs/9708
Submitted by:	jp-man project
1999-01-26 22:45:51 +00:00
billf
e70e84fac5 Numbering typo, missed a '0'
Submitted by:	Brian Feldman
1999-01-26 22:31:23 +00:00
peter
d5e1466ec0 Automatically load the vn module if it isn't already in the kernel. 1999-01-26 04:53:09 +00:00
billf
06f295fcff Update pkg_add's remote package feature to reflect the new structure of
wcarchive. This needs to be updated when:

(a) The directory structure changes on wcarchive
(b) getosreldate() has a new significance
	(ie. get ELF packages/get a.out packages)
(c) Branches are changed around

As we stand right now, 3.0-postELFday and 4.0-x all point to the same
directory, but when 4.0 starts to have its own packages, this file will
need to be changed.
1999-01-25 21:08:13 +00:00
brian
5d6ddef65c Don't SEGV when ``set proctitle'' is used in the default
section.
Submitted by:	Dan Lukes <dan@obluda.cz>
PR:		9669
1999-01-25 10:19:03 +00:00
dfr
4770188a9f Back out a couple of i386 conditionals which aren't needed with the new
syscons and fix a few printfs.

Reviewed by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-01-25 08:48:49 +00:00
jkoshy
5e3f42b3ed Correct a typo and an unparseable sentence.
PR:		docs/9659
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-01-25 06:22:31 +00:00
peter
29bfcbeb8a Support 'O MaxHeaderLines=' to override the default header count and line
length limits.  The configuration keyword is: confMAX_HEADER_LINES
1999-01-24 07:54:30 +00:00
markm
dd71e080d7 Add the texinfo'ed docs to the build/install. 1999-01-23 21:24:49 +00:00
dfr
d8d0694884 Remove a workaround for the alpha port using an outdated version of syscons. 1999-01-23 17:04:13 +00:00
wollman
27719c46cd A slight bit of code and doco cleanup, but mostly:
Add the much-needed and long-desired ability to force the log rotation
to take place on a specific day or time, and document same.  This works
by extending the syntax of the `when' field to allow a restricted
ISO 8601 time specification, and performing the log rotation if newsyslog
is run during the same hour as is specified.
1999-01-22 19:38:39 +00:00
dillon
949fa00fea Fix formatting bug with [NFS swap] vs /dev/DEVNAME 1999-01-22 10:57:22 +00:00
dillon
8c1faf386e Make pstat use new kvm_getswapinfo() libkvm call. 1999-01-22 10:36:48 +00:00
wollman
8092b89111 I don't know how this happened since I know I compiled this on my machine.
Fix braino oflag -> uflag (or perhaps I should have gone the other way).
1999-01-21 21:09:56 +00:00
wollman
704d828247 Merge changes from vendor branch (tzcode1999a), plus the following additional
changes:

- Finish migrating zic to its own private.h.
- Fix zic.8 so that it really is written in -mdoc.
- Add four new flags to zic (&document):
	-D	don't create directories
	-u	change ownership of newly-created files to user
	-g	change ownership of newly-created files to group
	-m	change mode of newly-created files to modespec
  These, once proven, can be used to clean up the installation.

Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz (partially)
1999-01-21 17:46:19 +00:00
wollman
8e5b9c1b13 This commit was generated by cvs2svn to compensate for changes in r42994,
which included commits to RCS files with non-trunk default branches.
1999-01-21 17:33:32 +00:00
wollman
d94456123b First stage in giving zic/zdump its own version of private.h so that they
are decoupled somewhat from libc/stdtime's version.
1999-01-21 17:33:32 +00:00
wollman
440188cf5c Remove two files replaced with HTML by vendor. 1999-01-21 17:32:37 +00:00
wollman
bec37b0054 Updated timezone compiler from Arthur Olson.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz
1999-01-21 17:31:43 +00:00
wollman
7206b18d4b This commit was generated by cvs2svn to compensate for changes in r42991,
which included commits to RCS files with non-trunk default branches.
1999-01-21 17:31:43 +00:00
dillon
b494d8d4c2 Update pstat -s to handle both old and new swapper.
Add pstat -ss to dump new swapper's radix tree.
1999-01-21 08:08:55 +00:00
fenner
9154d14586 Fix raw timestamps (zero-pad usecs)
Print 4-digit years in TIMESTAMP_PARSEABLE mode after '99.

PR:		bin/9507
1999-01-20 18:33:13 +00:00
brian
963fbcd9be Recurse when we've switched state via LoginDone(). If we've
got an open link, we want it to be select()d on - otherwise
we get a freeze when ``openmode'' is passive.
1999-01-20 18:06:52 +00:00
jkh
528868027c Replace old SAVE_USERCONFIG code with a customized version of Andrzej's
kget code.  Also collapse a redundant case in cdrom code.
1999-01-20 12:31:43 +00:00
jkh
574be697e7 Remove obsolete dset code. It's an ELF/3-stage boot world now and there
are cleaner ways of doing this that don't involve stomping on kernel
binaries directly.
1999-01-20 11:56:42 +00:00
fenner
cdafdeb1c3 Merge conflicts from 3.9-beta3+IOS12. The conflicts were huge; cvs's
merge algorithm failed on several files, and the translation of the
mrouted man page to mdoc didn't help...
1999-01-20 07:55:57 +00:00
fenner
1de14dda19 This commit was generated by cvs2svn to compensate for changes in r42888,
which included commits to RCS files with non-trunk default branches.
1999-01-20 07:44:18 +00:00
fenner
2985169d50 Import mrouted version 3.9-beta3+IOS12 . This is a version of 3.9-beta3
with minor changes to work around a bug in Cisco's IOS version 12.0 .
3.9-beta3 is much improved over 3.8, and is only labelled "beta" because
of missing features, as opposed to instability or known bugs.
1999-01-20 07:44:18 +00:00
fenner
766e3ec33c Resolve conflicts. 1999-01-20 05:13:42 +00:00
fenner
ccc10658cc Import mtrace release 5.2
ftp://ftp.parc.xerox.com/pub/net-research/ipmulti/mtrace-5.2.tar.gz
1999-01-20 05:11:48 +00:00
fenner
6fd8fa0289 This commit was generated by cvs2svn to compensate for changes in r42881,
which included commits to RCS files with non-trunk default branches.
1999-01-20 05:11:48 +00:00
brian
8213829f4c Change the maximum number of filters from 20 to 40.
Increase requested by: "Clement T. Cole" <clemc@echo.ccc.com>
1999-01-19 22:16:02 +00:00
brian
e3154acbf8 Suggest that ``set proctitle'' is used in ppp.linkup when
USER is expected to be expanded.
1999-01-19 22:15:41 +00:00
brian
94615b347b Send the peer-decided PSTN address with the CBCP Ack,
otherwise windows clients will keep resending the
response :-/
It'd be nice if M$ would document this sort of thing !
Problem reported by: Andrzej Tobola <san@tmp.iem.pw.edu.pl>
1999-01-19 22:15:25 +00:00
danny
95663fd953 Use 4 digit year in log file, rather than 2. 1999-01-19 11:52:57 +00:00
jkoshy
6d86b58d3a Move to a uniform '\ooo' (VIS_OCTAL) encoding for special characters.
The previous commit broke mtree(8) when file names using certain 8-bit
characters ended up being encoded with '/', '*', and other shell
metacharacters.

PR:			bin/9538
Submitted by:		"Eugene M. Kim" <astralblue@usa.net>
Reviewed by:		jkoshy
Bug-missed-last-time-by: jkoshy
1999-01-18 06:58:25 +00:00
billf
149693fff8 Style police, inline ifs.
Submitted by:	 Brian Feldman <green@unixhelp.org>
1999-01-18 03:54:17 +00:00
jseger
8084121154 enviornment -> environment
PR:		docs/9534
Submitted by:	rv@fore.com
1999-01-17 15:08:09 +00:00
billf
50ae56ef18 Add a new option for pkg_add, -r.
The remote option allows for automatic package fetching and installation
using the package repository found on wcarchive. Naturally, this site
can be overridden with a enviornment variable.

This code uses getobjformat() and getosreldate(). This means when some event
causes the package to be fetched to change (such as e-day) the logic also
needs to be changed.

Sorta reviewed by:	jkh
Code suggestions:	peter, jkh, eivind, msmith
1999-01-17 01:22:55 +00:00
danny
5eb872561f y2k nit: print 4 digit years correctly.
PR:		9506
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-16 01:51:03 +00:00
danny
dd8cc45b89 Print yyyy/mm/dd in /var/log/adduser, instead of yy/mm/dd
Submitted by:	Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-15 10:26:59 +00:00
imp
69a1352a25 Use 69 pivot kludge from date(1) to make it consistant. Also honor
is_delta and only apply date kludge when it isn't a delta time.
1999-01-15 07:37:00 +00:00
imp
b758132372 Y2K nit:
Make two digit years specified on the command line represent
	the century that the computer currently resides.  So 99 means
	1999 this year, but 2099 next year.

Pointed out by: Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
1999-01-15 05:46:28 +00:00
obrien
650a536e8f Updated version string to 6.0-release. 1999-01-13 19:33:02 +00:00
simokawa
c9b65ff0dd Add '-fno-builtin' to CFLAGS for alpha.
Builtin memcpy is not align-aware.

Approved by: jkh
1999-01-13 10:27:00 +00:00
mjacob
3c67634965 Fix for compiling on alpha.
Obtained from:yokota@zodiac.mech.utsunomiya-u.ac.jp
1999-01-12 23:06:29 +00:00
mjacob
985ee20964 fix for compiling on alpha 1999-01-12 23:05:45 +00:00
brian
db2579cb8b If we've configured CBCP *and* another not-so-important
CALLBACK protocol and end up agreeing CBCP, DTRT and go
into CBCP phase rather than mistakenly terminating as
if CBCP wasn't agreed.
Problem reported by: Alexander Dubinin <alex@nstl.nnov.ru>
1999-01-12 21:50:20 +00:00
danny
d7526586c0 Fix leap year comments. 2000 is a leap year, so code without a century-test
still works until 2100.
1999-01-12 19:38:55 +00:00
danny
e3baab147a Fix leap year calculations, including 2000. The code was broken for all
years!
Reviewed by:	<thepish@freebsd.org>, <ishisone@sra.co.jp>
1999-01-12 19:37:32 +00:00
asami
7df90d6ad0 Oops, I missed a few more /etc/nologin references yesterday. It appears
my check of the tree was incomplete.  Sorry guys.

Reported by:	Ben Smithurst <ben@scientia.demon.co.uk>
1999-01-12 14:09:23 +00:00
peter
893c597778 Update for 8.9.2 (new file, control.c)
Also, turn on support for the MaxMimeHeaderLength option in sendmail.cf.
1999-01-12 12:47:54 +00:00
jkoshy
c93a7d05cf Teach mtree(8) to handle whitespace in filenames. Uses strvis(3).
PR:		bin/3246
Submitted by:	Eugene M. Kim <astralblue@usa.net>
Reviewed by:	jkoshy, wollman
1999-01-12 02:58:23 +00:00
msmith
eff743f51a Back out 1.146 - usbd is already enabled. 1999-01-11 18:03:54 +00:00
brian
7248564b94 Correct some formatting errors (one is a groff bug)
Noted & partially submitted by: Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
PR:				9432
1999-01-11 15:05:39 +00:00
asami
ef557f476c Merge recent changes from doc/handbook/porting.sgml and www/en/ports/categories. 1999-01-11 12:45:18 +00:00
msmith
54c6b274b9 Add usbd to the build 1999-01-11 08:06:04 +00:00
steve
710a04e8b4 Implement the -l commandline option which turns off broadcast of
information, but still allows you to monitor other machines.

PR:		9301
Submitted by:	Matthew Fuller <fullermd@futuresouth.com>
1999-01-11 05:27:37 +00:00
yokota
5253fae34d The first stage of console driver reorganization: activate new
keyboard and video card drivers.
1999-01-11 03:20:32 +00:00
n_hibma
50181771d4 Added usbd and usbdevs 1999-01-10 21:57:55 +00:00
sada
72c2f36cce Typo: /etc/ppp/ppp.conf.example -> ppp.conf.sample
Submitted by:	Sugiura Shiro <ssugiura@duo.co.jp>
1999-01-10 17:23:10 +00:00
guido
b0b895bf98 When resuming with 2 identical cards in 2 slots, the initialisation
of the second card fails. This fixes that.
1999-01-10 13:00:09 +00:00
nsouch
88ae26fef6 Major ppbus commit with:
+ ECP parallel port chipset FIFO detection
	+ DMA+FIFO parallel I/O handled as chipset specific
	+ nlpt updated in order to use the above enhanced parallel I/O.
	  Use 'lptcontrol -e' to use enhanced I/O
	+ Various options documented in LINT
	+ Full IEEE1284 NIBBLE and BYTE modes support. See ppbus(4) for
	  an overview of the IEEE1284 standard
	+ Detection of PnP parallel devices at boot
	+ Read capability added to nlpt driver to get IEEE1284 compliant
	  printer status with a simple 'cat /dev/lpt0'
	+ IEEE1284 peripheral emulation added to BYTE mode. Two computers
	  may dialog according to IEEE1284 signaling method.
	  See PERIPH_1284 option and /sys/dev/ppbus/ppi.c

All this code is supposed to provide basic functions for IEEE1284 programming.
ppi.c and nlpt.c may act as examples.
1999-01-10 12:04:56 +00:00
des
cd585d50b4 Clean up option handling a little.
Add an option for showing sysctl descriptions instead of their values.
1999-01-10 02:10:08 +00:00
brian
541b200a90 Only call isatty() when we open our descriptor, and remember
the answer.

If we later get a descriptor exception from select(), we know
that it's a tty (isatty() returns 0 after the exception on a
tty) and remember to call modem_LogicalClose().

The upshot of it all is that descriptor exceptions dont leave
the tty locked any more.
1999-01-10 01:26:30 +00:00
wpaul
84a9b3dd33 Add driver support (and man page) for PCI fast ethernet cards based
on the ASIX AX88140A chip. Update /sys/conf/files, RELNOTES.TXT,
/sys/i388/i386/userconfig.c, sysinstall/devices.c, GENERIC and LINT
accordingly.

For now, the only board that I know of that uses this chip is the
Alfa Inc. GFC2204. (Its predecessor, the GFC2202, was a DEC tulip card.)
Thanks again to Ulf for obtaining the board for me. If anyone runs
across another, please feel free to update the man page and/or the
release notes. (The same applies for the other drivers.)

FreeBSD should now have support for all of the DEC tulip workalike
chipsets currently on the market (Macronix, Lite-On, Winbond, ASIX).
And unless I'm mistaken, it should also have support for all PCI fast
ethernet chipsets in general (except maybe the SMC FEAST chip, which
nobody seems to ever use, including SMC). Now if only we could convince
3Com, Intel or whoever to cough up some documentation for gigabit
ethernet hardware.

Also updated RELNOTEX.TXT to mention that the SVEC PN102TX is supported
by the Macronix driver (assuming you actually have an SVEC PN102TX with
a Macronix chip on it; I tried to order a PN102TX once and got a box
labeled 'Hawking Technology PN102TX' that had a VIA Rhine board inside
it).
1999-01-09 18:12:08 +00:00
davidn
43bf26e477 Remove bogus file locking in main(). 1999-01-08 10:52:38 +00:00
jkh
866fba04c3 close doc race. 1999-01-08 09:13:00 +00:00
brian
32e869f75c Don't use the next phone number after the ``|'' if the
dial & login are successful.
Submitted by:   Toshiomi Moriki <Toshiomi.Moriki@ma1.seikyou.ne.jp>
PR:             9382
1999-01-08 09:04:58 +00:00
jkh
2bd023c3bc Adapt sysinstall more fully to the alpha (deal with proper boot signatures,
don't present label editor, etc).

Submitted by:	dfr
1999-01-08 00:14:22 +00:00
peter
5165d2ce14 Remove some remaining references to LKM's. Snaps were trying to unpack
slkm* etc, among other things.
1999-01-06 13:55:14 +00:00
imp
0d8d1147d6 Change my mind on using base '0' for strtol for -i and -# operations
as this would change the meaning of -#050 in preexisting scripts.
1999-01-06 08:33:38 +00:00
imp
64f85516ac Add sanity checking to argument for -# and -i. Require these
arguments to be numbers.  Also use '0' base to allow hex, octal or
decimal numbers.

This was done by me based on ideas in pr 3556, submitted by Uwe
Laubenstein and commented upon by j@uriah.heep.sax.de (J Wunsch).

PR: 3556
1999-01-06 08:25:56 +00:00
brian
3e21294e3e Typo: The idle timer is ignored in -ddial and -dedicated
mode, not in -ddial and -direct.
Pointed out by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
1999-01-06 00:08:15 +00:00
brian
070f986c2f Don't warn when ``add xxxx HISADDR'' fails because HISADDR
is 0.0.0.0.  This isn't a problem as the sticky route is still
added.
Suggested by: Chris Timmons <skynyrd@opus.cts.cwu.edu>
1999-01-06 00:08:03 +00:00
danny
e27bf7f1ca Make machtime() function unsigned long instead of long.
Reviewed by:	phk
1999-01-05 11:56:35 +00:00
billf
b9b93bcb85 -Clarification of last commit-
The char that the random letters and numbers are being pulled from is
ended with a '\0'. Using sizeof() includes this '\0' in the 'pool' of
possible characters. This patch decrements by one the size so we don't
accidently end the new password prematurly.
1999-01-04 14:07:53 +00:00
des
d953ead330 Style cleanups.
Requested by:	bde
1999-01-02 16:04:19 +00:00
jkh
60b0c6afef Read in /boot contents at runtime. Assumes /boot/boot1 on alpha (which
may not yet be caught up).
1999-01-02 07:23:37 +00:00
billf
4d4062708c Let's make sure we're at the end of the password string before we apply a \0
and terminate it. This patch ensures passwords will be the correct length of 8,
which is what is implied in the source (but not reflected in the man page).

PR:		bin/7817
Reviewed by:	Alfred Perlstein <bright@hotjobs.com>
Submitted by:	Hiroshi Nishikawa <nis@pluto.dti.ne.jp>
1999-01-02 04:37:46 +00:00
billf
909f97e4b4 Enable source file locking in pwd_mkdb by including the proper letter
in getopt(). The code was there, the means to use it wasn't.

Also update the usage() statment to reflect reality.

PR:		bin/9248
Submitted by:	Jos Backus <jbackus@plex.nl>
Forgotten By:	dillon
1999-01-01 20:39:37 +00:00
billf
a81a07d54f Make periodic(8) and the security mailings reflect the full FQDN, as opposed
to a hostname. This will help those who keep a cluster of machines all with
the same hostname but different domain names.

PR:		bin/9091
Submitted By:	Heikki Suonsivu <hsu@clinet.fi>
No Response From: -current mailing list
1999-01-01 17:37:33 +00:00
bde
591704d5a6 Fixed overflow in 1K-blocks to disk-blocks conversions. Use quad
arithmetic instead of the special macros in PR 8163 or the magic
2's in PR 381.  (Rev.1.3 unfortunately fixed only half of the
problems reported in PR 381.)

PR:		381, 8163
1999-01-01 13:15:02 +00:00
bde
318efa92f4 Fixed a missing library and a style bug in LDADD. Static linkage was broken.
Fixed missing DPADD.
1999-01-01 09:54:09 +00:00
bde
84d6a9ea2a Fixed a missing library and style bugs in LDADD. Static linkage was broken.
Fixed missing DPADD.

Fixed placement of the include of bsd.prog.mk.  It annulled
`make checkdpadd', which should have been run to find the broken DPADD.
1999-01-01 09:51:46 +00:00
peter
7766c8cbe4 Reconnect pcvt hooks..
Reviewed by:	core
1999-01-01 08:45:44 +00:00
peter
56b4a2fa96 Part 4 of pcvt/voxware revival: pcvt userland
Reviewed by:    core
1999-01-01 08:32:05 +00:00
peter
c93aa8139a Part 4 of pcvt/voxware revival: pcvt userland
Reviewed by:	core
1999-01-01 08:31:26 +00:00
obrien
fe68a835f9 document PKG_DBDIR
Add ENVIRONMENT and FILES sections.
1998-12-31 20:29:29 +00:00
obrien
cc8ed78bf6 change wording slightly to match other pkg_*.1 1998-12-31 20:28:55 +00:00
phk
d90cd1b864 spppcontrol already lives in /sbin 1998-12-30 09:38:36 +00:00
cwt
233301419f Ensure a terminating null when processing hostname strings from
arbitrary sources.
Obtained from:	OpenBSD
1998-12-29 23:14:50 +00:00
hoek
a5b622c82e Directories aren't executable.
Submitted by:	Dennis Glatting <dennis.glatting@software-munitions.com>
		(misc/9147)
1998-12-29 22:48:54 +00:00
hoek
03de2de976 Misplaced comma. 1998-12-29 22:45:15 +00:00
cwt
c65223bc89 Accept "!*" as a valid all-programs tag line as documented.
PR:		8447
Submitted by:	Gaspar Chilingarov <nightmar@lemming.acc.am>
1998-12-29 20:36:22 +00:00