Commit Graph

1159 Commits

Author SHA1 Message Date
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
38d3498390 Make the doc menu work again by checking the right variables. 2000-02-20 23:50:01 +00:00
Jordan K. Hubbard
f53cb8a8cc Now I remember why I didn't write out the gateway in the DHCP case;
it was a feature.
2000-02-20 21:58:10 +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
77854e2013 add missing newline to previous cosmetic fixes. 2000-02-18 03:02:32 +00:00
Daniel C. Sobral
2bfaac9755 If no distribution file is found, abort the installation. Previous
behavior silently ignored the problem. This affects installations
from a filesystem, and possible other types of media.

Approved by:	jkh
2000-02-17 17:59:41 +00:00
Daniel C. Sobral
8f7cefb3be If the installation media disappears in the process of installing
a distribution, recognize it and treat as fatal media error. This
happens in the case of a timeout on FTP installations where the
user chooses not to select another FTP site, and resulted in
segmentation fault.

Approved by:	jkh
2000-02-17 17:57:40 +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
Jordan K. Hubbard
7b5629bcec s/wd/ad/ - new ATA code 2000-02-17 04:40:11 +00:00
Jordan K. Hubbard
46fed58ae1 Include /usr/libexec in the list of upgrade targets by chflags'ing it first. 2000-02-15 18:13:56 +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
f3026a61ef Increase the size of the various index variables; there was
some overflow occurring.
Submitted by:	steve
2000-02-13 21:11:28 +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
1344c9bdf6 MFC: new categories 2000-02-10 01:44:37 +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
64d608cd93 Support the extraction of /usr/src/tools
Submitted by:	"John W. DeBoskey" <jwd@unx.sas.com>
2000-02-09 05:28:50 +00:00
Jordan K. Hubbard
e47ca39431 Always set dist_attr to NULL.
Submitted by:   "John W. DeBoskey" <jwd@unx.sas.com>
2000-02-08 04:07:00 +00:00
Jeroen Ruigrok van der Werven
fe7be1e454 Update the CDROM section to reflect our current support.
Applied modified patch, since ATA/ATAPI is the keyword nowadays.

PR:		16507
Submitted by:	Dan Papasian <bugg@bugg.strangled.net>

No need for an OK since we can exercise our divine rights as docpersons
according to:	jkh
2000-02-06 10:32:17 +00:00
Jordan K. Hubbard
846a006bb2 OK, I admit defeat - allow the user to override hostname and gateway
values set by dhcp.
2000-01-28 02:15:07 +00:00
Jordan K. Hubbard
81d1d8979b Argh, this is what I get for testing, making one last "harmless cosmetic
tweak" and then committing.  /me got what he deserved, an embarassing build
failure.
2000-01-25 19:16:31 +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
David E. O'Brien
2af3c5f687 * add SVR4 and OSF/1 enabling in the Start Up config menu
* deals with X11 install when all we have is the Port (such as on the Alpha)

Ok'ed by:	JKH
2000-01-18 15:50:23 +00:00
Tatsumi Hosokawa
f95270bacb Added sn driver to network interface menu. 2000-01-15 20:30:22 +00:00
Tatsumi Hosokawa
16425993ca Set pccard_ifconfig in /etc/rc.conf automatically. 2000-01-14 19:05:55 +00:00
Tatsumi Hosokawa
606585d088 Enable pccardd when the system is installed with PC-card support. 2000-01-14 17:18:42 +00:00
Bill Paul
0177987224 Add device driver support for USB ethernet adapters based on the CATC
USB-EL1202A chipset. Between this and the other two drivers, we should
have support for pretty much every USB ethernet adapter on the market.
The only other USB chip that I know of is the SMC USB97C196, and right
now I don't know of any adapters that use it (including the ones made
by SMC :/ ).

Note that the CATC chip supports a nifty feature: read and write combining.
This allows multiple ethernet packets to be transfered in a single USB
bulk in/out transaction. However I'm again having trouble with large
bulk in transfers like I did with the ADMtek chip, which leads me to
believe that our USB stack needs some work before we can really make
use of this feature. When/if things improve, I intend to revisit the
aue and cue drivers. For now, I've lost enough sanity points.
2000-01-14 03:14:49 +00:00
Tatsumi Hosokawa
cb4ec7028b Eliminate PC-card installation floppy and add PC-card support for
generic installation floppy.
2000-01-14 02:17:57 +00:00
Jordan K. Hubbard
5025e9d4ec Upgrade to XFree86 3.3.6 2000-01-11 03:59:14 +00:00
David E. O'Brien
eaeb09bdc4 Move Fdisk ahead of Lable.
Ok'ed by:	JKH
2000-01-09 16:58:52 +00:00
Bill Paul
dfd1e98eac Add device driver support for USB ethernet adapters based on the
Kawasaki LSI KL5KUSB101B chip, including the LinkSys USB10T, the
Entrega NET-USB-E45, the Peracom USB Ethernet Adapter, the 3Com
3c19250 and the ADS Technologies USB-10BT. This device is 10mbs
half-duplex only, so there's miibus or ifmedia support. This device
also requires firmware to be loaded into it, however KLSI allows
redistribution of the firmware images (I specifically asked about
this; they said it was ok).

