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'
+ # Choose ahcp mode: client (default), server or forwarder
+ ## option 'mode' 'client'
# Uncomment the following lines to enable ahcpd on the desired
# interfaces.
## list 'interface' 'lan'
# The following only makes sense in 'server' mode.
# Tweak to suit your needs.
- ## list 'prefix ' 'fde6:20f5:c9ac:358::/64'
+ ## 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'
# 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'