Jeśli modem ma zainstalowane wyświetlanie dodatkowych parametrów (band, dokładna częstotliwość, itd.), to aby je odczytać  z poziomu routera wystarczy wykonać komendę:

/usr/bin/wget -t 3 -O /tmp/add_param.xml "http://$IP/config/deviceinformation/add_param.xml" >/dev/null 2>&1

W wyniku tego otrzymujemy plik o przykładowej zawartości:

<?xml version="1.0"?>
<config>
<lac>E8D3</lac>
<cell_id>0433F701</cell_id>
<band>20</band>
<earfcn1>6200</earfcn1>
<freq1>7960</freq1>
<bandwidth1>10000</bandwidth1>
<earfcn2>24200</earfcn2>
<freq2>8370</freq2>
<bandwidth2>10000</bandwidth2>
<rssi>-71</rssi>
<cnt>54997</cnt>
</config>

Między innymi ja też pisałem o tym problemie i pisałem też jak to rozwiązałem wtedy (resetowanie huba usb w /etc/rc.local).

W LEDE działało to tak samo jak korzystałem z hotplug'a "usb", ale przepisałem skrypt na hotplug "tty" i teraz linki tworzą się zarówno przy podłączeniu urządzenia, jak i przy restarcie routera (bez dodatkowego resetowania huba).

Przed chwilą wykosztowałem się na 29 groszy, żeby przetestować skrypt Cezarego na najnowszej chyba wersji softu i webui do E3372h:

Wersja oprogramowania modemu:    22.323.01.00.00
Wersja interfejsu WWW:    17.100.13.01.03-Mod1.5

Działa idealnie.

29

(207 odpowiedzi, napisanych Oprogramowanie / Software)

https://lede-project.org/toh/hwdata/bel … k1115v2_v2

USB3.0 devices don't seem to work yet. USB2.0 devices work fine in either port.

Mi tam nawet USB2 w porcie USB3 nie chce działać. Aktualnie mam podłączony konwerter FTDI do gniazda USB3 i tylko on działa bez problemu. Jednak jeśli próbuję go podłączyć przez hub USB2.0 to już lipa (przez hub podłączony do gniazda USB2.0 działa poprawnie).

30

(219 odpowiedzi, napisanych Oprogramowanie / Software)

Nie no oczywiście, że sprzęt komuś może przypasować. Z mojego punktu widzenia jednak brak 1GBps i USB go dyskwalifikuje - w tej cenie mógłby to mieć. U mnie akurat router stoi albo w szafie, albo na strychu, więc estetyka i wskaźnik na obudowie zupełnie są nieistotne. No ale oczywiście każdy ma inne wymagania.
Te 2 anteny to jak rozumiem do LTE tylko, wykręcane chociaż są?

Jak najbardziej rozumiem. I tylko dlatego wspomniałem o tym, bo chciałem napisać to drugie moje spostrzeżenie, a nikt Ci nie odpowiedział smile

32

(219 odpowiedzi, napisanych Oprogramowanie / Software)

marcoos napisał/a:

Ale 500+ PLN cennikowo sprawia, że trudno go wrzucić w worek tani.

No ten MR6400 za ~450 zł bez żadnego USB i z portami 100 Mbps to też raczej średnia rewelacja.

Np. mój E3372h na sofcie

Wersja oprogramowania modemu:    22.323.01.00.00
Wersja interfejsu WWW:    17.100.13.01.03-Mod1.5

z uaktywnionym pokazywaniem dodatkowych parametrów pokazuje w zakładce Informacje o urządzeniu między innymi:

Band:    B3
EARFCN (Down/Up):    1798 / 19798
Frequency (Down/Up):    1864.8 / 1769.8 MHz
Bandwidth (Down/Up):    15 / 15 MHz

Jednak poprzez api nie udało mi się tego wyciągnąć.


Ale o czymś innym chciałem napisać, mianowicie wczoraj postanowiłem zmusić 3ginfo do współpracy z tym modemem na LEDE, no i gładko nie poszło. Po zainstalowaniu wget-nossl i skonfigurowaniu 3ginfo pokazywał mi na www tylko status "Połączony" i kompletnie nic więcej. Natomiast wywołany z konsoli poprawnie wyświetlał dostępne parametry. Wywołanie

/usr/share/3ginfo/scripts/huawei_hilink.sh 192.168.8.1 debug

poprawnie utworzyło pliki api w /tmp. Po tym odświeżenie strony w przeglądarce i wszystko ładnie pokazało. Kolejne odświeżenie i znowu same kreski.
Doszedłem, że przy wywołaniu z konsoli skryptów 3ginfo wget działa poprawnie, natomiast jak są wywoływane z przeglądarki to wget po prostu nie działa. Po zamianie wszystkich wywołań wget'a w pliku huawei_hilink.sh z

wget -t ...

na

/usr/bin/wget -t ...

wszystko działa jak należy.

34

(7 odpowiedzi, napisanych Oprogramowanie / Software)

Pokaż jeszcze wyniki poleceń:

route
ps | grep relayd

Może spróbuj to skonfigurować na LEDE lub CC.




Poniżej masz jeszcze config z NEXX'a również na protokole relay i LEDE:

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fdb0:1dff:1125::/48'

config interface 'lan'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.1.1'
    option netmask '255.255.255.0'
    option gateway '192.168.10.1'
    option dns '192.168.10.1'
    option delegate '0'
    option ifname 'eth0'

config device 'lan_dev'
    option name 'eth0.1'
    option macaddr '20:28:18:a1:45:82'

config device 'wan_dev'
    option name 'eth0.2'
    option macaddr '20:28:18:a1:45:83'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option vid '1'
    option ports '0 1 2 3 4 6'

config interface 'wwan'
    option proto 'dhcp'
    option hostname 'NEXX_bogdan'

config interface 'stabridge'
    option proto 'relay'
    option delegate '0'
    list network 'lan'
    list network 'wwan'
    option ipaddr '192.168.3.3'

Klient podłączony do niego po kablu "widzi" wszystko - i internet i sieć wewnętrzną. Ale ten akurat nowej sieci wlan nie rozgłasza.

35

(7 odpowiedzi, napisanych Oprogramowanie / Software)

pablo.see napisał/a:

A to można na jednym radiu odbierać sygnał wifi jednej sieci i rozsyłać do drugiej?

Oczywiście.

pablo.see napisał/a:

WT3020 ma ustawiony DNS?

Przecież masz w konfigu:

network.lan.dns='192.168.1.1'

