Temat: Czas dzierżawy - coś mu się dzieje

Witam, poniżej info - najnowszy Gargoyle 1.5.8.5 (r34827)
Cóż mu się dzieje ?

Dec 25 15:22:27 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 15:22:28 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 15:36:39 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 15:36:40 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 15:50:50 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 15:50:51 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 16:05:01 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 16:05:02 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 16:19:13 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 16:19:14 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 16:33:24 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 16:33:25 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 16:47:35 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 16:47:36 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 17:01:47 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 17:01:48 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 17:15:58 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 17:15:59 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 17:30:09 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 17:30:10 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 17:44:21 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 17:44:22 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 17:58:32 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 17:58:33 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 18:12:43 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 18:12:44 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 18:26:55 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 18:26:56 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 18:41:06 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 18:41:07 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 18:55:18 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 18:55:19 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 19:09:29 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 19:09:30 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 19:23:40 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 19:23:41 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 19:37:52 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 19:37:53 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 19:52:03 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 19:52:04 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 20:06:14 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 20:06:15 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 20:20:26 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 20:20:27 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 20:34:37 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 20:34:38 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 20:48:48 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 20:48:49 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 21:03:00 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 21:03:01 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 21:17:11 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 21:17:12 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Dec 25 21:31:22 Gargoyle daemon.notice netifd: wan (6393): Sending renew...
Dec 25 21:31:23 Gargoyle daemon.notice netifd: wan (6393): Lease of 192.168.0.11 obtained, lease time 1700
Hitron CGNv4 // Cisco Meraki-MR18
TL-WR1043NDv2, Mikrotik RB2011UiAS-2HnD-IN Pracują na LEDE
https://wiki.openwrt.org/toh/mikrotik/r … ll_openwrt

2

Odp: Czas dzierżawy - coś mu się dzieje

Jak już to sprawka nowego netifd, ale i tak masz stosunkowo krótki czas na tym urządzeniu ustawiony (1700).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Czas dzierżawy - coś mu się dzieje

Cezary miałem na myśli odstępy czasowe .

Hitron CGNv4 // Cisco Meraki-MR18
TL-WR1043NDv2, Mikrotik RB2011UiAS-2HnD-IN Pracują na LEDE
https://wiki.openwrt.org/toh/mikrotik/r … ll_openwrt

4

Odp: Czas dzierżawy - coś mu się dzieje

Masz 28min czas dzierżawy ustawiony. Przed upłynieciem czasu odświeża ja.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Czas dzierżawy - coś mu się dzieje

Cezary, z tego co widzę robił to co 15 minut i przestał .. Przynajmniej do chwili obecnej ..

Hitron CGNv4 // Cisco Meraki-MR18
TL-WR1043NDv2, Mikrotik RB2011UiAS-2HnD-IN Pracują na LEDE
https://wiki.openwrt.org/toh/mikrotik/r … ll_openwrt

6

Odp: Czas dzierżawy - coś mu się dzieje

Czemu robi częściej to już do źródeł zobacz na jakich warunkach to robi.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Czas dzierżawy - coś mu się dzieje

A zobacz co masz w /var/state/network

Zauważyłem, że u mnie nie notuje czasu dzierżawy od strony WAN. W związku z tym jest co jakiś czas problem z odcięciem dostępu do świata przez kolejny router na którym działa leasequery, ponieważ TPLINK z Gargoyle PL nie zgłasza się po odnowienie dzierżawy gdyż poprostu nie wie kiedy to ma nastąpić.

--
KO

8 (edytowany przez ptaszor 2013-03-17 16:58:33)

Odp: Czas dzierżawy - coś mu się dzieje

Witam,

Po przejściu na AA zauważyłem że bez specjalnej definicji odświeża
dzierżawę od strony wan-u, który mam ustawiony na DHCP,
na starszym Gorgoyle'u tego nie robił.
Jak to wyłączyć lub wydłużyć ten czas bo telewizor po prostu
reaguje na to jak na błąd sieci ?
W logach to nawet częściej jest odświeżanie niż 7200 s
i za każdym razem odnawiane jest wszystko
(zostawiłem zapis przy ostatniej dzierżawie).

