Mam przypisane do urządzeń w konfiguracji DHCP statyczne adresy ip i chcę wprowadzić w firewall ograniczenia w dostępie do internetu dla tych urządzeń. Zrobiłem to przez GUI i niestety cały czas jest dostęp tych urządzeń do internetu. Plik konfiguracyjny wygląda jak poniżej. Coś robię nie tak?

root@TPLink 1043ND:~# cat /etc/config/firewall

config defaults
    option syn_flood '1'
    option input 'ACCEPT'
    option output 'ACCEPT'
    option forward 'REJECT'
    option force_router_dns '1'
    option block_static_ip_mismatches '1'

config zone
    option name 'lan'
    list network 'lan'
    option input 'ACCEPT'
    option output 'ACCEPT'
    option forward 'REJECT'

config zone
    option name 'wan'
    list network 'wan'
    list network 'wan6'
    option input 'REJECT'
    option output 'ACCEPT'
    option forward 'REJECT'
    option masq '1'
    option mtu_fix '1'

config forwarding
    option src 'lan'
    option dest 'wan'

config rule
    option name 'Allow-DHCP-Renew'
    option src 'wan'
    option proto 'udp'
    option dest_port '68'
    option target 'ACCEPT'
    option family 'ipv4'

config rule
    option name 'Allow-Ping'
    option src 'wan'
    option proto 'icmp'
    option icmp_type 'echo-request'
    option family 'ipv4'
    option target 'ACCEPT'

config rule
    option name 'Allow-DHCPv6'
    option src 'wan'
    option proto 'udp'
    option src_ip 'fe80::/10'
    option src_port '547'
    option dest_ip 'fe80::/10'
    option dest_port '546'
    option family 'ipv6'
    option target 'ACCEPT'

config rule
    option name 'Allow-ICMPv6-Input'
    option src 'wan'
    option proto 'icmp'
    list icmp_type 'echo-request'
    list icmp_type 'echo-reply'
    list icmp_type 'destination-unreachable'
    list icmp_type 'packet-too-big'
    list icmp_type 'time-exceeded'
    list icmp_type 'bad-header'
    list icmp_type 'unknown-header-type'
    list icmp_type 'router-solicitation'
    list icmp_type 'neighbour-solicitation'
    list icmp_type 'router-advertisement'
    list icmp_type 'neighbour-advertisement'
    option limit '1000/sec'
    option family 'ipv6'
    option target 'ACCEPT'

config rule
    option name 'Allow-ICMPv6-Forward'
    option src 'wan'
    option dest '*'
    option proto 'icmp'
    list icmp_type 'echo-request'
    list icmp_type 'echo-reply'
    list icmp_type 'destination-unreachable'
    list icmp_type 'packet-too-big'
    list icmp_type 'time-exceeded'
    list icmp_type 'bad-header'
    list icmp_type 'unknown-header-type'
    option limit '1000/sec'
    option family 'ipv6'
    option target 'ACCEPT'

config include
    option path '/etc/firewall.user'
    option reload '1'

config include
    option type 'script'
    option path '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
    option family 'IPv4'
    option reload '1'

config include 'miniupnpd'
    option type 'script'
    option path '/usr/share/miniupnpd/firewall.include'
    option family 'IPv4'
    option reload '1'

config include 'openvpn_include_file'
    option path '/etc/openvpn.firewall'
    option reload '1'

config restriction_rule 'rule_1'
    option is_ingress '0'
    option description 'Dzieci pn-czw'
    option local_addr '192.168.0.110 - 192.168.0.120'
    option active_weekdays 'mon,tue,wed,thu'
    option active_hours '0:01-18:00, 21:00-23:59'
    option proto 'both'
    option not_url_contains '"yachts4fun"'
    option enabled '1'

config restriction_rule 'rule_2'
    option is_ingress '0'
    option description 'Dzieci pt-sob'
    option local_addr '192.168.0.110 - 192.168.0.120'
    option active_weekdays 'fri,sat'
    option active_hours '00:01-18:00, 23:00-23:59'
    option proto 'both'
    option enabled '1'

config restriction_rule 'rule_3'
    option is_ingress '0'
    option description 'Dzieci nd'
    option local_addr '192.168.0.110 - 192.168.0.120'
    option active_weekdays 'sun'
    option active_hours '0:01-08:00, 21:00-23:59'
    option proto 'both'
    option enabled '1'

root@TPLink 1043ND:~#

2

(43 odpowiedzi, napisanych Oprogramowanie / Software)

OK, mogę zmienić tylko wtedy stracę możliwość podłączenia dysku bezpośrednio do os x, spróbuję czy zadziała. Rozumiem, że poza tym nie ma błędów w konfiguracji ?

