Commit Graph

5216 Commits

Author SHA1 Message Date
brian
35e0fd3284 Add an empty netgraph.o when building a release to keep the
crunch stuff happy.

Breakage spotted by: phk
1999-11-09 00:16:30 +00:00
jkh
a3ed7907e0 Add the latest categories. 1999-11-08 16:23:34 +00:00
jkh
3c6f2d8c9e Defensive coding to prevent a potential segfault.
PR:		14706
Submitted by:	ru
1999-11-08 16:19:25 +00:00
jkh
9bf013d0b2 Allow distributions to be excluded more easily in scripts.
Submitted by:	Brian Dean <brdean@unx.sas.com>
1999-11-08 11:51:57 +00:00
brian
b9908f0754 Don't zero-pad netgraph node ids
Recommended by: julian
1999-11-07 09:03:45 +00:00
chris
acbbb4b3d0 Fix spelling errors.
(``compatible'' is misspelled here as ``compatable'')
1999-11-07 01:24:47 +00:00
brian
8bac1154cf Support PPPoE
Help (lots) from: julian, archie
Facilities from: ahebert@pubnix.net
1999-11-06 22:50:59 +00:00
eivind
406386445d Flag empty UID entries as errors (to stop typos from turning into
alternate root accounts).
1999-11-06 20:21:04 +00:00
obrien
2af35265c5 Update for 6.0.3s1 changes. 1999-11-05 12:34:00 +00:00
jkh
c2ab13323c Make sure modes on new skeleton files are correct. 1999-11-05 11:04:30 +00:00
julian
561dcf3f04 Description
repquota reports softlimits, hardlimits and ``used'' field
    incorrectly, namely those numbers get wrapped modulo 4Gbytes.

PR:	 bin/8164
Submitted by:	 Anton Berezin <tobez@plab.ku.dk>
1999-11-01 04:46:09 +00:00
chris
7d7b1c56c7 `mergemaster'' was repo-copied to `mergemaster.sh'' as it's a shell script.
Delete the original mergemaster and modify Makefile to install mergemaster.sh.

Seen no problem with by:	billf
No objections by:		Doug Barton
1999-11-01 04:29:05 +00:00
mpp
6514b9407c Some spelling/grammar fixes. 1999-10-30 21:11:55 +00:00
mpp
18ab8dd752 Spelling fix.
Also fix a minor mdoc style problem that I noticed.

PR:		bin/14589
Submitted by:hristian Weisgerber <naddy@mips.rhein-neckar.de>
1999-10-30 19:42:31 +00:00
mpp
f484654d07 Spelling fix.
PR:		bin/14588
Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-10-30 19:36:42 +00:00
phantom
dfb0793f50 $FreeBSD$ tags moved to bottom of license aggmt. 1999-10-30 16:05:26 +00:00
phantom
5f7f9c4fa2 Remove comments left since mdoc.template time or just useless comments 1999-10-30 15:38:20 +00:00
phantom
4b7034d789 mdoc(7)'fy 1999-10-30 15:12:25 +00:00
phantom
b85877548f ``tty'' is not required parameter 1999-10-30 14:52:24 +00:00
phantom
0804a4eb86 Fix broken cross reference : kldload(1) -> kldload(8) 1999-10-30 14:25:55 +00:00
marcel
5add814b6a Add option "-d destdir" which instructs config to use another output
directory than the default one. If the option is not given, then the
output of config is exactly as before. Only when an alternate output
directory has been specified will config modify its behavior.

Additional changed:
o  Remove the now conflicting and unused NODEV define. It
   conflicts with NODEV in sys/param.h.
o  Rename the now conflicting MACHINE token to ARCH. It
   conflicts with MACHINE in sys/param.h.
o  Fix some easy style bugs.
o  Fix some easy grammar bugs in the manpage.

Approved by: peter, archie
1999-10-30 10:55:48 +00:00
archie
9abf26ef01 Limit COPTS added by Makefile to just '-Wall'. 1999-10-28 20:17:13 +00:00
archie
39937b5889 If we get an EPROTONOSUPP error when trying to create the netgraph socket
node, it's most likely because the "ng_socket.ko" KLD is not loaded yet.
So make an attempt to load it before giving up.
1999-10-27 22:17:18 +00:00
archie
d016064067 Remove extraneous -I compile flag that was used during testing. 1999-10-27 22:14:04 +00:00
billf
ca8ed40561 Add IGNORE_MOTD to allow the sysadmin to ignore (likely) differences in
the FreeBSD default motd and the system motd

