summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/network.c
Commit message (Collapse)AuthorAgeFilesLines
* Actually fix the DHCP handling, by using more robust detection of DHCPdelphij2006-02-091-2/+8
| | | | | | | setting. While there, add some more debug messages explaining what is happening, and some comments to improve readability. Submitted by: ceri
* Remove attempts to use mknod.ceri2006-02-071-1/+1
| | | | Approved by: jhb
* debugMsg() should end with "\n".kuriyama2002-11-011-4/+4
|
* Mark relevant functions __printflike()/__printf0like() and silence some ofkris2001-07-051-1/+1
| | | | | | the non-constant format string warnings. MFC after: 1 week
* Explicitly add a default route in ppp's install profilebrian2001-06-211-0/+1
|
* IPv6 support.ume2000-07-141-20/+21
| | | | | | | | | | | 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
* Specify a trigger address of 0.0.0.0 here so that we can sucessfullybrian2000-06-051-1/+1
| | | | | | | negotiate with broken ppp implementations that won't supply an IP number unless we suggest 0.0.0.0 Noted by: Andrew Parry <andrew.parry@db.com>
* In retrospect, msgNotify() should leave its contents on the screenjkh1999-12-171-8/+9
| | | | | 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.
* Completely rip-out and redesign sysinstall's refresh model as welljkh1999-12-141-2/+11
| | | | | | | | | | | | 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.
* o Catch up with pnp changes - kget no longer saves pnp data.jkh1999-09-041-0/+1
| | | | o Catch up with ncurses updates - some internal function names have changed.
* Oh crud, did I ever screw the pooch! Rather than sync this with -stable,jkh1999-09-021-4/+7
| | | | | | | | | | 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-6/+3
| | | | | | | 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.
* Ppp is started on vty2, not vty3brian1999-09-011-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Fix a typo.jkh1999-08-271-4/+4
| | | | Reported by: Terry Jones <terry@cliffs.ucsd.edu>
* Add a default ppp.conf (mode 600).brian1999-07-261-5/+9
| | | | | | | | | | | | Originally submitted by: Wayne Self <wself@cdrom.com> Allow a ppp startup option in rc.conf. Adjust sysinstall so that it appends to the end of ppp.conf and uses the generated profile to start ppp in auto mode on boot. Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
* Some additional optimizations for using DHCP.jkh1999-07-181-1/+4
|
* Add CHAP/PAP question to the ppp setup dialog, simplifying things considerablyjkh1999-05-191-10/+34
| | | | | | for some. Submitted by: Jack O'Neill <jack@germanium.xtalwind.net>
* Change permissions on /etc/ppp/ppp.conf to 0640.brian1999-03-111-1/+3
|
* Totally change the way variables are accounted for in sysinstall.jkh1999-02-051-3/+3
| | | | | | | | 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-4/+10
| | | | | | | | 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).
* Pass the '-n' flag to route(8) when setting up/tearing down the defaultmsmith1998-10-011-3/+3
| | | | | | route. If your nameserver config is wrong, this will otherwise hang for the default resolver timeout (75 seconds), leading people to think that the system has hung.
* Show on-screen ``phase'' logging and try to negotiatebrian1998-07-121-1/+3
| | | | | nameserver IPs by default at install time. Approved by: jkh
* Make a /var/run directory before starting ppp so that it doesn'tjkh1998-03-091-1/+2
| | | | complain.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Now that I know which parts of the installation really need it (sincejkh1997-01-171-4/+6
| | | | | 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).
* 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.
* Add a few strategic screen clears in network setup.jkh1997-01-041-1/+3
| | | | | | | | Disable saving of SCSI device parameters in userconfig saving in hopes of working around a reported problem in the no-device case; there's no point in saving this information here anyway. 2nd patch submitted-by: "Eric L. Hernes" <erich@lodgenet.com>
* 1. Correct bogon in cdromInit when running multi-user which took cdrom offlinejkh1997-01-011-2/+6
| | | | | | | | | | if wrong version. 2. Make sure network device is initialized in ftpInit 3. Eliminate bogus size values in the menus. For now, we'll have to admit that nobody's added it up yet. In the future, these menus should be build dynamically anyway, not declared static. 4. Add more debugging to networking code to chase the mystery ppp device problem.
* Fix some bogons in my close() handling.jkh1996-12-121-2/+2
|
* Do a few things I've been threatening to do for a long time:jkh1996-12-111-2/+2
| | | | | | | | | | | | | | | | 1. Don't use the MSDOSFS code for accessing FreeBSD distribution data. Use Robert Nordier's stand-alone DOS I/O library for the purpose. It this works as well as Robert says it does, it should drastically reduce (or even eliminate) our "I can't install from my DOS partition!" calls. 2. As a result of the above, go to stdio file descriptors for all media types. 3. Taking advantage of #2, start using libftpio for FTP transfers instead of maintaining our own parallel version of the FTP transfer code. Yay! I ripped something out for a change! #1 Submitted-By: Robert Nordier <rnordier@iafrica.com>
* Set timeout interval to 0 in ppp so connections don't hang up whilejkh1996-12-091-1/+2
| | | | we're doing something lengthy with the disk.
* As Paul has just pointed out, much of my strncpy() usage was eitherjkh1996-12-091-6/+8
| | | | | | | 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>
* Whups, missed two strcpy()s.jkh1996-12-091-3/+3
|
* Eliminate great evil in the networking code. That's all I'm gonna say.jkh1996-12-091-16/+18
|
* Add Joerg's user management screen for David Nugent's pw(8) program, somethingjkh1996-12-091-1/+7
| | | | | | | | | which will also need to be brought in before this screen will work. Add some commentary about how the slip startup code is bogus. Steal Joerg's loop for more properly closing all files and graft it into the EHS startup. My loop was functional but more bogus.
* Several areas of improvement:jkh1996-12-081-8/+9
| | | | | | | | o Incorporate some of Tatsumi's bug fixes. o Remove the xperimnt and commerce distribution items; they haven't been actual distributions for awhile. o Try to sanitize the device checking code a little more. o Cosmetic work on the network code.
* Try to make screen update more efficient (less flickering) by morejkh1996-08-031-3/+3
| | | | judicious use of dialog_clear_norefresh().
* Fix even more lurking bogons - why do I never find these until the lastjkh1996-07-081-8/+20
| | | | possible minute? :-)
* Whoops! Now that I'm decompressing docs into /tmp, it's important tojkh1996-07-081-4/+4
| | | | | make sure that /tmp is there first! :-) While I'm at it, clean up the somewhat inexplicably bogus Mkdir() function.
* Dispense with the special case handling of cuaa* devices by synthesizingjkh1996-06-121-43/+37
| | | | separate entries for sl0 and ppp0 on each device.
* Add a new -fake argument to make sysinstall not actually change things whilejkh1996-04-281-3/+4
| | | | I'm testing it.
* Bring this into sync.jkh1996-04-231-13/+2
| | | | | | | | | | I still have a _very very annoying_ display bug which occurs when a menu item causes a submenu to be displayed - the screen repaints for the original menu (which is restored upon return from the submenu) are off by about 4 characters. I've tried restoring the screen, the cursor position, you name it - same deal. Grrrr! This commit is my first step in trying to get someone else to help me look into this one since I'm just tearing my hair out at this point!
* 1. Update all the copyrights to delete useless clauses 3 and 4.jkh1996-04-131-8/+1
| | | | | 2. Change more of the menu code over to new system. 3. Streamline label editor.
* Update the -current sources from the 2.1 branch.peter1995-12-071-50/+122
| | | | Approved (in spirit) by: jkh
* This mega-commit brings in Jordan's latest sysinstall version..peter1995-09-181-19/+15
| | | | | | | This looks like it was developed offline, and is being spammed over the top of the existing. "That's fine by me! I dont really care how you do it, just get it in there..." said Jordan in a conversation a short while ago...
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-57/+68
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Sync up my work for the night. This should implement ALL possiblejkh1995-05-291-3/+18
| | | | | | installation methods and provide a fairly robust set of menu options. This should also fix a few more bugs on Poul-Henning's latest gripe list.
* Make the emergency holographic shell (on VTY4) actually work with jobjkh1995-05-291-4/+12
| | | | | | control and signals and such. Thanks, Gary! Clean up some miscellaneous bogons for Poul.
OpenPOWER on IntegriCloud