Commit Graph

1301 Commits

Author SHA1 Message Date
John Baldwin
77218da374 Add a 'mediaClose' script command to close the open media. An example use
would be to unmount the CD you installed from and prompt the user to
eject it before rebooting the machine.

Sponsored by:	The Weather Channel
2002-06-03 19:39:28 +00:00
Makoto Matsushita
29233a2d8a Brush up descriptions of sendmail menu last added.
Submitted by:	gshapiro
2002-06-01 15:47:49 +00:00
Makoto Matsushita
b1e41adda4 Add 'Sendmail' menu to set sendmail_enable variable.
Reviewed by:	bmah (description only)
2002-06-01 14:50:14 +00:00
Pierre Beyssac
81f5d1fac0 Fix integer overflow causing disk/partition size display wrapping
above 4GB.
2002-05-31 17:03:01 +00:00
John Baldwin
4f3624a441 - Document the new `diskInteractive' variable.
- Document the tcpMenuSelect command.

Sponsored by:	The Weather Channel
2002-05-31 14:32:03 +00:00
John Baldwin
df349781bf Add a 'diskInteractive' variable that can be set to interactively partition
and label a disk from a sysinstall script.
2002-05-31 13:38:17 +00:00
Ollivier Robert
9a1cd8e5a2 Add two FTP mirrors in France:
- ftp7 in Paris (ftp.club-internet.fr)
- ftp8 in Stransbourg (ftp.u-strasbg.fr)

MFC after:	1 day
2002-05-20 17:08:00 +00:00
David E. O'Brien
ee1c407b54 Add the ability to use Bzip'ed packages.
Also add the ability to use Bzip'ed distributions -- but this is exclusive
of being able to use Gzip'ed distributions.

Sponsored by:	FreeBSD Mall, Inc.
2002-04-30 22:40:06 +00:00
David E. O'Brien
01df2ec328 Change the name of the 'bin' distribution to 'base'.
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.

OK'ed by:	jkh
2002-04-23 22:16:41 +00:00
Murray Stokely
dd5650233b Add the concept of a volume to the device and package structures. If
these values are different for a given package, then we must prompt
the user to insert another disc before the package can be installed.
2002-04-13 12:43:07 +00:00
Murray Stokely
8c44723416 Add comment to supplement my last commit.
Requested by:  obrien
2002-04-07 10:40:31 +00:00
Murray Stokely
76494611d2 GCC >= 3 and C99 handle zero-length arrays differently than older
versions of GCC.  With this change, sysinstall compiles and works fine
with GCC 3.1 or 2.95.
2002-04-07 10:27:24 +00:00
Murray Stokely
2503fda0b6 Add "xf86cfg -textmode" to the list of options for configuring XFree86
4.X.

Suggested by:	many
2002-04-06 02:42:27 +00:00
Murray Stokely
7e25871d19 Teach sysinstall the difference between a command line, and an
executable file, so that we can pass commands with arguments to
configXSetup().
2002-04-06 02:39:27 +00:00
David E. O'Brien
4807422fe7 Switch to using XFree86 version 4. We do this thru installing the package,
so know we have proper PKG registration and dependency information.

This is a WIP for 5.0 DP #1, so it is still rough around the edges and
does not GC the old XFree86 3.3.6 handling stuff that should be GC'ed.
Sponsored by:	FreeBSD Mall, Inc.
2002-04-02 20:42:54 +00:00
David E. O'Brien
2e73237d1b Our persistent-state, large temporary file dir is /VAR/tmp, not /USR/tmp. 2002-04-01 21:35:24 +00:00
Makoto Matsushita
bb9bc62f9a Fix /dev/acdNc minor device number. This bug prevents installing FreeBSD
from CD-ROM in 4-stable.  Note that in 5-current, we use devfs so this
change (hopefully) shouldn't change anything.

I'll MFC to 4-stable later.

Tested with: FreeBSD/i386, 4.5-STABLE-20020330-JPSNAP
2002-03-30 16:59:06 +00:00
Murray Stokely
adca9ffd3d Only build and link the pccard module on architectures that support it (and
that have room for pccardd on mfsroot.flp).
2002-03-29 23:03:17 +00:00
Ruslan Ermilov
9c7b6adc2a Tidy up CLEANFILES. 2002-03-28 10:02:00 +00:00
Ruslan Ermilov
c06157d49f Teach sysinstall(8) how to read boot managers out of /boot
instead of hardcoding them into the binary.  This replaces
the work-around in usr.sbin/sysinstall/Makefile,v 1.121.

Suggested by:	jhb
MFC in:		1 week
2002-03-28 08:23:33 +00:00
Poul-Henning Kamp
06229ad2af Modernize my email address 2002-03-25 13:53:46 +00:00
Bruce A. Mah
d3d0e2c9fc Add the ERRATA file to the documentation menu and index.
While I'm here, make the menu entries on the documentation menu begin
with "1" instead of "2".

Reviewed by:	imp, rwatson, murray
Approved by:	imp, rwatson, murray
MFC after:	1 week
2002-03-18 17:34:28 +00:00
Murray Stokely
0b132dc393 Add wireless devices to device_names array. Now that ifconfig can set
session IDs, and sysinstall can load modules from the MFSROOT, it
should be possible to install FreeBSD over a wireless link.

MFC after:	2 weeks
2002-03-17 08:04:02 +00:00
Ruslan Ermilov
f8ee3376c9 Embed boot images built as part of buildworld rather than the
installed ones under /boot (which we may not even have in the
case of a cross build).

This introduced chicken and egg problem - we need boot images
early in the "depend" stage but they have not yet been built.
Work around this by excluding the generated makeboot.c source
from the "depend" list; it's okay because we hardcode all its
dependencies explicitly.  We actually lose the dependency bit
on <sys/types.h> but it's probably okay too as the only thing
we use is the u_char datatype and this is unlikely to change.
After all, it's normal for sloppy cleaning to cause problems.

beast.FreeBSD.org running 5.0-CURRENT alpha has been able to
cross build i386 world with this patch.

Prodded by:	gallatin
2002-03-15 11:27:47 +00:00
Ruslan Ermilov
50e080fe0e Don't use temporary file to generate makedevs.c -- it's okay
to write to makedevs.c directly as it's not protected by the
.PRECIOUS attribute.
2002-03-15 11:21:57 +00:00
Robert Watson
71e8420535 o No longer mount /proc by default on newly installed systems. Almost
all facilities that previously relied on /proc have been rewritten
  to use ptrace().  procfs has presented a substantial security
  hazard for years, with several user->root compromises in the last
  few years.  Procfs will continue to be available but will require
  administrator intervention to use.

Reviewed by:	scottl, jedgar, mike, tmm
2002-02-10 01:34:04 +00:00
Brian Somers
aaf89c2c89 Reword the ``Please remove the FreeBSD fixit CDROM now.'' to
``Please remove the FreeBSD fixit CDROM/DVD now.''.

MFC after: 2 weeks
2002-02-08 13:42:35 +00:00
Jordan K. Hubbard
6a5a5f48e7 Stop saying that "express" mode is for impatient people. It's
really for impatient and EXPERT people who know sysinstall
backwards and forwards.

MFC after:	1 week
2002-01-30 01:34:16 +00:00
Murray Stokely
7cdcc9fecd Fix a signal 11 error that occurs if you try to use the 'T' option on
an existing FreeBSD partition.

Reported by:	Brent Cook <busterb@mail.utexas.edu>
2002-01-29 22:35:40 +00:00
Brian Feldman
16e9521b32 Unbreak installation for the CD-ROM and possiblhy other media types.
Obtained from:	LOMAC project
Sponsored by:	DARPA, NAI Labs
2002-01-14 19:42:11 +00:00
Sheldon Hearn
b073d65ef8 Revert rev 1.316 now that the bootstrap issues with filesystems using
block sizees larger than 8192 bytes have been resolved, as per the
following deltas:

	rev 1.34	src/sys/boot/i386/boot2/boot2.c
	rev 1.5		src/sys/boot/alpha/boot1/sys.c
2002-01-14 09:16:56 +00:00
Maxim Sobolev
ef9cff0bec Safwish package built on bento is called `sawfish-gnome', so adjust sysinstall
and print-cdrom-packages.sh accordingly.

Revealed by:	re
MFC after:	1 day
2002-01-09 20:10:02 +00:00
Sheldon Hearn
c0d8fa8578 According to jhb, the alpha bootstrap code depends on the root
filesystem using a block size of 8192.  Since this seems unlikely to
be fixed soon (specifically in time for 4.5-RELEASE on the RELENG_4
branch), fall back to the old default block and frag sizes of 8192 and
1024 in sysinstall on the alpha.

Reported by:	jhb
2002-01-07 12:25:30 +00:00
Matthew Dillon
7cf138022c Add 'R'ecover option that deletes a partition and attempts
to recover its space into the previous partition.  Revert 'D'elete
to not attempt to recover any space.