Submitted by:	author
1999-10-26 19:06:31 +00:00
billf
80622a4e92 Use $FreeBSD$ (instead of the author's $Revision$) to report the
version number now that we have it.

Reviewed by:	author
1999-10-26 19:05:04 +00:00
billf
11ec376ba7 freebsd -> FreeBSD 1999-10-26 18:57:04 +00:00
billf
0d05d1d236 Add $FreeBSD$
Submitted by:	chris
1999-10-26 18:54:57 +00:00
billf
bde15b0901 Co-MAINTAINER this module. 1999-10-26 18:52:36 +00:00
davidn
f7ccb2973e Don't try updating the passwd file if no data has changed. This allows things
like "pw usermod <name> -m" to work for non-local NIS users; since no attempt
is made to update the password entry, the home directory will be created and
populated as expected without error.
1999-10-26 15:07:20 +00:00
davidn
1eb57a5aee Add new functionality "lock" and "unlock" to provide a simple password
locking mechanism for users. This works by prepending the string
"*LOCKED*" to the password field in master.passwd to prevent successful
decoding.
1999-10-26 08:34:09 +00:00
davidn
d846dabde7 Missed statement in password update relating to the previous change
to fileupdate() which prevented pwd_mkdb(1) from being run.
1999-10-26 08:30:20 +00:00
davidn
81f9461104 Clean up error handling in fileupdate(), which now returns 0 on success
instead of a boolean. This replicated through he front-end sub-functions
relating to add, delete, modify entries in passwd & group files
Errno is now preserved so output of errc()/warnc() will be less obfuscated
by subsequent errors when reporting the problem.

Add more intelligent error handling when attempting to modify/delete NIS
entries with no corresponding local database entry.

[MFC to stable in a couple of weeks to keep both in sync]
1999-10-26 04:27:14 +00:00
billf
34423d2d70 Add $FreeBSD$ 1999-10-25 21:51:04 +00:00
brian
b3ddae2734 Introduce ``set logout''; another chat script. This is in preparation
for the abstraction of ``set dial'' and ``set hangup''.
1999-10-25 13:49:44 +00:00
brian
3c23268eff Don't (unnecessarily) parse wtmp, force ID0logout() to DTRT instead. 1999-10-25 13:31:42 +00:00
sheldonh
0a11b67bf0 Do not rely on malloc() to zero-fill allocated memory, since it is
not documented as doing so.  This fixes a potential segmentation
violation.

PR:	14465
Reported by:	Tony Finch <fanf@demon.net>
1999-10-25 09:46:57 +00:00
dillon
a301dcc220 Put include <netgraph.h> back in - problem was due to a cvsup mess on
freefall.  There may also be a real problem w/ buildworld but the fix
    would go somewhere else, not here.
1999-10-24 02:58:39 +00:00
dillon
fb39559c0c Cleanup missing includes, stale includes, and a few printf format
inconsistancies.
1999-10-23 17:45:11 +00:00
brian
aff584d577 Manually create a correct(*) entry in wtmp when logging out a PPPoTCP or
PPPoUDP connection.

(*) This is as correct as ftp and uucp wtmp entries are - that is,
multiple concurrent connections will not record enough information
in wtmp to tell last(1) who was logged in for how long.
1999-10-21 21:55:22 +00:00
julian
d894cf1c17 Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from:  Whistle CVS tree
1999-10-21 09:06:11 +00:00
brian
a960365ba9 If we're running ppp -direct over a tcp or udp connection,
record the IP number in the `from' slot and not the tty slot.
We put ``ppp'' in the tty slot - in line with what ftp (and
probably others) does.
1999-10-21 01:19:23 +00:00
brian
44b4c57a07 Don't go from PHASE_NETWORK to PHASE_ESTABLISH when we want to
re-open a device.  The fact that we're in NETWORK phase indicates
that there are other links in DATALINK_OPEN and that we don't want
to stop using them.
1999-10-21 00:19:33 +00:00
billf
4fd02b2506 mergemaster bmake glue. 1999-10-20 07:33:09 +00:00
billf
0009258fb5 This commit was generated by cvs2svn to compensate for changes in r52400,
which included commits to RCS files with non-trunk default branches.
1999-10-20 07:22:52 +00:00
billf
0df9ba5e6f Import mergemaster into the tree, a product of freebsdcon.
Submitted by: 	Doug Barton <doug@gorean.org>
1999-10-20 07:22:52 +00:00
brian
492cd0a5e5 Add the -unit command line switch for specifying the tun device.
Warn about -alias being depricated (but still allow it).
Don't moan twice about failing to open any tun device.
Fix a diagnostic and add the -quiet switch to the usage message.
1999-10-19 15:21:09 +00:00
charnier
d6f4d93470 Use Pa for filenames. 1999-10-17 15:57:16 +00:00
charnier
db1e24c440 Correct use of .Nm. 1999-10-17 15:54:50 +00:00
charnier
9db1d8a080 Xref to warn(3) which is used instead of perror. 1999-10-17 15:52:26 +00:00
charnier
ac072bfea5 add .Sh DIAGNOSTICS 1999-10-17 15:50:19 +00:00
charnier
9a9f4fb904 add missing .El. 1999-10-17 15:46:58 +00:00
brian
366399cf8b Correct a few diagnostics 1999-10-16 13:28:04 +00:00
brian
5a964a75d5 Don't ntohl() the signature before printing it... it's already
been done.

Spotted by: Gert-Jan Vons <gert-jan@bigfoot.com>
1999-10-16 09:18:15 +00:00
brian
420eed68cc When more than one timer is expired at once, allow for the possibility
that the first timer ends up doing a timer_Stop() on the second.

When this happens, remove the timer from the pending list so that
we still call any subsequent timers.

This bug has been here for several years, but has only been tickled
recently with my device layering changes.

With enormous thanks for the perseverance of: Ruslan Ermilov <ru@ucb.crimea.ua>
1999-10-15 20:44:34 +00:00
brian
3b5db3e08a When we get the last NCP TLD, close all datalinks with CLOSE_STAYDOWN
rather than CLOSE_NORMAL.
1999-10-15 20:36:04 +00:00
brian
a7eff426e3 Redefine CRTS_IFLOW and CCTS_OFLOW on the mac.
Submitted by: Kazuyoshi Kato <kazk@yyy.or.jp>
1999-10-15 20:30:44 +00:00
billf
0d71b81245 -Wall fix: ambigious else 1999-10-15 17:33:24 +00:00
phantom
5b9cbd920b "Plag and play" -> "Plug and Play" 1999-10-15 13:01:12 +00:00
bp
535a15bbac Add mount_nwfs program. Now -current can mount NetWare volumes. 1999-10-15 09:59:48 +00:00
charnier
af5fbf6130 Do not dot or \n terminate syslog string. 1999-10-13 20:22:13 +00:00
brian
79847cf7ae When uncompressing VJ-compressed frames, fix the ip_sum directly
in struct cstate rather than copying the stored header slot into a
potentially mis-aligned buffer then trying to update the ip_sum
without causing an exception on non-i386 hardware.

I've never been able to reproduce this problem, but it has been
reported by many people... besides, the code is now a bit cleaner.

Testing & patience by: Anthony Solovjoff <asolovjoff@hotmail.com>
1999-10-13 07:49:13 +00:00
charnier
ff5192be06 err -> errx for malloc failure 1999-10-12 19:27:11 +00:00
peter
4aff3defa2 Further cleanup. Also remove the following unused or defunct tokens:
and, bio, cam, master, minor, net, priority, sequential, size, slave, trace
1999-10-10 17:36:11 +00:00
peter
4e1e342cb5 Nuke the old antique copy of ipfilter from the tree. This is old enough
to be dangerous.  It will better serve us as a port building a KLD,
ala SKIP.
1999-10-10 15:08:38 +00:00
chris
620dcd2415 Remove an unnecessary cross-reference to ioctl(2) 1999-10-09 16:37:37 +00:00
phk
89fab41246 mount* fixes from Martin Blapp <mb@imp.ch>:
Made mount more userfriendly (bad slashes are now filtered out)
        and we remove in mount_nfs trailing slashes if there are any.

        Fixed mount_xxx binarys to resolve with realpath(3)
        the mountpoint.

        Translate the deprecated nfs-syntax with '@' to ':' .
        The ':' syntax has now precedence, but '@' still works.
        Notify the user that the '@' syntax should not be used.

PR: 7846
PR: 13692
Submitted by:   Martin Blapp <mb@imp.ch>
Reviewed by:    phk
1999-10-09 11:54:14 +00:00
charnier
8d873a5ac3 space is not allowed between owner and :group. 1999-10-08 21:38:08 +00:00
brian
700dab7295 Revert the 1.44 -> 1.45 change. It doesn't work as expected. 1999-10-08 16:09:15 +00:00
peter
55f06ab6a2 Zap references to 'major' token, it's not used.
Zap references to devices.i386 - it's not used. (neither is devices.pc98
or devices.alpha)
1999-10-08 06:20:43 +00:00
n_hibma
4afab95162 Deconfuse release and revision 1999-10-07 19:41:00 +00:00
brian
9348e209d6 Don't go from datalink state opening directly to lcp, go via
carrier instead so that we can set up our carrier detect
timer and eventually notice when we lose carrier.

Honour the script.run value when coming out of carrier state.

PR:	14145
1999-10-07 07:32:12 +00:00
brian
0ffffae973 Mention the received/expected magic for dodgy ECHO LQRs. 1999-10-06 23:22:54 +00:00
alfred
7173d36c23 Put the umount request through the same translation as the mount
request.
Fix some uninitialized warnings and a style bug while we are here.
Problem still exists where a failed umount can be misreported as
success.

Submitted by: Martin Blapp <mb@imp.ch>
1999-10-06 18:20:44 +00:00
n_hibma
107610a72e Remove the inclusion of device.h. It's no longer there. 1999-10-06 07:45:30 +00:00
marcel
aba9c7bdfd Undo previous change.
Submitted by: bde
1999-10-05 14:40:38 +00:00
jkh
7a8663f5a5 Really fix the auto keyword botch correctly by just letting it
do its job and not override it when set.

Submitted by:		Ruslan Ermilov <ru@FreeBSD.org>
1999-10-05 10:10:42 +00:00
brian
76903a0107 Bring links down gently when their throughput isn't enough for
the ``set autoload'' value.  Don't just ``down'' the link.
Don't get stuck in ``ready'' the first time we ``close'' a link.
1999-10-05 05:01:44 +00:00
marcel
8769c975d9 Restore -traditional compilation
Submitted by: bde
1999-10-03 10:35:03 +00:00
peter
6c0ae9eb92 Use the sys/wormio.h definitions of CDRIOCNEXTWRITEABLEADDR and
CDRIOCBLANK ioctls.
1999-10-01 14:12:46 +00:00
peter
b2b41b97e6 Use sigemptyset rather than sa_mask = 0.
Submitted by:	"John W. DeBoskey" <jwd@unx.sas.com>
1999-09-30 19:55:00 +00:00
jkh
a8b4ab7240 Sigh, too many late nights! 1999-09-30 08:32:35 +00:00
brian
10fffd82cc Support GRE packets
Submitted by: Harry Starr <starr@gccs.com.au>
1999-09-30 07:23:13 +00:00
chris
131a7ece22 Add and activate the man page for memcontrol(8).
Reviewed by:	msmith
1999-09-29 21:43:31 +00:00
marcel
594e4a63a8 sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
  libdialog
  libreadline
  libc
  libc_r
  libedit
  libftpio
  libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
      given one now.

NOTE: doscmd is a real casualty and has been disconnected for
      the moment. Reconnection will eventually happen after
      doscmd has been fixed. I'm aware that being the last one
      to touch it, I'm automaticly promoted to being maintainer.
      According to good taste this means that I will receive a
      badge which either will be glued or mechanically stapled,
      drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
      change cause sys/types to be included along the way which
      contains the const and volatile modifiers. I don't consider
      this a solution, but more a workaround.
1999-09-29 15:18:46 +00:00
jkh
738e2698d7 Oh bollocks, I really screwed up the "auto" check here. Time
to crack the K&R; I must have forgotten the C language. :)

Embarrassingly noticed by:	Howard Gutch <logix@foobar.franken.de>
1999-09-27 21:48:28 +00:00
billf
8b77d6d469 -Wall fixes.
Submitted by:	nrahlstr
1999-09-27 00:36:03 +00:00
brian
f2a9faf145 Support ``set cd off'' to tell ppp not to even look for carrier on the
device.
1999-09-26 23:02:18 +00:00
billf
dac5bab6dd o Remove all of the objformat logic, it's never coming back.
o Simplify getpackagesite(), it comes back in full glory when we branch
again. It's still needed however to get the i386 or alpha directory.
1999-09-25 03:02:08 +00:00
brian
3ce963a250 Typo
Submitted by:	Alex Nash <nash@mcs.net>
1999-09-24 23:57:22 +00:00
phantom
e458b42428 Various style and visual changes.
VESA_132x30 is not available mode
SC_PIXLE_MODE -> SC_PIXEL_MODE
1999-09-24 20:39:24 +00:00
obrien
51bd7c62d1 Sync with am-utils-6.0.2s2. 1999-09-23 06:19:25 +00:00
ache
23ed22ec27 moved to koi2alt 1999-09-23 02:54:44 +00:00
sos
804f068c6a Support quad & max speeds in wormcontrol.
A bit more general cleanup.
1999-09-22 12:04:51 +00:00
wpaul
9fb05d6419 Spruce up the ADMtek driver: conver to newbus, miibus and add support
for the AN985 "Centaur" chip, which is apparently the next genetation
of the "Comet." The AN985 is also a tulip clone and is similar to the
AL981 except that it uses a 99C66 EEPROM and a serial MII interface
(instead of direct access to the PHY registers).

Also updated various documentation to mention the AN985 and created
a loadable module.

I don't think there are any cards that use this chip on the market yet:
the datasheet I got from ADMtek has boxes with big X's in them where the
diagrams should be, and the sample boards I got have chips without any
artwork on them.
1999-09-22 05:07:51 +00:00
brian
434117ce04 Allow ``make -DNOKLDLOAD'' 1999-09-22 00:44:45 +00:00
brian
fbeea0349e Do a kldload() if we get ENXIO trying to open /dev/tun0
Originally submitted by: green
1999-09-22 00:40:47 +00:00
ache
10d29012fa Add koi2855 filter
Repository move koi2alt.c -> koi2alt/koi2alt.c required
1999-09-21 20:42:10 +00:00
brian
de40f95a74 Back out the bogus #ifdef __NetBSD__ #include <signal.h> lines.
The original report was due to a mis-installation of the NetBS
header files :-/

Submitted by:	 Kazuyoshi Kato <kazk@yyy.or.jp>
1999-09-21 19:37:00 +00:00
dillon
ae99c5b194 Bring documentation up to date, add a few more vnconfig examples. 1999-09-21 01:03:11 +00:00
brian
ad686a633a Fix the `lt'' comparison in `set filter''
PR:		13819
Submitted by:	Dean M. Phillips <dphill@inav.net>
1999-09-21 01:02:05 +00:00
phantom
34985ba96d Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
ru
f3d05fd324 Yet another align.
It will be required if sizeof(struct sockaddr_in) changes in the future.

Not objected to by:	wollman
1999-09-20 09:10:46 +00:00
brian
db76d7198d NetBSD has moved ``extern int errno;'' to signal.h :-/
Submitted by:	Kazuyoshi Kato <kazk@yyy.or.jp>
1999-09-20 07:36:46 +00:00
brian
68e9b5f610 NetBSD has changed the el_init() prototype
Submitted by:	Kazuyoshi Kato <kazk@yyy.or.jp>
1999-09-20 07:22:22 +00:00
brian
80c2fd2761 NetBSD requires net/if.h for the IFF_* defines (as well as OpenBSD) ! 1999-09-20 07:18:50 +00:00
markm
759d820ee8 Prepare for K5. 1999-09-19 22:30:39 +00:00
phk
de9087907c Add a version number field to the jail(2) argument so that future changes
can be handled intelligently.

WARNING:  you will need to reinstall #includes and recompile jail(8).
1999-09-19 08:36:37 +00:00
jkh
cb286b28d2 execute a strategic clear. 1999-09-19 08:24:32 +00:00
yokota
6521a5bdc4 Fix -s option.
PR: bin/13799
1999-09-19 08:04:07 +00:00
yokota
8f8fd1eabe - Mention that the SC_PIXEL_MODE kernel option is required, in order
to use the VESA_800x600 raster text mode.
- Fix the list of recognized keywords; "40x25" is not recognized,
  but "VGA_40x25" is.
1999-09-19 08:03:48 +00:00
jkh
6709f10c43 Deal with new "auto" setting for network_interfaces. 1999-09-19 07:46:55 +00:00
jkh
4919cdc3a0 MF3: various small tweaks. 1999-09-17 09:32:22 +00:00
dillon
6bba38ba1c Fix a bug in the block number calculation for VN disks with a sector
size != 512 that are configured without a label.  The bug should only
    have effected swap-backed VN mounts without a label.

    Add several major features to VN.  In the kernel we add a swap
    pre-reservation capability, which can be used to guarentee seek
    consistency for swap-backed VN nodes.  This also incidently allows
    a swap-backed VN filesystem to be recovered after a crash in some
    cases (if the same swap blocks happen to be reserved).

    We also add a number of new options to vnconfig which do the work
    of pre-zeroing or creating/truncating/extending a file which greatly
    simplifies using VN in a file-backed configuration.

    Add FreeBSD CVS label to sys/sys/vnioctl.h, as well as a new ioctl
    flag for the swap pre-reservation feature.

Reviewed by:	Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com>
1999-09-17 05:34:00 +00:00
brian
a40cc1a5a0 Correct the return from FilterCheck for fragments
PR:		13771
Submitted by:	Dean M. Phillips <dphill@inav.net>
1999-09-16 18:47:59 +00:00
obrien
4abe24ed4a Sync with am-utils-6.0 => am-utils-6.0.1 changes. 1999-09-15 09:00:54 +00:00
jkh
2cd6ec69fb If enlightenment is present, gnome-session starts it automagically. 1999-09-15 02:52:56 +00:00
peter
27eff20bc0 Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
obrien
a64d762ec0 Foo. Maybe I should get Peter to hook ispell up in commit_prep.pl. 1999-09-14 10:38:45 +00:00
obrien
0ad46806dc Add the NIS domain to the tweakable knobs. 1999-09-14 09:15:35 +00:00
ru
d019f87ad2 Align sockaddrs passed to/from the routing socket as supposed by kernel.
PR:		12847
Spotted by:	Key Teck Sin <ktsin@acm.org>
Reviewed by:	wollman
1999-09-13 23:32:53 +00:00
jkh
613c73e9c6 Apparently, it's not console=serial to set the serial console,
it's serial=comconsole.  I wish it were easier to figure this
stuff out. :)

Submitted by:	jfieber
1999-09-13 16:24:08 +00:00
iwasaki
65cb69765f Fix debut version to 3.3, not 4.0. 1999-09-11 19:32:30 +00:00
iwasaki
bf1b4f1923 Handle CAPABILITIESCHANGE event.
Document USERSTANDBYREQ and CAPABILITIESCHANGE events to apmd manpage.
1999-09-11 16:00:28 +00:00
max
8154de86ca Document the fact that pkg_add/delete passes INSTALL/DEINSTALL
respectively to rscript.
1999-09-11 03:52:24 +00:00
brian
1489ec63d4 Cosmetic:
alias_cmd -> nat_cmd after a repo-copy
1999-09-08 07:34:52 +00:00
jkh
59c8ac8093 Provide another installation option for GNOME so we have the more "classic
GNOME" desktop that Debian does as an option.
1999-09-08 04:48:26 +00:00
brian
71a051773f We don't need a queue for *CP data - these are IP-only queues. 1999-09-07 14:34:55 +00:00
brian
4143661610 Introduce a forth IP packet queue. Urgent packets with
ip_tos == IPTOS_LOWDELAY now get precidence over urgent
packets with ip_tos != IPTOS_LOWDELAY and non-urgent packets
with ip_tos == IPTOS_LOWDELAY.

Enhance the ``set urgent'' syntax to allow for urgent UDP
packets as well as urgent TCP packets.
1999-09-07 07:51:11 +00:00
brian
8bf6b7951a Make the ``Problem with IP header length'' error a bit more verbose 1999-09-06 18:20:26 +00:00
brian
cd6649d6ad $FreeBSD$ -> __DATE__
This is probably more appropriate that $Date$ anyway
1999-09-06 18:11:50 +00:00
peter
6323ca50a4 Unifdef -DPASSWD_IGNORE_COMMENTS. This wasn't really optional and
we have enough pseudo-options already.
1999-09-06 17:30:03 +00:00
jkh
e00b313496 Only do dhclient once; it has its own internal retry which is more than
long enough (and doing it multiple times results in a dialog which waits
AGES to complete).
1999-09-06 15:06:17 +00:00
peter
41a0833b31 Tidy $Log$ debris 1999-09-06 11:24:52 +00:00
brian
83cd9fc38b When logging warning messages, there are now three scenarios:
o If a prompt is executing the command, only display the warning to
  that prompt
o If a prompt is executing a ``load'' command, display the warning
  to all prompts *and* syslog
o Otherwise, display the warning to all prompts *and* syslog.
1999-09-06 08:16:33 +00:00
peter
ed54cd1bc5 Tidy up $Log$ debris 1999-09-06 07:39:30 +00:00
peter
0fbc009ad8 $Date$ -> $FreeBSD$ 1999-09-06 07:36:44 +00:00
wpaul
4417a656b0 This commit adds driver support for PCI fast ethernet NICs based on
the Davicom DM9100 and DM9102 chipsets, including the Jaton Corporation
XPressNet. Datasheet is available from www.davicom8.com.

The DM910x chips are still more tulip clones. The API is reproduced
pretty faithfully, unfortunately the performance is pretty bad. The
transmitter seems to have a lot of problems DMAing multi-fragment
packets. The only way to make it work reliably is to coalesce transmitted
packets into a single contiguous buffer. The Linux driver (written by
Davicom) actually does something similar to this. I can't recomment this
NIC as anything more than a "connectivity solution."

This driver uses newbus and miibus and is supported on both i386
and alpha platforms.
1999-09-06 06:14:30 +00:00
wpaul
69fcbc16fc This commit adds driver support for the Silicon Integrated Systems
SiS 900 and SiS 7016 PCI fast ethernet chipsets. Full manuals for the
SiS chips can be found at www.sis.com.tw.

This is a fairly simple chipset. The receiver uses a 128-bit multicast
hash table and single perfect entry for the station address. Transmit and
receive DMA and FIFO thresholds are easily tuneable. Documentation is
pretty decent and performance is not bad, even on my crufty 486. This
driver uses newbus and miibus and is supported on both the i386 and
alpha architectures.
1999-09-05 21:01:03 +00:00
peter
24ebe0b209 $Header$ cookies 1999-09-05 15:12:48 +00:00
jkh
59f86c72f7 Update to XFree86 release 3.3.5 1999-09-04 16:24:33 +00:00
jkh
1561f23062 o Catch up with pnp changes - kget no longer saves pnp data.
o Catch up with ncurses updates - some internal function names have changed.
1999-09-04 16:01:15 +00:00
peter
f873a02305 remove #ifdef FreeBSD -> <machine/soundcard.h> special case as we have it
in the standard location now.
1999-09-04 15:20:48 +00:00
markm
5297bc4099 Update licence. 1999-09-04 07:38:49 +00:00
brian
e896a92b45 o Split the two IPCP queues into three - one for FSM data
(LCP/CCP/IPCP), one for urgent IP traffic and one for
  everything else.
o Add the ``set urgent'' command for adjusting the list of
  urgent port numbers.  The default urgent ports are 21, 22,
  23, 513, 514, 543 and 544 (Ports 80 and 81 have been
  removed from the default priority list).
o Increase the buffered packet threshold from 20 to 30.
o Report the number of packets in the IP output queue and the
  list of urgent ports under ``show ipcp''.
1999-09-04 00:00:21 +00:00
brian
0c458429a9 When sending radius authentication requests:
Supply RAD_NAS_IDENTIFIER if we have a `hostname` and
  RAD_IP_ADDRESS if that hostname resolves.

  Supply RAD_NAS_PORT using the ttyslot() of the tty that
  we're authenticating on if it's a tty device.

Partially submitted by: Andriy I Pilipenko <bamby@marka.net.ua>
PR:			12225
1999-09-03 10:31:34 +00:00
jkh
b25f21973a It's "router_flags" not "routerflags"
Submitted by:	kasey@ambernetworks.com
PR:		13534
1999-09-02 11:55:11 +00:00
jkh
aade7fffe2 Oh crud, did I ever screw the pooch! Rather than sync this with -stable,
I backed-out the changes in -current and didn't touch stable at all (I
thought I had my patch order reversed, not what actually happened).
AIEEE!  I can't even blame the crack for this one since I broke my
crack pipe a few weeks ago.  I think sleep deprivation gets the blame
for this one.

Medal for noticing this one goes to:	Jim Bloom <bloom@acm.org>
1999-09-02 00:51:16 +00:00
chris
1ff650daa1 Re-add the libmytinfo/libncurses stuff - removing it breaks static
linkage.

Pointed out by:		bde
1999-09-01 23:36:21 +00:00
chris
99af7eb5bc The libraries libmytinfo' and libncurses' are not required by this
program.
1999-09-01 20:37:44 +00:00
sheldonh
3a1d4317c4 Fix stupid disorder in previous commit. This was my own error, not
the mistake of the PR's originator.
1999-09-01 12:42:00 +00:00
sheldonh
b97cdc05a3 The -f option stole the -d option's option string colon in the getopt
optstring.

PR:	13521
Submitted by:	Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
1999-09-01 12:37:26 +00:00
phk
ae4e334717 unifdef -Uvax 1999-09-01 11:17:58 +00:00
jkh
afa3d06e8b Use the appropriate macro for double quotes rather than using double
quotes.

Submitted by:	Alexey Zelkin <phantom@cris.net>
PR:		13436
1999-09-01 10:04:47 +00:00
jkh
18af399cc9 MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,
bringing in DHCP support.  The only thing I left out were Poul-Henning's
newfs changes since I'm not sure if he's brought the rest of that support
into -stable yet.  If it turns out that this is the case, I'll MFC those
changes too.
1999-09-01 04:29:30 +00:00
brian
0fd2bef668 Ppp is started on vty2, not vty3 1999-09-01 00:53:25 +00:00
sheldonh
6b38c18119 Back out previous commit. I mistook passing commentary from bde for
review.

Requested by:	bde
1999-08-31 13:11:39 +00:00
jlemon
77c1708f37 #ifdef out section of code dealing with integer timers,
they aren't here any more.
1999-08-31 02:32:14 +00:00
mtaylor
a5a0eccbc4 Make vnconfig's device argument not require a leading "/dev/", ala "ccdconfig".
Cleanup a few "-Wall -O" warnings.
Make "usage()" agree with man page.
1999-08-30 20:49:31 +00:00
sheldonh
fd1054a4b0 Only do a full pwd_mkdb for deletions; other operations may use the -u
option as an optimization.

PR:	13346
Submitted by:	Neil Blakey-Milner <nbm@rucus.ru.ac.za>
1999-08-30 10:35:38 +00:00
sheldonh
f5ee8033ce Only issue a warning for the first occurrence of a UID > USHRT_MAX and
the first occurrence of a GID > USHRT_MAX.

PR:	13344
Reviewed by:	bde
1999-08-30 09:55:42 +00:00
peter
865e31c835 Remove some $Log$ debris 1999-08-29 15:54:49 +00:00
mpp
1c0a3cee71 Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-28 23:23:38 +00:00
hm
9df252d149 add MAINTAINER to userland part of i4b 1999-08-28 13:32:15 +00:00
jkh
8ceee5cec6 Always set the MBR value. When you leave it uninitialized, it seems
like libdisk does bad things. :)
1999-08-28 12:10:13 +00:00
peter
51ddb038ec $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
peter
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
jkh
4db2bcd2e6 I misunderstood the failure mode - revert BINMODE to 4554. I'm still
going to remove ppp from the installation options in 5 days if ppp is
still broken, however, as it hasn't worked at installation time
for several weeks now and it's only causing people to fill my mailbox
with questions.
1999-08-27 07:47:17 +00:00
jkh
aa6a500684 Fix a typo.
Reported by:	Terry Jones <terry@cliffs.ucsd.edu>
1999-08-27 06:25:37 +00:00
jkh
1afd67916a I don't know who decided that an install mode of 4544 was correct, but
for a binary it's far from it.  This is why sysinstall is unable to run
ppp at startup time and causing weirdies in -current.
1999-08-27 06:01:27 +00:00
brian
607e3e0b39 Rebuild the list of interface numbers to names if we're trying
to evaluate an interface number that didn't previously exist.
1999-08-26 20:01:20 +00:00
phk
73cab7e56e VALIASED doesn't exist any more. 1999-08-26 15:49:54 +00:00
brian
2c0a6853c6 Aligh mbufs to sizeof(long), not 4 1999-08-26 06:37:53 +00:00
brian
d58e537c99 Fix some mdoc(7) style inconsistences
Submitted by: Alexey M. Zelkin" <phantom@cris.net>
1999-08-25 21:39:40 +00:00
jhay
a08d7276b0 Move ipxrouted.dmp from /tmp to /var/log to make it more difficult to hijack.
PR:		13286
1999-08-24 13:15:39 +00:00
brian
51680ee425 Cosmetic: bring closer to RELENG_3 1999-08-23 23:13:59 +00:00
n_hibma
9d3d71aa49 Recognise the GPS receiver from Trimble
in NMEA mode (without date).

        Trimble OEM Ace-II receiver. Low cost PCB with single
        voltage input, external active antenna and two serial
        ports with either NMEA and ITAPs output. Programmable
        to be tuned for 'time' accuracy in fixed station config.

Author of tool notified.

Submitted by:	Dirk van Gulik <dirk.vangulik@jrc.it>
1999-08-23 14:49:22 +00:00
peter
e821f663f2 Fix a few problems on the Alpha, and fix -Wall while here.
Before:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xffffffffc6931080 ...
After:
isab0@pci0:8:0: class=0x060100 card=0x00000000 chip=0xc6931080 ...
1999-08-23 12:59:03 +00:00
brian
50e567ced1 NOALIAS -> NONAT
Reminded by: jkh
1999-08-22 23:17:57 +00:00
wpaul
8381476391 Modify yp_mkdb so that it only checks for bogus '+' and '-' characters
in source input if the -f flag is used, and modify Makefile.yp to only
use -f for the passwd, master.passwd and group maps. These should be
the only ones for which the + and - characters have special meaning
that make it important for us to avoid letting them into any of the map
databases. In some cases (namely the automounter maps) we have to allow
at least the - character through in order to create the map properly.

This closes PR #8699.
1999-08-22 15:34:47 +00:00
jkh
a09b62a779 Fix assorted style problems and bring up to date.
Submitted by:	Alexey M. Zelkin <phantom@cris.net>
PR:		13271
1999-08-22 05:14:23 +00:00
brian
c21515c1a9 Allow authkey to be changed independently of the current phase. 1999-08-22 01:29:53 +00:00
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