@edass, nie wiem czemu Ci nie działa, błędu nie widzę. Poniżej wkleję Ci moją konfigurację, na której wszystko u mnie OK. Router łączy się z wifi i poprzez relayd rozgłasza sieć nadrzędna na porty LAN i 2 nowe sieci wifi. Z tym, że soft to LEDE...

/etc/config/network

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fd69:124d:e86b::/48'

config interface 'lan'
    option type 'bridge'
    option ifname 'eth1'
    option proto 'static'
    option netmask '255.255.255.0'
    option delegate '0'
    option gateway '192.168.10.1'
    option dns '192.168.10.1'
    option ipaddr '192.168.21.1'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '2 3 4 5 0'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option ports '1 6'

config interface 'wwan'
    option proto 'dhcp'
    option delegate '0'
    option hostname 'ArcherC5'

config interface 'stabridge'
    option proto 'relay'
    option delegate '0'
    list network 'lan'
    list network 'wwan'
    option ipaddr '192.168.10.202'

config interface 'lan2'
    option proto 'static'
    option ifname 'eth0'
    option delegate '0'
    option netmask '255.255.255.0'
    option ipaddr '192.168.20.1'

config interface 'vpn'
    option proto 'none'
    option ifname 'tap0'
    option delegate '0'

/etc/config/wireless

config wifi-device 'radio0'
    option type 'mac80211'
    option hwmode '11a'
    option path 'pci0000:01/0000:01:00.0'
    option htmode 'VHT80'
    option channel '48'
    option country 'PL'

config wifi-device 'radio1'
    option type 'mac80211'
    option hwmode '11g'
    option path 'platform/qca955x_wmac'
    option htmode 'HT20'
    option disabled '0'
    option country 'PL'

config wifi-iface
    option network 'wwan'
    option ssid 'Marek_home'
    option encryption 'psk2'
    option device 'radio1'
    option mode 'sta'
    option key 'password'

config wifi-iface
    option device 'radio1'
    option mode 'ap'
    option ssid 'AAK_net'
    option network 'lan'
    option encryption 'psk2'
    option key 'password'

config wifi-iface
    option device 'radio0'
    option mode 'ap'
    option ssid 'AAK_5G'
    option network 'lan'
    option encryption 'psk2'
    option key 'password'

Oczywiście w firewall'u wwan dodany jest do strefy lan.


Tak przy okazji dodam, że miałem spory problem z poprawnym odpaleniem relayd na LEDE, mianowicie po restarcie routera nie był on automatycznie uruchamiany (relayd), nawet dodanie do /etc/rc.local nie załatwiało sprawy. Dopiero wstawienie w rc.local z 10-cio sekundowym opóźnieniem powodowało, że po starcie routera program był aktywny. Jednak i tak np. po restarcie wifi lub network program przestawał działać. Rozwiązałem problem modyfikując nieco skrypt ze strony https://wiki.openwrt.org/doc/recipes/relayclient

# enable access from client network

[ "$ACTION" = ifup -o "$ACTION" = ifupdate ] || exit 0

staname=$(uci show network | awk -F . '/proto/&&/relay/ {print $1"."$2}')
for net in $(uci get $staname.network) ; do
    [ "$net" = lan ] || wwan=$net
done

[ "$INTERFACE" = $wwan ] || exit 0

. /lib/functions/network.sh
network_get_ipaddr ip $wwan
network_get_gateway gw $wwan
network_get_dnsserver dns $wwan

uci set network.stabridge.ipaddr=$ip
uci set network.lan.gateway=$gw
uci set network.lan.dns=$dns
uci commit network

/etc/init.d/relayd reload

relayd jest przeładowywany po każdym ifup sieci zdefiniowanej w sekcji network, której protokołem jest relayd. Dodatkowo z automatu ustawiany jest w niej aktualny IP oraz aktualny GW i DNS w sekcji lan.

Cezary napisał/a:

OK, więc:
- podłącz go kablem do lan
- nadaj mu adres ip z tej samej klasy co actina przydziela (np. 192.168.1.2)
- w /etc/config/network możesz sekcję wan wywalić
- zrób jeszcze https://eko.one.pl/?p=openwrt-konfigura … doportulan że on sam "miał internet"

I to tyle.

W mojej sieci mam aktualnie 4 routery połączone na podobnej zasadzie (wspólny lan, serwer DHCP na 5-tym tylko). Do niedawna zgodnie z poradnikiem miałem protokół static i na sztywno powpisywane IP, ale pomyślałem czemu nie dhcp? Przestawiłem, więc interfejs lan na protokoły dhcp i wszystko elegancko działa (serwery dhcp oczywiście wyłączone).

37

(7 odpowiedzi, napisanych Oprogramowanie / Software)

wireless config jeszcze pokaż

38

(42 odpowiedzi, napisanych Oprogramowanie / Software)

Ten schemat dotyczy 1043v2, 1043v1 ma akurat tylko 1 port podłączony do CPU.

39

(4 odpowiedzi, napisanych Oprogramowanie / Software)

Tego brakowało, teraz jest OK.

Dzięki smile

40

(4 odpowiedzi, napisanych Oprogramowanie / Software)

Zrobił wireless, ale tylko na 2.4G

config wifi-device 'radio0'
    option type 'mac80211'
    option channel '11'
    option hwmode '11g'
    option path 'platform/qca955x_wmac'
    option htmode 'HT20'
    option disabled '1'

config wifi-iface 'default_radio0'
    option device 'radio0'
    option network 'lan'
    option mode 'ap'
    option ssid 'LEDE'
    option encryption 'none'