Do not auto-create /home as per release engineers decision (though
I think this is a mistake).  However, all of this code will be
replaced later on anyway either with Jordan's stuff or with
some other sort of templater, so it isn't a big deal.
2002-01-07 07:51:24 +00:00
Jordan K. Hubbard
90c1249eb2 Correct the path for the stable snapshot server.
Noticed by:  "Peter Holm" <p_holm@mail.tele.dk>
2002-01-03 23:33:21 +00:00
Robert Watson
4b4b1c0520 o Wording and spelling fixes for security menu description. 2001-12-21 19:59:15 +00:00
Robert Watson
4d0032bde9 o Expand the text describing the Security options menu.
o Move nfs_reserved_port_only out of security profiles (where it was
  set somewhat improperly) to the Security options menu directly.
  Previously, the variable was set to true for Moderate, but not for
  Extreme, which is at best inconsistent.
o Update the Security Profiles help file to remove reference to the
  NFS reserved port.

o Note that the kernel currently defaults the sysctl to '0', but
  sysinstall has changed it to '1' as a default as of late; however,
  rc.conf sets the value to NO as the default.  This change brings
  them relatively into sync.

Sponsored by:	DARPA, NAI Labs
2001-12-21 19:51:44 +00:00
Robert Watson
86f2d72fd8 o Add a configSecurity menu to generally configure security settings,
and pull configSecurityProfile under that menu.  Add a menu option
  to determine whether LOMAC is enabled at boot.  Probably, eventually,
  many of the 'Security Profile' menu choices should be pulled out
  independently into the Security Menu, so as to make them individually
  selectable.

Sponsored by:	DARPA, NAI Labs
2001-12-21 18:30:50 +00:00
Robert Watson
409c2e2e05 o Don't make 'Moderate Security Settings' the DEFAULT, as otherwise
selecting 'Cancel' to avoid making changes doesn't work.  Really, we
  should deprecate security profiles and move to a more fine-grained
  model.
2001-12-21 18:08:54 +00:00
Jordan K. Hubbard
f3c7fb1696 Enable soft updates by default for everything but the root filesystem.
The user can still toggle it back off in the label editor (or post-install
for that matter) if they explicitly do not want soft updates to be used
for some reason.

Agreed to be a good thing by:	kirk
2001-12-20 23:39:30 +00:00
Sheldon Hearn
3626f83327 Update the default newfs block and fragment sizes from 8192/1024 to
16384/2048.

Following recent discussions on the -arch mailing list, involving dillon
and mckusick, this change parallels the one made over a decade ago when
the default was bumped up from 4096/512.

This should provide significant performance improvements for most
folks, less significant performance losses for a few folks and
wasted space lost to large fragments for many folks.

For discussion, please see the following thread in the -arch archive:

Subject: Using a larger block size on large filesystems

The discussion ceases to be relevant when the issue of partitioning
schemes is raised.
2001-12-11 16:21:40 +00:00
John Baldwin
4f33ba1610 Fix the mouse question again to only run the mouse menu if a user doesn't
have a USB mouse.  Here's the deal on how this works:  USB mouse have
moused run for them automatically by usbd so we don't need to setup moused
for them.  We do need to setup moused for other mice though, so if the
user has a USB mouse, we don't need to do anything.  Hence the wording
"Do you have a non-USB mouse installed?" for the question.  The question
can be reworded as "Do you have a PS/2 or Serial mouse installed?" instead
if that is preferred.
2001-12-10 22:12:23 +00:00
Peter Pentchev
65dc334620 Add the Bulgarian BDS and Phonetic keymaps.
Reviewed by:	jhb
Approved by:	jhb, silence on -qa
MFC after:	1 week
2001-12-10 08:37:51 +00:00
David E. O'Brien
80c5d6d079 Update the list of public NTP servers from
http://www.eecis.udel.edu/~mills/ntp/clock2.htm
Also remove any Stratum 1 servers and only include Stratum 2 and higher
servers.

PR:		32586
Submitted by:	Arnaud Launay <asl@launay.org>
2001-12-10 02:35:54 +00:00
Matthew Dillon
b706fc664f cleanup 2001-12-10 02:18:05 +00:00
Matthew Dillon
173592263d Add auto-fill-on-delete. When deleting an 'A'uto created partition
sysinstall will automatically expand the previous partition to take up
the freed up space.  So you can 'D'elete /home and /usr will get the
combined space, or you can 'D'elete /tmp and /var will get the combined space.

This gives the user, developer, or lay person a huge amount of flexibility
in constructing partitions from an 'A'uto base.  It takes only 3 or 4
keystrokes to achieve virtually any combination of having or not having
a /tmp and/or /home after doing an 'A'uto create.

Change 'A'uto creation of /var/tmp to 'A'uto creation /tmp, which should
be less controversial.

MFC after:	6 days
2001-12-09 23:40:02 +00:00
Matthew Dillon
06f33c6e7a Cleanup sysinstall's 'A'uto partitioning mode to provide more reasonable
defaults both in regards to the size of the partitions that are created
and in regards to safety and functional separation.

Still TODO: extend the previous partition to cover a deleted partition
if the previous partiton was auto-created, and supply some sort of
solution for /tmp.

Reviewed by:	Just about everyone
Approved by:	Nobody except maybe my pet mouse fred
Obtained from:	God, so complain to HIM
MFC after:	1 week
2001-12-09 09:47:09 +00:00
Makoto Matsushita
bbcb3e0620 Sysinstall cleanups for installation:
1) Use devfs to mount filesystems.  If mounting devfs is fail,
           fallback to old code.
        2) When fscking filesystems, use 'fsck_ffs' explicitly.  As a
           result, we no longer need 'fsck' the wrapper program.

Reviewed by:	jkh
2001-12-02 04:47:46 +00:00
Makoto Matsushita
aab37bd55c Remove kget() feature, which is removed from 5-current kernel.
Since userconfig feature is implemented by tweaking variables (hint.*)
with loader(8), we can put back an equivalent feature.  Maybe the first
step for this is to commit yokota-san's patch (add userconfig command
for loader).

Approved by:	jkh
2001-12-01 13:13:27 +00:00
Bruce A. Mah
154fe58102 Grammar police (system console terminal type menu). 2001-11-26 23:14:21 +00:00
Andrey A. Chernov
d4e8a3b4c9 Add us-ascii_to_cp437 screenmap 2001-11-23 11:15:21 +00:00
Andrey A. Chernov
7b9c0eac1c Add fonts,screenmaps,console types 2001-11-23 07:40:54 +00:00
Jordan K. Hubbard
7a631f774d MFS: Stop reaping children. It makes evil things happen to the extraction
loop.
2001-11-01 23:32:46 +00:00
Brian Somers
d80d04cac0 Don't assume fixit media is only either a floppy disk or 2nd CDROM disc
Reviewed by:	murray
MFC after:	1 week
2001-10-29 16:17:19 +00:00
John Baldwin
b718f11936 Move the 'type' variable inside the block where it is actually used. 2001-10-23 17:31:11 +00:00
Ollivier Robert
41494fa079 Remove the ``-c 22'' option from newfs command line. Changes in newfs(8)
makes that obsolete. The jury^W-arch is still out about the block and fragment
sizes so I'll that for later.

Reminded by:	obrien
MFC after:	2 days
2001-10-20 09:28:53 +00:00
Jordan K. Hubbard
513cce4025 Add the ability to load klds from a floppy as part of the installation.
Submitted by:	"Daniel O'Connor" <doconnor@gsoft.com.au>
MFC after:	2 weeks
2001-10-12 22:39:02 +00:00
Jordan K. Hubbard
27a550e5ed DTRT in the restart case 2001-10-12 07:36:34 +00:00
Murray Stokely
55e3fefc53 Close all open file descriptors before restarting sysinstall.
PR:		bin/30737
Submitted by:	Alexey V. Neyman <alex.neyman@auriga.ru>
2001-09-30 00:43:32 +00:00
Bill Paul
95d674824f Add device driver support for the Broadcom BCM570x family of gigabit
ethernet controllers. This adds support for the 3Com 3c996-T, the
SysKonnect SK-9D21 and SK-9D41, and the built-in gigE NICs on
Dell PowerEdge 2550 servers. The latter configuration hauls ass:
preliminary measurements show TCP speeds of over 900Mbps using
only normal size frames.

TCP/IP checksum offload, jumbo frames and VLAN tag insertion/stripping
are supported, as well as interrupt moderation.

Still need to fix autonegotiation support for 1000baseSX NICs, but
beyond that, driver is pretty solid.
2001-09-27 23:55:28 +00:00
Murray Stokely
a0769a8d73 Add a couple of functions to create persistent variables that will
survive a sysinstall Ctrl-C -> 'Restart'.  This fixes another annoying
bug where restarting sysinstall will try to reload kernel modules and
do other external things that have already been done.  For now, use
these persistent variables to keep track of module, usbd, and pccardd
initialization.

