1

(9 odpowiedzi, napisanych Oprogramowanie / Software)

Ja się podłącze, bo w sumie chodzi o to samo.
Mam wgrane OpenWrt Chaos Calmer 15.05.1 r49398. Do WANów podpięty B525 i B715.
Przykładowe wyniki po kablu:
Wpięty rj45 bezpośrednio w B715:
http://beta.speedtest.net/result/6765978435.png

Wpięty w  WDR4300:
http://beta.speedtest.net/result/6765993841.png

Po WiFi w telefonach jest identycznie.

Ktoś ma jakiś pomysł dlaczego tak się dzieje?

EDIT
Na czas testów działał tylko jeden WAN, z tym samym testowanym ruterem(B715).

EDIT 2
Wyłączenie QOS załatwiło sprawę, ale to normalne by tak mocno tłukło upload?

http://beta.speedtest.net/result/6766024302.png

Nie, linkowałem do chińskiego sklepu przecież. U nas też można kupić, oczywiście drożej.
To forum użytkowników, co sprowadza się do tłumaczenie Cezarego reszcie jak co zrobić smile
Znalazłem w ofertach na mailu, pooglądałem, poczytałem i uznałem że urządzenie jest warte by dowiedzieli się inni, a tutaj, bo samo OpenWrt jakoś kojarzy mi się z Cezarym smile

EDIT
Tyle dobrego napisałem, że po sprawdzeniu aktualnego kursu dolara kupiłem z wysyłką z DE(drożej, ale szybciej).
Więc jeśli dojdzie, a ktoś miał by pytania to w ramach poznawania sprzętu i własnych skromnych możliwości(nie będzie kompilacji OpenWrt) postaram się odpowiedzieć.

http://i63.tinypic.com/r9kcjc.png

No ale w linku już jest nowa wersja x10. Trochę nie doceniasz chińczyków(z małej, bo założyłem że chodzi o skrót myślowy). Ten x8s to naprawdę wypasiony sprzet. Zobacz po ile są odtwarzacze Bluray, a tam nie zainstalujesz vod(w sensie Popcorntime, cda inne).
W ramach googlowania odkryłem jeszcze jedną niecodzienną cechę tych urządzeń, mianowicie grabbowanie(zgrywanie) HDMI. Oczywiście problem HDCP został już rozwiązany. To teraz zsumujmy
ruter
nas
odtwarzacz bluray(oczywiście tam nie ma napędu optycznego. Po prostu w sprzedaży nie ma popularniejszego odpowiednika do oglądania video)
vod do źródeł, których nie mamy na dysku
Jak by kupować te wszystkie urządzenia osobno to pomijając już cenę zapełnimy bardzo sporą szafkę. O zużyciu prądu też chyba nie ma sensu pisać.

No ja jestem pod wrażeniem chińskiej myśli technicznej i podoba mi się jej wycena.

Jak masz telefon z Androidem to wiesz jak wygląda wsparcie tego systemu. Tu nie będzie inaczej. A OpenWRT no przecież też są sprzęty bez aktualizacji, ale bardziej zastanawia jak odpalili 2 systemy jednocześnie, no chyba że tylko środowisko na tym samym jądrze co Android... Brakuje mi wiedzy by domyślać się odpowiedzi, ale samo urządzenie oceniam bardzo pozytywnie. Udostępnianie zasobów z Androida nie jest idealne, a w ów sposób stało się banalne i co ważniejsze działające.
Oczywiście z modemem USB to sztuka dla sztuki. Taki ruter powinien stać tam gdzie sieje zasięgiem najlepiej, a nie grzecznie pod telewizorem. Ale jak ktoś ma małe mieszkanie, chciałby mieć nie byle jaki NAS i przy tym całkiem wypasiony sprzęt do oglądania...
A Tobie Cezary koncepcja się nie podoba?

No gdzieś te modemy trzeba wtykać wink
Znalazłem jako ciekawostkę boxy z Andoidem i OpenWRT. Połączenie przyjemnego z pożytecznym. Najtańszy to jakieś 400zł, więc ruter pod OpenWRT da się kupić taniej, ale możliwości...

Ciekaw jestem ktoś zaryzykuje?

http://image4.geekbuying.com/content_pic/201610/geekbuying-ZIDOO-X8-Realtek-RTD1295-Android-6-0-OpenWRT-NAS--TV-BOX-390808-.jpg

Filmik pokrótce przedstawiający działanie OpenWRT na tym wynalazku.
Filmik z speedtestem net smile

EDIT
I filmik przedstawiający więcej OpenWRT

6

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Ok. Tak czy siak kombinacja

ipset=/a.rtmp.youtube.com/syoutube

i

config rule 'syoutube'
    option proto 'all'
    option ipset 'syoutube'
    option sticky '1'
    option use_policy 'wan2_only'
    option dest_port '1935,80,8134,1111'