Logi:

Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.000000] Linux version 4.4.42 (cezary@eko.one.pl) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Wed Feb 1 23:26:05 2017
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.000000] MyLoader: sysp=e9616196, boardp=e9e96994, parts=696969b6
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Determined physical RAM map:
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000]  memory: 08000000 @ 00000000 (usable)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Tue Feb 21 19:50:05 2017 kern.warn kernel: [    0.000000] No valid device tree found, continuing without
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Zone ranges:
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Movable zone start for each node
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Early memory node ranges
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.000000] On node 0 totalpages: 32768
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 804304d0, node_mem_map 81000000
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.000000]   Normal zone: 256 pages used for memmap
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
Tue Feb 21 19:50:05 2017 kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Tue Feb 21 19:50:05 2017 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.000000] Kernel command line:  board=F9K1115V2 console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),14464k(rootfs),1408k(kernel),64k(nvram)ro,64k(envram)ro,64k(art)ro,15872k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Memory: 124944K/131072K available (3095K kernel code, 165K rwdata, 772K rodata, 312K init, 205K bss, 6128K reserved, 0K cma-reserved)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] NR_IRQS:51
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.008282] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.071186] pid_max: default: 32768 minimum: 301
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.076192] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.083239] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.092684] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.104157] NET: Registered protocol family 16
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.110004] MIPS: machine is Belkin AC1750DB
Tue Feb 21 19:50:05 2017 kern.warn kernel: [    0.554926] registering PCI controller with io_map_base unset
Tue Feb 21 19:50:05 2017 kern.warn kernel: [    0.561130] registering PCI controller with io_map_base unset
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.575190] PCI host bridge to bus 0000:00
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.579592] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.586902] pci_bus 0000:00: root bus resource [io  0x0000]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.592834] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.600055] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.608518] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.608576] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.608630] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.608689] pci 0000:00:00.0: supports D1
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.608702] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.608885] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.608914] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.616704] pci 0000:00:00.0: BAR 6: assigned [mem 0x10200000-0x1020ffff pref]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.624513] PCI host bridge to bus 0000:01
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.628871] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.636202] pci_bus 0000:01: root bus resource [io  0x0001]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.642123] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.649345] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.657793] pci 0000:01:00.0: [1b6f:7023] type 00 class 0x0c0330
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.657860] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.657978] pci 0000:01:00.0: supports D1 D2
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.657991] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.658168] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.658194] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x12007fff 64bit]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.666020] pci 0000:00:00.0: using irq 40 for pin 1
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.671296] pci 0000:01:00.0: using irq 41 for pin 1
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.677337] clocksource: Switched to clocksource MIPS
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.683759] NET: Registered protocol family 2
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.689151] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.696576] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.703379] TCP: Hash tables configured (established 1024 bind 1024)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.710213] UDP hash table entries: 256 (order: 0, 4096 bytes)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.716437] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.723339] NET: Registered protocol family 1
Tue Feb 21 19:50:05 2017 kern.debug kernel: [    0.728070] PCI: CLS 0 bytes, default 32
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.731844] futex hash table entries: 256 (order: -1, 3072 bytes)
Tue Feb 21 19:50:05 2017 kern.warn kernel: [    0.738444] Crashlog allocated RAM at address 0x3f00000
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.755756] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.762015] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.774401] io scheduler noop registered
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.778618] io scheduler deadline registered (default)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.784290] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.793264] console [ttyS0] disabled
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.817131] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.826317] console [ttyS0] enabled
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.833734] bootconsole [early0] disabled
Tue Feb 21 19:50:05 2017 kern.warn kernel: [    0.846264] m25p80 spi0.0: found w25q128, expected m25p80
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.851798] m25p80 spi0.0: w25q128 (16384 Kbytes)
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.856596] 8 cmdlinepart partitions found on MTD device spi0.0
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.862612] Creating 8 MTD partitions on "spi0.0":
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.867478] 0x000000000000-0x000000040000 : "u-boot"
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.874203] 0x000000040000-0x000000050000 : "u-boot-env"
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.880895] 0x000000050000-0x000000e70000 : "rootfs"
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.887165] mtd: device 2 (rootfs) set to be root filesystem
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.893002] 1 squashfs-split partitions found on MTD device rootfs
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.899286] 0x0000002c0000-0x000000e70000 : "rootfs_data"
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.906018] 0x000000e70000-0x000000fd0000 : "kernel"
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.912369] 0x000000fd0000-0x000000fe0000 : "nvram"
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.918642] 0x000000fe0000-0x000000ff0000 : "envram"
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.924929] 0x000000ff0000-0x000001000000 : "art"
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    0.931018] 0x000000050000-0x000000fd0000 : "firmware"
Tue Feb 21 19:50:05 2017 kern.info kernel: [    0.946744] switch0: Atheros AR8337 rev. 2 switch registered on ag71xx-mdio.0
Tue Feb 21 19:50:05 2017 kern.info kernel: [    1.575008] libphy: ag71xx_mdio: probed
Tue Feb 21 19:50:05 2017 kern.info kernel: [    2.168843] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
Tue Feb 21 19:50:05 2017 kern.info kernel: [    2.180152] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
Tue Feb 21 19:50:05 2017 kern.info kernel: [    2.768931] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
Tue Feb 21 19:50:05 2017 kern.info kernel: [    2.776902] NET: Registered protocol family 10
Tue Feb 21 19:50:05 2017 kern.info kernel: [    2.784797] NET: Registered protocol family 17
Tue Feb 21 19:50:05 2017 kern.info kernel: [    2.789411] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Tue Feb 21 19:50:05 2017 kern.info kernel: [    2.802314] 8021q: 802.1Q VLAN Support v1.8
Tue Feb 21 19:50:05 2017 kern.info kernel: [    2.813474] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Tue Feb 21 19:50:05 2017 kern.info kernel: [    2.821782] Freeing unused kernel memory: 312K (80452000 - 804a0000)
Tue Feb 21 19:50:05 2017 user.info kernel: [    4.033671] init: Console is alive
Tue Feb 21 19:50:05 2017 user.info kernel: [    4.037285] init: - watchdog -
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.488974] usbcore: registered new interface driver usbfs
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.494600] usbcore: registered new interface driver hub
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.500110] usbcore: registered new device driver usb
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    5.536895] SCSI subsystem initialized
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.545852] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.553784] ehci-platform: EHCI generic platform driver
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.559201] ehci-platform ehci-platform.0: EHCI Host Controller
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.565237] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.575522] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.581644] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.612313] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.619536] hub 1-0:1.0: USB hub found
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.623651] hub 1-0:1.0: 1 port detected
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.627989] ehci-platform ehci-platform.1: EHCI Host Controller
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.634031] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.644322] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.650448] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.667358] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.674567] hub 2-0:1.0: USB hub found
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.678688] hub 2-0:1.0: 1 port detected
Tue Feb 21 19:50:05 2017 kern.info kernel: [    5.686233] usbcore: registered new interface driver usb-storage
Tue Feb 21 19:50:05 2017 user.info kernel: [    5.702809] init: - preinit -
Tue Feb 21 19:50:05 2017 kern.info kernel: [    6.084748] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Tue Feb 21 19:50:05 2017 kern.info kernel: [    6.090757] usb 1-1: new high-speed USB device number 2 using ehci-platform
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    6.115911] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    6.249633] hub 1-1:1.0: USB hub found
Tue Feb 21 19:50:05 2017 kern.info kernel: [    6.253815] hub 1-1:1.0: 4 ports detected
Tue Feb 21 19:50:05 2017 kern.info kernel: [    6.537354] usb 1-1.1: new full-speed USB device number 3 using ehci-platform
Tue Feb 21 19:50:05 2017 kern.info kernel: [    6.737355] usb 1-1.2: new full-speed USB device number 4 using ehci-platform
Tue Feb 21 19:50:05 2017 kern.info kernel: [    6.937355] usb 1-1.3: new full-speed USB device number 5 using ehci-platform
Tue Feb 21 19:50:05 2017 kern.info kernel: [    7.328767] eth0: link up (1000Mbps/Full duplex)
Tue Feb 21 19:50:05 2017 kern.info kernel: [    7.333588] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Tue Feb 21 19:50:05 2017 user.info kernel: [    9.329877] mount_root: loading kmods from internal overlay
Tue Feb 21 19:50:05 2017 kern.notice kernel: [    9.973625] jffs2: notice: (446) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Tue Feb 21 19:50:05 2017 user.info kernel: [    9.989793] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
Tue Feb 21 19:50:05 2017 user.info kernel: [   10.013536] block: extroot: not configured
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   10.209910] jffs2: notice: (442) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Tue Feb 21 19:50:05 2017 user.info kernel: [   10.231569] mount_root: loading kmods from internal overlay
Tue Feb 21 19:50:05 2017 user.info kernel: [   10.900437] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
Tue Feb 21 19:50:05 2017 user.info kernel: [   10.917131] block: extroot: not configured
Tue Feb 21 19:50:05 2017 user.info kernel: [   10.922090] mount_root: switching to jffs2 overlay
Tue Feb 21 19:50:05 2017 user.warn kernel: [   10.933185] urandom-seed: Seeding with /etc/urandom.seed
Tue Feb 21 19:50:05 2017 kern.info kernel: [   11.032139] eth0: link down
Tue Feb 21 19:50:05 2017 user.info kernel: [   11.051752] procd: - early -
Tue Feb 21 19:50:05 2017 user.info kernel: [   11.054754] procd: - watchdog -
Tue Feb 21 19:50:05 2017 user.info kernel: [   11.734698] procd: - ubus -
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   11.747563] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   11.789498] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   11.799000] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   11.808168] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   11.817622] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   11.826746] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   11.836600] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   11.845912] random: ubusd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
Tue Feb 21 19:50:05 2017 user.info kernel: [   11.855321] procd: - init -
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.259424] tun: Universal TUN/TAP device driver, 1.6
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.264556] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.275186] ip6_tables: (C) 2000-2006 Netfilter Core Team
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.289030] Netfilter messages via NETLINK v0.30.
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.305988] ip_set: protocol 6
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.433643] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.441360] Backport generated by backports.git backports-20160324-9-g0e38f5c
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.451559] ip_tables: (C) 2000-2006 Netfilter Core Team
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.466453] nf_conntrack version 0.5.0 (1957 buckets, 7828 max)
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.503798] usbcore: registered new interface driver usbserial
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.509854] usbcore: registered new interface driver usbserial_generic
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.516543] usbserial: USB Serial support registered for generic
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.554340] xt_time: kernel timezone is -0000
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.585028] usbcore: registered new interface driver ftdi_sio
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.590984] usbserial: USB Serial support registered for FTDI USB Serial Device
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.598667] ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.605661] usb 1-1.1: Detected FT232RL
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.624471] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.631998] ftdi_sio 1-1.2:1.0: FTDI USB Serial Device converter detected
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.639014] usb 1-1.2: Detected FT232RL
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.656983] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB1
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.664518] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.671563] usb 1-1.3: Detected FT232RL
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.690099] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB2
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.737446] PPP generic driver version 2.4.2
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.743944] NET: Registered protocol family 24
Tue Feb 21 19:50:05 2017 kern.debug kernel: [   12.792217] ath: EEPROM regdomain: 0x0
Tue Feb 21 19:50:05 2017 kern.debug kernel: [   12.792233] ath: EEPROM indicates default country code should be used
Tue Feb 21 19:50:05 2017 kern.debug kernel: [   12.792240] ath: doing EEPROM country->regdmn map search
Tue Feb 21 19:50:05 2017 kern.debug kernel: [   12.792257] ath: country maps to regdmn code: 0x3a
Tue Feb 21 19:50:05 2017 kern.debug kernel: [   12.792266] ath: Country alpha2 being used: US
Tue Feb 21 19:50:05 2017 kern.debug kernel: [   12.792273] ath: Regpair used: 0x3a
Tue Feb 21 19:50:05 2017 kern.debug kernel: [   12.808247] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Tue Feb 21 19:50:05 2017 kern.info kernel: [   12.812210] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
Tue Feb 21 19:50:05 2017 kern.notice kernel: [   14.262096] random: jshn: uninitialized urandom read (4 bytes read, 29 bits of entropy available)
Tue Feb 21 19:50:07 2017 user.notice : Added device handler type: 8021ad
Tue Feb 21 19:50:07 2017 user.notice : Added device handler type: 8021q
Tue Feb 21 19:50:07 2017 user.notice : Added device handler type: macvlan
Tue Feb 21 19:50:07 2017 user.notice : Added device handler type: bridge
Tue Feb 21 19:50:07 2017 user.notice : Added device handler type: Network device
Tue Feb 21 19:50:07 2017 user.notice : Added device handler type: tunnel
Tue Feb 21 19:50:07 2017 user.notice : 'radio0' is disabled
Tue Feb 21 19:50:07 2017 user.notice : 'radio0' is disabled
Tue Feb 21 19:50:08 2017 daemon.err block: /dev/mtdblock2 is already mounted on /rom
Tue Feb 21 19:50:08 2017 daemon.err block: /dev/mtdblock3 is already mounted on /overlay
Tue Feb 21 19:50:09 2017 cron.info crond[945]: crond (busybox 1.25.1) started, log level 5
Tue Feb 21 19:50:09 2017 authpriv.info dropbear[961]: Not backgrounding
Tue Feb 21 19:50:11 2017 daemon.warn netifd: You have delegated IPv6-prefixes but haven't assigned them to any interface. Did you forget to set option ip6assign on your lan-interfaces?
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.120334] eth1: link up (1000Mbps/Full duplex)
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.142979] device eth1.10 entered promiscuous mode
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.147981] device eth1 entered promiscuous mode
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.158705] br-lan: port 1(eth1.10) entered forwarding state
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.164469] br-lan: port 1(eth1.10) entered forwarding state
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'lan' is enabled
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'lan' is setting up now
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'cfg054d8f' is enabled
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'cfg054d8f' is setting up now
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'cfg054d8f' is now up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'lan' is now up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'loopback' is enabled
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'loopback' is setting up now
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'loopback' is now up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'vpn2' is enabled
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'vpn2' is setting up now
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'vpn2' is now up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'vpn3' is enabled
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'vpn3' is setting up now
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'vpn3' is now up
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.246862] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'wan' is enabled
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.278273] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.301804] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'wan2' is enabled
Tue Feb 21 19:50:11 2017 daemon.notice netifd: bridge 'br-lan' link is up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'lan' has link connectivity 
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'cfg054d8f' has link connectivity 
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Network device 'eth1' link is up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: VLAN 'eth1.10' link is up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Network device 'lo' link is up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'loopback' has link connectivity 
Tue Feb 21 19:50:11 2017 daemon.notice netifd: VLAN 'eth1.11' link is up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'vpn2' has link connectivity 
Tue Feb 21 19:50:11 2017 daemon.notice netifd: VLAN 'eth1.12' link is up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'vpn3' has link connectivity 
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.730066] eth0: link up (1000Mbps/Full duplex)
Tue Feb 21 19:50:11 2017 daemon.notice netifd: VLAN 'eth0.2' link is up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'wan2' has link connectivity 
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'wan2' is setting up now
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.739874] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Network device 'eth0' link is up
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.773238] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Tue Feb 21 19:50:11 2017 kern.info kernel: [   20.779974] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
Tue Feb 21 19:50:11 2017 daemon.notice netifd: VLAN 'eth0.1' link is up
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'wan' has link connectivity 
Tue Feb 21 19:50:11 2017 daemon.notice netifd: Interface 'wan' is setting up now
Tue Feb 21 19:50:12 2017 daemon.info odhcpd[914]: Initial RA router lifetime 0, 0 address(es) available on br-lan
Tue Feb 21 19:50:12 2017 daemon.notice netifd: wan2 (1122): udhcpc: started, v1.25.1
Tue Feb 21 19:50:12 2017 daemon.notice netifd: wan (1128): udhcpc: started, v1.25.1
Tue Feb 21 19:50:12 2017 daemon.notice netifd: wan2 (1122): udhcpc: sending discover
Tue Feb 21 19:50:12 2017 daemon.notice netifd: wan2 (1122): udhcpc: sending select for 192.168.8.216
Tue Feb 21 19:50:12 2017 daemon.notice netifd: wan2 (1122): udhcpc: lease of 192.168.8.216 obtained, lease time 43200
Tue Feb 21 19:50:12 2017 daemon.notice netifd: wan (1128): udhcpc: sending discover
Tue Feb 21 19:50:12 2017 daemon.notice netifd: wan (1128): udhcpc: sending select for 192.168.15.23
Tue Feb 21 19:50:12 2017 daemon.notice netifd: wan (1128): udhcpc: lease of 192.168.15.23 obtained, lease time 86400
Tue Feb 21 19:50:12 2017 daemon.notice netifd: Interface 'wan2' is now up
Tue Feb 21 19:50:12 2017 daemon.notice netifd: Interface 'wan' is now up
Tue Feb 21 19:50:13 2017 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Tue Feb 21 19:50:13 2017 kern.info kernel: [   22.157390] br-lan: port 1(eth1.10) entered forwarding state
Tue Feb 21 19:50:13 2017 daemon.notice odhcpd[914]: Got DHCPv6 request
Tue Feb 21 19:50:13 2017 daemon.warn odhcpd[914]: DHCPV6 CONFIRM IA_NA from 000100011e0a277bf832e49e92c7 on br-lan: not on-link 
Tue Feb 21 19:50:13 2017 daemon.notice odhcpd[914]: Got DHCPv6 request
Tue Feb 21 19:50:13 2017 daemon.warn odhcpd[914]: DHCPV6 SOLICIT IA_NA from 000100011e0a277bf832e49e92c7 on br-lan: no addresses available 
Tue Feb 21 19:50:13 2017 daemon.info odhcpd[914]: Initial RA router lifetime 0, 0 address(es) available on br-lan
Tue Feb 21 19:50:14 2017 user.notice firewall: Reloading firewall due to ifup of vpn2 (eth1.11)
Tue Feb 21 19:50:14 2017 daemon.notice odhcpd[914]: Got DHCPv6 request
Tue Feb 21 19:50:15 2017 user.notice firewall: Reloading firewall due to ifup of vpn3 (eth1.12)
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.189804] usb 1-1.1: USB disconnect, device number 3
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.195328] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.203995] ftdi_sio 1-1.1:1.0: device disconnected
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.209256] usb 1-1.2: USB disconnect, device number 4
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.214700] ftdi_sio ttyUSB1: FTDI USB Serial Device converter now disconnected from ttyUSB1
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.223356] ftdi_sio 1-1.2:1.0: device disconnected
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.228612] usb 1-1.3: USB disconnect, device number 5
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.234056] ftdi_sio ttyUSB2: FTDI USB Serial Device converter now disconnected from ttyUSB2
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.242711] ftdi_sio 1-1.3:1.0: device disconnected
Tue Feb 21 19:50:16 2017 daemon.notice openvpn(myvpn2)[1277]: OpenVPN 2.4.0 mips-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Tue Feb 21 19:50:16 2017 daemon.notice openvpn(myvpn2)[1277]: library versions: OpenSSL 1.0.2k  26 Jan 2017, LZO 2.09
Tue Feb 21 19:50:16 2017 kern.info kernel: [   25.837402] usb 1-1: reset high-speed USB device number 2 using ehci-platform
Tue Feb 21 19:50:17 2017 user.notice : Resetting USB2.0 Hub ... ok
Tue Feb 21 19:50:17 2017 kern.info kernel: [   26.347585] usb 1-1.1: new full-speed USB device number 6 using ehci-platform
Tue Feb 21 19:50:17 2017 daemon.notice openvpn(myvpn2)[1277]: Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 21 19:50:17 2017 daemon.notice openvpn(myvpn2)[1277]: Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 21 19:50:17 2017 kern.info kernel: [   26.569485] ftdi_sio 1-1.1:1.0: FTDI USB Serial Device converter detected
Tue Feb 21 19:50:17 2017 kern.info kernel: [   26.576518] usb 1-1.1: Detected FT232RL
Tue Feb 21 19:50:17 2017 daemon.notice openvpn(myvpn2)[1277]: TCP/UDP: Preserving recently used remote address: [AF_INET]xx
Tue Feb 21 19:50:17 2017 daemon.notice openvpn(myvpn2)[1277]: Socket Buffers: R=[163840->163840] S=[163840->163840]
Tue Feb 21 19:50:17 2017 daemon.notice openvpn(myvpn2)[1277]: UDP link local: (not bound)
Tue Feb 21 19:50:17 2017 daemon.notice openvpn(myvpn2)[1277]: UDP link remote: [AF_INET]xx
Tue Feb 21 19:50:17 2017 kern.info kernel: [   26.638410] usb 1-1.1: FTDI USB Serial Device converter now attached to ttyUSB0
Tue Feb 21 19:50:17 2017 user.notice : setting up led USB2
Tue Feb 21 19:50:17 2017 daemon.notice openvpn(myvpn2)[1277]: TLS: Initial packet from [AF_INET]155.133.42.124:47263, sid=1c542a0e 0956c262
Tue Feb 21 19:50:17 2017 kern.info kernel: [   26.748544] usb 1-1.2: new full-speed USB device number 7 using ehci-platform
Tue Feb 21 19:50:17 2017 kern.info kernel: [   26.901809] ftdi_sio 1-1.2:1.0: FTDI USB Serial Device converter detected
Tue Feb 21 19:50:17 2017 kern.info kernel: [   26.908879] usb 1-1.2: Detected FT232RL
Tue Feb 21 19:50:17 2017 user.notice mwan3: ifup interface wan2 (eth0.2)
Tue Feb 21 19:50:17 2017 kern.info kernel: [   26.977601] usb 1-1.2: FTDI USB Serial Device converter now attached to ttyUSB1
Tue Feb 21 19:50:18 2017 kern.info kernel: [   27.097412] usb 1-1.3: new full-speed USB device number 8 using ehci-platform
Tue Feb 21 19:50:18 2017 kern.info kernel: [   27.267799] ftdi_sio 1-1.3:1.0: FTDI USB Serial Device converter detected
Tue Feb 21 19:50:18 2017 kern.info kernel: [   27.274974] usb 1-1.3: Detected FT232RL
Tue Feb 21 19:50:18 2017 daemon.notice openvpn(myvpn2)[1277]: VERIFY OK: nsCertType=SERVER
Tue Feb 21 19:50:18 2017 kern.info kernel: [   27.350293] usb 1-1.3: FTDI USB Serial Device converter now attached to ttyUSB2
Tue Feb 21 19:50:19 2017 daemon.info procd: - init complete -
Tue Feb 21 21:41:24 2017 daemon.notice netifd: Interface 'vpn_m' is enabled
Tue Feb 21 21:41:24 2017 daemon.notice netifd: Network device 'tun0' link is up
Tue Feb 21 21:41:24 2017 daemon.notice netifd: Interface 'vpn_m' has link connectivity 
Tue Feb 21 21:41:24 2017 daemon.notice netifd: Interface 'vpn_m' is setting up now
Tue Feb 21 21:41:24 2017 daemon.notice netifd: Interface 'vpn_m' is now up
Tue Feb 21 21:41:25 2017 daemon.err openvpn(myvpn2)[1277]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Tue Feb 21 21:41:25 2017 daemon.err openvpn(myvpn2)[1277]: TLS Error: TLS handshake failed
Tue Feb 21 21:41:25 2017 daemon.notice openvpn(myvpn2)[1277]: SIGUSR1[soft,tls-error] received, process restarting
Tue Feb 21 21:41:25 2017 daemon.notice openvpn(myvpn2)[1277]: Restart pause, 5 second(s)
Tue Feb 21 21:41:26 2017 daemon.info odhcpd[914]: Initial RA router lifetime 0, 0 address(es) available on br-lan
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: started, version 2.76 cachesize 150
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: DNS service limited to local subnets
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq-dhcp[1683]: DHCP, IP range 192.168.10.100 -- 192.168.10.249, lease time 12h
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: using local addresses only for domain lan
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: reading /tmp/resolv.conf.auto
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: using local addresses only for domain lan
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: using nameserver 192.168.15.1#53
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: using nameserver 192.168.15.1#53
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: using nameserver 192.168.8.1#53
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: read /etc/hosts - 4 addresses
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: read /tmp/hosts/odhcpd - 0 addresses
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq[1683]: read /tmp/hosts/dhcp.cfg02411c - 8 addresses
Tue Feb 21 21:41:26 2017 daemon.info dnsmasq-dhcp[1683]: read /etc/ethers - 0 addresses
Tue Feb 21 21:41:27 2017 kern.notice kernel: [   32.817383] random: nonblocking pool is initialized
Tue Feb 21 21:41:28 2017 daemon.warn dnsmasq[1683]: nameserver 192.168.15.1 refused to do a recursive query
Tue Feb 21 21:41:29 2017 user.notice firewall: Reloading firewall due to ifup of wan2 (eth0.2)
Tue Feb 21 21:41:29 2017 user.notice mwan3: ifup interface wan (eth0.1)
Tue Feb 21 21:41:31 2017 daemon.info dnsmasq-dhcp[1683]: DHCPREQUEST(br-lan) 192.168.10.107 f8:32:e4:9e:92:c7 
Tue Feb 21 21:41:31 2017 daemon.info dnsmasq-dhcp[1683]: DHCPACK(br-lan) 192.168.10.107 f8:32:e4:9e:92:c7 KOMP_DZIECI
Tue Feb 21 21:41:33 2017 user.notice firewall: Reloading firewall due to ifup of wan (eth0.1)
Tue Feb 21 21:41:33 2017 daemon.notice openvpn(myvpn2)[1277]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Tue Feb 21 21:41:33 2017 daemon.notice openvpn(myvpn2)[1277]: [SERVER] Peer Connection Initiated with [AF_INET]xxx
Tue Feb 21 21:41:33 2017 user.notice firewall: Reloading firewall due to ifup of vpn_m (tun0)
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: SENT CONTROL [SERVER]: 'PUSH_REQUEST' (status=1)
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: PUSH: Received control message: 'PUSH_REPLY,topology subnet,route-gateway 10.30.0.1,ping 5,ping-restart 15'
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: OPTIONS IMPORT: timers and/or timeouts modified
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: OPTIONS IMPORT: --ifconfig/up options modified
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: OPTIONS IMPORT: route-related options modified
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Feb 21 21:41:34 2017 daemon.notice netifd: Interface 'vpn' is enabled
Tue Feb 21 21:41:34 2017 daemon.notice netifd: Interface 'vpn' is setting up now
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: TUN/TAP device tap0 opened
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: TUN/TAP TX queue length set to 100
Tue Feb 21 21:41:34 2017 daemon.notice openvpn(myvpn2)[1277]: Initialization Sequence Completed
Tue Feb 21 21:41:34 2017 daemon.notice netifd: Interface 'vpn' is now up
Tue Feb 21 21:41:34 2017 daemon.info dnsmasq[1683]: reading /tmp/resolv.conf.auto
Tue Feb 21 21:41:34 2017 daemon.info dnsmasq[1683]: using local addresses only for domain lan
Tue Feb 21 21:41:34 2017 daemon.info dnsmasq[1683]: using nameserver 192.168.15.1#53
Tue Feb 21 21:41:34 2017 daemon.info dnsmasq[1683]: using nameserver 192.168.15.1#53
Tue Feb 21 21:41:34 2017 daemon.info dnsmasq[1683]: using nameserver 192.168.8.1#53
Tue Feb 21 21:41:34 2017 daemon.info dnsmasq[1683]: using nameserver 10.30.0.1#53
Tue Feb 21 21:41:34 2017 daemon.notice netifd: Network device 'tap0' link is up
Tue Feb 21 21:41:34 2017 daemon.notice netifd: Interface 'vpn' has link connectivity 
Tue Feb 21 21:41:35 2017 user.notice firewall: Reloading firewall due to ifup of vpn (tap0)
Tue Feb 21 21:41:35 2017 daemon.info odhcpd[914]: Initial RA router lifetime 0, 0 address(es) available on br-lan
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[1683]: exiting on receipt of SIGTERM
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: started, version 2.76 cachesize 150
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: DNS service limited to local subnets
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq-dhcp[2489]: DHCP, IP range 192.168.10.100 -- 192.168.10.249, lease time 12h
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: using local addresses only for domain lan
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: reading /tmp/resolv.conf.auto
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: using local addresses only for domain lan
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: using nameserver 192.168.15.1#53
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: using nameserver 192.168.15.1#53
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: using nameserver 192.168.8.1#53
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: using nameserver 10.30.0.1#53
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: read /etc/hosts - 4 addresses
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: read /tmp/hosts/odhcpd - 0 addresses
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq[2489]: read /tmp/hosts/dhcp.cfg02411c - 8 addresses
Tue Feb 21 21:41:37 2017 daemon.info dnsmasq-dhcp[2489]: read /etc/ethers - 0 addresses
Tue Feb 21 21:42:04 2017 cron.err crond[945]: time disparity of 111 minutes detected
Tue Feb 21 21:42:28 2017 daemon.info dnsmasq-dhcp[2489]: DHCPREQUEST(br-lan) 192.168.10.120 bc:ee:7b:8a:e5:26 
Tue Feb 21 21:42:28 2017 daemon.info dnsmasq-dhcp[2489]: DHCPACK(br-lan) 192.168.10.120 bc:ee:7b:8a:e5:26 MAREK_WIN10
Tue Feb 21 21:42:28 2017 daemon.notice odhcpd[914]: Got DHCPv6 request
Tue Feb 21 21:42:28 2017 daemon.warn odhcpd[914]: DHCPV6 SOLICIT IA_NA from 000100011d9041f1bcee7b8ae526 on br-lan: no addresses available 
Tue Feb 21 21:42:28 2017 daemon.info odhcpd[914]: Initial RA router lifetime 0, 0 address(es) available on br-lan
Tue Feb 21 21:42:31 2017 authpriv.info dropbear[2790]: Child connection from 192.168.10.120:2814
Tue Feb 21 21:42:32 2017 authpriv.notice dropbear[2790]: Password auth succeeded for 'root' from 192.168.10.120:2814
Tue Feb 21 21:42:32 2017 daemon.info odhcpd[914]: Initial RA router lifetime 0, 0 address(es) available on br-lan
Tue Feb 21 21:42:35 2017 daemon.warn dnsmasq[2489]: nameserver 192.168.15.1 refused to do a recursive query
Tue Feb 21 21:42:36 2017 daemon.info odhcpd[914]: Initial RA router lifetime 0, 0 address(es) available on br-lan
Tue Feb 21 21:43:13 2017 authpriv.info dropbear[3127]: Child connection from 192.168.10.120:2836
Tue Feb 21 21:43:15 2017 authpriv.notice dropbear[3127]: Pubkey auth succeeded for 'root' with key md5 14:bb:53:8c:87:2a:67:ed:3d:fa:17:a1:24:87:a3:5f from 192.168.10.120:2836
Tue Feb 21 21:45:17 2017 daemon.notice odhcpd[914]: Got DHCPv6 request