Bug found by: rwatson
MFC after:    1 week
2001-09-24 10:16:23 +00:00
Murray Stokely
250f214507 Silence more warnings. 2001-09-22 23:17:37 +00:00
Murray Stokely
d47aa91c6a Silence warnings on alpha :
Use '%p' when printing out the address of a function.
  sizeof(int) != sizeof(long)
2001-09-22 22:34:14 +00:00
Murray Stokely
3b603fb7d3 Silence warnings. 2001-09-22 22:25:35 +00:00
Murray Stokely
9838440951 Silence warnings :
Use static as necessary.
   Use __unused as necessary.
   sizeof(int) != sizeof(void *)
2001-09-22 22:21:01 +00:00
Murray Stokely
eba8393e91 Add a function to free all of sysinstall's internal variables from the
environment.  This fixes an annoying bug where hitting Ctrl-C and
telling sysinstall to 'restart' will do no such thing since many of
the options are still set and so you won't be prompted for them
again.

MFC after:	1 week
2001-09-22 18:10:56 +00:00
Murray Stokely
8f217e4c8b Use the isDebug() function rather than making up a new environment
variable to check for debug functionality.  Previously, you had to set
both 'debug' and 'SYSINSTALL_DEBUG' to get a log of sysinstall's
activities.  Now, only 'debug' is necessary.
2001-09-22 18:07:47 +00:00
Poul-Henning Kamp
c35b54708a Add missing {}. This made most/all scripted installs fail.
Approved by:	jkh
2001-09-14 18:29:08 +00:00
Murray Stokely
417257575f Whitespace change only. Use the same indention level throughout this
file and add a blank line after variable declarations.

Submitted by:	jhb
2001-09-14 08:39:22 +00:00
Jordan K. Hubbard
30b7cb5e9f Return the *right* error codes for yes/no questions when non-interactive.
Submitted by:	Alan Judge <Alan.Judge@eircom.net>
2001-09-11 20:42:07 +00:00
Murray Stokely
810fd59fbb If we're running as init, install a signal handler for SIGCHLD.
PR:		bin/14729
Submitted by:	jhb
2001-09-06 09:53:53 +00:00
Murray Stokely
25818ccf8e Add Hungarian FTP mirror.
PR:		misc/21536
Submitted by:	Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
2001-09-05 07:41:01 +00:00
Murray Stokely
fe936981de Add Czech keyboard definition to sysinstall.
PR:		bin/17430
Submitted by:	Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
2001-09-05 07:12:19 +00:00
Murray Stokely
29b46c3bc5 Allow users to enable usbd and set flags from sysinstall. This is
useful for post install configuration or other cases that might not be
handled by usb.c. (usb.c already sets usbd_enable iff sysinstall
detects usb during install).

PR:		bin/18946
Submitted by:	Peter van Heusden <pvh@egenetics.com>
Reviewed by:	jhb
2001-09-05 00:58:28 +00:00
Murray Stokely
8e212e3580 Update the inetd configuration prompt for clarity.
Submitted by:	chern
Committed from: "Make sysinstall suck less party", D1031 WRS campus, Alameda
2001-09-05 00:45:13 +00:00
Murray Stokely
b25687720b Revisions 1.117 and 1.118 of tcpip.c fixed the logic dealing with DHCP
and RTSOL in sysinstall.  If the respective TRY_FOO variable is set to
"YES" then it will be tried without prompting the user.

However, if the TRY_FOO variable is set to "NO" then the user will not
be prompted for a choice.  This is the correct behavior, since we want
people to be able to script sysinstall in either case.

However, the default TRY_FOO variable has been "NO" since 1999.  This
is incorrect, and when the logic was corrected in tcpip.c this has the
effect of never giving the user a choice to use DHCP or IPv6.  The
value should be undefined until it is set by a script or by the user.

Submitted by:	Randy Pratt, Chern Lee, many others.
2001-09-04 23:56:30 +00:00
Jordan K. Hubbard
119a25407c Add 3rd spanish mirror
Submitted by:   "Jose M. Alcaide" <jose@we.lc.ehu.es>
2001-09-04 22:08:33 +00:00
Robert Watson
4a194bc678 Since we now install sysinstall in /usr/sbin, encourage the user to
run that version, rather than the copy in /stand.
2001-09-04 20:22:41 +00:00
Robert Watson
dd5360b44c Spell SSHd as sshd to improve readability and consistency. 2001-09-04 20:22:14 +00:00
Robert Watson
0d0f76632d Add an additional \n before the "cautionary note" on the topic of
admins needing to pay attention when configuring the system.  This
improves readability of this message.
2001-09-04 20:21:12 +00:00
Robert Watson
e01106586f Don't name the main menu "/stand/sysinstall Main Manu" since it now
often lives in /usr/sbin.  Instead, just name it "sysinstall Main Menu".
2001-09-04 20:14:59 +00:00
Eric Melville
30ff437cd4 Attempt to make key behavior more clear. 2001-08-31 03:29:25 +00:00
David E. O'Brien
c6eff40c76 Back out revision 1.317 -- diskcheckd enabled/disabled from
post-configuration "Startup" menu.
diskcheckd now lives in ports/sysutils
2001-08-29 05:42:17 +00:00
Robert Watson
49cb22edf2 o Allow diskcheckd to be enabled/disabled from within sysinstall using the
post-configuration "Startup" menu.  In the event that diskcheckd is
  removed, this can easily be trimmed also; in the mean time, it allows
  diskcheckd to be easily disabled using our documented management
  tool
2001-08-28 22:22:30 +00:00
Ruslan Ermilov
1c86a7d9c7 Removed the (possible) ambiguity in /etc/rc.conf comment.
PR:		bin/29736
2001-08-17 16:05:54 +00:00
Robert Watson
504d39109f o Improve terminology consistency for security profile functionality:
the name for the moderate security profile is "moderate", not
  "medium", so update this one reference to it as "medium".

This is a 4.4-RELEASE MFC candidate.

MFC after:	2 days
2001-08-15 19:39:11 +00:00
Josef Karthauser
67923e665b Sysinstall inserts a comment between changes to /etc/rc.conf.
Add a timestamp to the comment so that it's possible to see when
changes were made.

e.g.:
# -- sysinstall generated deltas -- # Wed Aug 15 18:10:20 2001
2001-08-15 17:10:49 +00:00
Eric Melville
b194597fd5 List the correct paths to the X server distributions.
PR:		26924
Submitted by:	olgeni
2001-08-14 23:19:37 +00:00
Eric Melville
9447e122d9 Use normal menus instead of radio lists, which seems to be more logical
after the libdialog changes.
2001-08-12 23:40:04 +00:00
Robert Watson
86a02c1326 Somewhere along the way, configSecurityModerate() lost it's "int"
return value.

Spotted by:	gratuitous use of diff during MFC process
2001-08-11 03:26:52 +00:00
Robert Watson
614af3941d o Reduce the number of offered security profiles, as we now have a more
conservative default, and actually prompt specifically for inetd rather
  than handling it as a side effect of the security profile.  Update the
  help file to reflect this change.
o Rename "Fascist" to "Extreme" in the source code, to match the names
  presented to the user.
o Remove portmap and inetd from profile management.  Portmap is now
  disabled by default, but automatically turned on if a feature requires
  it (such as NFS, etc).

This is an MFC candidate for 4.4-RELEASE.

Reviewed by:	freebsd-arch@FreeBSD.org
Approved by:	re@FreeBSD.org
MFC after:	2 days
2001-08-10 23:57:43 +00:00
Ruslan Ermilov
57e4378bf6 mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Robert Watson
f5ad562c54 Return DITEM_SUCCESS from configInetd(), as apparently a success or
failure value is expected.

Spotted by:     gcc
2001-08-10 02:23:10 +00:00
Eric Melville
6c90a5164d Make menu text match menu button labels. 2001-08-08 22:49:27 +00:00
Andrey A. Chernov
cf9da17cbb Apply pending /etc/ttys changes before calling editor on it
Approved by:	rwatson
2001-08-07 15:13:42 +00:00
Robert Watson
f3ea28cb07 In preparation for MFC of sysinstall changes to edit /etc/ttys in
post-install config, reduce the potential confusion from the existence
of both configTTYs and configTtys by renaming configTTYs to
configEtcTtys.  While this is not a C naming conflict, it was probably
a poor choice of names on my part.
2001-08-07 12:48:17 +00:00
Robert Watson
c17d6a73f2 Add the ability to modify /etc/ttys before first reboot during the
system installation process.  This allows users installing via serial
console to enable serial console login during the installation
process using an un-customized install.  The user is not prompted to
modify /etc/ttys during a normal install, but is offered the
opportunity during post-install configuration.

- Introduce configTTYs(), which describes the benefits of editing
  /etc/ttys, and asks for confirmation before spawning the editor.
- add configTTYs to the post-install configuration, as well as to
  the global configuration index.
2001-08-02 03:53:36 +00:00
Robert Watson
0c09bcb0e8 Compensate for default disabling of network services in inetd.conf(5)
by providing the opportunity to edit inetd.conf during the system
installation process.  The following modifications were made:

(1) Expand the Anonymous FTP description dialog to indicate that inetd
    and ftpd must be enabled before it can be used.

