Commit Graph

5455 Commits

Author SHA1 Message Date
shin
2958040f73 Getaddrinfo(), getnameinfo(), and etc support in libc/net.
Several udp and raw apps IPv6 support.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-28 02:37:14 +00:00
wpaul
56f680165a This commit adds device driver support for the ADMtek AN986 Pegasus
USB ethernet chip. Adapters that use this chip include the LinkSys
USB100TX. There are a few others, but I'm not certain of their
availability in the U.S. I used an ADMtek eval board for development.
Note that while the ADMtek chip is a 100Mbps device, you can't really
get 100Mbps speeds over USB. Regardless, this driver uses miibus to
allow speed and duplex mode selection as well as autonegotiation.
Building and kldloading the driver as a module is also supported.

Note that in order to make this driver work, I had to make what some
may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer()
function will use tsleep() for synchronous transfers that don't complete
right away. This is a problem since there are times when we need to
do sync transfers from an interrupt context (i.e. when reading registers
from the MAC via the control endpoint), where tsleep() us a no-no.
My hack allows the driver to have the code poll for transfer completion
subject to the xfer->timeout timeout rather that calling tsleep().
This hack is controlled by a quirk entry and is only enabled for the
ADMtek device.

Now, I'm sure there are a few of you out there ready to jump on me
and suggest some other approach that doesn't involve a busy wait. The
only solution that might work is to handle the interrupts in a kernel
thread, where you may have something resembling a process context that
makes it okay to tsleep(). This is lovely, except we don't have any
mechanism like that now, and I'm not about to implement such a thing
myself since it's beyond the scope of driver development. (Translation:
I'll be damned if I know how to do it.) If FreeBSD ever aquires such
a mechanism, I'll be glad to revisit the driver to take advantage of
it. In the meantime, I settled for what I perceived to be the solution
that involved the least amount of code changes. In general, the hit
is pretty light.

Also note that my only USB test box has a UHCI controller: I haven't
I don't have a machine with an OHCI controller available.

Highlights:

- Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part.
- Updated usbdevs and regenerated generated files
- Updated HARDWARE.TXT and RELNOTES.TXT files
- Updated sysinstall/device.c and userconfig.c
- Updated kernel configs -- device aue0 is commented out by default
- Updated /sys/conf/files
- Added new kld module directory
1999-12-28 02:01:18 +00:00
brian
d4de4f097d Add a bunch of `const's and fix a typo.
Submitted by: Rich Neswold <rneswold@MCS.Net>
1999-12-27 11:54:57 +00:00
brian
3c873744b6 Don't allowt '#' as a comment when it's embedded in quotes:
set something "xxx yyy # zzz" aaa

shouldn't be interpreted as

  set something "xxx yyy" aaa
1999-12-27 11:43:31 +00:00
peter
66e4a64503 kvm_mkdb(8) no longer exists (in .Xr) and kvm_nlist(8) has even less to do
with dev_mkdb(8) than it did before.
1999-12-27 08:01:11 +00:00
peter
c8781c49a6 Zap kvm_mkdb, it was for kvm_nlist's benefit, but now it goes direct
to the in-kernel hashed symbol tables (including modules).
1999-12-27 07:27:50 +00:00
brian
0984e63638 Don't bother fork()ing after closing a ctty if ppp is about to
terminate anyway.
1999-12-23 21:43:25 +00:00
brian
411a73ca11 Understand double-quotes anywhere on a command line in the same
way that a shell does.  The previous way ppp did it just didn't
make any sense.
1999-12-23 21:43:12 +00:00
brian
411436c45f Correct warning about unindented commands when the unindented command
is actually a new label with a comment at the end of the line.
1999-12-23 21:43:00 +00:00
dcs
7629259d70 configSamba is gone, and is not coming back. 1999-12-23 10:16:46 +00:00
brian
06587288d7 Don't munge ``set dial|login|logout|hangup'' arguments before
ExpandString() has a chance to do its own substitutions.
1999-12-22 21:48:12 +00:00
shin
d880477697 IPSEC support in the kernel.
pr_input() routines prototype is also changed to support IPSEC and IPV6
chained protocol headers.

Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
1999-12-22 19:13:38 +00:00
roberto
ea759355ea Bye bye xntpd. 1999-12-22 15:24:45 +00:00
roberto
3cea812b7a Don't compile mktime, it is already present elsewhere.
Submitted by:	bde
1999-12-22 09:36:41 +00:00
jkh
a5bf1aa740 Fix the brain-o which prevented the Custom installation item from
working.  It was, as I predicted, a stupid bug and thanks to the
submitter for spotting it.  I'll also re-roll some 3.4-RELEASE install
floppies for this.
1999-12-22 01:44:57 +00:00
archie
c9d811000f Fix minor typo. 1999-12-22 01:25:07 +00:00
asmodai
ef9e29cded Properly manify this manpage. 1999-12-21 11:25:10 +00:00
julian
43a2ce7ae3 Manual page style work.
Submitted by:	Alexey Zelkin <phantom@FreeBSD.org>
thanks!
1999-12-21 01:25:21 +00:00
brian
679bada5e7 Fix my '#'-at-end-of-lines change, spammed by a subsequent commit. 1999-12-20 20:47:58 +00:00
brian
654897b4bf Use getpwuid()->pw_dir instead of $HOME when expanding ``~''. 1999-12-20 20:30:47 +00:00
brian
2b12ad54f0 Use getpwuid() instead of getlogin() in ``allow users''. 1999-12-20 20:30:40 +00:00
brian
5bbfb9a312 Add missing linefeed. 1999-12-20 20:30:35 +00:00
brian
7a62d8a465 Cosmetic: clean up some parenthesis confusion 1999-12-20 20:30:30 +00:00
brian
d574ab6d26 Handle comments at the end of lines. 1999-12-20 20:30:25 +00:00
brian
3e6b8e10f7 Notice and warn about unterminated quoted strings in commands.
The entire command is ignored if the syntax is invalid...
1999-12-20 20:30:02 +00:00
brian
5579308326 Implement mbuf allocation internally by maintaining 8 buckets of
different sized mbufs, and mallocing them in chunks of 20 mbufs
at a time.

This improves back-to-back throughput by between 7 and 8%
1999-12-20 20:29:51 +00:00
brian
919d0f538f Cosmetic: Make struct mbuf more like kernel mbufs. 1999-12-20 20:29:47 +00:00
dcs
199824206f configApache does not exist anymore.
PR:		9582
Submitted by:	Stephan Lagerholm <istephan@unilog.se>
1999-12-20 19:22:57 +00:00
billf
d32f678d8c Now that we have an elf(5) we can x-ref it here. 1999-12-20 02:39:50 +00:00
jkh
4927bb3d9c Whoops, this function is supposed to return a boolean status, not
flags.
1999-12-20 00:16:10 +00:00
jkh
e0a8e5be9f Do better things with router configuration (use proper display variable,
for one thing - it's router_enable to check, not router).
1999-12-19 22:38:59 +00:00
jkh
7a6a391774 Whoops, I broke the doc browser (not that anyone would notice since nobody
READS the docs, but anyway.. :).  Fix it.
1999-12-19 22:28:41 +00:00
jkh
168296b19c D'oh! Inserted a clear() in a *very* wrong place with my last commit. 1999-12-19 20:41:06 +00:00
jkh
c9a1b894a6 Bah, I got the MFC and this commit backwards. :) 1999-12-19 19:42:02 +00:00
peter
79ae4ac781 This commit was generated by cvs2svn to compensate for changes in r54816,
which included commits to RCS files with non-trunk default branches.
1999-12-19 13:50:37 +00:00
peter
c565292166 Import NetBSD's mailwrapper to redirect /usr/sbin/sendmail to the user's
chosen mailer.

Obtained from: NetBSD
1999-12-19 13:50:37 +00:00
jkh
d0b41d526d MFC: can't stop tweaking this compulsively. 1999-12-19 07:02:46 +00:00
jkh
d8bef448f1 cosmetics missed in last commit. 1999-12-19 06:50:44 +00:00
jkh
60a74d4e74 More cosmetic surgery and a nasty null pointer bug in index.c fixed. 1999-12-19 06:34:22 +00:00
jkh
59d2461974 Be paranoid about refreshing after an action. 1999-12-19 04:06:46 +00:00
peter
96af418f42 Revert the libcrypt/libmd stuff back to how it was. This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design).  libcrypt has
been adjusted to not need the runtime -lmd.  It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.
1999-12-18 13:55:17 +00:00
marcel
30604a40ef Use long long format specifiers and cast each parameter to long long.
This avoids the ugly #if ARCH/#else/#endif construct.

Prompted to by: bde
Could have thought of this himself: marcel
1999-12-18 12:12:12 +00:00
jkh
08ff0f4f74 Yet more cosmetic fixes (I have a little time to kill while waiting for
something else, so I might as well tweak 3.4's look-and-feel for the better
while I'm at it - final release build should be sometime later on tonite).
1999-12-18 03:13:19 +00:00
brian
17689cb175 Learn to do pointer arithmatic (doh!) 1999-12-18 02:31:36 +00:00
jkh
13a3324324 Add more strategic screen clears 1999-12-18 02:29:24 +00:00
jkh
ad554245ee Better screen handling in X desktop setup.
Don't get cute with nested dialogs now.
1999-12-18 02:04:02 +00:00
marcel
1532f84dae o Don't use long for 64 bit variables. Use u_int64_t instead.
o  Fix printf format specifiers on Alpha and add i386 version.
o  Minor style fixes while there.
o  Add -Wall compiler option.
1999-12-17 15:27:21 +00:00
sheldonh
4ccbb8d7dc Back out previous commit, which broke mouse wheel support in moused.
Requested by:	yokota
1999-12-17 10:05:36 +00:00
obrien
926e1a8bd5 Add a missing '"' in the examples. 1999-12-17 06:04:37 +00:00
jkh
a734c9b920 Add another strategic screen clear. 1999-12-17 03:00:28 +00:00
jkh
38acf2a74f In retrospect, msgNotify() should leave its contents on the screen
longer to give the user something to look at while things are happening.
Change it to do so and insert the appropriate screen saves elsewhere.
1999-12-17 02:46:04 +00:00
jkh
ca4e995aff Bump default root size to 50MB on i386 (70MB on Alpha).
Requested incessantly by:	billf
1999-12-17 02:02:51 +00:00
roberto
ede948cc85 Bye bye xntpd, enter ntp.
Reviewed by:	phk
1999-12-16 12:42:09 +00:00
roberto
ad8c958682 Remove the old binaries (they've been renamed) without the 'x').
Suggested by:	phk
1999-12-16 12:40:51 +00:00
marcel
3239491159 Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.
1999-12-16 10:55:45 +00:00
nik
8421c962fb "char *area" -> "char **area", to match the source code.
PR:             docs/14738
Submitted by:   Mori Kouji <moriko@yakumo.noe.mcu.or.jp>
1999-12-16 02:16:54 +00:00
jkh
64fd8fd5e0 Properly disable COMPAT_3X for alpha. 1999-12-15 18:55:27 +00:00
marcel
89012ff28c Allow elf2exe to be compiled on architectures other than Alpha. This
is trivially accomplished by including sys/elf64.h instead of elf.h.
1999-12-15 18:02:33 +00:00
yokota
9cc4f12649 - Improve the three button emulation by introdusing a small state
machine. The three-button emulation of moused has been somewhat
  difficult to use for many people.  I hope this update fixes it.
- Add a new option, -E, to set timeout value to detect two buttons
  are pressed down simulteneously.  The default value for this timeout
  is 200msec.
1999-12-15 12:58:58 +00:00
jkh
9a2020a71b Put up some more helpful dialog boxes.
Adjust some text to make more sense.
1999-12-15 01:30:52 +00:00
cwt
7dfcd4ed13 Replace spaces with a tab to fix build breakage 1999-12-15 01:07:28 +00:00
hm
624458e78e update to isdn4bsd beta release 0.90 1999-12-14 21:14:28 +00:00
obrien
d1a6fac236 Install chown' into /sbin rather than /usr/sbin as chown' is needed by
`MAKEDEV'.  And one might need to `MAKEDEV' inorder to get a device node
in order to mount /usr from.
1999-12-14 04:48:17 +00:00
jkh
4084cdc560 Completely rip-out and redesign sysinstall's refresh model as well
as redoing all the menus to have proper, or at least non-hallucinogenic,
keyboard accelerators.