Jak w temacie, czyste LEDE od Cezarego.

W obrazie w ogóle nie było pakietu ath10k-firmware-qca988x, a w configu wireless brak wpisu o drugim interfejsie.
Po doinstalowaniu w/w pakietu wifi detect czyści kompletnie plik wireless (nawet 2.4G nie znajduje), po skopiowaniu wireless z CC radio 5G milczy.

Jakieś sugestie?

kams napisał/a:

Czy można byłoby poprawić routing w inny automatyczny sposób, metoda którą zaproponował garysek jest dobra jednak nie jest to "moim" zdaniem rozwiązanie problemu tylko jego obejście.

Problem chyba wynika z tego:

kams napisał/a:

Znalazłem co trzeba zrobić aby nie konfigurować bondingu i ifenslave po stronie serwera.
Wystarczy aby bond0 działał w tej samej sieci co tap0 oraz tap1
Czyli przykładowo:
tap0 ip klienta 10.8.0.5/24
tap1 ip klienta 10.8.0.6/24
bond0 ip ustawiany na 10.8.0.7/24
Czyli aby były tworzone dwa połączenia openvpn,ale w tej samej podsieci

Ustaw różne maski podsieci np.:
tap0 ip klienta 10.8.0.4/29
tap1 ip klienta 10.8.0.8/28
bond0 ip ustawiany na 10.8.0.2/24
serwer openvpn 10.8.0.1/24