(2) Introduce a new configInetd() pair of dialogs, the first describing
    inetd, giving a couple of examples of services that require it, and
    hinting at potential risk, then asking the user if they wish to
    enable it.  The second indicates that inetd.conf must be configured
    to enabled specific services, and asks if the user would like to
    load inetd.conf into the editor to modify it.  Add this
    configuration action to the index.

There are some further improvements that might be considered:

(1) Provide a more inetd.conf-specific configuration tool that speaks
    inetd.conf(5).  However, this is made difficult by the "yet another
    configuration format" nature of inetd.conf, as well as its use of
    commenting to disable services, rather than an in-syntax way to
    disable a service without commenting it out.  Submissions here
    would probably be welcome.

(2) There's some overlap between settings in the somewhat obtuse
    Security Profile mechanism and other settings, including the inetd
    setting, and NFS server configuration.  As features become
    individually tunable, they should probably be removed from the
    security profile mechanism.  Otherwise, somewhat counter-intuitively,
    sysinstall (in practice) queries multiple times whether inetd, nfsd,
    etc, should be enabled/disabled.  A possible future direction might
    be to drive profiles not by degree of paranoia, rather, the set
    of services desired.  Or simply to remove the Security Profile
    mechanism and resort to feature-driven configuration.

Reviewed by:	imp, chris, jake, nate, -arch, -stable
2001-08-02 03:25:16 +00:00
Eric Melville
b8ae14f673 Reword for consistency. 2001-07-31 21:30:57 +00:00
Eric Melville
7ddbe3a0c0 Remove an accidental comma that managed to creep in with the last commit. 2001-07-31 04:14:44 +00:00
Jordan K. Hubbard
c6934947db If we're set to non-interactive, we shouldn't ask the user yes/no questions
but simply return the default answer instead.
2001-07-30 20:45:54 +00:00
Eric Melville
4743a2b7c2 Remove duplicate cvs tag. 2001-07-26 07:26:39 +00:00
Eric Melville
08c5ff18e9 Update sysinstall menu texts to reflect the new key behavior.
Approved by:	jkh
2001-07-26 07:17:27 +00:00
Bill Paul
362c5c1e02 You were knocked senseless by the Boomerang, spun around by the Cyclone,
blown over by the Hurricane and had a house dropped on you by the Tornado.
Now it's time to have your parade rained on by... the Typhoon!

This commit adds driver support for 3Com 3cR990 10/100 ethernet
adapters based on the Typhoon I and Typhoon II chipsets. This is actually
a port of the OpenBSD driver with many hacks by me.

No Virginia, there isn't any support for the hardware crypto yet. However
there is support for TCP/IP checksum offload and VLANs.

Special thanks go to Jason Wright, Aaron Campbell and Theo de Raadt for
squeezing enough info out of 3Com to get this written, and for doing
most of the hard work.

