Commit Graph

4746 Commits

Author SHA1 Message Date
Jordan K. Hubbard
d06edb61fa Add CHAP/PAP question to the ppp setup dialog, simplifying things considerably
for some.

Submitted by:	Jack O'Neill <jack@germanium.xtalwind.net>
1999-05-19 10:49:46 +00:00
Jordan K. Hubbard
71e13b47ac Add ftp5.uk.freebsd.org
Submitted by:	Roger Hardiman <roger@cs.strath.ac.uk>
1999-05-19 08:56:56 +00:00
Brian Somers
9950fb2a00 Move the tty locking stuff back out to physical.c so
that we lock the device *before* we open it.
We still open the device only once - and then ask all
our handlers if they know how to handle it.
1999-05-18 01:37:46 +00:00
Jordan K. Hubbard
4ee02f4bb8 deal with a.out ldconfig paths also. 1999-05-18 00:44:28 +00:00
Brian Somers
9b898a03d8 Mention ``show layers'' 1999-05-16 13:39:03 +00:00
Brian Somers
4b698945d4 Initialise ttydevice::Timer 1999-05-16 11:58:48 +00:00
Poul-Henning Kamp
85bee2f03a Turn an error into a warning. If running a 4.x binary on a 3.x system
we may still have vn in the kernel but not be able to see it.

This enables building -current SNAPS in a chroot on a -stable system
1999-05-16 08:09:23 +00:00
Poul-Henning Kamp
00a7225817 Be more non-crypto friendly at make release time. 1999-05-15 19:21:15 +00:00
Jordan K. Hubbard
de37d1149a Small typo in windowmaker startup line. 1999-05-15 15:05:08 +00:00
Jordan K. Hubbard
b7f708e677 o Prevent alpha installs from grabbing x86 bits and vice-versa, at least
on CDs and FTP sites.

o Collapse some redundant code.

o Fix typo'd menu.

o Restrict searches properly to packages rather than categories.

o Small tweaks to signal handling.

All RELENG_3 candidates.
1999-05-15 14:34:22 +00:00
Bruce Evans
9d91b8ad50 Test the correct database file (not necessarily the one corresponding to
the running kernel if the nlist file is specified explicitly).
1999-05-15 11:54:36 +00:00
Brian Somers
4faec43070 Add ``show layers'' to see the protocol layering for a link. 1999-05-15 02:24:18 +00:00
Bill Paul
f9137cc3c5 Fix usage in wicontrol.c to agree with man page.
Update documentation for -f frequency selection option to include complete
list of channel numbers and frequencies.
1999-05-14 18:31:31 +00:00
Jordan K. Hubbard
be06522a93 Do more impressive things for windowmaker. 1999-05-14 15:04:24 +00:00
Jordan K. Hubbard
9c422527ea DTRT for "Latest" search keywords. 1999-05-14 14:57:59 +00:00
Jordan K. Hubbard
9e1ec576ed Be properly verbose. 1999-05-14 14:29:50 +00:00
Jordan K. Hubbard
1398785241 Correct return status logic a bit. 1999-05-14 12:15:34 +00:00
Brian Somers
6471628d59 Handle LCP echo reqs properly again (broken with the
layering changes).
1999-05-14 09:36:06 +00:00
Brian Somers
76d9853864 Ensure that we're not going to overflow our ``struct tun''
when we mbuf_Read() into it.
Add the link name to a few diagnostics.
1999-05-14 09:35:51 +00:00
Jordan K. Hubbard
992109823e Yikes! I almost left out the 3D Labs server. :) 1999-05-14 07:15:05 +00:00
Brian Somers
27be3ac662 Initialise the struct device part of struct ttydevice. 1999-05-13 19:29:40 +00:00
Brian Somers
8dbb1e2bfd Fix a bum pointer dereference and make some variable
names more consistent.
Stack trace supplied by: Joe Clarke <jclarke@cisco.com>
1999-05-13 16:35:13 +00:00
Brian Somers
ac37ab22eb Ignore repeated signals sent to the parent in background
mode.
1999-05-13 16:34:57 +00:00
Jordan K. Hubbard
61bdb7bc9b Correct a bug which could cause a segfault if there is no uc_devlist
data.

Noticed by:	Bill Swingle <bill@cdrom.com>
1999-05-12 23:08:02 +00:00
Jordan K. Hubbard
25c4e179f5 Update norwegian time server.
Noted by:	dag
1999-05-12 22:06:00 +00:00
Brian Somers
d543a9c02a Adjust our first timer delta according to the return
from getitimer() so that times are correct for
``show timer''.
1999-05-12 19:10:22 +00:00
Brian Somers
ef868a34ad Oops - hook the sync push diagnostics correctly. 1999-05-12 09:54:33 +00:00
Brian Somers
6815097bf7 Allow `host:port/udp'' devices and support `host:port/tcp'' as
being the same as the previous (still supported) ``host:port''
syntax for tcp socket devices.

A udp device uses synchronous ppp rather than async, and avoids
the double-retransmit overhead that comes with ppp over tcp (it's
usually a bad idea to transport IP over a reliable transport that
itself is using an unreliable transport).  PPP over UDP provides
througput of ** 1.5Mb per second ** with all compression disabled,
maxing out a PPro/200 when running ppp twice, back-to-back.

This proves that PPPoE is plausable in userland....

This change adds a few more handler functions to struct device and
allows derivations of struct device (which may contain their own
data etc) to pass themselves through the unix domain socket for MP.
** At last **, struct physical has lost all the tty crud !