This requires my recent update to libdialog to work properly and will
probably also exhibit some other "interesting" behavior while the last
few missing screen clears are found (which is why I'm not going to MFC
immediately).  At least now, however, sysinstall does not gratuitously
redraw random screens at the drop of a hat and drive serial console
installers out of their minds.
1999-12-14 04:25:29 +00:00
jkh
ac3e81b277 Make kerberos4 conditional. 1999-12-14 00:47:23 +00:00
jkh
ca18dfa391 Conditionalize kerberos4 to keep sources in sync. 1999-12-14 00:44:05 +00:00
roberto
078fc3c87c Add the NMEA and the ONCORE driver.
Submitted by:	wollman, phk
1999-12-13 19:44:07 +00:00
brian
920758ddf3 Handle PPPoPTY correctly. 1999-12-13 18:45:21 +00:00
roberto
5a71eaf264 Please welcome the brand new ntp4 daemon & utilities in the FreeBSD tree.
This is the second part of the commit (the third -- link in usr.sbin/Makefile)
will be done after a more complete review by phk & obrien.

NOTE: the number of drivers included in the default configuration is very
minimal, mainly local clocks and the one I use RAWDCF. Anyone wanting to
have a more complete version will find recompilation very easy.

It builds and runs on both alpha & i386. It also does survive "make world".

Reviewed by:	phk, obrien (partly)
1999-12-13 14:09:56 +00:00
peter
3fe60b6924 Add a 'warning' option for the files* files. This is intended to enable
giving a dire warning about certain drivers going away in the future.
1999-12-12 09:38:48 +00:00
jkh
f2e58f6af5 I shouldn't have incremented PART_OFF; it was wrong and broke label
display to boot.  Also fix some various warning fluff while I'm in
here cleaning up.
1999-12-12 04:58:02 +00:00
phk
876728119d Remove references to ze and zp drivers. 1999-12-10 10:55:27 +00:00
yokota
60d22e8828 Define some more function keys in the keymap: panic, lshifta, rshifta, etc. 1999-12-10 04:24:27 +00:00
joe
1e1d9570ee Added support for file flags, mostly merged from the NetBSD version.
The way is now open to schg and sappnd key files and directories in
our tree.  There are recommendations in bin/15229.

PR:		bin/15229
Reviewed by:	imp, brian
1999-12-09 20:38:36 +00:00
grog
1362d1573f Fix errors unmounting remote systems which don't understand RPC_UMNTALL.
Submitted by:	Martin Blapp <mblapp@kassiopeja.lan.attic.ch>
1999-12-08 22:29:30 +00:00
imp
4fc2499fac Version 1.16 was a bad change, so revert it. 1999-12-08 18:12:02 +00:00
ken
b9df428b7c [ repository copy of sys/pci/pci_ioctl.h to sys/sys/pciio.h happened in the
background ]

Rename sys/pci/pci_ioctl.h to sys/sys/pciio.h to make it easier for
userland programs to use this interface.  Reformat the file, and add a
BSD-style copyright to it.

Add a new man page for pci(4).  The PCIOCGETCONF, PCIOCREAD, and PCIOCWRITE
ioctls are documented, but the PCIOCATTACHED ioctl is not documented
because it is not implemented.

