packages/ipv6/ahcpd/files/ahcpd.config
kerneis ddee128613 [package] ahcpd: update to 0.51, fix scripts
- Full-featured UCI configuration file (including server mode).
- Client mode configuration in /etc/config/network (proto ahcp).
- Launch at most one instance in server/forwarder mode, and as many
  instance as interfaces in client mode.
- Add status and reload options to init script.
- Make /etc/config/ahcpd a config file, simplify Makefile.
- Do not check the pid file (useless).
- 29 January 2010: ahcpd 0.51
  * Servers are now configured with a plain-text configuration file.
  * Implemented client-side support for prefix delegation (-P).
  * Made requesting state more persistent, to deal with packet loss.
  * Fixed a typo that prevented the -I option from working.
  * Fixed compilation on BSD systems.
  * Fixed a bug that could cause an expired lease to be discarded when
    older ones are available.

Signed-off-by: Gabriel Kerneis <kerneis@pps.jussieu.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@19813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-22 11:00:30 +00:00

51 lines
1.6 KiB
Plaintext

package ahcpd
# This configuration file is used to set up ahcpd in server or forwarder
# mode. To use ahcpd in client mode, use 'proto' 'ahcp' in
# /etc/config/network (see example below).
config ahcpd
option 'mode' 'server' # or 'forwarder' but NOT 'client'
# Uncomment the following lines to enable ahcpd on the desired
# interfaces.
## list 'interface' 'lan'
## list 'interface' 'wlan'
# The following only makes sense in 'server' mode.
# Tweak to suit your needs.
## list 'prefix ' 'fde6:20f5:c9ac:358::/64'
## list 'prefix' '192.168.4.128/25'
## list 'name_server' 'fde6:20f5:c9ac:358::1'
## list 'name_server' '192.168.4.1'
## list 'ntp_server' '192.168.4.2'
## option 'lease_dir' '/var/lib/leases'
option 'id_file' '/var/lib/ahcp-unique-id'
option 'log_file' '/var/log/ahcpd.log'
# The configuration file is not necessary since you can configure
# everything from this file. But still, you might prefer using it.
## option 'conf_file' '/etc/ahcp/ahcp.conf'
option 'multicast_address' 'ff02::cca6:c0f9:e182:5359'
option 'port' '5359'
option 'ipv4_only' 'false'
option 'ipv6_only' 'false'
option 'lease_time' '3666'
option 'debug' '1'
# Sample client mode configuration
# THIS MUST BE COPIED IN /etc/config/network. Ahcpd will ignore it
# otherwise.
## config 'interface' 'wlan'
## option 'ifname' 'ath0'
## option 'proto' 'ahcp'
## # The following lines are optional
## option 'multicast_address' 'ff02::cca6:c0f9:e182:5359'
## option 'port' '5359'
## option 'ipv4_only' 'false'
## option 'ipv6_only' 'false'
## option 'no_dns' 'false'
## option 'lease_time' '3666'
## option 'debug' '1'
## option 'script' '/etc/ahcp/ahcp-config.sh'