Po takiej poprawce tablica routingu sama poprawnie zaczęła się na moim routerze robić.



kams napisał/a:

Wygląda na to że wszystko zmierza ku końcowi, aktualnie wygląda to tak że część procesu włączania bondingu jest ręczna głównie chodzi o wydanie polecenia

ifenslave bond0 tap0 tap1

Ponieważ to polecenie mogę wydać dopiero jak oba tunele zostaną zestawione co najczęściej trwa około 1 min lub nawet 10 min, ponieważ gdy nie mam internetu na łączu głównym to pierwsze połączenie openvpn tap0 jest niezestawione i bonding nie zostanie uruchomiony.

Możesz to zautomatyzować tworząc plik /etc/hotplug.d/iface/40-openvpn o zawartości:

#!/bin/sh

if [ "$INTERFACE" = "vpn2" ]  && [ "$ACTION" = "ifup" ]; then
    ifenslave bond0 tap2
fi

if [ "$INTERFACE" = "vpn2a" ]  && [ "$ACTION" = "ifup" ]; then
    ifenslave bond0 tap1
fi

oczywiście ustawiając pod siebie.


Jaki mode ustawiłeś dla bonding'u?


Ja w każdym bądź razie w jednym oknie putty odpaliłem polecenie:

ping -I bond0 wp.pl

