morpheus-base

morpheus base system
git clone git://git.2f30.org/morpheus-base
Log | Files | Refs

sdhcp.1 (999B)


      1 .TH SDHCP-VERSION 1
      2 .SH NAME
      3 sdhcp \- a simple dhcp client
      4 .SH SYNOPSIS
      5 .B sdhcp
      6 .RB [ \-d ]
      7 .RB [ \-i ]
      8 .RB "[ \-e"
      9 .IR "program"
     10 .RB "]"
     11 .RB "[ "
     12 .IR interface
     13 .RB "]"
     14 .RB "["
     15 .IR "client\-id"
     16 .RB "]"
     17 .SH DESCRIPTION
     18 sdhcp is a simple, tiny dhcp client. It runs until it enters the "Bound"
     19 state, then forks to the background and runs as a daemon to keep
     20 the lease alive.
     21 .SH OPTIONS
     22 .TP
     23 .B \-d
     24 don't change DNS in /etc/resolv.conf.
     25 .TP
     26 .B \-i
     27 don't change interface information such as an IP address.
     28 .TP
     29 .B "\-e program"
     30 run program. Variables will be set, see VARIABLES.
     31 .SH VARIABLES
     32 .LP
     33 The following variables are set:
     34 .LP
     35 $SERVER    DHCP IP.
     36 .LP
     37 $DNS       DNS IP.
     38 .LP
     39 $ROUTER    router IP.
     40 .LP
     41 $MASK      network mask.
     42 .LP
     43 $CLIENT    your client IP.
     44 .SH BUGS
     45 I'm sure there's plenty. It only currently supports a small subset of
     46 DHCP options, and has been untested on larger networks. It ignores most of
     47 the DHCP options it understands. Send bug reports to me!
     48 .SH AUTHOR
     49 see LICENSE file