Ptaszor

[edit]
Zauważyłem, że temat dzierżaw przewija się dość często.
Jak na razie jedynym miejscem gdzie lease time
jest definiowane to /etc/config/dhcp ale dla lan
Dla wan to nie działa. np.:

config dhcp wan
        option interface        wan
        option ignore   1
        option leasetime        12h




------------------------------------------------------------------------------------------------------------------------------------------------

Mar 17 08:51:19 OpenWrt daemon.notice netifd: wan (778): Sending renew...
Mar 17 08:51:19 OpenWrt daemon.notice netifd: wan (778): Lease of xxx.xxx.xxx.xxx obtained, lease time 7200
Mar 17 10:21:20 OpenWrt daemon.notice netifd: wan (778): Sending renew...
Mar 17 10:21:20 OpenWrt daemon.notice netifd: wan (778): Lease of xxx.xxx.xxx.xxx obtained, lease time 7200
Mar 17 11:21:20 OpenWrt daemon.notice netifd: wan (778): Sending renew...
Mar 17 11:21:20 OpenWrt daemon.notice netifd: wan (778): Lease of xxx.xxx.xxx.xxx obtained, lease time 7200
Mar 17 12:21:20 OpenWrt daemon.notice netifd: wan (778): Sending renew...
Mar 17 12:21:20 OpenWrt daemon.notice netifd: wan (778): Lease of xxx.xxx.xxx.xxx obtained, lease time 7200
Mar 17 13:21:20 OpenWrt daemon.notice netifd: wan (778): Sending renew...
Mar 17 13:21:20 OpenWrt daemon.notice netifd: wan (778): Lease of xxx.xxx.xxx.xxx obtained, lease time 7200
Mar 17 13:22:38 OpenWrt daemon.notice hostapd: wlan0: STA bc:20:a4:6c:b6:80 IEEE 802.11: did not acknowledge authentication response
Mar 17 13:23:07 OpenWrt daemon.info hostapd: wlan0: STA 00:a0:96:7b:e7:de WPA: group key handshake completed (RSN)
Mar 17 13:33:07 OpenWrt daemon.info hostapd: wlan0: STA 00:a0:96:7b:e7:de WPA: group key handshake completed (RSN)
Mar 17 13:33:50 OpenWrt daemon.info dnsmasq[1832]: reading /tmp/resolv.conf.auto
Mar 17 13:33:50 OpenWrt daemon.info dnsmasq[1832]: using nameserver xxx.xxx.xxx.xxx#53
Mar 17 13:33:50 OpenWrt daemon.info dnsmasq[1832]: using nameserver xxx.xxx.xxx.xxx#53
Mar 17 13:33:50 OpenWrt daemon.info dnsmasq[1832]: using local addresses only for domain lan
Mar 17 13:43:13 OpenWrt daemon.info hostapd: wlan0: STA 00:a0:96:7b:e7:de IEEE 802.11: authenticated
Mar 17 13:43:13 OpenWrt daemon.info hostapd: wlan0: STA 00:a0:96:7b:e7:de IEEE 802.11: associated (aid 1)
Mar 17 13:43:14 OpenWrt daemon.info hostapd: wlan0: STA 00:a0:96:7b:e7:de WPA: pairwise key handshake completed (RSN)
Mar 17 13:53:07 OpenWrt daemon.info hostapd: wlan0: STA 00:a0:96:7b:e7:de WPA: group key handshake completed (RSN)
Mar 17 14:03:07 OpenWrt daemon.info hostapd: wlan0: STA 00:a0:96:7b:e7:de WPA: group key handshake completed (RSN)

9

Odp: Czas dzierżawy - coś mu się dzieje