iov2physical() is now smart enough to restore the correct stack of
layers so that MP servers will work again.

The version number has bumped as our MP link transfer contents have
changed (they now may contain a `struct device').

Don't extract the protocol twice in MP mode (resulting in protocol
rejects for every MP packet).  This was broken with my original
layering changes.

Add ``Physical'' and ``Sync'' log levels for logging the relevent
raw packets and add protocol-tracking LogDEBUG stuff in various
LayerPush & LayerPull functions.

Assign our physical device name for incoming tcp connections by
calling getpeername().

Assign our physical device name for incoming udp connections from
the address retrieved by the first recvfrom().
1999-05-12 09:49:12 +00:00
Jordan K. Hubbard
e71d157614 Add some extra checks to make *sure* we got what we were told we got. 1999-05-12 09:22:47 +00:00
Jordan K. Hubbard
b9ad2ee3d4 Completely change the way package_add() does its work. Now we
handle dependencies at a lower level and use package add for this.
Also made index searches stricter.
1999-05-12 09:02:37 +00:00
Jordan K. Hubbard
26e6116190 Erm, delete the package base hint again. Gotta lay off the crack!
I simply forgot that I'd already proven this to be a "really good idea that
unfortunately didn't work at all" the *last* time I tried it.  Now
I remember.  Hmmm.  I WILL defeat this evil problem.
1999-05-12 07:12:01 +00:00
Jordan K. Hubbard
4d350c33db We don't bundle the XFree86 release notes on the floppies anymore; take it
out of the appropriate menus.
1999-05-12 06:58:18 +00:00
Jordan K. Hubbard
41fe7a1406 Set PKG_ADD_BASE hint in a certain case. 1999-05-12 06:11:32 +00:00
Jordan K. Hubbard
722678f1c8 Revive the PKG_ADD_BASE stuff a bit. 1999-05-12 06:06:49 +00:00
Jordan K. Hubbard
703e69c29c Fix a couple of bogons in the X server/desktop setup menus. 1999-05-12 04:52:41 +00:00
Peter Wemm
bf0e1ee370 Tidy up references to <sys/rlist.h> and support for the old swap management
that went away in January.
1999-05-11 14:32:18 +00:00
Dag-Erling Smørgrav
b180b6de88 Don't stop listening to the signal pipe just because you don't have
anything else to do.

PR:		10468, 11594
1999-05-11 12:50:14 +00:00
Jordan K. Hubbard
f574e34636 Make KDE the "default" desktop. 1999-05-11 08:33:45 +00:00
Hellmuth Michaelis
0556050037 fix name clash for variables named "minor" and "major"
Submitted by:	Steve Kargl
1999-05-11 08:22:15 +00:00
Jordan K. Hubbard
e73c4fe5eb Preserve /root's dotfiles across upgrades too.
PR:		6559
1999-05-11 08:00:06 +00:00
Jun Kuriyama
e948f24a53 Fix typo.
Submitted by:	Hiroki Sato <hrs@geocities.co.jp>
1999-05-10 22:01:38 +00:00
David E. O'Brien
ce68c9929a Move sysctl/ to src/sbin/ where it now belongs.
Repository copied by:	Peter
1999-05-10 10:17:22 +00:00
Peter Wemm
ef354ff70d Understand 'config kernelname' and pretend it was a
'makeoptions KERNEL=kernelname'.  Warn about any trailing stuff as it's
not handled here.  This is a simple bandaid, hopefully to head off some
complaints from certain people.
1999-05-10 02:42:58 +00:00
Brian Somers
229c76251b Revert to the previous behaviour of only doing a utmp
login if we're -direct on a tty device.
1999-05-09 20:13:52 +00:00
Brian Somers
3377c28cd9 Deal with the fact that as we now mbuf_Read the fsm
header in fsm_Input() we often end up with a NULL mbuf.

Deal with a possible NULL mbuf being passed into
mbuf_Prepend().

Adjust some spacing to make things more consistent.
1999-05-09 20:02:29 +00:00
Peter Wemm
3e624da0af Put on my viking helmet from the closet, and get out the war axe and
"retire" some more stuff.
1999-05-09 18:54:25 +00:00
Peter Wemm
8fb476c521 We don't have composite devices here either. 1999-05-09 17:48:23 +00:00
Poul-Henning Kamp
bb4d56144e config(8) lobotomy, please see commit msg in sys.
(I have no idea why cvs didn't take these changes before.)
1999-05-09 17:23:38 +00:00
Kazutaka YOKOTA
f64191e962 Added backward compatibility to set key repeat rate.
Requested by: bde
1999-05-09 04:57:51 +00:00
Brian Somers
5d9e610366 o Redesign the layering mechanism and make the aliasing code part of
the layering.

  We now ``stack'' layers as soon as we open the device (when we figure
  out what we're dealing with).  A static set of `dispatch' routines are
  also declared for dealing with incoming packets after they've been
  `pulled' up through the stacked layers.

  Physical devices are now assigned handlers based on the device type
  when they're opened.  For the moment there are three device types;
  ttys, execs and tcps.

o Increment version number to 2.2
o Make an entry in [uw]tmp for non-tty -direct invocations (after
  pap/chap authentication).
o Make throughput counters quad_t's
o Account for the absolute number of mbuf malloc()s and free()s in
  ``show mem''.
o ``show modem'' becomes ``show physical''.
1999-05-08 11:07:56 +00:00