Change includes of <pci/pci_ioctl.h> to <sys/pciio.h> or remove them
altogether.  In many cases, pci_ioctl.h was unused.

Reviewed by:	steve
1999-12-08 17:44:04 +00:00
sos
88a5bb1e72 Remove sysinstall knowledge of the wd based devices.. 1999-12-08 09:51:00 +00:00
imp
33db644428 If last state was supended, remove the card. This is a kludge, there
is a race here that the old code didn't deal with, and I'm not
completely sure this is the right way to solve it, but it works here.

Should get rid of the dreaded "No free configuration for card" message.
1999-12-08 07:47:41 +00:00
imp
355b96ec93 Bump CIS_MAXSTR from 30 to 254. pccard appears to define the entire
section we take them from to be up to 255 bytes long, so that's the
max size for the string.  They can't all be this big, but I don't have
a better number and better to be a little long than a little short.

Also only consume len characters of the cis buffer so we don't run off
the end into the next buffer and get garbage.  This second patch
shouldn't impact anything, but I'll hold off back porting this to
-stable until I get more reports on the stability before/after this
fix.
1999-12-07 19:23:56 +00:00
guido
aba144ffee Move basic ifilter utils to sbin where they shold have been committed by
me in the first place. While we're at it: add MAINTAINER line
1999-12-06 20:50:04 +00:00
peter
197d066901 Fix another quirk in the unknown device detection, and also deal with
unknown 'controller' lines.
1999-12-06 15:52:18 +00:00
n_hibma
21308ca73a Complain if we get an error that is not ENXIO while opening /dev/usb\d+
devices. For example, starting 'usbd -e' would give a 'No USB
controllers found' message instead of a '/dev/usb0: Permission denied'.

Submitted-By:  Dirk-Willem van Gulik <dirkx@webweaving.org>
1999-12-06 14:50:41 +00:00
jkh
35e04ec458 Only pkg_delete the old package if the new one builds properly.
Submitted by:	Dan "The Bug" Bugg <bugg@bugg.strangled.net>
1999-12-06 03:19:16 +00:00
joe
fd40eb3b2f Fixed a potential buffer overflow problem, in the device name handling.
PR:		bin/15101
1999-12-05 20:05:45 +00:00
charnier
888a88628d Add extra columns for printing longer device name. 1999-12-05 20:04:56 +00:00
phk
45099c93a9 A procfs mount is no longer needed for a jail. 1999-12-05 09:28:59 +00:00
yokota
23152230a8 Mention USB mouse support. 1999-12-05 07:54:43 +00:00
wpaul
1de40f7c85 Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.

