Commit Graph

92 Commits

Author SHA1 Message Date
Jordan K. Hubbard
7bd659ebaf Only do dhclient once; it has its own internal retry which is more than
long enough (and doing it multiple times results in a dialog which waits
AGES to complete).
1999-09-06 15:06:17 +00:00
Jordan K. Hubbard
3910e95363 Oh crud, did I ever screw the pooch! Rather than sync this with -stable,
I backed-out the changes in -current and didn't touch stable at all (I
thought I had my patch order reversed, not what actually happened).
AIEEE!  I can't even blame the crack for this one since I broke my
crack pipe a few weeks ago.  I think sleep deprivation gets the blame
for this one.

Medal for noticing this one goes to:	Jim Bloom <bloom@acm.org>
1999-09-02 00:51:16 +00:00
Jordan K. Hubbard
d03dcaa779 MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,
bringing in DHCP support.  The only thing I left out were Poul-Henning's
newfs changes since I'm not sure if he's brought the rest of that support
into -stable yet.  If it turns out that this is the case, I'll MFC those
changes too.
1999-09-01 04:29:30 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Jordan K. Hubbard
a57fdae0a0 Quiet some overly chatty debug output, do some minor cleanups to
the DHCP support code.
1999-08-21 07:13:20 +00:00
Jordan K. Hubbard
58e59935e6 Re-enable play-nice-with-DHCP option now that bpf is the default
in GENERIC.  Now a dhcp-configured system will both install and boot
initially with proper interface configuration.
1999-08-07 01:43:39 +00:00
Jordan K. Hubbard
5bc001833f Intentionally do the wrong thing in using the initial DHCP values for
ifconfig, essentially stealing the lease until the user goes and changes
it.  The alternative, sadly, is total dysfunction since bpf isn't in
GENERIC and network connectivity would otherwise fail completely on first
bootup when DHCP configuration was attempted again.

The ultimate answer here is to make either bpf a loadable kernel module
(which security conscious admins will be able to simply remove from /modules)
or come up with a lighter weight mechanism just for dhcp and other apps that
need to see broadcast packets but not otherwise sniff the wire in full
bpf glory.
1999-07-22 08:51:42 +00:00
Jordan K. Hubbard
0d7065f9ce Wait for dhclient in a far saner fashion.
Submitted by:	obrien
1999-07-19 11:00:56 +00:00
Jordan K. Hubbard
56278e0f8d cleanup pass over new stuff. 1999-07-19 10:18:52 +00:00
Jordan K. Hubbard
ad183257e6 Another batch of fixes for dhcp support in sysinstall, now dragging
in some code from C. Stone to parse the lease information.  This is still
a WIP and this commit is largely intended to allow others to sync up; the
dhclient code still only works when doing dhcp configuration post-install
and requires a bit more work on the boot floppy before it will truly
work in the minimal bootstrapping role.
1999-07-19 10:06:18 +00:00
Jordan K. Hubbard
43d5ccb239 Some additional optimizations for using DHCP. 1999-07-18 10:18:06 +00:00
Jordan K. Hubbard
bb1bff6dec Miscellaneous fixes for dhcp client support. 1999-07-18 02:20:56 +00:00
Jordan K. Hubbard
605c88e44b Re-enable DHCP client support again (but optional and turned off by default
for the time being) for debugging purposes.

Fix bug in options selection.
1999-07-16 11:13:09 +00:00
Jordan K. Hubbard
8a8beee081 Erm, correct mighty braino in previous "don't annoy me" change. 1999-05-07 11:45:26 +00:00
Jordan K. Hubbard
973a1b96b5 Commit a more general version of the last patch; don't do any back-filling
of values more than once.  User might want to override them.
1999-05-07 05:15:17 +00:00
Jordan K. Hubbard
44070deaa0 Argh, those last two commits snuck in with the other one by mistake.
Disable the non-working dhcp client code I just committed by mistake.
1999-05-06 11:05:19 +00:00
Jordan K. Hubbard
734ec189d0 Fix includes; I had a slightly different Makefile than everyone else
which is why I didn't see this. :)

Noted by:	Maxim Sobolev <sobomax@altavista.net>
1999-05-06 11:03:21 +00:00
Jordan K. Hubbard
63cad5499d Totally change the way variables are accounted for in sysinstall.
Now we know which variables are internal and which need to be
backed to /etc/rc.conf.site.  rc.conf is not touched now.

Also kget kernel change information back properly and set up a loader.rc
file to use it.
1999-02-05 22:15:52 +00:00
Jordan K. Hubbard
18c434c8f2 o Break fixups into binary fixups and XFree86 based fixups.
o Move fixups into extraction routine so all consumers don't have to duplicate
  the right behavior.
o Make some things more orthogonal (just for asthetics sake)
o Add option to go back and do it again if XF86Setup fails (possibly with
  a different setup - this one has always annoyed me).