Definicja w /etc/config/dhcp to dla serwera dhcp. U Ciebie odświeża to netifd, więc zgłaszaj ticket na dev.openwrt.org że coś jest nie tak.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: Czas dzierżawy - coś mu się dzieje

Nie mam pewności, że odświeżanie dzierżawy z DHCP po wanie wywołuje
błędy sieci wlan0, poza koincydencją czasową.
Wygląda to tak - na TV błąd sieci - a w logach :

Mar 19 18:24:17 OpenWrt daemon.notice netifd: wan (6726): Sending renew...
Mar 19 18:24:17 OpenWrt daemon.notice netifd: wan (6726): Lease of xxx.xxx.xxx.xxx obtained, lease time 7200
Mar 19 18:29:03 OpenWrt daemon.info hostapd: wlan0: STA 00:18:de:b5:33:5a WPA: group key handshake completed (RSN)
Mar 19 18:29:03 OpenWrt daemon.info hostapd: wlan0: STA 00:a0:96:7b:e7:de WPA: group key handshake completed (RSN)
Mar 19 18:29:03 OpenWrt daemon.info hostapd: wlan0: STA bc:20:a4:6c:b6:80 WPA: group key handshake completed (RSN)
Mar 19 18:31:33 OpenWrt daemon.info dnsmasq[1832]: reading /tmp/resolv.conf.auto
Mar 19 18:31:33 OpenWrt daemon.info dnsmasq[1832]: using nameserver xxx.xxx.xxx.xxx#53
Mar 19 18:31:33 OpenWrt daemon.info dnsmasq[1832]: using nameserver xxx.xxx.xxx.xxx #53
Mar 19 18:31:33 OpenWrt daemon.info dnsmasq[1832]: using local addresses only for domain lan


co jest normalne ze względu na lease time ustawiony u dostawcy netu na 2h, netifd po upływie
połowy odświeża dzierżawę (wg. https://dev.openwrt.org/ticket/12223,
https://dev.openwrt.org/ticket/12649#no2).

Ale czy któreś z moich ustawienia w "wireless" mają jakiś błąd, który wywołuje te błędy sieci
w TV po wlan0 ?  te błędy sieci w telewizorze są dokuczliwe gdy się chce obejrzeć coś dłużej niż 1h.

root@OpenWrt:/# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option macaddr 'macadres'
        option hwmode '11ng'
        option htmode 'HT40+'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'DSSS_CCK-40'
        list ht_capab 'HT40+'
        list ht_capab 'HT40-'
        option country 'PL'
        option noscan  '1'
        option channel '3'
        option disabled '0'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'Betelgeuse'
        option encryption 'psk2'
        option key 'hasło'
        option macfilter 'allow'
        option maclist ''
        option hidden '1'


TP-Link 1043ND ver. 1.8, OpenWrt Attitude Adjustment 12.09-rc1 (r35839)

11

Odp: Czas dzierżawy - coś mu się dzieje

Ale jaki masz błąd? Bo to "group key handshake completed (RSN)" nie jest błędem jak by coś.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: Czas dzierżawy - coś mu się dzieje

Przy oglądaniu z minidlna lub z youtube na nowym TV przez wifi
pojawia się co jakiś czas "Błąd sieci" i wygląda jakby zerywał
połączenie.
Jedyne co zauważyłem to w tym samym czasie odnawia dzierżawę
ale to okazało się normalne.
To, że komunikaty związane z "WPA Group Cipher rekeying" nie mają
nic wspólnego z tym zachowaniem TV już wiem.
Z tego co doczytałem się to tego typu problemy z TP-Linkami 1043ND
były juz zgłaszane, ale przy intensywnym obciążeniu
https://dev.openwrt.org/ticket/12372#comment:19
http://openrouter.info/forum/viewtopic. … mp;p=25757

Powinienem bardziej sprecyzować problem - uzupełnię jak tylko
będę miał coś konkretnego po testach.

Dzięki za kontakt.
Pozdrawiam.