This also completes my quest to convert things to miibus and add
Alpha support.
1999-12-04 17:41:31 +00:00
semenu
beaad18c7d Added ntfs filesystem to be exported. 1999-12-03 20:23:53 +00:00
brian
ee3f468587 Be careful not to re-initialise `struct stat' while it still has
a running timer.  This fixes a problem where a dial is manually
aborted, the hangup script kicks in and the chat timer ends up
on the timer queue twice (tick tick tick tick *boom*)
1999-12-03 06:33:10 +00:00
billf
1a9a10bc25 Add '-l' which will match a certain status code.
Add the submitter as a contributor in the man page
freebsd -> FreeBSD, while I'm poking around.

PR:		bin/15162
Submitted by:	Dominic Mitchell <dom@palmerharvey.co.uk>
1999-12-03 06:08:11 +00:00
billf
07adbbbeb3 Correct co-MAINTAINER's e-mail address. I don't know how many
more ways I can screw his address up. Suggestions welcome.
1999-12-03 03:20:59 +00:00
archie
9d419d18b1 A better version of the previous checkin. If the user specifies
a custom file that could override a FreeBSD file under a different
configuration, but doesn't under this one, give a different warning.
1999-12-03 00:28:06 +00:00
archie
8095e8ffce When specifying additiona user-specified kernel compilation source
files in a 'files.XXX' file, config allows non-FreeBSD source files
with the same name as a FreeBSD source file to override the latter,
and in this situation it issues a warning.

However, if one of the user-specified files is actually a FreeBSD
source file (perhaps your kernel has some custom option that requires
that file), config mistakenly thinks it's a completely new file
and goes ahead and overrides all previous information for that file
(and issues the warning).

Fix this.

With help from:	julian
1999-12-02 23:43:08 +00:00
imp
82b3eb1ed8 Fix typo from last commit.
Noticed by: Maxim Sobolev <sobomax@altavista.net>
1999-12-02 19:31:28 +00:00
sheldonh
419e022a57 Replace the -q option to pwd_mkdb with a test for PW_SCAN_BIG_IDS in
the environment.  This allows big ID warnings to be suppressed for
vipw and chpass as well.

Since the environment variable test is only performed for callers
of pw_scan() that do not set pw_big_ids_warning, the test can still
be overriden.  Currently, chpass and pwd_mkdb are the only users
of pw_scan() and neither of them overrides the environment variable
test.
1999-12-02 16:39:15 +00:00
imp
b30877566a Forgotten part of pccardc power command 1999-12-02 05:56:36 +00:00
imp
5151b79a7a Implement pccardc power command. This allows one to power off
individual slots at one's whim.  Useful for turning the slots into
card carrying cases, etc.  Patch was originally from mihira-san in
message to freebsd-mobile.  He ported the code originally from PAO.

Submitted by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
1999-12-02 05:52:58 +00:00
jkh
5f2f8108a6 Allow 2 more characters for Mike's long device names. 1999-12-02 02:55:57 +00:00
jkh
3fba96d42e We need COMPAT3X for both i386 and alpha, not just i386. 1999-12-02 01:54:15 +00:00
jkh
12ec664bbb Don't make the failure of a LOCAL dist a reported error.
If we're running 4.x and install X, auto-select COMPAT3X.
1999-12-01 01:34:33 +00:00
brian
9491d4a14b Change the way we transfer links (again). The previous
method avoided all race conditions, but suffered from
sometimes running out of buffer space if enough clients
were piled up at the same time.

Now, the client pushes the link descriptor, one end of a
socketpair() and the ppp version via sendmsg() at the
server.  The server replies with a pid.  The client then
transfers any link lock with uu_lock_txfr() and writev()s
the actual link contents.  The socketpair is now the only
place we need to have large socket buffers and the bind()ed
socket can keep the default 4k buffer while still handling
around 90 racing clients.
1999-11-30 23:52:37 +00:00
ache
d8db1a231d Add support for pr's locale 1999-11-30 16:15:22 +00:00
n_hibma
76e8005487 Remove a stray ';' which made moused fail on read()s in all cases.
Prodded-By:	Andrey A. Chernov <ache@FreeBSD.org>
Prodded-By:	Soren Schmidt <sos@freebsd.dk>
Prodded-By:	Louis A. Mamakos <louie@TransSys.COM>
1999-11-30 10:20:33 +00:00
peter
70cacc313e oops, named-bootconf.pl has morphed into something else and moved. 1999-11-30 10:18:49 +00:00
peter
7d08dcd5ea Reactivate bind (named and tools) 1999-11-30 06:22:22 +00:00
peter
1f013ba158 ndc is now a C program that communicates with named via a unix-domain
socket.
1999-11-30 06:18:10 +00:00
peter
594f094cfc Link against libbind (library and headers) 1999-11-30 06:16:46 +00:00
peter
a3a21e22f8 Use a full path to pathtemplate.c in case it's being pulled into other
Makefiles.
1999-11-30 06:15:34 +00:00
peter
68157a9ae9 Compile bind against the resolver in libbind for now. Unfortunately this
includes the slower IRS getpwent() and friends, but that's better than
nothing.
1999-11-30 04:43:16 +00:00
archie
f95f4dac4c Add two new generic control messages, NGM_ASCII2BINARY and
NGM_BINARY2ASCII, which convert control messages to ASCII and back.
This allows control messages to be sent and received in ASCII form
using ngctl(8), which makes ngctl a lot more useful.

This also allows all the type-specific debugging code in libnetgraph
to go away -- instead, we just ask the node itself to do the ASCII
translation for us.

Currently, all generic control messages are supported, as well as
messages associated with the following node types: async, cisco,
ksocket, and ppp.

See /usr/share/examples/netgraph/ngctl for an example of using this.

Also give ngctl(8) the ability to print out incoming data and
control messages at any time.  Eventually nghook(8) may be subsumed.

Several other misc. bug fixes.

Reviewed by:	julian
1999-11-30 02:45:32 +00:00
peter
56b42f4c17 Move named and associated tools into a seperate makefile section and
disable them pending an import and cleanup of bind 8.2.2.p5.
1999-11-30 02:18:13 +00:00
archie
e3f33ca82e Remove extra spaces in hex dump output. 1999-11-30 02:09:36 +00:00
brian
90f2d067c1 depricated -> deprecated + mention the -alias flag status in README.changes 1999-11-29 18:53:43 +00:00
markm
4b44775d54 Correct the email address that folk are to bug if they need
help; also point them in the direction of the source, not
PHK (or any other human) if they need to make CTM deltas
of their own.
1999-11-29 17:58:58 +00:00
n_hibma
76a78c14d8 Bail out on failing the read(). This happens when a USB mouse is
disconnected. We retry the open in the parent subroutine.

Remove an ifdef _i386_ . MOUSE_IF_USB is now defined for alpha as well.

Reviewed-By:    yokota
1999-11-29 17:21:07 +00:00
n_hibma
15102c6287 Add the ability to match on device names attached to.
If a device is attached to ums4, you can reference this devname in
the configuration file as ${DEVNAME} (a shell variable, yes).
1999-11-28 21:27:31 +00:00
billf
dcbce40642 Install man pages in the right place. This is what I get for cheating
and copying a Makefile from another directory over to this one.

PR:		docs/15140
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
1999-11-28 18:34:27 +00:00
brian
c0de590a5c Don't try to do a DIALOUT in -direct mode or if there's no phone
numbers set.
1999-11-28 15:50:23 +00:00
brian
ddd684a1a2 Make -foreground a proper option (allowing ``allow mode foreground'',
``set mode foreground'' etc.
1999-11-28 15:50:08 +00:00
msmith
b498cb5fa6 Add support for the AMI MegaRAID and Mylex drivers to sysinstall.
There are reports that installs to these controllers still don't
work, but this is at least one step closer.
1999-11-27 21:33:04 +00:00
obrien
aac66aa6db Add "-v". 1999-11-27 19:25:08 +00:00
charnier
a95e12b33f Remove incorrect section name. Terminate .Bl with .El. 1999-11-27 17:15:51 +00:00
charnier
f07774dcc8 Remove incorrect section name. 1999-11-27 17:13:08 +00:00
charnier
d79a956e19 Name of program and trailing \n will be added by syslog(3) 1999-11-27 17:11:55 +00:00
charnier
d1dfff7912 Use DIAGNOSTICS instead of incorrect section name 1999-11-27 17:10:35 +00:00
charnier
d32600b96c Remove incorrect section name 1999-11-27 17:09:14 +00:00
charnier
184fe747a7 Add section name to .Xr references. 1999-11-27 17:07:59 +00:00
charnier
2f80c4c3c8 Remove incorrect section name. Incomplete -Wall cleaning. 1999-11-27 17:06:40 +00:00
charnier
f4cf1e7b97 Do not repeat the name of the flag. Change alloc to allocate for better
spelling of printed messages.
1999-11-27 17:05:08 +00:00
charnier
87b9cc2a9b Merge fprintf and exit into errx.
Use .Ev for environment variable.
1999-11-27 17:03:07 +00:00
charnier
ebfe6a6182 .Fn -> .Xr
Do not start warn() message with uppercase.
1999-11-27 16:59:06 +00:00
charnier
c1c5d5280c .Nm corrections 1999-11-27 16:57:27 +00:00
charnier
9e628f27e2 Terminate .Bl with .El 1999-11-27 16:55:50 +00:00
charnier
85985393a8 Remove incorrect section name. Use .Pa or .Ar instead of .Em. 1999-11-27 16:54:36 +00:00
charnier
60dd85f1ad Put file names under .Pa. 1999-11-27 16:52:41 +00:00
roberto
00c7913b27 Add ftp.nz.freebsd.org to the list of available FTP sites.
Submitted by:	"Dan Langille" <dan@freebsddiary.org>
1999-11-27 16:02:08 +00:00
phk
ee27de191c Remove bad144 program. 1999-11-27 14:35:22 +00:00
phk
cc0e1d0be5 Remove BAD144 support. 1999-11-27 14:33:07 +00:00
brian
428643dd44 Allow extended pap success messages by believing in the PAP headers
length field rather than the one byte message length field embedded
in the packet.  This steps slightly outside of the protocol boundaries,
but should not cause any problems.

Limitation noted by: Simon Winwood <simon@winwood.org>
1999-11-26 22:44:45 +00:00
brian
3c65bdc9a6 Change ``set cd'' so that its default value is device specific. The
default is still 1 second for ttys, but is now 6 seconds for i4b (ISDN)
devices and 5 seconds for ethernet (PPPoE) devices.
1999-11-26 22:44:33 +00:00
billf
0c4292e270 Add the author as co-maintainer, a la mergemaster. 1999-11-26 20:35:55 +00:00
billf
00e85e6ad9 Welcome pkg_version into the FreeBSD source tree.
pkg_version (as you may well know) matches the existing packages/ports
installed on your system with the ports INDEX and reports which
ports differ from the current INDEX.

Submitted by:	Bruce A. Mah <CA.Sandia.GOV>
Reviewed by:	ports
1999-11-26 20:31:58 +00:00
wpaul
e19630d315 Update the WaveLAN/IEEE driver:
- Convert to new bus attachment scheme. Thanks to Blaz Zupan for doing
  the initial work here. One thing I changed was to have the attach
  and detach routines work like the PCI drivers, which means that in
  theory you should be able to load and unload the driver like the PCI
  NIC drivers, however the pccard support for this hasn't settled down
  yet so it doesn't quite work. Once the pccard work is done, I'll have
  to revisit this.

- Add device wi0 to PCCARD. If we're lucky, people should be able to
  install via their WaveLAN cards now.

- Add support for signal strength caching. The wicontrol utility has
  also been updated to allow zeroing and displaying the signal strength
  cache.

- Add a /sys/modules/wi directory and fix a Makefile to builf if_wi.ko.
  Currently this module is only built for the i386 platform, though once
  the pccard stuff is done it should be able to work on the alpha too.
  (Theoretically you should be able to plug one of the WaveLAN/IEEE ISA
  cards into an alpha with an ISA slot, but we'll see how that turns out.

- Update LINT to use only device wi0. There is no true ISA version of
  the WaveLAN/IEEE so we'll never use an ISA attachment.

- Update files.i386 so that if_wi is dependent on card.
1999-11-25 20:45:49 +00:00
jkh
df3895961c minor bugfix to loader.conf code. 1999-11-25 17:56:00 +00:00
brian
a5fa2f99ed Rewrite the link descriptor transfer code in MP mode.
Previously, ppp attempted to bind() to a local domain tcp socket
based on the peer authname & enddisc.  If it succeeded, it listen()ed
and became MP server.  If it failed, it connect()ed and became MP
client.  The server then select()ed on the descriptor, accept()ed
it and wrote its pid to it then read the link data & link file descriptor,
and finally sent an ack (``!'').  The client would read() the server
pid, transfer the link lock to that pid, send the link data & descriptor
and read the ack.  It would then close the descriptor and clean up.

There was a race between the bind() and listen() where someone could
attempt to connect() and fail.

This change removes the race.  Now ppp makes the RCVBUF big enough on a
socket descriptor and attempts to bind() to a local domain *udp* socket
(same name as before).  If it succeeds, it becomes MP server.  If it
fails, it sets the SNDBUF and connect()s, becoming MP client.  The server
select()s on the descriptor and recvmsg()s the message, insisting on at
least two descriptors (plus the link data).  It uses the second descriptor
to write() its pid then read()s an ack (``!'').  The client creates a
socketpair() and sendmsg()s the link data, link descriptor and one of
the socketpair descriptors.  It then read()s the server pid from the
other socketpair descriptor, transfers any locks and write()s an ack.

Now, there can be no race, and a connect() failure indicates a stale
socket file.

This also fixes MP ppp over ethernet, where the struct msghdr was being
misconstructed when transferring the control socket descriptor.

Also, if we fail to send the link, don't hang around in a ``session
owner'' state, just do the setsid() and fork() if it's required to
disown a tty.

UDP idea suggested by: Chris Bennet from Mindspring at FreeBSDCon
1999-11-25 02:47:04 +00:00
n_hibma
b1e5449fae Avoid null dereference on verbose output.
Submitted-By: Doug Ambrisko <ambrisko@whistle.com>

Don't print a warning on exit status 0.
1999-11-24 19:18:57 +00:00
jkh
2e493130dd Clean up the loader.conf write-out code. 1999-11-24 09:45:36 +00:00
guido
d19b687432 rewire userland ipfilter programs 1999-11-23 21:57:29 +00:00
guido
cfae828c13 Revive userland stuff for ipfilter.
Also fixes:
PR:		7791
1999-11-23 21:53:19 +00:00
n_hibma
fbc55600a3 Use releaseNo, not release. release is evil and should go away. 1999-11-23 01:16:10 +00:00
brian
2aeda99cbb Don't setuid() 'till we've called ID0setproctitle() 1999-11-23 00:14:50 +00:00
n_hibma
e46a86c2de Flip the sequence of vendor, product around, to make it consistent
with the rest of the world. This avoids confusion when talking about
VID.PID.RID vs. PID.VID.RID. The former is the sequence normally used.
1999-11-22 19:08:36 +00:00
n_hibma
2494f137d7 Clarify the functionality of usbd a bit more. 1999-11-22 19:04:58 +00:00
gallatin
4db77313fb Allow config to generate proper ioconf.c files when devices request DMA
channel 0.

Submitted by: dfr
1999-11-22 14:31:55 +00:00
eivind
4ba95bba41 Allow empty UIDs if we are processing NIS records. I am not entirely
happy with how this end up and will re-visit the entire empty field
problem, but this patch solves the NIS problem for now.

Submitted by:	Dan Nelson <dan@emsphone.com>
PR:	14865,14984
1999-11-22 12:42:38 +00:00
brian
2c7a1f86db Call MkSockNode() as uid 0
Forgotten by: julian
1999-11-21 23:27:23 +00:00
jkh
22b8acb21e Update for new doc paths.
Submitted by:	Martin Kammerhofer <mkamm@gmx.net>
PR:		15020
1999-11-21 22:04:13 +00:00
n_hibma
1ac0a15559 Add event queue handling. It triggers activities on events read from
/dev/usb. The actions are specified in the file /etc/usbd.conf.

usbd.c:
   - Add event queue (/dev/usb) handling.
   - Add comments
   - Clean up code some more

usbd.8:
   - Update manpage for the new command line flags
   - Remove a duplicate FreeBSD tag from it).

usbd.conf, usbd.conf.5, Makefile:
   - Add the usbd.conf configuration file and the man page for it.

NOTE: MAKEDEV already creates the /dev/usb device tree node, no change
needed there anymore.
1999-11-21 17:44:43 +00:00
dillon
87e707617c Add rpc.umntall utility, to be used by startup and shutdown scripts
to replace (broken) umntall signal code previously in mountd.

Submitted by:	Martin Blapp <mb@imp.ch>
1999-11-21 08:06:00 +00:00
brian
a853a364d8 Don't compile NETGRAPH out of ppp for the release crunch 1999-11-20 10:55:27 +00:00
phk
baaa589c2a struct mountlist and struct mount.mnt_list have no business being
a CIRCLEQ.  Change them to TAILQ_HEAD and TAILQ_ENTRY respectively.

This removes ugly  mp != (void*)&mountlist  comparisons.

Requested by:   phk
Submitted by:   Jake Burkholder jake@checker.org
PR:             14967
1999-11-20 10:00:46 +00:00
brian
a1c1bf8f7c Update the time delta of the first item in TimerList before
inserting a new item.  Without this, it's possible to
mis-insert quite badly... but only by as much as the load of
the first item, which is almost always 1 second.

Initialise the timerservice with `restart' set if we're inserting
at the start of the list.
1999-11-19 23:21:13 +00:00
cpiazza
b9d435339b Make pkg_add -r package1 package2 package3 ... work correctly.
Reviewed by:	billf
1999-11-18 23:32:43 +00:00
roberto
c44ac4b9c9 Stop run() from dereferencing a NULL pointer when you enter a valid command
then a ^D at the prompt.

