freebsd-skq/usr.sbin/bsdconfig/include/tcp.hlp
Devin Teske 7323adac99 Import media selection/preparation framework (sysinstall inspired). Makes
accessing files from various types of media nice and abstracted away from
the wet-work involved in preparing, validating, and initializing those
types of media. This will be used for the package management system module
and other modules that need access to files and want to allow the user to
decide where those files come from (either in a scripted fashion, prompted
fashion, or any combination thereof).

Heavily inspired by sysinstall and even uses the same reserved words so
that scripts are portable. Coded over months, tested continuously through-
out, and reviewed several times.

Some notes about the changes:
- Move network-setting acquisition/validation routines to media/tcpip.subr
- The options screen from sysinstall has been converted to a dialog menu
- The "UFS" media choice is renamed to "Directory" to reflect how sysinstall
  treats the choice and a new [true] "UFS" media choice has been added that
  acts on real UFS partitions (such as external disks with disklabels).
- Many more help files have been resurrected from sysinstall (I noticed that
  some of the content seems a bit dated; I gave them a once-over but they
  could really use an update).
- A total of 10 media choices are presented (via mediaGetType) including:
  CD/DVD, FTP, FTP Passive, HTTP Proxy, Directory, NFS, DOS, UFS, Floppy, USB
- Novel struct/device management layer for managing the issue of passing
  more information than can comfortably fit in an argument list.
2013-02-25 19:55:32 +00:00

34 lines
1.4 KiB
Plaintext

This screen allows you to set up your general network parameters
(hostname, domain name, DNS server, etc) as well as the settings for a
given interface (which was selected from the menu before this screen).
PLIP/SLIP users - please read through to the end of this doc!
The "options" field is kind of special (read: a hack :-):
Any valid options to ifconfig can be specified here, so if you need
to do something "special" to get your interface working, then here
is the place to do it.
If you're running SLIP or PLIP, you also need to use it for specifying
the remote end of the link (simply type the foreign IP address in).
In the specific case where you're running PLIP with a Linux host peer
rather than a FreeBSD one, you also must add the "-link0" flag after the
foreign address.
If you're dealing with an ethernet adaptor with multiple media
connectors (e.g. AUI, 10BT, 10B2, etc), you can use this field to
specify which one to use. Examples of valid strings include:
"media 10base5/AUI" - Select the AUI port.
"media 10baseT/UTP" - Select the twisted pair port.
"media 10base2/BNC" - Select the BNC connector.
"media 100baseTX" - Select 100BaseT on a 100/10 dual adaptor.
If you have a wireless interface and must specify arguments such as a
WEP key here, you may use something like:
"wepmode on wepkey 0xFEEDFACE"
When you're done with this form, select OK.