Nie działa. Stream jest puszczany przez losowy WAN. Opcja bez podawania portów tak samo.

7

(36 odpowiedzi, napisanych Oprogramowanie / Software)

dnsmasq.conf akurat przez WinSCP i Notepad++, bo przez luci nie ma dostępu do tego pliku. Jak wpiszę to samo przez Notepada to i tak w gui wyskoczy komunikat o błędzie.

8

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Przy zmianie na All dostaję komunikat:

WARNING: this rule is incorrectly configured with no or improper protocol specified! Please configure a specific protocol!

I czerwony znaczek przy regule.

http://i65.tinypic.com/egr4ow.png

dnsmasq full instalowałem według wcześniejszych instrukcji.

9

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Nie działa. Jest pełna losowość WANów.

ipset=/a.rtmp.youtube.com/syoutube
config rule 'syoutube'
    option ipset 'syoutube'
    option sticky '1'
    option use_policy 'wan2_only'
    option dest_port '1935,80,8134,1111'
    option proto 'tcp'

EDIT
Jak to sprawdzam? Mam program do streamowania Action(ale może być inny np darmowy OBS) i darmowy program do monitorowania obciążenia ruchu sieciowego NetMeter Evo.
Wan to ADSL z kiepskim uploadem, WAN2 to LTE. Action ustawiony na streamowanie 12Mb/s.
Puszczając stream widać w Netmeterze po którym łączu idzie.

10

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Tak jeszcze dopytam, bo to nie HTTP. Stream jak puścić przez wybrany WAN?
Np youtube ma taki adres rtmp://a.rtmp.youtube.com/live2 zapewne bywają różne jeśli chodzi o składnie, ale ten protokół.
Jak powinna wyglądać składnia?
ipset=rtmp://a.rtmp.youtube.com/costamcostam

11

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Tak tak, ale to i tak zdrada. Zwyczajnie czytelnie nazwać reguły od witryn. Puki jest ich niewiele to problemu nie ma.

12

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Acha, ale to i tak zdrada wink Nazwa to nazwa.

13

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Linia od 102

config rule 'bez-kabli'
    option proto 'all'
    option sticky '1'
    option ipset 'bez-kabli'
    option use_policy 'wan_wan2'

Czyli myślnik w adresie rozwala system smile ok usunę go.

14

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Ale w jakim pliku. Edytowałem jedynie dnsmasq.conf i mój ma 41 linii w notepad++

15

(36 odpowiedzi, napisanych Oprogramowanie / Software)

uci: Parse error (invalid character in name field) at line 102, byte 24

EDIT
W dnsmasq.conf mam dopisane

ipset=/youtube.com/youtube
ipset=/speedtest.net/speedtest
ipset=/facebook.com/facebook
ipset=/bez-kabli.pl/bez-kabli

Może myślnik to rowala?

16

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Errory zaczynają się od

Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]: /usr/lib/lua/luci/dispatcher.l                                                      ua:360: Failed to execute function dispatcher target for entry '/admin/network/m                                                      wan/configuration'.

Resinstalacja mwan3 pomoże, nie zginie mi to co już skonfigurowałem?

17

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Eureka. Wywalenie portu pomaga. Jak ja lubię jak się tak prosto naprawia smile
Dziękuję Ci bardzo, bo bez Ciebie siedział bym w googlach jeszcze z miesiąc.
To teraz facebooka muszę jeszcze dodać, bo czasem na http nie chce się otworzyć.
Jeszcze raz dziękuję.

EDIT
O dodałeś wpis z speedtestem jako przykład. Dziękuję Ci. Jestem pewien że pomoże wielu ludziom, którzy do tej pory rozbijali się o ścianę, bo jak ja w logi nie patrzyli smile

Dzięki.

EDIT2
Jednak z facegookiem jest inaczej.
Na multiwan potrafi się zawiesić i w pasku adresu migają naprzemiennie
facebook.com
web.facebook.com
Tu już nie trzeba ograniczać na konkretny wan, byle te 2 adresy szły z tego samego.
Dodałem

config rule 'facebook'
    option proto 'all'
    option sticky '1'
    option ipset 'facebook'
    option use_policy 'wan_wan2'

w pliku

ipset=/facebook.com/facebook
ipset=/web.facebook.com/facebook

I facebook się poprawił, ale interfejs mwan3 się wysypał:

http://i68.tinypic.com/4k7fye.png

Jak nie urok...

Log, który oczywiście nic mi nie mówi..

