Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:services:nas:netatalk_configuration [2018/09/03 17:21] – forum link changed from LEDE -> OpenWrt tmomas | docs:guide-user:services:nas:netatalk_configuration [2020/08/26 18:32] – [Avahi-daemon Configuration] nwm | ||
|---|---|---|---|
| Line 63: | Line 63: | ||
| The afp.conf file contains all AFP specific configurations and AFP volume definitions. Let's edit ours with '' | The afp.conf file contains all AFP specific configurations and AFP volume definitions. Let's edit ours with '' | ||
| + | |||
| + | log file = / | ||
| + | For initial configuration, | ||
| + | |||
| + | afp interfaces = br-lan | ||
| + | In case you have multiple interfaces. Select the one, which you want to use for listening. | ||
| vol size limit = size in MiB (V) | vol size limit = size in MiB (V) | ||
| Useful for Time Machine: limits the reported volume size, thus preventing Time Machine from using the whole real disk space for backup. Example: "vol size limit = 1000" would limit the reported disk space to 1 GB. IMPORTANT: This is an approximated calculation taking into account the contents of Time Machine sparsebundle images. Therefor you MUST NOT use this volume to store other content when using this option, because it would NOT be accounted. The calculation works by reading the band size from the Info.plist XML file of the sparsebundle, | Useful for Time Machine: limits the reported volume size, thus preventing Time Machine from using the whole real disk space for backup. Example: "vol size limit = 1000" would limit the reported disk space to 1 GB. IMPORTANT: This is an approximated calculation taking into account the contents of Time Machine sparsebundle images. Therefor you MUST NOT use this volume to store other content when using this option, because it would NOT be accounted. The calculation works by reading the band size from the Info.plist XML file of the sparsebundle, | ||
| + | |||
| + | |||
| < | < | ||
| Line 71: | Line 79: | ||
| ; Netatalk 3.x configuration file | ; Netatalk 3.x configuration file | ||
| ; | ; | ||
| + | |||
| + | [Global] | ||
| + | ; Global server settings | ||
| + | log file = / | ||
| + | afp interfaces = br-lan | ||
| [Backups] | [Backups] | ||
| - | path = / | + | path = / |
| - | | + | time machine = yes |
| - | | + | vol size limit = 250000 |
| - | | + | valid users = @users |
| </ | </ | ||
| + | |||
| + | Don't forget to restart the daemon with ''/ | ||
| ==== Avahi-daemon Configuration ==== | ==== Avahi-daemon Configuration ==== | ||
| Line 112: | Line 127: | ||
| rlimit-nproc=3 | rlimit-nproc=3 | ||
| </ | </ | ||
| + | |||
| + | By default Avahi daemon requires running dbus. Start the dbus with command ''/ | ||
| + | Start the Avahi daemon with command ''/ | ||
| :!: Learn about other configuration options here [[https:// | :!: Learn about other configuration options here [[https:// | ||
| Line 146: | Line 164: | ||
| :!: '' | :!: '' | ||
| + | |||
| + | Don't forget to restart the daemons after changing the configuration. | ||
| **Some helpful links** | **Some helpful links** | ||