a w drugim na przemian wydawałem polecenia:

ifenslave -d bond0 tap1
ifenslave bond0 tap1
ifenslave -d bond0 tap2
ifenslave bond0 tap2

i po przerwaniu polecenia ping otrzymałem:

--- wp.pl ping statistics ---
74 packets transmitted, 74 packets received, 0% packet loss
round-trip min/avg/max = 36.031/47.907/72.216 ms

Na potrzeby tego testu musiałem tylko usunąć wspomniany wyżej plik 40-openvpn, bo po usunięciu interfejs automatycznie sam doda się do bond0. Nie testowałem jak to zachowa się w przypadku fizycznego padnięcia któregoś łącza.

Piszesz, że niby ja łapię za słówka a sam to ewidentnie robisz... Zamiast poprawnie napisać "jedna instancja" napisałem "jeden serwer", wow. Jakoś większość (łącznie z Tobą) zrozumiała co miałem na myśli.

Przepraszam za ten offtop, więcej nie zaśmiecam wątku.

Ech, przeczytaj sobie temat ze zrozumieniem....

Co prawda jeden serwer openvpn chyba na 2 różnych portach nasłuchiwać nie może

Zrobiłem podobną konfigurację u siebie (z tym, że na tap1 i tap2) i faktycznie było jak napisałeś. Z jakiegoś powodu niewłaściwa była tablica routingu:

root@OpenWrt:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         static-user-178 0.0.0.0         UG    10     0        0 eth0.2
default         192.168.8.1     0.0.0.0         UG    20     0        0 eth0.3
default         10.10.0.1       0.0.0.0         UG    30     0        0 tun0
default         10.201.5.5      0.0.0.0         UG    40     0        0 tun1
default         192.168.15.1    0.0.0.0         UG    60     0        0 eth0.4
default         192.168.45.1    0.0.0.0         UG    100    0        0 bond0
default         10.20.0.1       0.0.0.0         UG    120    0        0 tap1
default         10.21.0.1       0.0.0.0         UG    130    0        0 tap3
default         10.20.0.1       0.0.0.0         UG    220    0        0 tap1

W trzeciej pozycji od końca powinien być interfejs tap2 - chyba openvpn nieprawidłowo dodaje wpisy do tablicy. Po wydaniu poleceń:

route  del -net 0.0.0.0 metric 120 dev tap1
route  add -net 0.0.0.0 gw 10.20.0.1 netmask 0.0.0.0 metric 120 dev tap2

Tablica przybrała odpowiednią formę:

root@OpenWrt:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         static-user-178 0.0.0.0         UG    10     0        0 eth0.2
default         192.168.8.1     0.0.0.0         UG    20     0        0 eth0.3
default         10.10.0.1       0.0.0.0         UG    30     0        0 tun0
default         10.201.5.5      0.0.0.0         UG    40     0        0 tun1
default         192.168.15.1    0.0.0.0         UG    60     0        0 eth0.4
default         192.168.45.1    0.0.0.0         UG    100    0        0 bond0
default         10.20.0.1       0.0.0.0         UG    120    0        0 tap2
default         10.21.0.1       0.0.0.0         UG    130    0        0 tap3
default         10.20.0.1       0.0.0.0         UG    220    0        0 tap1