Special thanks to Annelise Anderson for getting me in touch with
KLSI (eventually) and thanks to KLSI for providing the necessary
programming info.

Highlights:
- Add driver files to /sys/dev/usb
- update usbdevs and regenerate attendate files
- update usb_quirks.c
- Update HARDWARE.TXT and RELNOTES.TXT for i386 and alpha
- Update LINT, GENERIC and others for i386, alpha and pc98
- Add man page
- Add module
- Update sysinstall and userconfig.c
2000-01-05 04:27:24 +00:00
Jordan K. Hubbard
88cddac9db Remove references to now-obsolete XFree86 source collection (use the
port, it's far better).
2000-01-04 05:06:22 +00:00
Jordan K. Hubbard
45d6a801a4 Add new code for HTTP proxy support.
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
PR:		11316
2000-01-04 04:50:59 +00:00
Jordan K. Hubbard
98bfd247d1 Add support for FTP installation via HTTP proxies.
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
PR:		11316
2000-01-04 04:50:07 +00:00
Jordan K. Hubbard
09767b7ec4 Ignore SIGPIPE by default.
Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
PR:		13900
2000-01-04 04:31:29 +00:00
Jordan K. Hubbard
92a8937368 Only print "couldn't install distributions" popup if any
actual distributions were found to go along with the residual
mask value.
1999-12-29 01:49:11 +00:00
Bill Paul
ed63a7aaef 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
Daniel C. Sobral
48d9eeb33a configSamba is gone, and is not coming back. 1999-12-23 10:16:46 +00:00
Jordan K. Hubbard
3446977f16 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
Daniel C. Sobral
92dd206086 configApache does not exist anymore.
PR:		9582
Submitted by:	Stephan Lagerholm <istephan@unilog.se>
1999-12-20 19:22:57 +00:00
Jordan K. Hubbard
126e9198eb Whoops, this function is supposed to return a boolean status, not
flags.
1999-12-20 00:16:10 +00:00
Jordan K. Hubbard
74ffe8004b 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
Jordan K. Hubbard
a281594c29 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
Jordan K. Hubbard
968b30ead8 D'oh! Inserted a clear() in a *very* wrong place with my last commit. 1999-12-19 20:41:06 +00:00
Jordan K. Hubbard
e23b011f50 Bah, I got the MFC and this commit backwards. :) 1999-12-19 19:42:02 +00:00
Jordan K. Hubbard
87df92bf9b MFC: can't stop tweaking this compulsively. 1999-12-19 07:02:46 +00:00
Jordan K. Hubbard
793171c689 cosmetics missed in last commit. 1999-12-19 06:50:44 +00:00
Jordan K. Hubbard
8e23f29e15 More cosmetic surgery and a nasty null pointer bug in index.c fixed. 1999-12-19 06:34:22 +00:00
Jordan K. Hubbard
f927f0e653 Be paranoid about refreshing after an action. 1999-12-19 04:06:46 +00:00
Jordan K. Hubbard
a322c54678 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
Jordan K. Hubbard
a4415a1c07 Add more strategic screen clears 1999-12-18 02:29:24 +00:00
Jordan K. Hubbard
8932007887 Better screen handling in X desktop setup.
Don't get cute with nested dialogs now.
1999-12-18 02:04:02 +00:00
Jordan K. Hubbard
3b7657d80d Add another strategic screen clear. 1999-12-17 03:00:28 +00:00
Jordan K. Hubbard
61547e027b 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
Jordan K. Hubbard
8668fad364 Bump default root size to 50MB on i386 (70MB on Alpha).
Requested incessantly by:	billf
1999-12-17 02:02:51 +00:00
Jordan K. Hubbard
149c5b331b Properly disable COMPAT_3X for alpha. 1999-12-15 18:55:27 +00:00
Jordan K. Hubbard
bf74f9c166 Put up some more helpful dialog boxes.
Adjust some text to make more sense.
1999-12-15 01:30:52 +00:00
Jordan K. Hubbard
7025aeb16e 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
Jordan K. Hubbard
883db2a0de Make kerberos4 conditional. 1999-12-14 00:47:23 +00:00
Jordan K. Hubbard
241109ce4f Conditionalize kerberos4 to keep sources in sync. 1999-12-14 00:44:05 +00:00
Jordan K. Hubbard
404f4d4100 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
Poul-Henning Kamp
2029959351 Remove references to ze and zp drivers. 1999-12-10 10:55:27 +00:00
Søren Schmidt
f49e572bbe Remove sysinstall knowledge of the wd based devices.. 1999-12-08 09:51:00 +00:00
Bill Paul
96f2e892a7 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
Jordan K. Hubbard
50fbef8c45 Allow 2 more characters for Mike's long device names. 1999-12-02 02:55:57 +00:00
Jordan K. Hubbard
fb08130c0d We need COMPAT3X for both i386 and alpha, not just i386. 1999-12-02 01:54:15 +00:00
Jordan K. Hubbard
08c667112d 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
Mike Smith
c56a2e807a 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
Ollivier Robert
f55c07ab93 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
Poul-Henning Kamp
4a59084cee Remove BAD144 support. 1999-11-27 14:33:07 +00:00
Jordan K. Hubbard
2925899ae9 minor bugfix to loader.conf code. 1999-11-25 17:56:00 +00:00
Jordan K. Hubbard
46849eed91 Clean up the loader.conf write-out code. 1999-11-24 09:45:36 +00:00
Jordan K. Hubbard
2daa303614 Update for new doc paths.
Submitted by:	Martin Kammerhofer <mkamm@gmx.net>
PR:		15020
1999-11-21 22:04:13 +00:00
David E. O'Brien
f06f71af59 Don't ask about SCO/IBSC2 binary support on the Alpha. 1999-11-18 03:03:01 +00:00
Søren Schmidt
0b7a9a135d Add devices from the ATA driver (ad, acd, afd, ast). 1999-11-09 19:10:15 +00:00
Jordan K. Hubbard
bc9c6dbbd6 Add the latest categories. 1999-11-08 16:23:34 +00:00
Jordan K. Hubbard
29527eb44c Defensive coding to prevent a potential segfault.
PR:		14706
Submitted by:	ru
1999-11-08 16:19:25 +00:00
Jordan K. Hubbard
bc775f8b25 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
Jordan K. Hubbard
bbf0b709cd Make sure modes on new skeleton files are correct. 1999-11-05 11:04:30 +00:00
Jordan K. Hubbard
0ec4416c55 Really fix the auto keyword botch correctly by just letting it
do its job and not override it when set.