3

(43 odpowiedzi, napisanych Oprogramowanie / Software)

Witam,

Podepnę się pod ten temat.

Przeszedłem podobną ścieżkę konfiguracji Time Machine co duchu. Udało mi się dojść do sytuacji w której mój system osx Yosemite widzi Time Capsule, pozwala poprzez Time Machine podpiąć dysk podłączony do routera i rozpoczyna archiwizację. Niestety po jakimś czasie mam komunikat że Time Machine nie może dokończyć archiwizacji na dysku Time Capsule gdyż:

Do archiwizacji na dysku archiwizacyjnym wymagane jest 466,46 GB miejsca, ale dostępne jest tylko 0 KB. Wybierz większy dysk archiwizacyjny lub wyklucz pliki w celu zmniejszenia wielkości archiwum.

Gdzieś popełniłem błąd i nie potrafię go zdiagnozować, proszę o pomoc.

Załączam logi i informacje konfiguracyjne, jak jeszcze coś potrzeba to proszę o info.

root@TPLink 1043ND:~# logread
Dec  9 17:17:52 TPLink 1043ND daemon.notice afpd[7450]: AFP3.3 Login by tmuser
Dec  9 17:17:52 TPLink 1043ND daemon.warn afpd[7450]: volume "TimeMachine" does not support Extended Attributes, using ea:ad instead
Dec  9 17:18:14 TPLink 1043ND daemon.warn avahi-daemon[1912]: Invalid response packet from host 192.168.0.110.
Dec  9 17:18:35 TPLink 1043ND daemon.notice afpd[7450]: AFP logout by tmuser
Dec  9 17:18:35 TPLink 1043ND daemon.notice afpd[7450]: AFP statistics: 13171.96 KB read, 122.19 KB written
Dec  9 17:18:35 TPLink 1043ND daemon.notice afpd[7450]: done
Dec  9 17:19:50 TPLink 1043ND daemon.info ddns_gargoyle[1961]:         Could not determine local ip from url: http://www.myipnumber.com
Dec  9 17:19:51 TPLink 1043ND daemon.info ddns_gargoyle[1961]:         Successfully retrieved local ip from url: http://www.dslreports.com/whois
Dec  9 17:19:54 TPLink 1043ND daemon.warn avahi-daemon[1912]: Invalid response packet from host 192.168.0.110.
Dec  9 17:21:33 TPLink 1043ND daemon.warn avahi-daemon[1912]: Invalid response packet from host 192.168.0.110.
Dec  9 17:23:12 TPLink 1043ND daemon.warn avahi-daemon[1912]: Invalid response packet from host 192.168.0.110.
Dec  9 17:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:53:2e:ee:bc:59 WPA: group key handshake completed (RSN)
Dec  9 17:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:63:df:86:2d:ab WPA: group key handshake completed (RSN)
Dec  9 17:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA b8:ff:61:13:c9:aa WPA: group key handshake completed (RSN)
Dec  9 17:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA d8:30:62:5d:18:c2 WPA: group key handshake completed (RSN)
Dec  9 17:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 50:ea:d6:b8:e0:c7 WPA: group key handshake completed (RSN)
Dec  9 17:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 90:84:0d:48:d9:bc WPA: group key handshake completed (RSN)
Dec  9 17:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 64:b9:e8:62:11:52 WPA: group key handshake completed (RSN)
Dec  9 17:24:09 TPLink 1043ND authpriv.info dropbear[7455]: Child connection from 192.168.0.100:50705
Dec  9 17:24:17 TPLink 1043ND authpriv.notice dropbear[7455]: Password auth succeeded for 'root' from 192.168.0.100:50705
Dec  9 17:24:51 TPLink 1043ND daemon.warn avahi-daemon[1912]: Invalid response packet from host 192.168.0.110.
Dec  9 17:25:26 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:25:26 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:26:30 TPLink 1043ND daemon.warn avahi-daemon[1912]: Invalid response packet from host 192.168.0.110.
Dec  9 17:26:46 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:26:46 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:28:35 TPLink 1043ND daemon.err cnid_dbd[7451]: error closing database name.db: No space left on device
Dec  9 17:28:35 TPLink 1043ND daemon.err cnid_dbd[7451]: error closing database didname.db: No space left on device
Dec  9 17:28:35 TPLink 1043ND daemon.err cnid_dbd[7451]: error closing database devino.db: No space left on device
Dec  9 17:28:35 TPLink 1043ND daemon.err cnid_dbd[7451]: error closing database cnid2.db: No space left on device
Dec  9 17:28:37 TPLink 1043ND daemon.err cnid_dbd[7451]: error opening DB environment: DB_RUNRECOVERY: Fatal error, run database recovery
Dec  9 17:33:13 TPLink 1043ND daemon.info hostapd: wlan0: STA d8:30:62:5d:18:c2 WPA: group key handshake completed (RSN)
Dec  9 17:33:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:53:2e:ee:bc:59 WPA: group key handshake completed (RSN)
Dec  9 17:33:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 90:84:0d:48:d9:bc WPA: group key handshake completed (RSN)
Dec  9 17:33:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 50:ea:d6:b8:e0:c7 WPA: group key handshake completed (RSN)
Dec  9 17:33:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 64:b9:e8:62:11:52 WPA: group key handshake completed (RSN)
Dec  9 17:33:13 TPLink 1043ND daemon.info hostapd: wlan0: STA b8:ff:61:13:c9:aa WPA: group key handshake completed (RSN)
Dec  9 17:33:14 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:63:df:86:2d:ab WPA: group key handshake completed (RSN)
Dec  9 17:34:50 TPLink 1043ND daemon.info ddns_gargoyle[1961]:         Successfully retrieved local ip from url: http://checkmyip.com
Dec  9 17:35:23 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:35:23 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:36:42 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:36:42 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:40:38 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:40:38 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:41:37 TPLink 1043ND daemon.info hostapd: wlan0: STA 14:74:11:93:6b:11 IEEE 802.11: authenticated
Dec  9 17:41:37 TPLink 1043ND daemon.info hostapd: wlan0: STA 14:74:11:93:6b:11 IEEE 802.11: associated (aid 8)
Dec  9 17:41:37 TPLink 1043ND daemon.info hostapd: wlan0: STA 14:74:11:93:6b:11 WPA: pairwise key handshake completed (RSN)
Dec  9 17:41:38 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPDISCOVER(br-lan) 14:74:11:93:6b:11
Dec  9 17:41:38 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPOFFER(br-lan) 192.168.0.106 14:74:11:93:6b:11
Dec  9 17:41:38 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPREQUEST(br-lan) 192.168.0.106 14:74:11:93:6b:11
Dec  9 17:41:38 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.106 14:74:11:93:6b:11 BLACKBERRY-Ilo
Dec  9 17:41:58 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:41:58 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:43:13 TPLink 1043ND daemon.info hostapd: wlan0: STA d8:30:62:5d:18:c2 WPA: group key handshake completed (RSN)
Dec  9 17:43:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:63:df:86:2d:ab WPA: group key handshake completed (RSN)
Dec  9 17:43:13 TPLink 1043ND daemon.info hostapd: wlan0: STA b8:ff:61:13:c9:aa WPA: group key handshake completed (RSN)
Dec  9 17:43:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 64:b9:e8:62:11:52 WPA: group key handshake completed (RSN)
Dec  9 17:43:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 90:84:0d:48:d9:bc WPA: group key handshake completed (RSN)
Dec  9 17:43:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:53:2e:ee:bc:59 WPA: group key handshake completed (RSN)
Dec  9 17:43:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 14:74:11:93:6b:11 WPA: group key handshake completed (RSN)
Dec  9 17:43:21 TPLink 1043ND daemon.info hostapd: wlan0: STA 50:ea:d6:b8:e0:c7 IEEE 802.11: deauthenticated due to local deauth request
Dec  9 17:45:31 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:45:31 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:47:10 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:47:10 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:49:51 TPLink 1043ND daemon.info ddns_gargoyle[1961]:         Successfully retrieved local ip from url: http://www.ipchicken.com
Dec  9 17:52:01 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:52:01 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:53:13 TPLink 1043ND daemon.info hostapd: wlan0: STA b8:ff:61:13:c9:aa WPA: group key handshake completed (RSN)
Dec  9 17:53:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:53:2e:ee:bc:59 WPA: group key handshake completed (RSN)
Dec  9 17:53:13 TPLink 1043ND daemon.info hostapd: wlan0: STA d8:30:62:5d:18:c2 WPA: group key handshake completed (RSN)
Dec  9 17:53:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 90:84:0d:48:d9:bc WPA: group key handshake completed (RSN)
Dec  9 17:53:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 64:b9:e8:62:11:52 WPA: group key handshake completed (RSN)
Dec  9 17:53:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 14:74:11:93:6b:11 WPA: group key handshake completed (RSN)
Dec  9 17:53:14 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:63:df:86:2d:ab WPA: group key handshake completed (RSN)
Dec  9 17:55:33 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:55:33 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 17:57:12 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 17:57:12 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 18:02:03 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 18:02:03 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 18:03:13 TPLink 1043ND daemon.info hostapd: wlan0: STA b8:ff:61:13:c9:aa WPA: group key handshake completed (RSN)
Dec  9 18:03:13 TPLink 1043ND daemon.info hostapd: wlan0: STA d8:30:62:5d:18:c2 WPA: group key handshake completed (RSN)
Dec  9 18:03:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:53:2e:ee:bc:59 WPA: group key handshake completed (RSN)
Dec  9 18:03:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 64:b9:e8:62:11:52 WPA: group key handshake completed (RSN)
Dec  9 18:03:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 90:84:0d:48:d9:bc WPA: group key handshake completed (RSN)
Dec  9 18:03:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 14:74:11:93:6b:11 WPA: group key handshake completed (RSN)
Dec  9 18:03:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:63:df:86:2d:ab WPA: group key handshake completed (RSN)
Dec  9 18:04:52 TPLink 1043ND daemon.info ddns_gargoyle[1961]:         Successfully retrieved local ip from url: http://www.tracemyip.org
Dec  9 18:05:24 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 18:05:24 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 18:06:44 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 18:06:44 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 18:09:17 TPLink 1043ND daemon.info hostapd: wlan0: STA 50:ea:d6:b8:e0:c7 IEEE 802.11: authenticated
Dec  9 18:09:17 TPLink 1043ND daemon.info hostapd: wlan0: STA 50:ea:d6:b8:e0:c7 IEEE 802.11: associated (aid 6)
Dec  9 18:09:17 TPLink 1043ND daemon.info hostapd: wlan0: STA 50:ea:d6:b8:e0:c7 WPA: pairwise key handshake completed (RSN)
Dec  9 18:09:17 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPREQUEST(br-lan) 192.168.0.116 50:ea:d6:b8:e0:c7
Dec  9 18:09:17 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.116 50:ea:d6:b8:e0:c7 iPhone-Anna
Dec  9 18:13:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 64:b9:e8:62:11:52 WPA: group key handshake completed (RSN)
Dec  9 18:13:13 TPLink 1043ND daemon.info hostapd: wlan0: STA d8:30:62:5d:18:c2 WPA: group key handshake completed (RSN)
Dec  9 18:13:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:53:2e:ee:bc:59 WPA: group key handshake completed (RSN)
Dec  9 18:13:13 TPLink 1043ND daemon.info hostapd: wlan0: STA b8:ff:61:13:c9:aa WPA: group key handshake completed (RSN)
Dec  9 18:13:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 50:ea:d6:b8:e0:c7 WPA: group key handshake completed (RSN)
Dec  9 18:13:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 90:84:0d:48:d9:bc WPA: group key handshake completed (RSN)
Dec  9 18:13:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 14:74:11:93:6b:11 WPA: group key handshake completed (RSN)
Dec  9 18:13:15 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:63:df:86:2d:ab WPA: group key handshake completed (RSN)
Dec  9 18:14:09 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 18:14:09 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 18:15:29 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 18:15:29 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 18:16:46 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 18:16:46 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 18:19:55 TPLink 1043ND daemon.info ddns_gargoyle[1961]:         Could not determine local ip from url: http://checkip.dyndns.org
Dec  9 18:19:55 TPLink 1043ND daemon.info ddns_gargoyle[1961]:         Successfully retrieved local ip from url: http://checkip.org
Dec  9 18:20:50 TPLink 1043ND daemon.notice afpd[7755]: AFP3.3 Login by tmuser
Dec  9 18:20:50 TPLink 1043ND daemon.warn afpd[7755]: volume "TimeMachine" does not support Extended Attributes, using ea:ad instead
Dec  9 18:21:25 TPLink 1043ND daemon.err cnid_dbd[7758]: error opening DB environment: DB_RUNRECOVERY: Fatal error, run database recovery
Dec  9 18:21:25 TPLink 1043ND daemon.err afpd[7755]: read: Connection reset by peer
Dec  9 18:21:26 TPLink 1043ND daemon.err cnid_dbd[7759]: error opening DB environment: DB_RUNRECOVERY: Fatal error, run database recovery
Dec  9 18:21:26 TPLink 1043ND daemon.err afpd[7755]: read: Connection reset by peer
Dec  9 18:21:27 TPLink 1043ND daemon.warn cnid_metad[7760]: Multiple attempts to start CNID db daemon for "/tmp" failed, wiping the slate clean...
Dec  9 18:21:27 TPLink 1043ND daemon.warn cnid_dbd[7760]: main: too many CNID db opening attempts, wiping the slate clean
Dec  9 18:22:42 TPLink 1043ND daemon.notice afpd[7755]: AFP logout by tmuser
Dec  9 18:22:42 TPLink 1043ND daemon.notice afpd[7755]: AFP statistics: 7065.73 KB read, 1232.43 KB written
Dec  9 18:22:42 TPLink 1043ND daemon.notice afpd[7755]: done
Dec  9 18:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA d8:30:62:5d:18:c2 WPA: group key handshake completed (RSN)
Dec  9 18:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 90:84:0d:48:d9:bc WPA: group key handshake completed (RSN)
Dec  9 18:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 50:ea:d6:b8:e0:c7 WPA: group key handshake completed (RSN)
Dec  9 18:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:53:2e:ee:bc:59 WPA: group key handshake completed (RSN)
Dec  9 18:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 14:74:11:93:6b:11 WPA: group key handshake completed (RSN)
Dec  9 18:23:13 TPLink 1043ND daemon.info hostapd: wlan0: STA 64:b9:e8:62:11:52 WPA: group key handshake completed (RSN)
Dec  9 18:23:14 TPLink 1043ND daemon.info hostapd: wlan0: STA b8:ff:61:13:c9:aa WPA: group key handshake completed (RSN)
Dec  9 18:23:14 TPLink 1043ND daemon.info hostapd: wlan0: STA 88:63:df:86:2d:ab WPA: group key handshake completed (RSN)
Dec  9 18:25:32 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 18:25:32 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
Dec  9 18:26:48 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPINFORM(br-lan) 192.168.0.110 88:53:2e:ee:bc:59
Dec  9 18:26:48 TPLink 1043ND daemon.info dnsmasq-dhcp[1802]: DHCPACK(br-lan) 192.168.0.110 88:53:2e:ee:bc:59 Ania-PC
root@TPLink 1043ND:~#