Manual page is included. Compiled as a module and included in GENERIC.
2001-07-23 20:44:54 +00:00
David E. O'Brien
90e655ea4e Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
David E. O'Brien
ac24b049cc Remove GCC'isms in CFLAGS. 2001-07-20 04:23:13 +00:00
Andrey A. Chernov
3670a10826 Add ability to configure console terminal type in /etc/ttys
Reviewed by:	audit, jkh's silence
2001-07-17 04:09:50 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
David E. O'Brien
557f299a51 Tweak the Alpha partition warning wording and comment a little. 2001-07-13 16:45:00 +00:00
David E. O'Brien
224b4c7715 Rudamentary attempt to reconize when `a' is not the first partition on the
Alpha.  (the Alpha will not boot except from the first partition)

PR:		23064
Submitted by:	Kees Jan Koster <kjkoster@kjkoster.org>
2001-07-13 16:37:03 +00:00
Hajimu UMEMOTO
d734b7d006 Add ftp2.jp.freebsd.org as IPv6 ready mirror server.
Now, ftp2.jp.freebsd.org is serverd by IIJ.

MFC after:	1 week
2001-07-11 11:24:06 +00:00
Ruslan Ermilov
a4c37c816b mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 15:12:08 +00:00
Brian Somers
7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Kris Kennaway
a015c9348c Mark relevant functions __printflike()/__printf0like() and silence some of
the non-constant format string warnings.

MFC after:	1 week
2001-07-05 09:51:09 +00:00
Dima Dorfman
91308c55b5 Bring back part of rev. 1.296 I accidently reverted in the previous
commit.
2001-07-02 00:24:23 +00:00
Dima Dorfman
13704ca508 Introduce DEVICE_INIT, DEVICE_GET, and DEVICE_SHUTDOWN macros. As the
names suggest, they perform methods on Device's.  In addition, they
check that the pointer passed to them is valid; if it isn't, they
pretend that the action failed.  This fixes some crashes due to NULL
dereferences (e.g., PR 26509).

Approved by:	jkh (some time ago)
2001-07-02 00:18:04 +00:00
Nik Clayton
38363ccec2 Various changes to the messages so that they are now appropriate for both
CD and DVD releases of FreeBSD.
2001-06-27 17:48:43 +00:00
Yoshihiro Takahashi
b60a68fddf Supported to select a keymap for PC-98x1. 2001-06-17 03:13:48 +00:00
Jimmy Olgeni
f3a6406c66 Add terminal type configuration to the Options screen. It allows selecting
a monochrome display after booting into sysinstall, if you have any trouble
with the default color scheme.

Approved by:	jkh
MFC after:	2 weeks
2001-06-13 10:25:09 +00:00
Andrey A. Chernov
f4ca0820bc ISO_* -> ISO* 2001-06-11 02:15:32 +00:00
Ruslan Ermilov
d95db8f60e msdos -> msdosfs. 2001-06-01 12:16:09 +00:00
Ruslan Ermilov
1166fb516b - sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
2001-05-25 08:14:14 +00:00
Jordan K. Hubbard
2f1cb61572 Make /compat a relative symlink instead of an absolute symlink.
Requested by:	jens
2001-05-19 19:08:56 +00:00
Warner Losh
a94058679c Save one fork on a buildworld. env FOO=foo bar -> FOO=foo bar. 2001-05-15 22:54:15 +00:00
Maxim Sobolev
87dc3f46be Take keyboard map files from ${.CURDIR}/../../share/syscons/keymaps, not from
/usr/share/syscons/keymaps. This should prevent word breakage when new keymaps
have been added.

Prompted by:	Matthew D. Fuller <fullermd@over-yonder.net>
2001-05-12 09:19:36 +00:00
Bill Paul
ce4946daa5 Add support for gigabit ethernet cards based on the NatSemi DP83820
and DP83821 gigabit ethernet MAC chips and the NatSemi DP83861 10/100/1000
copper PHY. There are a whole bunch of very low cost cards available with
this chipset selling for $150USD or less. This includes the SMC9462TX,
D-Link DGE-500T, Asante GigaNIX 1000TA and 1000TPC, and a couple cards
from Addtron.

This chip supports TCP/IP checksum offload, VLAN tagging/insertion.
2048-bit multicast filter, jumbograms and has 8K TX and 32K RX FIFOs.
I have not done serious performance testing with this driver. I know
it works, and I want it under CVS control so I can keep tabs on it.
Note that there's no serious mutex stuff in here yet either: I need
to talk more with jhb to figure out the right way to do this. That
said, I don't think there will be any problems.

This driver should also work on the alpha. It's not turned on in
GENERIC.
2001-05-11 19:56:39 +00:00
Andrey A. Chernov
13eefef569 Add exact names for suggested screenmaps 2001-05-11 08:45:34 +00:00
Maxim Sobolev
d7eb3f6174 Sync KOI8-U with latest KOI8-R changes. Also restore correct numbering
in the font selection dialog broken by the removal of KOI8-R.

Prompted by:	ache
MFC after:	2 weeks
2001-05-10 21:04:36 +00:00
Jordan K. Hubbard
1fc7d35b0e Add Romania to ftp mirrors. 2001-05-10 18:38:25 +00:00
Andrey A. Chernov
6fac233604 Add mousechar_start=3 for Russian font
(-current only)
2001-05-10 17:32:31 +00:00
Andrey A. Chernov
9caf9467e0 Move cons25w entry last, index is off by one otherwise if RunningAsInit 2001-05-10 17:14:29 +00:00
Andrey A. Chernov
e95f7451f8 Remove CP866 keyboard and KOI8-R font to not confuse users.
Explain more about CP866 font usage.
2001-05-10 17:03:14 +00:00
Maxim Sobolev
0a441629f1 Add support for Ukrainian console.
Submitted by:	Olexander Kunytsa <kunia@istc.kiev.ua>
MFC after:	2 weeks
2001-05-10 15:57:16 +00:00
Jordan K. Hubbard
047d337348 Fix what was clearly a 3am brain-o; Boolean should be signed, not
unsigned.  C is kinda loose about this sort of thing but it's no excuse.

Spotted by:	kenny
2001-05-09 08:01:56 +00:00
Jordan K. Hubbard
69a66c62c2 Make soft updates option print more nicely and stop overflow of
right-hand margin when set in 2nd column.  Also do a small amount of
code cleanup.
2001-05-06 02:52:45 +00:00
Jordan K. Hubbard
3f48344395 Remove now obsolete check for root filesystems > cyl 1024. The boot
loader can handle such cases.

Noted by:	olgeni
2001-05-03 09:23:48 +00:00
Ruslan Ermilov
00c694aa47 mdoc(7) police: removed hard sentence break. 2001-04-27 10:22:17 +00:00
Jimmy Olgeni
c9e23da852 Document the "noError" variable.
"noError" is used to ignore errors while processing sysinstall scripts.

Approved by:	jkh
2001-04-26 20:10:01 +00:00
Jordan K. Hubbard
84a953964e Change this from being alphabetically ordered to being more "practically"
ordered by most frequent preference.

Submitted by:	Adam <bsdx@looksharp.net>
2001-04-26 17:40:54 +00:00
David E. O'Brien
f5a79676ee Our exports(5) syntax is rather "host-centric", while people comming from
a Sun background think in a more FS-centric mind set.  Add a note to help
the Sun backgrounded ones to not make invalid assumptions.
2001-04-22 18:59:03 +00:00
David E. O'Brien
3d43d76fe3 Add an example borrowed from the FAQ showing a very commonly desired
export in FreeBSD'ville for `make installworld' elsewhere.
2001-04-22 18:54:20 +00:00
Jordan K. Hubbard
c764454fde Add Greece to the FTP mirror list.
Submitted by:	Konstantinos Konstantinidis <kkonstan@duth.gr>
PR:		26073
2001-04-20 15:04:59 +00:00
Joerg Wunsch
20bc498345 ``An undocumented feature is a bug.''
Turn on my asbesto suit, and document the DD and Wizard mode menu
keys.  It's a nuisance to always have to look them up in the source
code when needed.
2001-04-18 20:26:28 +00:00
David E. O'Brien
4f32923ce7 Bump the default / size up another 10MB to 120MB.
Requested by:	jhb
2001-04-05 21:34:47 +00:00
David E. O'Brien
ad0f825a09 Give a little more variety in the /etc/exports example. 2001-04-01 09:19:23 +00:00
Jordan K. Hubbard
847c1df2db Correct message to say "shutting down" rather than just "shutting"
Noticed by:	Joachim Strömbergson <watchman@ludd.luth.se>
2001-03-29 19:56:20 +00:00
David E. O'Brien
e24c7ced13 Mirror the newfs(8) defaults change I made in rev 1.33 of newfs.c where
I made `22' the default number of cylinders per group.
2001-03-27 17:05:23 +00:00
Ruslan Ermilov
345e52e742 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
David E. O'Brien
ca7d5f8ab6 Revert the warning elimination in rev 1.292. It breaks the Alpha build with:
/usr/src/usr.sbin/sysinstall/menus.c:1323: initializer element is not computable at load time
/usr/src/usr.sbin/sysinstall/menus.c:1323: (near initialization for `MenuNetworking.items[9].aux')
2001-03-24 17:28:06 +00:00
Jordan K. Hubbard
386deae89c afterstep doesn't need an explicit xterm started for it either. 2001-03-24 03:17:35 +00:00
Jordan K. Hubbard
4f2348e52e Make wizard mode get out of raw mode first before going interactive with
the user.

Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
PR:		bin/24061
2001-03-23 08:26:43 +00:00
Jordan K. Hubbard
468255abf1 Fix a bug with setting the soft updates option from a script.
Eliminate an old warning brought about by insufficient foresight when creating
the Menu structure.  Have I ever mentioned that sysinstall really needs to
be rewritten?
2001-03-23 08:06:19 +00:00
Jordan K. Hubbard
6a74b0f7e2 Switch from lynx to "links" as the default doc browser.
Submitted by:	jim
2001-03-23 07:53:45 +00:00
Ruslan Ermilov
c73e22c3d4 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
Jordan K. Hubbard
a19e33bde9 properly document the loadConfig option 2001-03-18 05:38:11 +00:00
Jordan K. Hubbard
7416da67e9 Very small cosmetic tweak - avoid starting an extra xterm for the fvwm
desktop case.
2001-03-16 03:32:13 +00:00
Yoshihiro Takahashi
9a9c149572 Moved '#endif' to correct position. (previous commit broke pc98 support) 2001-03-15 12:33:52 +00:00
Jordan K. Hubbard
369e272fb6 Argh! Why can't I stop breaking the fvwm desktop option? *I* use
fvwm as my desktop, yet I've broken this damn thing 3 times in a row
now while all the desktops I don't actually use continue to work fine! :)
2001-03-14 09:39:54 +00:00
Jordan K. Hubbard
56d6f15dca OK, *now* we only sort the file once (red face). 2001-03-14 03:26:40 +00:00
Jordan K. Hubbard
becf6bce0e Document (with warnings) the otherwise undocumented `F' command. 2001-03-13 06:52:07 +00:00
Jordan K. Hubbard
401e1ee5c1 Be a better rc.conf citizen and create an initial file which:
1. Has a time-stamp to show when it was created

2. Sorts and uniq's the output to only contain single instances of a
   given setting. This doesn't mean you still can't have settings which
   override one another, that's still possible since it's too much
   trouble to do the redundancy checking here.

Requested by: 	lots of people
2001-03-13 06:42:12 +00:00
Jordan K. Hubbard
c95f3d84ce Properly deal with the fvwm desktop - this should restore that option
to functionality.
2001-03-12 22:43:27 +00:00
Jordan K. Hubbard
061de247e0 Allow a script-using to disable the emergency holographic shell as
a security measure.

Requested by:	"David E. Cross" <crossd@enterprise.cs.rpi.edu>
2001-03-12 21:26:06 +00:00
Jordan K. Hubbard
dd689bd571 Really finish softupdate setting from the label editor and fix
a few cosmetic problems:

o Allow it to work with scripts (see man page or install.cfg file).
o Preserve old softupdates flag across newfs toggles
o Clean up partitioned/labelled flag handling
o Don't ask for MBR choice again if you've already written it out.
o Actually document the new features.
2001-03-12 10:18:54 +00:00
Jordan K. Hubbard
abbc9c16f2 Document the softupdate stuff and also warn people against using
it on root unless root is very large.
2001-03-11 04:24:52 +00:00
Jordan K. Hubbard
b2cb10e515 Support setting soft updates from the label editor. 2001-03-10 19:51:04 +00:00
Jordan K. Hubbard
7e2f1eda7a Fix a paste-o which introduced a syntax error. 2001-03-08 10:41:40 +00:00
Jordan K. Hubbard
717bd36c83 Fix some of the security profile messages to be more explanatory
and also obey most of the rules of english in their construction.

Add a help screen for the security menu which gives the user a rough idea
just what the various security profiles do.
2001-03-08 10:16:56 +00:00
Jordan K. Hubbard
e18638480d Sawfish is invoked by the gnome stuff automatically if it exists -
we don't need to start it explicitly.

Noted by:	"Jose M. Alcaide" <jose@we.lc.ehu.es>
2001-03-06 21:46:03 +00:00
Peter Wemm
8ca420e7fa Ack! I finally got annoyed enough to actually kill this. There is no
need to manually force the network_interfaces variable in /etc/rc.conf,
and it only ever gets in the way.  rc.network and rc.network6 DTRT with
the default of 'auto'.  This should have died over a year ago.
2001-03-02 08:15:41 +00:00
Murray Stokely
7f78342d7c Teach sysinstall about the `compat4x' distribution.
Approved by:	jkh
2001-02-09 19:01:49 +00:00
David E. O'Brien
3e52f85a2b Bump the i386 default root by another 30MB to 100MB total. The Alpha
default root bumps 20MB to 110MB.

Requested by:	kris
2001-02-07 11:26:41 +00:00
David E. O'Brien
2dfcc3fa0d Add 20MB to the default / size for this in-development branch. 2001-02-07 09:29:29 +00:00
Peter Wemm
26379603c0 Create a build-tools target for sysinstall and rtermcap. This is still
not right because rtermcap would be reading the *host* termcap, not
from the termcap in the src tree.  Besides, /usr/sbin/sysinstall
(not the crunched one in /stand) should use the runtime termcap
not the precompiled set.
2001-01-19 09:24:00 +00:00
John Baldwin
d3fe3a0af7 The example install.cfg now lives in /usr/src/usr.sbin/sysinstall. 2001-01-17 19:52:16 +00:00
John Baldwin
25edf1a5eb Look for help files in /usr/src/usr.sbin/sysinstall instead of
/usr/src/release/sysinstall.
2001-01-17 19:51:08 +00:00
John Baldwin
86cf061fe4 - We live in /usr/sbin now, so don't set special veriables to build a
static version that installs in /stand.  Also, don't use an extra
  before-install target to create /stand.
- Add missing $FreeBSD$.
- Fix dependencies to handle keymap.h. (*)