1998-11-15 09:06:20 +00:00
Jordan K. Hubbard
87757a15d3 Accept gateway value of NO 1998-08-31 09:02:03 +00:00
Paul Traina
69ac164732 Put all variables in VAR_ #define's to force a single location for all
of these magic knobs.  This is purely cosmetic and a documentation issue
so we don't have to glop through the source code looking for gems.
1997-09-17 16:18:22 +00:00
Jordan K. Hubbard
4a50ae9ab3 Add a new netInteractive variable so that the interactiveness of the TCP
setup dialog from scripts is more controllable.  No more biasing off of
hostname (which is now non-optional in the non-netInteractive case).
Requested by:	pst
1997-09-17 13:33:14 +00:00
Jordan K. Hubbard
321a8d519a Make upgrade potentially a little less interactive.
Add and document new loadConfig function (sort of like a script #include).
Make TCP/IP setup far less chatty when it doesn't need to be.
1997-09-08 11:09:11 +00:00
Jordan K. Hubbard
2233edf577 1. Add a noWarn flag so that scripts can turn warnings off.
2. If hostname not set from script, bring up interactive dialog anyway.
1997-06-18 05:11:37 +00:00
Jordan K. Hubbard
457984b7f1 YAMF22 1997-06-12 09:01:38 +00:00
Jordan K. Hubbard
50bd8586a0 YAMF22 1997-06-12 07:35:40 +00:00
Jordan K. Hubbard
d67262d269 1. Make it possible to set up all the TCP/IP values from a script.
2. Update to XFree86 3.3
1997-06-09 01:19:44 +00:00
Jordan K. Hubbard
7c8f98f5b7 Add a registration screen so we can finally start counting our little user
puppies.
1997-03-09 22:25:49 +00:00
Peter Wemm
b97fa2ef50 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
Jordan K. Hubbard
a5ff41a0e2 Properly check status of menu return. 1997-02-17 22:08:19 +00:00
Jordan K. Hubbard
70f8c15560 Finally DTRT with tcpOpenDialog(); it should have never diddled
mediaDevice directly.
1997-02-17 13:29:47 +00:00
Jordan K. Hubbard
c5566bcff7 o Try to be more aggressive about reading in old configuration data
so that we're more useful in multi-user mode.  This is still not
  100%, but it pulls in a lot more than it used to.  Some of the "composite"
  variables in /etc/sysconfig are going to take more work.

o Always write /etc/resolv.conf and /etc/hosts if it makes sense to do
  so.

o Reset media properly when reselecting.  Longstanding bogon.

o Pull SIGPIPE handling out of package.c; I'm actually hoping to handle
  this differently shortly.

o Fix bug where cancel in TCP setup dialog still checked data fields.
  I think this closes a PR, but I will have to go look.
1997-02-14 20:59:07 +00:00
Jordan K. Hubbard
d2595c8454 Don't unilaterally decide to skip network configuration if running multi-user;
ask politely.
1997-02-11 02:33:33 +00:00
Jordan K. Hubbard
3b9b7e6177 Now that I know which parts of the installation really need it (since
there's no menu display bug to work around now), be far more selective
in my use of DITEM_RECREATE (which is slow and involves much screen I/O).
1997-01-17 08:47:13 +00:00
Jordan K. Hubbard
69bab6f567 Use a better dialog for flagging field validation errors.
Pointed-Out-By: msmith
1997-01-16 09:45:35 +00:00
Jordan K. Hubbard
d42e16a0d6 Keep our serial ports distinct so that first device is not found for
all (closes PR#2296).
Print better FTP failure diagnostics
Do better media failure checking in install.
1997-01-15 16:21:10 +00:00
Jordan K. Hubbard
9e5c9c0856 Set defaults more rationally through the item selection loop. 1997-01-15 03:24:44 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
e5b09b7d10 Do something I've wanted to do for quite some time - collapse all the
common layout code into some work functions and make all the layout-using
routine adopt them.  Also reorganize includes and generally clean up.
1997-01-03 06:32:39 +00:00
Jordan K. Hubbard
507372af02 Now that I've got my source tree sorted out, bring all the things
I've been committing into 2.2 directly all this time.
1996-12-14 23:09:10 +00:00
Jordan K. Hubbard
177baf1802 Fix trunctation of domainname. 1996-12-12 22:44:22 +00:00
Jordan K. Hubbard
00b69db338 As Paul has just pointed out, much of my strncpy() usage was either
bogus or overly complex and really needed to be done more consistently
and sanely throughout - no question about it.  Done.

Suggested-By: Paul Traina <pst@Shockwave.COM>
1996-12-09 08:22:19 +00:00
Jordan K. Hubbard
5153026dfc Eliminate great evil in the networking code. That's all I'm gonna say. 1996-12-09 06:37:46 +00:00
Jordan K. Hubbard
663b45cb90 Joerg's changes to add screen font and screenmap setting.
Some changes of my own to make screen saver configuration a little
more sane, and also make it easier to get to the keyboard/screen
setup from the options menu.
1996-11-07 08:03:29 +00:00
Jordan K. Hubbard
f5e8e60f1f Make the save_userconfig() stuff conditional and turned off by default
(for now - still a few more wrinkles here).  Add more debugging code
and some cosmetic tweaks.
1996-10-05 16:33:05 +00:00
Jordan K. Hubbard
3a781673de Correct check for ensuring that the network configuration isn't fiddled with
when running multi-user.
1996-10-05 12:16:49 +00:00
Jordan K. Hubbard
dc8b2dd7d1 Simplify some dialogs on the basis of my changes to ui_objects.c in libdialog.
Also update copyright notices.
1996-09-01 08:17:14 +00:00
Jordan K. Hubbard
96a9d7fb41 Try to make screen update more efficient (less flickering) by more
judicious use of dialog_clear_norefresh().
1996-08-03 10:11:56 +00:00
Jordan K. Hubbard
de4342fa44 Fix even more lurking bogons - why do I never find these until the last
possible minute? :-)
1996-07-08 10:08:22 +00:00
Jordan K. Hubbard
3b307053cb Make it plainer how to exit. 1996-07-02 01:03:55 +00:00