cdcontrol> play 1 14
cdcontrol>
zsh: 40874 segmentation fault (core dumped)  /usr/sbin/cdcontrol -f /dev/cd1c
1999-11-18 23:04:38 +00:00
n_hibma
be88490493 Cleanup of the code before we add a few thins.
- remove the use of NDEV. It is confusing. MAXUSBDEV should do.
- add some comments.
- add more explanation in usage()
- change the timeout value for undetected USB devices from 300 to 30
  seconds.  I don't think anyone wants to wait 5 minutes for broken
  devices to show up. The overhead CPU wise is very little.
- print 'no controllers found' as a fatal error.
- remove inclusion of malloc.h. It's unused.
1999-11-18 18:04:17 +00:00
phantom
14a4a5a0ee Do not suggest user to change /etc/defaults/rc.conf.
Requested by:	sheldonh
1999-11-18 16:09:40 +00:00
obrien
882c1f3d5c Don't ask about SCO/IBSC2 binary support on the Alpha. 1999-11-18 03:03:01 +00:00
brian
b484490afe Fix ``set proctitle'' by using setproctitle(). 1999-11-17 21:12:35 +00:00
peter
9280518864 Put the listening socket into non-blocking mode before doing an
accept(2).  This is a not really problem on -current as the accept race
is fixed, however it is a MFC candidate for -stable.