Submitted by:	obrien (*)
2001-01-17 03:32:00 +00:00
Peter Wemm
8c614ff6fe Backtrack a bit.. Put the dangerously dedicated option under a
non-advertised option (F = "FreeBSD only"), and leave the A key with
standard partitioning.  It seems people still want a runtime backdoo
to get to dangerously dedicated mode.
2001-01-15 08:15:19 +00:00
Peter Wemm
f357eb9800 Don't invite trouble by waving the 'Dangerously Dedicated' (DD) option
at people.  This has been sitting in my tree for a few months now.  I
have spoken with quite a few folks about this and the support for doing
this was pretty strong.  I dont remember names though, so I cannot share
the blame :-(.  Note that this does not *remove* DD mode, it just stops
waving it at new users.  You can still set it via config files etc, and
the bootblocks and kernel still support it.  You can still use disklabel
to make true DD disks.
2001-01-15 05:29:53 +00:00
David E. O'Brien
6704216fbb Add the us.pc-ctrl and us.unix keymaps. 2001-01-11 20:53:36 +00:00
Ruslan Ermilov
4303e19e3a Prepare for mdoc(7)NG. 2000-12-27 14:22:05 +00:00
Jordan K. Hubbard
d97b90c7fc Fix an informational message a little and properly check status of a yes/no
question which I bollicked up in my previous commit.
2000-12-16 05:36:10 +00:00
Jordan K. Hubbard
621005e3cb Adapt sysinstall to use the new msgNoYes() function which assumes
no as a default.  Sysinstall should be both less dangerous and less
annoying as a result of this change, though that's just my opinion
(since they're the defaults which annoy ME the least :).
2000-12-14 02:49:02 +00:00
Yoshihiro Takahashi
418754d037 Moved the snc driver position before the sn driver.
Submitted by:	Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
2000-12-09 04:51:13 +00:00
Jordan K. Hubbard
a630ff9a60 Fix bug where minimal dist selection didn't check off the right
menu item.

Noticed by:	Dan "Sheepdip" Langille <dan@freebsddiary.org>
2000-12-07 20:04:35 +00:00
Daniel Harris
7e4f887975 Lose an extra paragraph break.
PR:		23179
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-29 21:44:46 +00:00
Tatsumi Hosokawa
247fc4628e Filename of install help file is "INSTALL.TXT", not "install.hlp".
Typing [F1] did not popup install help file window on main menu, and so on.
2000-11-27 13:35:11 +00:00
Ben Smithurst
759ca2b99f Fix a layout problem (.It Li -> .Fx)
PR:		23055
Submitted by:	Jimmy Olgeni <olgeni@uli.it>
2000-11-24 11:17:28 +00:00
Jun Kuriyama
d83edf4e44 Remove extra ")". 2000-11-23 08:09:45 +00:00
Jordan K. Hubbard
c46073c0d0 Update source description to note that everything is now included.
Submitted by:	Chris Faulhaber <jedgar@fxp.org>
2000-11-21 02:22:31 +00:00
Jordan K. Hubbard
a41801c68a finish conditionalizing the PC98 specific options off the PC98
compilation variable.
2000-11-20 19:44:17 +00:00
Jordan K. Hubbard
2d16329250 Replace GNOME + Afterstep choice with GNOME + sawfish. This is a more
popular configuration now.
2000-11-14 00:03:52 +00:00
Ruslan Ermilov
726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
Jun Kuriyama
ecefc8cf96 Make numeric shortcut key behaving correctly in "Installation Media" menu.
Approved by:	jkh
2000-11-10 09:50:22 +00:00
Jordan K. Hubbard
17d7bfc3fc For High security profile, set securelevel to 1 to protect /dev/*mem
and mounted disks, among other things.

Requested by:	kirk
2000-11-07 23:05:14 +00:00
Tatsumi Hosokawa
b986543ddf Added Intel Gigabit Ethernet card to device menu. 2000-11-07 09:16:14 +00:00
Tatsumi Hosokawa
b1d6bbc98d release/sysinstall/lndir.c has not been used, but statically linked
to sysinstall for long time.  Remove it.
2000-11-06 09:28:54 +00:00
Don Lewis
e1a8c6b64e Back out change to prepend /sbin:/bin to $PATH, just overwrite $PATH
with these in the normal case.

Set MAKEDEVPATH in sysinstall to include the /mnt2 stuff before starting
the fixit shell.
2000-11-05 17:59:29 +00:00
Tatsumi Hosokawa
b98c5f70ff Moved driver modules for some PCI NICs and PCCARD-only NICs to mfsroot.flp.
http://people.freebsd.org/~hosokawa/driver-floppy/ for details.

Reviewed by:	current@FreeBSD.org
2000-10-31 07:39:07 +00:00
Jordan K. Hubbard
a911f71629 Changes have been made to support a concept of VAR_FIXIT_TTY being
standard or serial.  This change needs to be done to the entire system that
depends on this.  This way we don't have some code using OnVTY checks
and other doing
        strcmp(variable_get(VAR_FIXIT_TTY), "standard") == 0
checks.  Also we need to set VAR_FIXIT_TTY to "serial" if we come up on
a serial console.

Also fixed a dialog problem in that dialog was used when dialog was
disabled causing some troubles such as not letting the cursor keys
work when exiting the fixit mode on media (ie. not the fixit shell but
for example fixit on a floppy).

Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
PR:		22352
2000-10-30 23:46:12 +00:00
Søren Schmidt
18993f4eb3 Add the ATA RAID device 'ar'. 2000-10-29 13:04:04 +00:00
Eivind Eklund
dd92980bbd Teach sysinstall how to restart itself on Ctrl-C (as an addition to its old
tricks of rebooting and continuing where it was.)

Reviewed by:	jkh, jhb
2000-10-29 09:57:50 +00:00
Jordan K. Hubbard
5b4d40c638 Shorten the labels in the keymap menu so it fits smaller screens.
Submitted by:	pho
2000-10-26 12:32:28 +00:00
Jun Kuriyama
b3530b8293 Trim right column messages to display correctly in 80-column terminal.
Reviewed by:	jkh
2000-10-25 11:36:31 +00:00
Jordan K. Hubbard
042c61e58d Add another security configuration profile, call it "high" and
rename the previous one to indicate that it's not just high, it's
extreme (everything off, secure level raised).

Submitted mostly by:	Tony Finch <dot@dotat.at>
2000-10-14 21:02:31 +00:00
Poul-Henning Kamp
00d25f512c Initiate deorbit burn sequence for <machine/console.h>.
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.

Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
Murray Stokely
d665d812e2 PR: 21729
Approved by:	jkh

Write kern_securelevel_enable variable to rc.conf if user selects
medium or low security in sysinstall.  This overrides the case where a
user selects fascist security and then tries to go back to a lower
setting.
2000-10-05 23:27:32 +00:00
Jordan K. Hubbard
9913f234db If user selects no distributions at all, assume "User" as
a default.  This should prevent people from whacking return at
the Distributions menu and getting nothing selected as a result
(a minimal "standard" system will at least install).

Flagged as big tech support headache by: Chris Shumway <cshumway@osd.bsdi.com>
2000-10-05 18:02:09 +00:00
Yoshihiro Takahashi
0a917604f0 Added NEC PC-9801-83, 84, PC-9801-103, 104, PC-9801N-25 and PC-9801N-J02R
support which use National Semiconductor DP8393X (SONIC) as ethernet
controller. Currently, this driver is used on only PC-98.

Submitted by:	Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
Obtained from:	NetBSD/pc98
2000-10-02 14:27:20 +00:00
Jordan K. Hubbard
a1aa3a40fd Adjust for new location and name of kernel.
PR:		21423
Reported by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
2000-09-29 07:47:19 +00:00
Jordan K. Hubbard
55124436ab Fix specification for ftp5.fr.freebsd.org
Reported by:	Jean-Claude Christophe <jch@oleane.net>
2000-09-27 17:23:57 +00:00
Jordan K. Hubbard
bd7064a794 Fix the http proxy fetch code.
Submitted by:	Philipp Mergenthaler <p@i609.hadiko.de>
PR:		21449
2000-09-25 20:19:43 +00:00
Jordan K. Hubbard
8ad4728c5d Fix a small bogon with a boolean yes/no question check. 2000-09-25 07:15:19 +00:00
Jordan K. Hubbard
706669fd9b Add Lithuania.
Submitted by:	Domas Mituzas <midom@dammit.lt>
2000-09-24 06:53:04 +00:00
Jordan K. Hubbard
53447cc7b9 One small tweak on the security profile code; don't be verbose if
setting up default values for an express/custom install.  It would
be confusing to see the informational popup completely out of context.
2000-09-24 06:44:00 +00:00
MIHIRA Sanpei Yoshiro
8436d169fe add ``xe'' driver
Approved by:	jkh
2000-09-22 23:48:27 +00:00
Jordan K. Hubbard
b9d13dac47 One whack at the idea of having "security profiles" which select the
appropriate(?) defaults for "low", "medium" and "high" security
environments.  Medium is basically what we currently have with a little
seat-belt tightening where it made sense.  Low is the same as medium but
without the tightening.  High is positively fascist with nothing turned
on by default and an automatic call to 911 if it can find a modem.
2000-09-22 19:12:41 +00:00
Bill Paul
73334a4329 Add a new driver for the AMD PCnet/FAST, FAST+ and Home PCI adapters.
Previously, these cards were supported by the lnc driver (and they
still are, but the pcn driver will claim them first), which is fine
except the lnc driver runs them in 16-bit LANCE compatibility mode.
The pcn driver runs these chips in 32-bit mode and uses the RX alignment
feature to achieve zero-copy receive. (Which puts it in the same
class as the xl, fxp and tl chipsets.) This driver is also MI, so it
will work on the x86 and alpha platforms. (The lnc driver is still
needed to support non-PCI cards. At some point, I'll need to newbusify
it so that it too will me MI.)

The Am79c978 HomePNA adapter is also supported.
2000-09-20 17:30:22 +00:00
Andrey A. Chernov
93ddf54615 Remove unneded -lmytinfo 2000-09-16 03:56:25 +00:00
Mike Smith
8e847be836 Teach sysinstall about 'aac'. 2000-09-13 06:15:53 +00:00
Jordan K. Hubbard
c0953990e0 MFS: sync with -stable by removing the now-vestigal X_AS_PKG stuff. 2000-09-07 16:05:52 +00:00
Sheldon Hearn
84b8727d48 Add ftp.no.freebsd.org.
PR:		21068
Submitted by:	Martin Eggen <martin@copyleft.no>
2000-09-06 13:16:58 +00:00
Jordan K. Hubbard
45b9c3d79c enable sshd by default. This only effects *new* installs, so
upgraders will not receive any unpleasant surprises.
2000-09-04 15:50:15 +00:00
John W. De Boskey
0d4ea86b6e Remove a stray backspace character.
Reviewed by:	Eivind Eklund <eivind@FreeBSD.org>
2000-08-27 18:49:12 +00:00
Ollivier Robert
5ef80cec38 Correct the naming. The default server is ftp.fr and #1 is the same.
Add back ftp6.
2000-08-22 14:28:16 +00:00
Ollivier Robert
dd79ef6e45 Reflect the name changes in fr.freebsd.org. 2000-08-22 13:07:59 +00:00
Jordan K. Hubbard
ca7b35bdbf Remove device type field - there are no block devices left. 2000-08-22 03:14:39 +00:00
Yoshihiro Takahashi
552112cadd - Added support for installing boot0 and boot0.5 for PC-98.
- Cosmetic changes.
2000-08-12 14:20:31 +00:00
Ollivier Robert
191a1c203e - add ftp6.fr.freebsd.org
- correct URL for ftp4 and ftp5.

Submitted by:	Benjamin Bayart <bayartb@guinness.domicile.fr> (for ftp6)
2000-08-08 14:36:24 +00:00
David E. O'Brien
47a1b949fb Add all the missing US keymaps. 2000-07-31 21:05:48 +00:00
Jordan K. Hubbard
99f9320ef7 Fix the HTTP transfer code to correctly parse the port number if
specified.

Submitted by:	pho
2000-07-30 22:18:53 +00:00
Eivind Eklund
8e4a14a9fa Change the defaults for portmap, sendmail and inetd to be not running them.
Make sysinstall override this on install, so the effective behavioural
change for a newly installed system is null.  Overall, this makes a system
with an empty /etc/rc.conf not run any network services, and makes the
FreeBSD-provided network services that are running visible in /etc/rc.conf
(instead of making people look through /etc/defaults/rc.conf to find the
things they need to disable to secure the system.)

Reviewed by:	jhb
Discussed with:	The usual cabal
2000-07-28 22:45:36 +00:00
John Baldwin
491a165843 Fix an annoying bogon in the form of a missing tab when generating CD-ROM
mount points in /etc/fstab.

Requested by:	obrien
2000-07-27 00:46:29 +00:00
John Baldwin
e8aeec4639 Bump an upper limit test so the xterm termcap selection actually works. 2000-07-26 02:51:47 +00:00
John Baldwin
ab21e668ee Use a much saner method of locating the release directory on an FTP server.
Now, if a release is specified, instead of just looking for a directory
with the same name as the release, try several possible directories (each
suffixed with the release name) relative to the base directory including
".", "releases/MACHINE", "snapshots/MACHINE", and each of those prefixed
with "pub/FreeBSD/".  This will allow us to remove the evil symlinks under
pub/FreeBSD/releases/MACHINE/ to the snapshots on the ftp site.
2000-07-25 23:22:16 +00:00
Jordan K. Hubbard
cf07fd263a Terminate, with extreme prejudice, the USAResident hack which
does bad things to /etc/make.conf in certain situations.  Also
soften the "don't install crypto from the USA!" messages since,
except for RSA (which is still noted), that's not so true anymore.
2000-07-24 18:00:16 +00:00
John Baldwin
484af50974 Oops, the moused disable option is now 6 instead of 4. Catch the menu text
up to this.

Submitted by:	Valeriy E. Ushakov <uwe@ptc.spbu.ru>
2000-07-23 03:45:18 +00:00
Jordan K. Hubbard
f038100c39 If ${BINDIR} is not present, create it before installing to it. 2000-07-21 21:32:13 +00:00
Jordan K. Hubbard
b0b1485813 Add a terminal entry for xterm; a lot of people are using xterms
in the serial-installation of FreeBSD.
2000-07-21 20:45:56 +00:00
John Baldwin
b993bfc211 Add in the second half of the Slovenian FTP mirror entry. 2000-07-21 18:52:19 +00:00
Jordan K. Hubbard
a606bbf4c8 Remove a menu item that looks funky.
No donut for:	obrien
2000-07-21 06:50:14 +00:00
Jordan K. Hubbard
085e4099e9 Add slovenian FTP server to site list.
Requested by:	Blaz Zupan <blaz@amis.net>
2000-07-21 06:03:22 +00:00
John Baldwin
380d03438d Fix this so it compiles by adding a missing quote. 2000-07-20 17:43:11 +00:00
John Baldwin
b31edf0c1b - Clarify some of the text in sysinstall in regards to the cryto bits.
- Note that we are up to about 3600 ports now rather than about 3000 ports.

Submitted by:	kris
2000-07-20 01:52:07 +00:00
David E. O'Brien
de5615c10a Add ftp.freebsd.org Snapshots to the list of servers. 2000-07-19 23:59:01 +00:00
David E. O'Brien
7090abf525 Allow the Fix-it functionality to detect that we are on a serial console,
and DTRT rather than start the fixit shell on a non-existant vty.

PR:	19837
Submitted by:	Doug Ambrisko <ambrisko@whistle.com>
Approved by:	JKH
2000-07-18 09:14:06 +00:00
John Baldwin
6581bd0370 Add ftp4.tw.FreeBSD.org.
Submitted by:	nik
2000-07-14 10:39:29 +00:00
Hajimu UMEMOTO
2931df8a40 IPv6 support.
IPv6 configuration is only done by rtsol.  Does someone really
need manual configuration? :-)
You can specify IPv6 DNS server as well.
We have only one server ftp7.jp.freebsd.org that speaks IPv6
in this time.  ftp7.jp speaks IPv4 as well and also listed as
Japan #7.

Approved by:	jkh
2000-07-14 08:33:10 +00:00
John Baldwin
fbf67537b4 Ugh. Back out local changes that crept in with my last commit. :( 2000-07-14 08:09:50 +00:00
John Baldwin
cac2be43a7 MFS: (yes, from -stable) Note that current.FreeBSD.org is a 5.0 snap server
now, and replace the releng3 3.0 snap entry with releng4.
2000-07-14 07:59:44 +00:00
John Baldwin
fcb7c05133 - Support MBR boot loaders that are larger than one sector size.
- Axe the 1024 cylinder checks as they are no longer relevant.
2000-07-12 18:08:27 +00:00
Jordan K. Hubbard
632116832b Replace phk's commit with code from my local tree which I happen
to like better (it's commented and easier to read).
2000-07-05 07:15:57 +00:00
Poul-Henning Kamp
c638a74daa Ignore all md disks, installing on them would be particularly pointless.
Its not fatal to find hardware we don't know.
2000-07-04 13:46:43 +00:00
Ollivier Robert
4f437f951e Add ftp4.fr.freebsd.org (aka altair.worldonline.fr) and ftp5.fr.freebsd.org
(aka ns1.bsdfr.org)

Strong MFC 4.1 candidate.
2000-07-02 14:25:26 +00:00
Mark Murray
3ec3f887b0 Tiny manual correction; add mention of Kerberos 5. 2000-06-25 10:48:40 +00:00
Yoshihiro Takahashi
a40915d750 - Remove obsolete PC-card boot.flp hack. It was for making both PC-card
boot.flp and plain boot.flp.
- Clean up crunchgen related routine.

- Add PC-98 support.
  TODO:
    o Documentation
    o Fix some messages for PC-98
    o Decrease the size of fixit.flp to 1.2MB
    o I18N (See: http://www.jp.FreeBSD.org/BootAsia/index.html)

No response from jkh
2000-06-05 13:17:23 +00:00
Jordan K. Hubbard
91bb0c05fe Update the australian NTP server entry.
Submitted by:	Peter Matthews <peter@netwise.com.au>
2000-05-31 21:40:50 +00:00
Mike Smith
07b1028579 Finish the /dev/rXXX removal job. With the libdisk fixes, this should
actually work again.
2000-05-31 00:57:48 +00:00
David E. O'Brien
13c6acf19d Add the 'Z' key to the slice editor. Hitting it toggles the units the
sizes are displayed in.

Ok'ed by:	murray
2000-05-26 00:38:20 +00:00
Mike Smith
6af0a0de78 Remove all of the block devices, correct major numbers to point to the
corresponding character devices.  This is (currently) untested, but
should be correct.
2000-05-25 02:48:15 +00:00
Mike Smith
f8883ef3e1 Teach sysinstall about 'twe' disks. Note that this is currently
untested, and with the current state of flux surrounding the death
of bdevs other things here may need to change.
2000-05-25 02:28:50 +00:00
David E. O'Brien
9ee6ec34ef Add an option to select the Fix-it tty. The current behavior is utterly
*useless* on serial consoled machines.
2000-05-16 22:05:32 +00:00
John Baldwin
9f8b8491c9 Add support for USB to sysinstall. This includes running usbd and
setting 'usbd_enable' in rc.conf during nwe installs if USB is detected.
Also, since usbd already handles USB mice automatically, note that the
mouse setup section in sysinstall only applies to non-USB mice.
2000-05-12 03:01:17 +00:00
Murray Stokely
471d7061ad PR: 17559
Approved by:	jkh

  You can't enable 'emulate 3 button' option for moused in sysinstall.
This adds a menu option to set moused_flags and the help text explains
that entering "-3" will enable this feature.
2000-04-08 03:04:32 +00:00
Bill Fumerola
26b0377cc1 Refresh the aout ldconfig info so things like compat22 when installed can
be detected by netscape and such.

PR:		bin/17659
Submitted by:	Murray Stokelay <murray@cdrom.com>
Approved by:	jkh

jkh made updates that conflict with the submitters patch, so I updated
accordingly, any mistakes are mine, not the submitters.
2000-03-31 01:03:41 +00:00
Jordan K. Hubbard
260efb1efd Search for the proper hints file in an ELF world. 2000-03-30 08:18:19 +00:00
John Baldwin
d3d93ffd5f Add #includes for sysctlbyname() to quiet a warning. 2000-03-25 04:23:08 +00:00
John Baldwin
76b501da94 Update sysinstall to use struct uc_device instead of struct isa_device
for generating /boot/kernel.conf.  Since this structure is shared, move
its definition out to a header file, just as struct isa_device was defined
in a header file.  This fixes the sysinstall breakage in -current.
2000-03-24 22:24:09 +00:00
Jordan K. Hubbard
1d34c9e917 Sigh, it would have been nice but I just can't make the rsaref
hack work until we figure out some better way of handling package
interaction.
2000-03-18 20:14:58 +00:00
Jordan K. Hubbard
54dd58b383 We still need a hack for rsaref package; add it. This doesn't
affect CDs since they don't contain the rsaref package anyway.
2000-03-18 08:46:23 +00:00
Jordan K. Hubbard
cce91055e5 Make the "can't find an rsafoo package" messages more informative. 2000-03-18 07:20:50 +00:00
Chris Piazza
16a92d4304 Update the australian ntp server, the old one is no longer
available.

PR:		17448
Submitted by:	Chris Knight <chris@aims.com.au>
2000-03-18 02:53:41 +00:00
Jordan K. Hubbard
c87413f73b Remove PkgInteractive hack - it won't work like this. 2000-03-12 03:57:26 +00:00
Jordan K. Hubbard
e03f42bcc6 Do the right thing with USA_RESIDENT 2000-03-10 20:34:22 +00:00
Jordan K. Hubbard
dad50e2ed3 s/chose/choose/ in all the relevant places.
Noticed by:	John Reynolds <jjreynold@home.com>
2000-03-10 19:53:53 +00:00
Jonathan Lemon
f593bed1b5 Add Compaq Arrays 2000-03-08 18:14:19 +00:00
Jordan K. Hubbard
976e0e0dd0 Whoops - really make the "fix" I did to the dmenuToggleVariable logic
work.
2000-03-08 14:20:26 +00:00
Jordan K. Hubbard
c2e8faa8e0 Add entries for slovenian keymap and new euro fonts.
Submitted by:	Blaz Zupan <blaz@amis.net>
2000-03-07 16:45:36 +00:00
Jordan K. Hubbard
8b80a8837b Really fix the USA_RESIDENT botch.
Submitted by:	Dmitry Valdov <dv@dv.ru>
2000-03-03 20:33:21 +00:00
Jordan K. Hubbard
7140b4def8 o Add support for loading the rsaref or rsaintl packages, depending
on locale.

o Allow use of "G" in label editor to stand for gigabytes. This
  is actually an unrelated patch which I meant to commit separately
  but what the heck, it's late.

Partially submitted by:	phk
2000-02-29 10:40:59 +00:00
Jordan K. Hubbard
88007fd897 Revise this for the brave new world of "crypto"
Submitted by:	markm
Approved by:	me!
2000-02-29 09:09:36 +00:00
Jordan K. Hubbard
0106f6ef58 Make all menu items more consistent and deal with a few remaining
bogus accelerators.

Based largely on feedback from:	Basit Syed <syed@pinenut.nosc.mil>
2000-02-26 12:33:49 +00:00
Jordan K. Hubbard
a90fc31d36 Toggle variables between YES and NO values, don't just set them to YES
or unset them.  That makes it impossible to turn something off.
2000-02-26 12:07:40 +00:00
Jordan K. Hubbard
2150746365 Clean up some of the abstraction in this code. 2000-02-26 11:57:22 +00:00
Jordan K. Hubbard
2d15624bd4 Add knobs for sendmail and sshd 2000-02-25 23:02:48 +00:00
Jordan K. Hubbard
ccd140ac08 Make sysinstall use the new debug.boothowto OID. It will now go
straight into debug mode if you boot -v.  Also conditionalize some
annoying debugging output now that we have this ability.

Partially submitted by:	msmith
Approved by:	jkh [to make certain wise-acres happy ;)]
2000-02-25 20:55:15 +00:00
Jordan K. Hubbard
b9452ccfa1 Do USA_RESIDENT properly. 2000-02-24 08:28:06 +00:00
Jordan K. Hubbard
218e70aa03 Fix the fvwm desktop option (for all 3 of us who use it). 2000-02-20 10:01:33 +00:00
Jordan K. Hubbard
da8a39382b If user says they're in the USA, record that fact in /etc/make.conf 2000-02-19 23:22:22 +00:00
Jordan K. Hubbard
b3df60582c no need to fix moused setting here; fix in defaults 2000-02-19 13:05:14 +00:00
Jordan K. Hubbard
241d4c9361 Whoops, forgot to delete the ! operator in the reversed conditional
for anonftp.  Fix.
2000-02-19 12:42:03 +00:00
Jordan K. Hubbard
306b268114 Invert the meaning of two questions in the Standard installation so just
whapping "Yes" by default does not turn you into an anonymous FTP-supporting
gateway machine.  Those aren't the right "defaults."
2000-02-18 18:33:15 +00:00
Jordan K. Hubbard
be4a40d0eb Don't call it a Novice install, call it Standard.
Also say thousands of packages, not hundreds.
2000-02-18 07:09:45 +00:00
Jordan K. Hubbard
d294a07a7f Various cosmetic fixes, stop saying "DES" when we really mean "crypto",
go for more sensible defaults in a couple of menus.
2000-02-17 06:15:11 +00:00
Kazutaka YOKOTA
1e6c9556ad Change the text in the mouse protocol menu to indicate that protocols
for serial mice won't work with the PS/2 and bus mice.  No functional
change.

Approved by: jkh
2000-02-15 08:51:34 +00:00
Jordan K. Hubbard
3d142f49de Check the right variable to see if router is enabled. 2000-02-12 03:02:52 +00:00
Jordan K. Hubbard
be3fc091e5 Allow X_AS_PKG option to be more selectable. 2000-02-11 09:12:17 +00:00
Jordan K. Hubbard
5ca7f45737 Include CDs in the list of things to remove before rebooting. 2000-02-11 06:55:12 +00:00
Jordan K. Hubbard
af8d6b67c0 Add src menu item for /usr/src/tools 2000-02-09 05:31:26 +00:00
Jordan K. Hubbard
c798682445 o Fix http proxy code for various extentions and deal with FTP archive
format changes.

o Make anonymous ftp setup more analy retentive.

PR:		16070
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
2000-01-25 05:56:49 +00:00