Submitted by:		Ruslan Ermilov <ru@FreeBSD.org>
1999-10-05 10:10:42 +00:00
Peter Wemm
233036aac1 Use sigemptyset rather than sa_mask = 0.
Submitted by:	"John W. DeBoskey" <jwd@unx.sas.com>
1999-09-30 19:55:00 +00:00
Jordan K. Hubbard
56373d38a8 Sigh, too many late nights! 1999-09-30 08:32:35 +00:00
Jordan K. Hubbard
222e52ceae Oh bollocks, I really screwed up the "auto" check here. Time
to crack the K&R; I must have forgotten the C language. :)

Embarrassingly noticed by:	Howard Gutch <logix@foobar.franken.de>
1999-09-27 21:48:28 +00:00
Bill Paul
1088f6c7c1 Spruce up the ADMtek driver: conver to newbus, miibus and add support
for the AN985 "Centaur" chip, which is apparently the next genetation
of the "Comet." The AN985 is also a tulip clone and is similar to the
AL981 except that it uses a 99C66 EEPROM and a serial MII interface
(instead of direct access to the PHY registers).

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

I don't think there are any cards that use this chip on the market yet:
the datasheet I got from ADMtek has boxes with big X's in them where the
diagrams should be, and the sample boards I got have chips without any
artwork on them.
1999-09-22 05:07:51 +00:00
Mark Murray
df3819c1b4 Prepare for K5. 1999-09-19 22:30:39 +00:00
Jordan K. Hubbard
6dc5df3d74 execute a strategic clear. 1999-09-19 08:24:32 +00:00
Jordan K. Hubbard
04270f9e70 Deal with new "auto" setting for network_interfaces. 1999-09-19 07:46:55 +00:00
Jordan K. Hubbard
eeeeec707a MF3: various small tweaks. 1999-09-17 09:32:22 +00:00
Jordan K. Hubbard
b1da34ca31 If enlightenment is present, gnome-session starts it automagically. 1999-09-15 02:52:56 +00:00