i pingi zaczęły iść poprzez oba interfejsy smile.


Gr4nd0 napisał/a:
garysek napisał/a:

Co prawda jeden serwer openvpn chyba na 2 różnych portach nasłuchiwać nie może

Skoro może na PC to czemu nie na WRT?

# netstat -lnp | grep openvpn
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      27536/openvpn   
tcp        0      0 0.0.0.0:1194            0.0.0.0:*               LISTEN      27551/openvpn   
udp        0      0 0.0.0.0:1194            0.0.0.0:*                           27567/openvpn   

No to oświeć nas proszę jak to sprawić.

Ale Panowie kombinujecie... Przecież Cezary napisał co trzeba zrobić. Co prawda jeden serwer openvpn chyba na 2 różnych portach nasłuchiwać nie może, ale co za problem zrobić przekierowanie portu.
Nie wiem co za system jest po stronie serwera, ja kiedyś na Debianie sam korzystałem z takiego rozwiązania. W /etc/ufw/before.rules dałem:

-A PREROUTING -i eth0 -p udp --dport 36255 -j REDIRECT --to-port 36254

i już openvpn słuchał na 2 portach.

47

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Nie wiem, spróbuj przestawić na politykę "wan_wan2".
Te statystyki wiesz chyba, że nie są resetowane po ifup wan.

48

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Masz zdefiniowane 3 reguły, które domyślnie korzystają z polityki "balanced", która zaś teoretycznie tylko 1 promil ruchu powinna puścić przez wan2, zweryfkuj to jeszcze wydając polecenie w konsoli

mwan3 status

.
Tak czy siak, jeśli wan2 ma być tylko łączem rezerwowym lepiej jest użyć polityki "wan_wan2".
Pokaż jeszcze wynik polecenia

route

49

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Czas pracy: 1h 1m 33s
RX: 110.10 KB (3264 Pktw.)
TX: 160.98 KB (3320 Pktw.)

To jest transfer na interfejsie tylko przy pingowaniu przez mwan3. Interwał ustawiony na 5s, a multiwan3 podrasowany tak, że wysyła pakiety nie 4-ro a 6-cio bajtowe, więc normalnie pewnie powinno być jeszcze mniej...

50

(15 odpowiedzi, napisanych Oprogramowanie / Software)

@darek1804, nie przesadzasz oby troszkę? Jaki masz ten pakiet, że nawet pingowania się obawiasz? Przecież to tyle zużywa co nic...
W mwan3 możesz dowolnie określić interwały pingów, w sumie jak to ma być tylko zapas to możesz w ogóle z pingowania zrezygnować (mwan3 będzie interfejs cały czas widział jako online).
Podniesiony jednak musi i tak być, chociaż jakby się uprzeć to w skryptach hotpluga możesz wpisać ifup wan2 w przypadku down wan, tylko po co?