root@TPLink 1043ND:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14580k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/sda1 on /overlay type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
/dev/sdb1 on /mnt/TimeMachine type hfsplus (rw,sync,relatime,umask=22,uid=0,gid=0,nls=utf8)
none on /proc/bus/usb type usbfs (rw,relatime)
root@TPLink 1043ND:~#

root@TPLink 1043ND:~# blkid
/dev/mtdblock2: TYPE="squashfs"
/dev/sda1: UUID="99277c2d-aba3-4d77-9f40-136a340116a9" TYPE="ext4"
/dev/sda2: UUID="f019dddb-cc90-4c2c-ba55-2ff3236e9c0c" TYPE="swap"
/dev/sdb1: UUID="1c20d730-7438-3f80-9baa-62542dec8cc3" LABEL="TIMEMACHINE" TYPE="hfsplus"
root@TPLink 1043ND:~#

root@TPLink 1043ND:~# cat /etc/netatalk/AppleVolumes.default
-
/tmp Temp allow:root,nobody cnidscheme:db /mnt/TimeMachine TimeMachine volsizelimit:650000 allow:@timemachine rwlist:@timemachine cnidscheme:dbd options:searchdb,usedots,invisibledots,tm
root@TPLink 1043ND:~#

root@TPLink 1043ND:~# cat /etc/avahi/avahi-daemon.conf
[server]
#host-name=TimeMachine
#domain-name=local
use-ipv4=yes
use-ipv6=no
check-response-ttl=no
use-iff-running=no
enable-dbus=no
allow-interfaces=br-lan

[publish]
publish-addresses=yes
publish-hinfo=yes
publish-workstation=no
publish-domain=yes
#publish-dns-servers=192.168.0.1
#publish-resolv-conf-dns-servers=yes

[reflector]
enable-reflector=no
reflect-ipv=no

[rlimits]
#rlimit-as=
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=30
rlimit-stack=4194304
rlimit-nproc=3
root@TPLink 1043ND:~#

root@TPLink 1043ND:~# cat /etc/avahi/services/afpd.service
<?xml version="1.0" standalone="no"?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Time Capsule</name>
  <service>
      <type>_afpovertcp._tcp</type>
          <port>548</port>
            </service>
              <service>
                  <type>_device-info._tcp</type>
                      <port>0</port>
                          <txt-record>model=TimeCapsule</txt-record>
                            </service>
                              <service>
                                  <type>_adisk._tcp</type>
                                      <port>9</port>
                                          <txt-record>sys=waMA=94:0C:6D:E6:9A:40,adVF=0x100</txt-record>
                                              <txt-record>dk1=adVF=0x83,adVN=TimeMachine</txt-record>
                                                </service>
                                                </service-group>
root@TPLink 1043ND:~#