source: packages/ipv6/ahcpd/files/ahcpd.config @ 21602

Last change on this file since 21602 was 21602, checked in by kerneis, 7 years ago

[package] ahcpd: fix typo in config file

Signed-off-by: Gabriel Kerneis <kerneis@…>

  • Property svn:copyright set to Copyright (C) 2007 OpenWrt.org
File size: 1.7 KB
Line 
1package ahcpd
2
3# This configuration file is used to set up ahcpd in server or forwarder
4# mode.  To use ahcpd in client mode, use 'proto' 'ahcp' in
5# /etc/config/network (see example below).
6
7config ahcpd
8        option 'mode' 'server' # or 'forwarder' but NOT 'client'
9        # Uncomment the following lines to enable ahcpd on the desired
10        # interfaces.
11        ## list 'interface' 'lan'
12        ## list 'interface' 'wlan'
13
14        # The following only makes sense in 'server' mode.
15        # Tweak to suit your needs.
16        ## list 'prefix' 'fde6:20f5:c9ac:358::/64'
17        ## list 'prefix' '192.168.4.128/25'
18        ## list 'name_server' 'fde6:20f5:c9ac:358::1'
19        ## list 'name_server' '192.168.4.1'
20        ## list 'ntp_server' '192.168.4.2'
21        ## option 'lease_dir' '/var/lib/leases'
22
23        # option 'id_file' '/var/lib/ahcp-unique-id'
24        # option 'log_file' '/var/log/ahcpd.log'
25        # The configuration file is not necessary since you can configure
26        # everything from this file.  But still, you might prefer using it.
27        ## option 'conf_file' '/etc/ahcp/ahcp.conf'
28
29        # option 'multicast_address' 'ff02::cca6:c0f9:e182:5359'
30        # option 'port' '5359'
31        # option 'ipv4_only' 'false'
32        # option 'ipv6_only' 'false'
33        # option 'lease_time' '3666'
34        # option 'debug' '1'
35
36# Sample client mode configuration
37# THIS MUST BE COPIED IN /etc/config/network.  Ahcpd will ignore it
38# otherwise.
39## config 'interface' 'wlan'
40##      option 'ifname' 'ath0'
41##      option 'proto' 'ahcp'
42##  # The following lines are optional
43##      option 'multicast_address' 'ff02::cca6:c0f9:e182:5359'
44##      option 'port' '5359'
45##      option 'ipv4_only' 'false'
46##      option 'ipv6_only' 'false'
47##      option 'no_dns' 'false'
48##      option 'lease_time' '3666'
49##      option 'debug' '1'
50##      option 'script' '/etc/ahcp/ahcp-config.sh'
Note: See TracBrowser for help on using the repository browser.