This could possibly be slightly more efficient and leave the listening
socket permanently in non-blocking mode, but I wasn't certain that I
could catch all the stream/wait (not nowait) mode implications.
1999-11-17 03:32:05 +00:00
brian
eb7a7a45a7 Remove some extraneous ifdefs, and don't try to put the socket in
O_NONBLOCK.  The select() is the best best as I don't want to muck
about with the send/receive thresholds.
1999-11-16 21:57:48 +00:00
brian
f6ac69f153 Use modfind() to check if a kld is already loaded.
Submitted mostly by: green
1999-11-16 21:57:34 +00:00
sheldonh
d184788f57 Add to pwd_mkdb a -q option to silence warnings about large IDs. Add a
suitably ominous warning in the manual page.

The diff applied is not the one provided in the attributed PR.

PR:		13344
Reviewed by:	bde
1999-11-15 16:45:37 +00:00
bp
0864f557f0 Add reference to the share/examples/nwclient directory. 1999-11-14 13:48:31 +00:00
dfr
5d126e4e9f Enable mixer on alpha. 1999-11-13 18:34:22 +00:00
brian
5151d97759 Don't insist on 4 digit umasks in ``set server''.
Pointed out by: joerg
1999-11-13 16:18:40 +00:00
brian
7be13127ce Make the meaning of the provider part of the PPPoE device spec clearer. 1999-11-13 16:18:27 +00:00
billf
f10d31df26 (1) Remove ISO support, it's dead in the kernel anyway.
(2) Check for ENOENT when checking for /var/db/mountdtab
(3) Remove a signal handler that called broken functions.
(4) Remove the broken functions.