Mon Apr 10 19:45:15 2017 kern.info kernel: [   15.530000] usbcore: registered ne                                                      w interface driver qcserial
Mon Apr 10 19:45:15 2017 kern.info kernel: [   15.540000] usbserial: USB Serial                                                       support registered for Qualcomm USB modem
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.570000] ath: EEPROM regdomain                                                      : 0x0
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.570000] ath: EEPROM indicates                                                       default country code should be used
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.570000] ath: doing EEPROM cou                                                      ntry->regdmn map search
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.570000] ath: country maps to                                                       regdmn code: 0x3a
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.570000] ath: Country alpha2 b                                                      eing used: US
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.570000] ath: Regpair used: 0x                                                      3a
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.580000] ieee80211 phy0: Selec                                                      ted rate control algorithm 'minstrel_ht'
Mon Apr 10 19:45:15 2017 kern.info kernel: [   15.580000] ieee80211 phy0: Athero                                                      s AR9340 Rev:2 mem=0xb8100000, irq=47
Mon Apr 10 19:45:15 2017 kern.warn kernel: [   15.590000] PCI: Enabling device 0                                                      000:00:00.0 (0000 -> 0002)
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.600000] ath: EEPROM regdomain                                                      : 0x0
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.600000] ath: EEPROM indicates                                                       default country code should be used
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.600000] ath: doing EEPROM cou                                                      ntry->regdmn map search
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.600000] ath: country maps to                                                       regdmn code: 0x3a
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.600000] ath: Country alpha2 b                                                      eing used: US
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.600000] ath: Regpair used: 0x                                                      3a
Mon Apr 10 19:45:15 2017 kern.debug kernel: [   15.610000] ieee80211 phy1: Selec                                                      ted rate control algorithm 'minstrel_ht'
Mon Apr 10 19:45:15 2017 kern.info kernel: [   15.610000] ieee80211 phy1: Athero                                                      s AR9300 Rev:4 mem=0xb0000000, irq=40
Mon Apr 10 19:45:18 2017 user.emerg syslog: this file has been obseleted. please                                                       call "/sbin/block mount" directly
Mon Apr 10 19:45:19 2017 daemon.err block: /dev/mtdblock3 is already mounted
Mon Apr 10 19:45:20 2017 authpriv.info dropbear[1334]: Not backgrounding
Mon Apr 10 19:45:25 2017 kern.info kernel: [   27.490000] IPv6: ADDRCONF(NETDEV_                                                      UP): eth0: link is not ready
Mon Apr 10 19:45:25 2017 kern.info kernel: [   27.510000] device eth0.1 entered                                                       promiscuous mode
Mon Apr 10 19:45:25 2017 kern.info kernel: [   27.510000] device eth0 entered pr                                                      omiscuous mode
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'lan' is enabled
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'lan' is setting up now
Mon Apr 10 19:45:25 2017 kern.info kernel: [   27.530000] IPv6: ADDRCONF(NETDEV_                                                      UP): br-lan: link is not ready
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'lan' is now up
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'loopback' is enabled
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'loopback' is setting u                                                      p now
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'loopback' is now up
Mon Apr 10 19:45:25 2017 kern.info kernel: [   27.540000] IPv6: ADDRCONF(NETDEV_                                                      UP): eth0.2: link is not ready
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan' is enabled
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan' is setting up now
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan' is now up
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan6' is enabled
Mon Apr 10 19:45:25 2017 kern.info kernel: [   27.570000] IPv6: ADDRCONF(NETDEV_                                                      UP): eth0.3: link is not ready
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan2' is enabled
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan2' is setting up no                                                      w
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan2' is now up
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Network device 'lo' link is up
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'loopback' has link con                                                      nectivity
Mon Apr 10 19:45:25 2017 kern.info kernel: [   28.140000] eth0: link up (1000Mbp                                                      s/Full duplex)
Mon Apr 10 19:45:25 2017 kern.info kernel: [   28.140000] IPv6: ADDRCONF(NETDEV_                                                      CHANGE): eth0: link becomes ready
Mon Apr 10 19:45:25 2017 daemon.notice netifd: VLAN 'eth0.3' link is up
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan2' has link connect                                                      ivity
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Network device 'eth0' link is up
Mon Apr 10 19:45:25 2017 kern.info kernel: [   28.150000] br-lan: port 1(eth0.1)                                                       entered forwarding state
Mon Apr 10 19:45:25 2017 kern.info kernel: [   28.160000] br-lan: port 1(eth0.1)                                                       entered forwarding state
Mon Apr 10 19:45:25 2017 kern.info kernel: [   28.160000] IPv6: ADDRCONF(NETDEV_                                                      CHANGE): eth0.2: link becomes ready
Mon Apr 10 19:45:25 2017 kern.info kernel: [   28.170000] IPv6: ADDRCONF(NETDEV_                                                      CHANGE): eth0.3: link becomes ready
Mon Apr 10 19:45:25 2017 kern.info kernel: [   28.230000] IPv6: ADDRCONF(NETDEV_                                                      CHANGE): br-lan: link becomes ready
Mon Apr 10 19:45:25 2017 daemon.notice netifd: VLAN 'eth0.1' link is up
Mon Apr 10 19:45:25 2017 daemon.notice netifd: VLAN 'eth0.2' link is up
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan' has link connecti                                                      vity
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan6' has link connect                                                      ivity
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'wan6' is setting up no                                                      w
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Bridge 'br-lan' link is up
Mon Apr 10 19:45:25 2017 daemon.notice netifd: Interface 'lan' has link connecti                                                      vity
Mon Apr 10 19:45:27 2017 kern.info kernel: [   30.160000] br-lan: port 1(eth0.1)                                                       entered forwarding state
Mon Apr 10 19:45:29 2017 daemon.notice netifd: radio0 (1687): Configuration file                                                      : /var/run/hostapd-phy0.conf
Mon Apr 10 19:45:29 2017 kern.info kernel: [   31.410000] IPv6: ADDRCONF(NETDEV_                                                      UP): wlan0: link is not ready
Mon Apr 10 19:45:29 2017 kern.info kernel: [   31.420000] device wlan0 entered p                                                      romiscuous mode
Mon Apr 10 19:45:29 2017 daemon.notice netifd: radio0 (1687): wlan0: interface s                                                      tate UNINITIALIZED->COUNTRY_UPDATE
Mon Apr 10 19:45:29 2017 daemon.notice netifd: radio0 (1687): Using interface wl                                                      an0 with hwaddr e8:de:27:77:69:28 and ssid "Robertnik"
Mon Apr 10 19:45:29 2017 daemon.notice netifd: radio1 (1688): Configuration file                                                      : /var/run/hostapd-phy1.conf
Mon Apr 10 19:45:29 2017 kern.info kernel: [   31.560000] IPv6: ADDRCONF(NETDEV_                                                      UP): wlan1: link is not ready
Mon Apr 10 19:45:29 2017 kern.info kernel: [   31.740000] device wlan1 entered p                                                      romiscuous mode
Mon Apr 10 19:45:29 2017 kern.info kernel: [   31.740000] br-lan: port 3(wlan1)                                                       entered forwarding state
Mon Apr 10 19:45:29 2017 kern.info kernel: [   31.750000] br-lan: port 3(wlan1)                                                       entered forwarding state
Mon Apr 10 19:45:29 2017 daemon.notice netifd: radio1 (1688): wlan1: interface s                                                      tate UNINITIALIZED->COUNTRY_UPDATE
Mon Apr 10 19:45:29 2017 daemon.notice netifd: radio1 (1688): Using interface wl                                                      an1 with hwaddr e8:de:27:77:69:29 and ssid "Robertnik5"
Mon Apr 10 19:45:29 2017 user.notice firewall: Reloading firewall due to ifup of                                                       lan (br-lan)
Mon Apr 10 19:45:29 2017 user.emerg syslog: setting up led USB1
Mon Apr 10 19:45:29 2017 user.emerg syslog: setting up led USB2
Mon Apr 10 19:45:29 2017 user.emerg syslog: setting up led WLAN2G
Mon Apr 10 19:45:30 2017 kern.info kernel: [   32.420000] br-lan: port 3(wlan1)                                                       entered disabled state
Mon Apr 10 19:45:30 2017 daemon.info procd: - init complete -
Mon Apr 10 19:45:31 2017 kern.info kernel: [   33.360000] br-lan: port 2(wlan0)                                                       entered forwarding state
Mon Apr 10 19:45:31 2017 kern.info kernel: [   33.360000] br-lan: port 2(wlan0)                                                       entered forwarding state
Mon Apr 10 19:45:31 2017 kern.info kernel: [   33.370000] IPv6: ADDRCONF(NETDEV_                                                      CHANGE): wlan0: link becomes ready
Mon Apr 10 19:45:31 2017 daemon.notice netifd: radio0 (1687): wlan0: interface s                                                      tate COUNTRY_UPDATE->ENABLED
Mon Apr 10 19:45:31 2017 daemon.notice netifd: radio0 (1687): wlan0: AP-ENABLED
Mon Apr 10 19:45:31 2017 kern.info kernel: [   33.460000] br-lan: port 3(wlan1)                                                       entered forwarding state
Mon Apr 10 19:45:31 2017 kern.info kernel: [   33.460000] br-lan: port 3(wlan1)                                                       entered forwarding state
Mon Apr 10 19:45:31 2017 kern.info kernel: [   33.470000] IPv6: ADDRCONF(NETDEV_                                                      CHANGE): wlan1: link becomes ready
Mon Apr 10 19:45:31 2017 daemon.notice netifd: radio1 (1688): wlan1: interface s                                                      tate COUNTRY_UPDATE->ENABLED
Mon Apr 10 19:45:31 2017 daemon.notice netifd: radio1 (1688): wlan1: AP-ENABLED
Mon Apr 10 19:45:31 2017 daemon.notice netifd: Network device 'wlan0' link is up
Mon Apr 10 19:45:31 2017 daemon.notice netifd: Network device 'wlan1' link is up
Mon Apr 10 19:45:33 2017 kern.info kernel: [   35.360000] br-lan: port 2(wlan0)                                                       entered forwarding state
Mon Apr 10 19:45:33 2017 kern.info kernel: [   35.460000] br-lan: port 3(wlan1)                                                       entered forwarding state
Mon Apr 10 19:45:33 2017 daemon.warn odhcpd[1283]: DHCPV6 SOLICIT IA_NA from 000                                                      10001204feef7408d5c1dc9a7 on br-lan: ok fdfc:9f97:af9a::928/128
Mon Apr 10 19:45:33 2017 kern.debug kernel: [   35.740000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:33 2017 kern.debug kernel: [   35.740000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:33 2017 kern.debug kernel: [   35.740000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:33 2017 kern.debug kernel: [   35.750000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:33 2017 kern.debug kernel: [   35.750000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:33 2017 daemon.warn odhcpd[1283]: DHCPV6 REQUEST IA_NA from 000                                                      10001204feef7408d5c1dc9a7 on br-lan: ok fdfc:9f97:af9a::928/128
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: started, version 2.73 caches                                                      ize 150
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: compile time options: IPv6 G                                                      NU-getopt no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth                                                       DNSSEC loop-detect inotify
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: DNS service limited to local                                                       subnets
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq-dhcp[2073]: DHCP, IP range 192.168.                                                      0.100 -- 192.168.0.249, lease time 12h
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: using local addresses only f                                                      or domain lan
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: reading /tmp/resolv.conf.aut                                                      o
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: using local addresses only f                                                      or domain lan
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: using nameserver 8.8.8.8#53
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: using nameserver 4.4.4.4#53
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: using nameserver 8.8.8.8#53
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: using nameserver 4.4.4.4#53
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: read /etc/hosts - 1 addresse                                                      s
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: read /tmp/hosts/dhcp - 1 add                                                      resses
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq[2073]: read /tmp/hosts/odhcpd - 1 a                                                      ddresses
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq-dhcp[2073]: read /etc/ethers - 0 ad                                                      dresses
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq-dhcp[2073]: DHCPREQUEST(br-lan) 192                                                      .168.0.111 40:8d:5c:1d:c9:a7
Mon Apr 10 19:45:35 2017 daemon.info dnsmasq-dhcp[2073]: DHCPACK(br-lan) 192.168                                                      .0.111 40:8d:5c:1d:c9:a7 DESKTOP-T4BJRJ6
Mon Apr 10 19:45:36 2017 kern.debug kernel: [   38.760000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:36 2017 kern.debug kernel: [   38.760000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:36 2017 kern.debug kernel: [   38.760000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:36 2017 kern.debug kernel: [   38.770000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:36 2017 kern.debug kernel: [   38.770000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:45:37 2017 daemon.warn odhcpd[1283]: DHCPV6 CONFIRM IA_NA from 000                                                      10001204feef7408d5c1dc9a7 on br-lan: not on-link fdfc:9f97:af9a::928/128
Mon Apr 10 19:45:37 2017 daemon.warn odhcpd[1283]: DHCPV6 SOLICIT IA_NA from 000                                                      10001204feef7408d5c1dc9a7 on br-lan: ok fdfc:9f97:af9a::928/128
Mon Apr 10 19:45:37 2017 daemon.info dnsmasq[2073]: read /etc/hosts - 1 addresse                                                      s
Mon Apr 10 19:45:37 2017 daemon.info dnsmasq[2073]: read /tmp/hosts/dhcp - 1 add                                                      resses
Mon Apr 10 19:45:37 2017 daemon.info dnsmasq[2073]: read /tmp/hosts/odhcpd - 0 a                                                      ddresses
Mon Apr 10 19:45:37 2017 daemon.info dnsmasq-dhcp[2073]: read /etc/ethers - 0 ad                                                      dresses
Mon Apr 10 19:45:37 2017 user.notice mwan3: ifup interface wan (eth0.2)
Mon Apr 10 19:45:38 2017 daemon.warn odhcpd[1283]: DHCPV6 REQUEST IA_NA from 000                                                      10001204feef7408d5c1dc9a7 on br-lan: ok fdfc:9f97:af9a::928/128
Mon Apr 10 19:45:38 2017 daemon.info dnsmasq[2073]: read /etc/hosts - 1 addresse                                                      s
Mon Apr 10 19:45:38 2017 daemon.info dnsmasq[2073]: read /tmp/hosts/dhcp - 1 add                                                      resses
Mon Apr 10 19:45:38 2017 daemon.info dnsmasq[2073]: read /tmp/hosts/odhcpd - 1 a                                                      ddresses
Mon Apr 10 19:45:38 2017 daemon.info dnsmasq-dhcp[2073]: read /etc/ethers - 0 ad                                                      dresses
Mon Apr 10 19:50:37 2017 kern.notice kernel: [   41.480000] random: nonblocking                                                       pool is initialized
Mon Apr 10 19:50:38 2017 user.notice firewall: Reloading firewall due to ifup of                                                       wan (eth0.2)
Mon Apr 10 19:50:40 2017 user.notice ddns-scripts[2550]: myddns_ipv4: PID '2550'                                                       started at 2017-04-10 19:50
Mon Apr 10 19:50:40 2017 user.warn ddns-scripts[2550]: myddns_ipv4: Service sect                                                      ion disabled! - TERMINATE
Mon Apr 10 19:50:40 2017 user.notice mwan3: ifup interface wan2 (eth0.3)
Mon Apr 10 19:50:40 2017 user.warn ddns-scripts[2550]: myddns_ipv4: PID '2550' e                                                      xit WITH ERROR '1' at 2017-04-10 19:50
Mon Apr 10 19:50:42 2017 kern.debug kernel: [   45.770000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:50:42 2017 kern.debug kernel: [   45.770000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:50:42 2017 kern.debug kernel: [   45.770000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:50:42 2017 kern.debug kernel: [   45.780000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:50:42 2017 kern.debug kernel: [   45.780000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:50:42 2017 kern.debug kernel: [   45.790000] icmp6_send: no reply                                                       to icmp error
Mon Apr 10 19:50:42 2017 user.notice firewall: Reloading firewall due to ifup of                                                       wan2 (eth0.3)
Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]: /usr/lib/lua/luci/dispatcher.l                                                      ua:360: Failed to execute function dispatcher target for entry '/admin/network/m                                                      wan/configuration'.
Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]: The called action terminated w                                                      ith an exception:
Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]: /usr/lib/lua/luci/dispatcher.l                                                      ua:360: Failed to execute arcombine dispatcher target for entry '/admin/network/                                                      mwan/configuration/interface'.
Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]: The called action terminated w                                                      ith an exception:
Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]: /usr/lib/lua/luci/cbi.lua:241:                                                       Unable to read UCI data: mwan3
Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]: stack traceback:
Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]:       [C]: in function 'assert                                                      '
Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]:       /usr/lib/lua/luci/dispat                                                      cher.lua:360: in function 'dispatch'
Mon Apr 10 19:51:08 2017 daemon.err uhttpd[1636]:       /usr/lib/lua/luci/dispat                                                      cher.lua:135: in function </usr/lib/lua/luci/dispatcher.lua:134>
Mon Apr 10 19:51:38 2017 daemon.err uhttpd[1636]: /usr/lib/lua/luci/dispatcher.l                                                      ua:360: Failed to execute function dispatcher target for entry '/admin/network/m                                                      wan/configuration'.
Mon Apr 10 19:51:38 2017 daemon.err uhttpd[1636]: The called action terminated w                                                      ith an exception:
Mon Apr 10 19:51:38 2017 daemon.err uhttpd[1636]: /usr/lib/lua/luci/dispatcher.l                                                      ua:360: Failed to execute arcombine dispatcher target for entry '/admin/network/                                                      mwan/configuration/interface'.
Mon Apr 10 19:51:38 2017 daemon.err uhttpd[1636]: The called action terminated w                                                      ith an exception:
Mon Apr 10 19:51:38 2017 daemon.err uhttpd[1636]: /usr/lib/lua/luci/cbi.lua:241:                                                       Unable to read UCI data: mwan3
Mon Apr 10 19:51:38 2017 daemon.err uhttpd[1636]: stack traceback:
Mon Apr 10 19:51:38 2017 daemon.err uhttpd[1636]:       [C]: in function 'assert                                                      '
Mon Apr 10 19:51:38 2017 daemon.err uhttpd[1636]:       /usr/lib/lua/luci/dispat                                                      cher.lua:360: in function 'dispatch'
Mon Apr 10 19:51:38 2017 daemon.err uhttpd[1636]:       /usr/lib/lua/luci/dispat                                                      cher.lua:135: in function </usr/lib/lua/luci/dispatcher.lua:134>
Mon Apr 10 19:56:38 2017 daemon.info hostapd: wlan0: STA 88:44:f6:25:09:d4 IEEE                                                       802.11: authenticated
Mon Apr 10 19:56:38 2017 daemon.info hostapd: wlan0: STA 88:44:f6:25:09:d4 IEEE                                                       802.11: associated (aid 1)
Mon Apr 10 19:56:39 2017 daemon.info hostapd: wlan0: STA 88:44:f6:25:09:d4 WPA:                                                       pairwise key handshake completed (RSN)
Mon Apr 10 19:56:40 2017 daemon.warn odhcpd[1283]: DHCPV6 CONFIRM IA_NA from 000                                                      100011ab9f1388844f62509d4 on br-lan: not on-link
Mon Apr 10 19:56:41 2017 daemon.warn odhcpd[1283]: DHCPV6 CONFIRM IA_NA from 000                                                      100011ab9f1388844f62509d4 on br-lan: not on-link
Mon Apr 10 19:56:41 2017 daemon.warn odhcpd[1283]: DHCPV6 SOLICIT IA_NA from 000                                                      100011ab9f1388844f62509d4 on br-lan: ok fdfc:9f97:af9a::38e/128
Mon Apr 10 19:56:42 2017 daemon.info dnsmasq-dhcp[2073]: DHCPDISCOVER(br-lan) 88                                                      :44:f6:25:09:d4
Mon Apr 10 19:56:42 2017 daemon.info dnsmasq-dhcp[2073]: DHCPOFFER(br-lan) 192.1                                                      68.0.184 88:44:f6:25:09:d4
Mon Apr 10 19:56:42 2017 daemon.info dnsmasq-dhcp[2073]: DHCPREQUEST(br-lan) 192                                                      .168.0.184 88:44:f6:25:09:d4
Mon Apr 10 19:56:42 2017 daemon.info dnsmasq-dhcp[2073]: DHCPACK(br-lan) 192.168                                                      .0.184 88:44:f6:25:09:d4 Windows-Phone
Mon Apr 10 19:56:42 2017 daemon.warn odhcpd[1283]: DHCPV6 REQUEST IA_NA from 000                                                      100011ab9f1388844f62509d4 on br-lan: ok fdfc:9f97:af9a::38e/128
Mon Apr 10 19:56:42 2017 daemon.info dnsmasq[2073]: read /etc/hosts - 1 addresse                                                      s
Mon Apr 10 19:56:42 2017 daemon.info dnsmasq[2073]: read /tmp/hosts/dhcp - 1 add                                                      resses
Mon Apr 10 19:56:42 2017 daemon.info dnsmasq[2073]: read /tmp/hosts/odhcpd - 2 a                                                      ddresses
Mon Apr 10 19:56:42 2017 daemon.info dnsmasq-dhcp[2073]: read /etc/ethers - 0 ad                                                      dresses
Mon Apr 10 20:00:29 2017 daemon.info hostapd: wlan0: STA 88:44:f6:25:09:d4 WPA:                                                       group key handshake completed (RSN)
Mon Apr 10 20:00:39 2017 authpriv.info dropbear[4101]: Child connection from 192                                                      .168.0.111:58014
Mon Apr 10 20:00:41 2017 authpriv.notice dropbear[4101]: Password auth succeeded                                                       for 'root' from 192.168.0.111:58014
Mon Apr 10 20:03:06 2017 authpriv.info dropbear[4589]: Child connection from 192                                                      .168.0.111:58046
Mon Apr 10 20:03:18 2017 authpriv.notice dropbear[4589]: Password auth succeeded                                                       for 'root' from 192.168.0.111:58046

18

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Efekt jest taki że reszta witryn owszem działa, ale speedtest nadal pokazuje IP z WAN1 nawet częściej niż WAN2.
wpis w/etc/dnsmasq.conf

ipset=/speedtest.net/speedtest

a w mwan2

config rule 'speedtest'
    option proto 'tcp'
    option sticky '1'
    option ipset 'speedtest'
    option dest_port '80'
    option use_policy 'wan2_only'
    option timeout '10000'

A ping na tą witrynę może leci z innego portu niż 80 i dla tego.
Z speedtest jest o tyle prosto że pokazuje ip i dostawcę już na pierwszej stronie. Natomiast po prędkościach widzę że same speedtety robi na wan2(ale i prędzej tak było).

19

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Używam CC. Po restarcie sie zainstalowało, dzięki.
Całą noc szukałem rozwiązania i teraz dogorywam w łóżku z tabletem bez putty. Jak wstanę to sprawdzę, tymczasem dopytam.
Czyli już wpis ipset z dnsmasq.conf powinien interpretować?
Tak czy siak dziękuję bo sam bym do tego nie doszedł.

20

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Nie wiem jak zajzeć do logów. Przy instalacji dostaję error.

Collected errors:
* opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable

Oczywiście odświeżam, listę pakietów...

21

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Jest 6.24-1

EDIT
Tak oglądam ten filmik i analizuje. Ma tam spięte 3 wany w balanced a czwarty poza.
Może mwan3 nie potrafi priorytetować tych reguł. Mam balanced na dwa wany i dodatkową regułę ze speedtest przez wan2 to może jest mu obojętne, bo przecież balanced nie wyklucza żadnej witryny.
W linkowanym przykładzie jest youtube, ale nie na konkretny wan tylko przytrzymanie dłużej na dowolnym...
Nie wiem czy dobrze kombinuję i brak mi pomysłu przec co to zrobić jak nie mwan3.

EDIT2 Jednak ma na filmiku jedną regułę na wan1_only

22

(36 odpowiedzi, napisanych Oprogramowanie / Software)

Niewdzięczność nie zna granic wink

Do pliku /etc/dnsmasq.conf dopisałem

ipset=/speedtest.net/speedtest

Cały wygląda tak

# Change the following lines if you want dnsmasq to serve SRV
# records.
# You may add multiple srv-host lines.
# The fields are <name>,<target>,<port>,<priority>,<weight>

# A SRV record sending LDAP for the example.com domain to
# ldapserver.example.com port 289
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389

# Two SRV records for LDAP, each with different priorities
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,1
#srv-host=_ldap._tcp.example.com,ldapserver.example.com,389,2

# A SRV record indicating that there is no LDAP server for the domain
# example.com
#srv-host=_ldap._tcp.example.com

# The following line shows how to make dnsmasq serve an arbitrary PTR
# record. This is useful for DNS-SD.
# The fields are <name>,<target>
#ptr-record=_http._tcp.dns-sd-services,"New Employee Page._http._tcp.dns-sd-services"

# Change the following lines to enable dnsmasq to serve TXT records.
# These are used for things like SPF and zeroconf.
# The fields are <name>,<text>,<text>...

#Example SPF.
#txt-record=example.com,"v=spf1 a -all"

#Example zeroconf
#txt-record=_http._tcp.example.com,name=value,paper=A4

# Provide an alias for a "local" DNS name. Note that this _only_ works
# for targets which are names from DHCP or /etc/hosts. Give host
# "bert" another name, bertrand
# The fields are <cname>,<target>
#cname=bertand,bert

ipset=/speedtest.net/speedtest

Zrestartowałem ruter odświeżam speedtest paronastokrotnie pokazuje się IP z WAN2 przełączam zakładkę w przeglądarce by Ci serdecznie podziękować i klops. Żadna inna witryna nie działa prócz speedtest.net smile
Tak że nadal tego nie rozumiem i robię coś nie tak. Oczywiście mimo wszystko Ci dziękuję, ale potrzebuję prostszych przykładów, które będę potrafił zrozumieć.

EDIT
Patrząc na ten filmik próbowałem zrobić mniej więcej tak samo z skutkiem żadnym... Tam ktoś ma 4 WANy i w regułach IP poustawiane na konkretne. Nie klikną niestety w Edit i nie widać co ma ipset.

Witam.
Mam MWAN3 z 2 WANami w trybie balanced.
Chciałbym aby ruch powiedzmy na speedtest.net szedł tylko na WAN2.
Tu jest przykład jak zrobić by konkretny IP z LAN szedł tylko po wybranym WAN.

    config rule 'host100'
        option sticky '1'
        option src_ip '192.168.1.100'
        option proto 'all'
        option use_policy 'wan2_only'

    config rule 'default_rule'
        option dest_ip '0.0.0.0/0'
        option use_policy 'balanced'

W MWAN zrobiłem taką regułę

config rule 'speedtest'
    option proto 'tcp'
    option ipset 'speedtest.net'
    option use_policy 'wan2_only'
    option sticky '1'

Niestety nie działa...
Ktoś robił może coś takiego i zna prawidłową składnię?

24

(2 odpowiedzi, napisanych Oprogramowanie / Software)

Witam.
Mam WDR4300 na OpenWrt Chaos Calmer 15.05.1 r49398.
Utworzone 2 sieci 2.4GHz i 5.

http://i66.tinypic.com/2dvxja.png

Przy konfiguracji sieci 5GHz mam tylko Legacy i N

http://i63.tinypic.com/vffvaq.png

i nie ma 80 i 160MHz, więc nie ma AC...
I jeszcze chciałbym połączyć te pasma(mniej więcej by działało jak na tplinkowskim sofcie).

Z góry dziękuję za pomoc.

25

(21 odpowiedzi, napisanych Oprogramowanie / Software)

scz11 napisał/a:

Sieć lokalna routera to 192.168.2.1/24, a sieć lokalna E3131 to 192.168.1.1/24

Nie mam Gargulca, ale co to jest 24?
Modem wpięty do komputera i ustawiasz 192.168.8.1(może być inna pula, ale unikaj 1.1)
255.255.255.0
DNS jaki tam sobie chcesz.
Ruter
192.168.2.1(też może być inna pula poza 8)
255.255.255.0
DNS najlepiej ten sam co w hylinku.

Port wan dla modemu.
192.168.8.2(może być dowolna od 2 do 255)
255.255.255.0
bramka 192.168.8.1
A że nie mam Gargulca to nie wiem czy trzeba dodawać do zapory i regół...