summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/tcpip.c
Commit message (Collapse)AuthorAgeFilesLines
* Oh crud, did I ever screw the pooch! Rather than sync this with -stable,jkh1999-09-021-29/+109
| | | | | | | | | | 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>
* MFC: Catch 3.2-stable sysinstall up to 4.0-current level functionality,jkh1999-09-011-109/+29
| | | | | | | 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.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Quiet some overly chatty debug output, do some minor cleanups tojkh1999-08-211-13/+12
| | | | the DHCP support code.
* Re-enable play-nice-with-DHCP option now that bpf is the defaultjkh1999-08-071-3/+1
| | | | | in GENERIC. Now a dhcp-configured system will both install and boot initially with proper interface configuration.
* Intentionally do the wrong thing in using the initial DHCP values forjkh1999-07-221-1/+3
| | | | | | | | | | | | | 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.
* Wait for dhclient in a far saner fashion.jkh1999-07-191-4/+9
| | | | Submitted by: obrien
* cleanup pass over new stuff.jkh1999-07-191-14/+5
|
* Another batch of fixes for dhcp support in sysinstall, now draggingjkh1999-07-191-63/+79
| | | | | | | | 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.
* Some additional optimizations for using DHCP.jkh1999-07-181-5/+9
|
* Miscellaneous fixes for dhcp client support.jkh1999-07-181-2/+3
|
* Re-enable DHCP client support again (but optional and turned off by defaultjkh1999-07-161-12/+59
| | | | | | for the time being) for debugging purposes. Fix bug in options selection.
* Erm, correct mighty braino in previous "don't annoy me" change.jkh1999-05-071-7/+10
|
* Commit a more general version of the last patch; don't do any back-fillingjkh1999-05-071-18/+21
| | | | of values more than once. User might want to override them.
* Argh, those last two commits snuck in with the other one by mistake.jkh1999-05-061-1/+3
| | | | Disable the non-working dhcp client code I just committed by mistake.
* Fix includes; I had a slightly different Makefile than everyone elsejkh1999-05-061-1/+16
| | | | | | which is why I didn't see this. :) Noted by: Maxim Sobolev <sobomax@altavista.net>
* Totally change the way variables are accounted for in sysinstall.jkh1999-02-051-9/+9
| | | | | | | | 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.
* o Break fixups into binary fixups and XFree86 based fixups.jkh1998-11-151-2/+2
| | | | | | | | 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).
* Accept gateway value of NOjkh1998-08-311-2/+2
|
* Put all variables in VAR_ #define's to force a single location for allpst1997-09-171-2/+3
| | | | | 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.
* Add a new netInteractive variable so that the interactiveness of the TCPjkh1997-09-171-3/+9
| | | | | | 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
* Make upgrade potentially a little less interactive.jkh1997-09-081-7/+9
| | | | | 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.
* 1. Add a noWarn flag so that scripts can turn warnings off.jkh1997-06-181-2/+2
| | | | 2. If hostname not set from script, bring up interactive dialog anyway.
* YAMF22jkh1997-06-121-2/+2
|
* YAMF22jkh1997-06-121-2/+2
|
* 1. Make it possible to set up all the TCP/IP values from a script.jkh1997-06-091-30/+41
| | | | 2. Update to XFree86 3.3
* Add a registration screen so we can finally start counting our little userjkh1997-03-091-1/+3
| | | | puppies.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Properly check status of menu return.jkh1997-02-171-1/+6
|
* Finally DTRT with tcpOpenDialog(); it should have never diddledjkh1997-02-171-11/+17
| | | | mediaDevice directly.
* o Try to be more aggressive about reading in old configuration datajkh1997-02-141-1/+1
| | | | | | | | | | | | | | | | | 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.
* Don't unilaterally decide to skip network configuration if running multi-user;jkh1997-02-111-3/+2
| | | | ask politely.
* Now that I know which parts of the installation really need it (sincejkh1997-01-171-1/+1
| | | | | 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).
* Use a better dialog for flagging field validation errors.jkh1997-01-161-1/+1
| | | | Pointed-Out-By: msmith
* Keep our serial ports distinct so that first device is not found forjkh1997-01-151-1/+1
| | | | | | all (closes PR#2296). Print better FTP failure diagnostics Do better media failure checking in install.
* Set defaults more rationally through the item selection loop.jkh1997-01-151-19/+13
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Do something I've wanted to do for quite some time - collapse all thejkh1997-01-031-167/+44
| | | | | common layout code into some work functions and make all the layout-using routine adopt them. Also reorganize includes and generally clean up.
* Now that I've got my source tree sorted out, bring all the thingsjkh1996-12-141-11/+11
| | | | I've been committing into 2.2 directly all this time.
* Fix trunctation of domainname.jkh1996-12-121-2/+2
|
* As Paul has just pointed out, much of my strncpy() usage was eitherjkh1996-12-091-21/+19
| | | | | | | 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>
* Eliminate great evil in the networking code. That's all I'm gonna say.jkh1996-12-091-56/+1
|
* Joerg's changes to add screen font and screenmap setting.jkh1996-11-071-2/+2
| | | | | | 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.
* Make the save_userconfig() stuff conditional and turned off by defaultjkh1996-10-051-3/+2
| | | | | (for now - still a few more wrinkles here). Add more debugging code and some cosmetic tweaks.
* Correct check for ensuring that the network configuration isn't fiddled withjkh1996-10-051-9/+9
| | | | when running multi-user.
* Simplify some dialogs on the basis of my changes to ui_objects.c in libdialog.jkh1996-09-011-34/+11
| | | | Also update copyright notices.
* Try to make screen update more efficient (less flickering) by morejkh1996-08-031-4/+3
| | | | judicious use of dialog_clear_norefresh().
* Fix even more lurking bogons - why do I never find these until the lastjkh1996-07-081-5/+9
| | | | possible minute? :-)
* Make it plainer how to exit.jkh1996-07-021-2/+2
|
* ack - left in a typo. Time for bed!jkh1996-06-171-1/+2
|
OpenPOWER on IntegriCloud