Temat: udhcpc -O ?

Witam,
Chciałbym się dowiedzieć gdzie mogę znaleźć listę opcji udhcpc akceptowanych przez klienta openwrt.
...tylko nie piszcie, że w google - szukałem neutral
...jedyne co tam znalazłem, to że warto by zajrzeć do pliku /networking/udhcp/options.c ...z tym, że w repozytorium nie mogę go odnaleźć hmm
Czy na pewno stamtąd budowane są obrazy dla tl-wr1043nd?

2

Odp: udhcpc -O ?

W googlach smile udhcp jest częścią busyboxa. http://busybox.net/downloads/BusyBox.html i szukaj udhcp.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: udhcpc -O ?

Z tym, że mi chodzi o listę wartości akceptowantch przez parametr -O.

4

Odp: udhcpc -O ?

# Currently supported options (for more info, see options.c):
#opt lease      NUM
#opt subnet     IP
#opt broadcast  IP
#opt router     IP_LIST
#opt ipttl      NUM
#opt mtu        NUM
#opt hostname   STRING        # client's hostname
#opt domain     STRING        # client's domain suffix
#opt search     STRING_LIST    # search domains
#opt nisdomain  STRING
#opt timezone   NUM        # (localtime - UTC_time) in seconds. signed
#opt tftp       STRING        # tftp server name
#opt bootfile   STRING        # tftp file to download (e.g. kernel image)
#opt bootsize   NUM        # size of that file
#opt rootpath   STRING        # (NFS) path to mount as root fs
#opt wpad       STRING
#opt serverid   IP        # default: server's IP
#opt message    STRING        # error message (udhcpd sends it on success too)
#opt vlanid     NUM        # 802.1P VLAN ID
#opt vlanpriority NUM        # 802.1Q VLAN priority
# Options specifying server(s)
#opt dns        IP_LIST
#opt wins       IP_LIST
#opt nissrv     IP_LIST
#opt ntpsrv     IP_LIST
#opt lprsrv     IP_LIST
#opt swapsrv    IP
# Options specifying routes
#opt routes     IP_PAIR_LIST
# Obsolete options, no longer supported
#opt logsrv     IP_LIST    # 704/UDP log server (not syslog!)
#opt namesrv    IP_LIST    # IEN 116 name server, obsolete (August 1979!!!)
#opt cookiesrv  IP_LIST    # RFC 865 "quote of the day" server, rarely (never?) used
#opt timesrv    IP_LIST    # RFC 868 time server, rarely (never?) used
# TODO: in development
#opt userclass  STRING        # RFC 3004. set of LASCII strings. "I am a printer" etc
#opt sipserv    STRING LIST    # RFC 3361. flag byte, then: 0: domain names, 1: IP addrs
#opt staticroutes   STATIC_ROUTES
#opt msstaticroutes STATIC_ROUTES

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.