Submitted by:	Martin Blapp <mb@imp.ch>
Reviewed by:	bde (1), billf ([234])
1999-11-12 21:52:10 +00:00
dillon
c589347313 Give nfsd the ability to bind to specific IP addresses through the -h
option and add explicit option to bind to the wildcard address.  The
    default is to bind to the wildcard address when no -h option has been
    specified and thus backwards compatibility is maintained.

PR:		kern/13049
Reviewed by:	David Malone <dwmalone@maths.tcd.ie>
Submitted by:	Matt Dillon <dillon@freebsd.org>, David Malone <dwmalone@maths.tcd.ie>
1999-11-11 17:35:36 +00:00
brian
dc3ab5d742 Oops, netgraph.o -> ether.o for the RELEASE build. 1999-11-11 02:25:17 +00:00
brian
c5d2ca82c6 If dev->connected is already set to CARRIER_OK in ether_AwaitCarrier,
don't go and set it to CARRIER_LOST !
1999-11-09 23:30:59 +00:00
brian
e1e62f8cd4 Don't recurse into datalink_UpdateSet() after
doing a HangupDone().  The HangupDone() may fuel
bundle_CleanDatalinks(), and if so, the bogus
UpdateSet() ends up select()ing on a closed
descriptor.....

Change the main `do/while' loop to a `for' loop so
that any `continue's do the bundle_CleanDatalinks()
& bundle_IsDead() bit.
1999-11-09 23:21:47 +00:00
brian
64d12e8b5b Correct the ``-unix X'' parsing (last time I only corrected
``-unitX''.

Pointed out twice by: Gert-Jan Vons <gert-jan@bigfoot.com>
1999-11-09 21:59:09 +00:00
sos
2991181cba Add devices from the ATA driver (ad, acd, afd, ast). 1999-11-09 19:10:15 +00:00
brian
a519ec330f Be a bit smarter when identifying a netgraph node
(don't dereference NULL).
1999-11-09 19:05:48 +00:00
peter
35c5f4dd62 Re-support "tape" as an alias for device and clean up a bit more cruft
left over from the original system (d_dk was for preassigned iostat unit
numbers for disks)
1999-11-09 07:20:22 +00:00
brian
50dd1d29fc Don't treat -unit as a mode flag when counting mode flags.
Submitted by: Gert-Jan Vons <gert-jan@bigfoot.com>
1999-11-09 00:32:21 +00:00
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