Skip to content
The Chat Archive
gpt-3.5-turbo-0301· OpenAI WildChat-4.8M (AI2)

udhcpc -h

  1. User

    udhcpc -h

  2. Assistant

    "Usage: udhcpc [OPTIONS] [-i INTERFACE]

    OPTIONS: -h,--help Print this help message -d Run as daemon -b Background if lease is not immediately acquired -n Do not send DHCPDISCOVER on startup -q Quit after obtaining lease -s SKRIPT Specify script to run for DHCP events -O Send vendorclassid as dhcp option -x Set default route -p Specify file for storing process ID -f Specify lease file (default: /var/run/udhcpc..lease) -t Timeout waiting for DHCPACK -T DHCP timeout value -R DHCP retry timeout (default: 5) -S [0|1] Enable or disable using short hostname (default: 1) -F Run in foreground (default when -i option is used) -H Specify client hostname -C Send configuration file -o Send option list -l Append log to instead of syslog -I <REQUESTED_IP> Requested IP address -r Server (unicast) IP address -V Vendor identifier (string) -vendorlen Vendor identifier (hex string)

    INTERFACE:

    The interface to run DHCP client on"

  3. User

    中文

  4. Assistant

    用法:udhcpc [选项] [-i 接口]

    选项: -h,--help 打印此帮助消息 -d 作为守护进程运行 -b 如果没有立即获得租约,则后台运行 -n 在启动时不发送 DHCPDISCOVER -q 在获得租约后退出 -s 脚本 指定用于 DHCP 事件的脚本 -O 作为 DHCP 选项发送制造商分类标识 -x 设置默认路由 -p 指定存储进程 ID 的文件 -f 指定租约文件(默认:/var/run/udhcpc。。lease) -t <秒数> 等待 DHCPACK 的超时时间 -T <秒数> DHCP 超时值 -R <秒数> DHCP 重试超时时间(默认:5) -S [0|1] 启用或禁用使用短主机名(默认值:1) -F 在前台运行(使用 -i 选项时默认值) -H <主机名> 指定客户端主机名 -C <文件> 发送配置文件 -o 发送选项列表 -l <文件> 将日志追加到 中,而不是 syslog -I <请求的 IP> 请求的 IP 地址 -r 服务器(单播)IP 地址 -V <厂商> 厂商标识符(字符串) -vendorlen 厂商标识符(十六进制字符串)

    接口: 要在其上运行 DHCP 客户端的接口