26

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

Cezary napisał/a:

Podłącz kabel szeregowy to się dowiesz co się dzieje z systemem. Niestety inaczej nie jesteś w stanie dowiedzieć się dlaczego system umiera po włączeniu vpn bo tego po prostu nie widzisz.

Przywróć konfigurację domyślą i zrób tyko jeden vpn i zobacz czy to będzie działać.

Po domyślnej konfiguracji i dodaniu jednego vpn'a oczywiście wszystko działa. Gdy dodaję kolejne "sieci" vpn jest na wszystkich... Nie wiem jak oddzielić jedną sieć od innych, tak, żeby vpn był tylko na jednej początkowo...

27 (edytowany przez khain 2021-02-08 09:07:20)

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

Musisz dodać routing tak, żeby LAN szedł przez TUN0, a LAN1 przez TUN1. Potem zainstalować mwan3 i zrobić jego config. Opis znajdziesz tutaj: https://openwrt.org/docs/guide-user/ser … n/dual-wan

TP-Link TL-WDR3600 v1.5 -  OpenWrt Chaos Calmer 15.05.1 with Luci +Microsoft LifeCam VX-3000
RaspberryPi 2 - OMV Stone Burner 2.0.15 +Creative SB Play +Medion OR24V +DVB-T Media-Tech MT4163  +MP00202AC +3xDS18B20 +HIH-4000-002 +MPXHZ6115A +Samsung SPF-85H +D-Link DUB-H7

28

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

khain napisał/a:

Musisz dodać routing tak, żeby LAN szedł przez TUN0, a LAN1 przez TUN1. Potem zainstalować mwan3 i zrobić jego config. Opis znajdziesz tutaj: https://openwrt.org/docs/guide-user/ser … n/dual-wan

Dziękuję Ci za zainteresowanie moim problemem..

Problem w tym, że po pierwsze niezbyt chyba dobrze mam zrobionego firewalla... bo wygląda na to, że z każdej sieci (z tych 4 różnych adresacji) jestem w stanie się dostać do konfiguracji routera z adresacji  10.0.0.1. Wychodzi na to że chyba źle to rozumiem.

Trafiłem też i na ten przewodnik szukając rozwiązania, ale zgłupiałem bo jest tam drugi wan na eth1.3 brany z drugiego fizycznego wan'a którym jest modem LTE... Ja tu mam jednego wan'a na eth0.2...wobec tego już tu nie wiem co robić...

29

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

To jest temat który dałeś w zleceniu z dziale inne.
- robisz cztery sieci "gościnne" (opisane na eko.one.pl)
- firewall dajesz na REJECT, dodajesz tylko forwarding poszczególnych sieci do wanu
- robisz cztery ssid przypisane do tych sieci jeżeli tak chcesz
- dzielisz switch na cztery porty i dodajesz każdy z nich do innej sieci jeżeli tak chcesz
- instalujesz openvpn, robisz dwie sekcje, modyfikujesz konfigi żeby nie było w nich tras domyślnych
- instalujesz mwan3 robisz reguły żeby dwie sieci szły na dwa vpny.

W ten sposób załapałem się na realizację zlecenia smile

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

30 (edytowany przez encholex 2021-04-07 19:53:44)

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

Cezary napisał/a:

To jest temat który dałeś w zleceniu z dziale inne.
- robisz cztery sieci "gościnne" (opisane na eko.one.pl)
- firewall dajesz na REJECT, dodajesz tylko forwarding poszczególnych sieci do wanu
- robisz cztery ssid przypisane do tych sieci jeżeli tak chcesz
- dzielisz switch na cztery porty i dodajesz każdy z nich do innej sieci jeżeli tak chcesz
- instalujesz openvpn, robisz dwie sekcje, modyfikujesz konfigi żeby nie było w nich tras domyślnych
- instalujesz mwan3 robisz reguły żeby dwie sieci szły na dwa vpny.

W ten sposób załapałem się na realizację zlecenia smile

No tak  smile

Szczerze mówiąc po prostu przez to, że nie mam zbyt dużo czasu, a nie chciałem już ciągnąć na litość, gdzie już na samym początku z firewallem miałem problemy, a co dopiero dalej...zdecydowałem się dać zlecenie.  Po prostu tego potrzebuję i chyba nie będę w stanie tego sam zrobić...
No ale nadal mam problemy...Już na samym początku.
Od razu update do najnowszego 21.02, reset do fabrycznych...i robię 4 osobne według tutoriala sieci gościnnych..
dodałem LAN2,3,4 i po dodaniu LAN5 router nagle przestaje nadawać wifi, ale jeszcze da się do niego zalogować. Raczej wykluczam błąd bo konfiga kopiowałem i zmieniałem tylko cyfrę LAN'a i IP.
oto część loga (w późniejszej części pojawiają się errory):

Wed Apr  7 20:34:44 2021 kern.info kernel: [   24.250639] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
Wed Apr  7 20:34:44 2021 kern.info kernel: [   24.257755] 8021q: adding VLAN 0 to HW filter on device wan
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'wan' is enabled
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN2' is enabled
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN2' is setting up now
Wed Apr  7 20:34:44 2021 daemon.debug dnsmasq[1694]: listening on br-LAN2(#9): 10.0.2.1 port 53
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN2' is now up
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN3' is enabled
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN3' is setting up now
Wed Apr  7 20:34:44 2021 daemon.debug dnsmasq[1694]: listening on br-LAN3(#10): 10.0.3.1 port 53
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN3' is now up
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN4' is enabled
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN4' is setting up now
Wed Apr  7 20:34:44 2021 daemon.debug dnsmasq[1694]: listening on br-LAN4(#11): 10.0.4.1 port 53
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN4' is now up
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN5' is enabled
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN5' is setting up now
Wed Apr  7 20:34:44 2021 daemon.debug dnsmasq[1694]: listening on br-LAN5(#12): 10.0.5.1 port 53
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'LAN5' is now up
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Network device 'eth0' link is up
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Network device 'lo' link is up
Wed Apr  7 20:34:44 2021 daemon.notice netifd: Interface 'loopback' has link connectivity
Wed Apr  7 20:34:44 2021 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Wed Apr  7 20:34:45 2021 user.info adblock-4.1.0[2168]: backup directory '/tmp/adblock-Backup' created
Wed Apr  7 20:34:46 2021 daemon.info dnsmasq[1694]: exiting on receipt of SIGTERM
Wed Apr  7 20:34:46 2021 daemon.err odhcpd[2327]: Failed to send to ff02::1%lan@br-lan (Address not available)
Wed Apr  7 20:34:46 2021 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Wed Apr  7 20:34:46 2021 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Wed Apr  7 20:34:46 2021 user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Wed Apr  7 20:34:46 2021 user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Wed Apr  7 20:34:47 2021 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/dhcp
Wed Apr  7 20:34:47 2021 user.notice ucitrack: Setting up /etc/config/wireless reload dependency on /etc/config/network
Wed Apr  7 20:34:47 2021 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/luci-splash
Wed Apr  7 20:34:47 2021 kern.info kernel: [   27.334873] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
Wed Apr  7 20:34:47 2021 kern.info kernel: [   27.352436] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
Wed Apr  7 20:34:47 2021 daemon.notice netifd: Network device 'wan' link is up
Wed Apr  7 20:34:47 2021 daemon.notice netifd: Interface 'wan' has link connectivity
Wed Apr  7 20:34:47 2021 daemon.notice netifd: Interface 'wan' is setting up now
Wed Apr  7 20:34:47 2021 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/qos
Wed Apr  7 20:34:47 2021 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/miniupnpd
Wed Apr  7 20:34:47 2021 daemon.notice netifd: wan (3137): udhcpc: started, v1.33.0
Wed Apr  7 20:34:47 2021 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/odhcpd
Wed Apr  7 20:34:48 2021 daemon.notice netifd: wan (3137): udhcpc: sending discover
Wed Apr  7 20:34:48 2021 user.notice ucitrack: Setting up non-init /etc/config/fstab reload handler: /sbin/block mount
Wed Apr  7 20:34:48 2021 user.notice ucitrack: Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led
Wed Apr  7 20:34:48 2021 kern.info kernel: [   28.260614] mt7530 mdio-bus:1f lan1: Link is Up - 10Mbps/Full - flow control off
Wed Apr  7 20:34:48 2021 kern.info kernel: [   28.268176] br-lan: port 1(lan1) entered blocking state
Wed Apr  7 20:34:48 2021 kern.info kernel: [   28.273526] br-lan: port 1(lan1) entered forwarding state
Wed Apr  7 20:34:48 2021 daemon.notice netifd: Network device 'lan1' link is up
Wed Apr  7 20:34:48 2021 kern.info kernel: [   28.281081] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Wed Apr  7 20:34:48 2021 daemon.notice netifd: bridge 'br-lan' link is up
Wed Apr  7 20:34:48 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Wed Apr  7 20:34:48 2021 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/luci_statistics
Wed Apr  7 20:34:48 2021 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/dhcp
Wed Apr  7 20:34:48 2021 user.notice firewall: Reloading firewall due to ifup of LAN2 (br-LAN2)
Wed Apr  7 20:34:49 2021 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) --> new PHY
Wed Apr  7 20:34:49 2021 kern.info kernel: [   28.815727] br-lan: port 3(wlan0) entered blocking state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   28.821189] br-lan: port 3(wlan0) entered disabled state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   28.827440] device wlan0 entered promiscuous mode
Wed Apr  7 20:34:49 2021 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Wed Apr  7 20:34:49 2021 kern.info kernel: [   28.963971] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Wed Apr  7 20:34:49 2021 kern.info kernel: [   28.971052] br-lan: port 3(wlan0) entered blocking state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   28.976499] br-lan: port 3(wlan0) entered forwarding state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   28.988419] br-LAN2: port 1(wlan0-1) entered blocking state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   28.994059] br-LAN2: port 1(wlan0-1) entered disabled state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.000566] device wlan0-1 entered promiscuous mode
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.007210] br-LAN2: port 1(wlan0-1) entered blocking state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.012866] br-LAN2: port 1(wlan0-1) entered forwarding state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.019281] IPv6: ADDRCONF(NETDEV_CHANGE): br-LAN2: link becomes ready
Wed Apr  7 20:34:49 2021 daemon.notice netifd: bridge 'br-LAN2' link is up
Wed Apr  7 20:34:49 2021 daemon.notice netifd: Interface 'LAN2' has link connectivity
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.148341] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.171505] br-LAN3: port 1(wlan0-2) entered blocking state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.177204] br-LAN3: port 1(wlan0-2) entered disabled state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.183672] device wlan0-2 entered promiscuous mode
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.190430] br-LAN3: port 1(wlan0-2) entered blocking state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.196101] br-LAN3: port 1(wlan0-2) entered forwarding state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.202533] IPv6: ADDRCONF(NETDEV_CHANGE): br-LAN3: link becomes ready
Wed Apr  7 20:34:49 2021 daemon.notice netifd: bridge 'br-LAN3' link is up
Wed Apr  7 20:34:49 2021 daemon.notice netifd: Interface 'LAN3' has link connectivity
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.284355] mt7530 mdio-bus:1f lan1: Link is Down
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.289583] br-lan: port 1(lan1) entered disabled state
Wed Apr  7 20:34:49 2021 daemon.notice netifd: Network device 'lan1' link is down
Wed Apr  7 20:34:49 2021 daemon.err odhcpd[2327]: Failed to send to ff02::1%lan@br-lan (Address not available)
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.334216] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.361794] br-LAN4: port 1(wlan0-3) entered blocking state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.367466] br-LAN4: port 1(wlan0-3) entered disabled state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.373959] device wlan0-3 entered promiscuous mode
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.385784] br-LAN4: port 1(wlan0-3) entered blocking state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.391439] br-LAN4: port 1(wlan0-3) entered forwarding state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.398871] IPv6: ADDRCONF(NETDEV_CHANGE): br-LAN4: link becomes ready
Wed Apr  7 20:34:49 2021 daemon.notice netifd: bridge 'br-LAN4' link is up
Wed Apr  7 20:34:49 2021 daemon.notice netifd: Interface 'LAN4' has link connectivity
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.547363] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-3: link becomes ready
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.568049] br-LAN5: port 1(wlan0-4) entered blocking state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.573776] br-LAN5: port 1(wlan0-4) entered disabled state
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.581840] device wlan0-4 entered promiscuous mode
Wed Apr  7 20:34:49 2021 daemon.err hostapd: Could not set interface wlan0-4 flags (UP): Resource busy
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.614460] device wlan0-4 left promiscuous mode
Wed Apr  7 20:34:49 2021 kern.info kernel: [   29.619259] br-LAN5: port 1(wlan0-4) entered disabled state
Wed Apr  7 20:34:50 2021 daemon.err hostapd: Failed to add BSS (BSSID=5e:64:2b:1a:b0:0d)
Wed Apr  7 20:34:50 2021 kern.info kernel: [   29.767788] br-LAN4: port 1(wlan0-3) entered disabled state
Wed Apr  7 20:34:50 2021 kern.info kernel: [   29.776220] device wlan0-3 left promiscuous mode
Wed Apr  7 20:34:50 2021 kern.info kernel: [   29.780977] br-LAN4: port 1(wlan0-3) entered disabled state
Wed Apr  7 20:34:50 2021 daemon.notice netifd: bridge 'br-LAN4' link is down
Wed Apr  7 20:34:50 2021 daemon.notice netifd: Interface 'LAN4' has link connectivity loss
Wed Apr  7 20:34:50 2021 daemon.notice netifd: wan (3137): udhcpc: sending select for 192.168.100.6
Wed Apr  7 20:34:50 2021 daemon.notice netifd: wan (3137): udhcpc: lease of 192.168.100.6 obtained, lease time 86400
Wed Apr  7 20:34:50 2021 user.notice vpnbypass [3749]: service monitoring interfaces:
Wed Apr  7 20:34:50 2021 daemon.notice hostapd: nl80211: Failed to remove interface wlan0-3 from bridge br-LAN4: No such device
Wed Apr  7 20:34:50 2021 kern.info kernel: [   30.115191] br-LAN3: port 1(wlan0-2) entered disabled state
Wed Apr  7 20:34:50 2021 kern.info kernel: [   30.124225] device wlan0-2 left promiscuous mode
Wed Apr  7 20:34:50 2021 kern.info kernel: [   30.129017] br-LAN3: port 1(wlan0-2) entered disabled state
Wed Apr  7 20:34:50 2021 daemon.notice netifd: bridge 'br-LAN3' link is down
Wed Apr  7 20:34:50 2021 daemon.notice netifd: Interface 'LAN3' has link connectivity loss
Wed Apr  7 20:34:50 2021 user.notice firewall: Reloading firewall due to ifup of LAN3 (br-LAN3)
Wed Apr  7 20:34:50 2021 daemon.notice netifd: Interface 'wan' is now up
Wed Apr  7 20:34:50 2021 daemon.notice hostapd: nl80211: Failed to remove interface wlan0-2 from bridge br-LAN3: No such device
Wed Apr  7 20:34:50 2021 kern.info kernel: [   30.434492] br-LAN2: port 1(wlan0-1) entered disabled state
Wed Apr  7 20:34:50 2021 kern.info kernel: [   30.442355] device wlan0-1 left promiscuous mode
Wed Apr  7 20:34:50 2021 kern.info kernel: [   30.447224] br-LAN2: port 1(wlan0-1) entered disabled state
Wed Apr  7 20:34:50 2021 daemon.notice netifd: bridge 'br-LAN2' link is down
Wed Apr  7 20:34:50 2021 daemon.notice netifd: Interface 'LAN2' has link connectivity loss
Wed Apr  7 20:34:50 2021 daemon.notice hostapd: nl80211: Failed to remove interface wlan0-1 from bridge br-LAN2: No such device
Wed Apr  7 20:34:50 2021 daemon.err hostapd: Interface initialization failed
Wed Apr  7 20:34:50 2021 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
Wed Apr  7 20:34:50 2021 daemon.notice hostapd: wlan0: AP-DISABLED
Wed Apr  7 20:34:50 2021 daemon.err hostapd: wlan0: Unable to setup interface.
Wed Apr  7 20:34:50 2021 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Wed Apr  7 20:34:50 2021 kern.info kernel: [   30.711087] device wlan0 left promiscuous mode
Wed Apr  7 20:34:50 2021 kern.info kernel: [   30.716115] br-lan: port 3(wlan0) entered disabled state
Wed Apr  7 20:34:51 2021 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Wed Apr  7 20:34:51 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Wed Apr  7 20:34:51 2021 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Wed Apr  7 20:34:51 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Wed Apr  7 20:34:51 2021 daemon.notice hostapd: wlan0-2: CTRL-EVENT-TERMINATING
Wed Apr  7 20:34:51 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-2 wasn't started
Wed Apr  7 20:34:51 2021 daemon.notice hostapd: wlan0-3: CTRL-EVENT-TERMINATING
Wed Apr  7 20:34:51 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-3 wasn't started
Wed Apr  7 20:34:51 2021 daemon.notice hostapd: wlan0-4: CTRL-EVENT-TERMINATING
Wed Apr  7 20:34:51 2021 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-4 wasn't started
Wed Apr  7 20:34:51 2021 daemon.notice hostapd: netlink: recvfrom failed: No buffer space available
Wed Apr  7 20:34:51 2021 daemon.notice netifd: radio0 (2134): Command failed: Invalid argument
Wed Apr  7 20:34:51 2021 daemon.notice netifd: radio0 (2134): Device setup failed: HOSTAPD_START_FAILED
Wed Apr  7 20:34:51 2021 daemon.notice netifd: bridge 'br-lan' link is down
Wed Apr  7 20:34:51 2021 daemon.notice netifd: Interface 'lan' has link connectivity loss
Wed Apr  7 20:34:51 2021 daemon.notice ksmbd: Starting Ksmbd userspace service.
Wed Apr  7 20:34:51 2021 kern.info kernel: [   31.444871] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
Wed Apr  7 20:34:51 2021 kern.info kernel: [   31.452355] br-lan: port 1(lan1) entered blocking state
Wed Apr  7 20:34:51 2021 kern.info kernel: [   31.457744] br-lan: port 1(lan1) entered forwarding state
Wed Apr  7 20:34:51 2021 daemon.notice netifd: Network device 'lan1' link is up
Wed Apr  7 20:34:51 2021 daemon.notice netifd: bridge 'br-lan' link is up
Wed Apr  7 20:34:51 2021 daemon.notice netifd: Interface 'lan' has link connectivity
Wed Apr  7 20:34:51 2021 user.notice firewall: Reloading firewall due to ifup of LAN4 (br-LAN4)
Wed Apr  7 20:34:53 2021 user.notice firewall: Reloading firewall due to ifup of LAN5 (br-LAN5)
Wed Apr  7 20:34:53 2021 daemon.info procd: - init complete -
Wed Apr  7 20:34:53 2021 user.info wsdd2[4991]: starting.
Wed Apr  7 20:34:53 2021 user.err wsdd2[4991]: error: wsdd-mcast-v4: wsd_send_soap_msg: send: Operation not permitted
Wed Apr  7 20:34:54 2021 user.notice firewall: Reloading firewall due to ifup of wan (wan)
Wed Apr  7 20:34:55 2021 user.notice ddns-scripts[5204]: myddns_ipv4: PID '5204' started at 2021-04-07 20:34
Wed Apr  7 20:34:55 2021 user.warn ddns-scripts[5204]: myddns_ipv4: Service section disabled! - TERMINATE
Wed Apr  7 20:34:55 2021 user.warn ddns-scripts[5204]: myddns_ipv4: PID '5204' exit WITH ERROR '1' at 2021-04-07 20:34
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq[5432]: Connected to system UBus
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq[5432]: started, version 2.84 cachesize 150
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq[5432]: DNS service limited to local subnets
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq[5432]: compile time options: IPv6 GNU-getopt no-DBus UBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-cryptohash no-DNSSEC no-ID loop-detect inotify dumpfile
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq[5432]: UBus support enabled: connected to system bus
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq-dhcp[5432]: DHCP, IP range 10.0.5.100 -- 10.0.5.249, lease time 2h
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq-dhcp[5432]: DHCP, IP range 10.0.4.100 -- 10.0.4.249, lease time 2h
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq-dhcp[5432]: DHCP, IP range 10.0.3.100 -- 10.0.3.249, lease time 2h
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq-dhcp[5432]: DHCP, IP range 10.0.2.100 -- 10.0.2.249, lease time 2h
Wed Apr  7 20:36:09 2021 daemon.info dnsmasq-dhcp[5432]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h

Router to Xiaomi 3Gv1
Czy to znaczy że on nie wydala ?

31

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

Tak, wyłożyło się. Może za dużo ssid.

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

32

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

Cezary napisał/a:

Tak, wyłożyło się. Może za dużo ssid.

Do defaultowej konfiguracji dołożone po prostu 4 sieci gościnne według tutoriala...po 3 jeszcze wszystko grało, a po 4 wyłączyło się WiFi.  Nawet jeśli bym zrobił 3, to pewnie swój cel względem ssid mam, bo jest defaultowy OpenWRT+LAN2,3,4 czyli niby 3 sieci i 4 ssid mam...ale czy ma szanse chodzić to stabilnie skoro chcę jeszcze mieć 2 tunele openvpn lub 1 openvpn, a drugi wireguard ?
Od czego dokładnie zależy czy będzie mi to stabilnie chodzić czy nie? Procesory czy RAM ?  ten router ma niby 256 RAMu i 2 rdzenie po 880MHz.
No i czy zależy to od wersji ?  Bo może powinienem wrócić do 19.07 ?  Ma to sens?
Zdziwiło mnie to, że niby mocniejszy router, a klęknął przy 5 ssid...

33

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

Zrób iw list i zobacz ile ssid może zrobić jednocześnie. To że router mocy czy nie nie ma nic wspólnego, sterownik radia i firmware chipu o tym decyduje.

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

34 (edytowany przez encholex 2021-04-08 16:54:22)

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

Cezary napisał/a:

Zrób iw list i zobacz ile ssid może zrobić jednocześnie. To że router mocy czy nie nie ma nic wspólnego, sterownik radia i firmware chipu o tym decyduje.

iw list:

Wiphy phy1
        wiphy index: 1
        max # scan SSIDs: 4
        max scan IEs length: 2247 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
        Band 2:
                Capabilities: 0x1ff
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: No restriction (0x00)
                HT TX/RX MCS rate indexes supported: 0-15
                VHT Capabilities (0x318001b0):
                        Max MPDU length: 3895
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        TX STBC
                        RX antenna pattern consistency
                        TX antenna pattern consistency
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                Frequencies:
                        * 5180 MHz [36] (23.0 dBm)
                        * 5200 MHz [40] (23.0 dBm)
                        * 5220 MHz [44] (23.0 dBm)
                        * 5240 MHz [48] (23.0 dBm)
                        * 5260 MHz [52] (23.0 dBm) (radar detection)
                        * 5280 MHz [56] (23.0 dBm) (radar detection)
                        * 5300 MHz [60] (23.0 dBm) (radar detection)
                        * 5320 MHz [64] (23.0 dBm) (radar detection)
                        * 5500 MHz [100] (23.0 dBm) (radar detection)
                        * 5520 MHz [104] (23.0 dBm) (radar detection)
                        * 5540 MHz [108] (23.0 dBm) (radar detection)
                        * 5560 MHz [112] (23.0 dBm) (radar detection)
                        * 5580 MHz [116] (22.0 dBm) (radar detection)
                        * 5600 MHz [120] (22.0 dBm) (radar detection)
                        * 5620 MHz [124] (22.0 dBm) (radar detection)
                        * 5640 MHz [128] (22.0 dBm) (radar detection)
                        * 5660 MHz [132] (22.0 dBm) (radar detection)
                        * 5680 MHz [136] (22.0 dBm) (radar detection)
                        * 5700 MHz [140] (22.0 dBm) (radar detection)
                        * 5720 MHz [144] (22.0 dBm) (radar detection)
                        * 5745 MHz [149] (23.0 dBm)
                        * 5765 MHz [153] (23.0 dBm)
                        * 5785 MHz [157] (23.0 dBm)
                        * 5805 MHz [161] (23.0 dBm)
                        * 5825 MHz [165] (23.0 dBm)
                        * 5845 MHz [169] (disabled)
                        * 5865 MHz [173] (disabled)
        valid interface combinations:
                 * #{ IBSS } <= 1, #{ managed, AP, mesh point, P2P-client, P2P-G                 O } <= 8,
                   total <= 8, #channels <= 1, STA/AP BI must match, radar detec                 t widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Supported extended features:
                * [ VHT_IBSS ]: VHT-IBSS
                * [ RRM ]: RRM
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
                * [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
                * [ AQL ]: Airtime Queue Limits (AQL)
                * [ SCAN_RANDOM_SN ]: use random sequence numbers in scans
                * [ SCAN_MIN_PREQ_CONTENT ]: use probe request with only rate IE                 s in scans
                * [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 con                 trol port support
                * [ DEL_IBSS_STA ]: deletion of IBSS station support
                * [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
                * [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211                  control port support
Wiphy phy0
        wiphy index: 0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
        Band 1:
                Capabilities: 0x1fe
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: No restriction (0x00)
                HT TX/RX MCS rate indexes supported: 0-15
                Frequencies:
                        * 2412 MHz [1] (26.0 dBm)
                        * 2417 MHz [2] (26.0 dBm)
                        * 2422 MHz [3] (26.0 dBm)
                        * 2427 MHz [4] (26.0 dBm)
                        * 2432 MHz [5] (26.0 dBm)
                        * 2437 MHz [6] (26.0 dBm)
                        * 2442 MHz [7] (26.0 dBm)
                        * 2447 MHz [8] (26.0 dBm)
                        * 2452 MHz [9] (26.0 dBm)
                        * 2457 MHz [10] (26.0 dBm)
                        * 2462 MHz [11] (26.0 dBm)
                        * 2467 MHz [12] (26.0 dBm)
                        * 2472 MHz [13] (26.0 dBm)
                        * 2484 MHz [14] (disabled)
        valid interface combinations:
                 * #{ IBSS } <= 1, #{ managed, AP, mesh point, P2P-client, P2P-G                 O } <= 4,
                   total <= 4, #channels <= 1, STA/AP BI must match
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Supported extended features:
                * [ RRM ]: RRM
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
                * [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
                * [ AQL ]: Airtime Queue Limits (AQL)
                * [ SCAN_RANDOM_SN ]: use random sequence numbers in scans
                * [ SCAN_MIN_PREQ_CONTENT ]: use probe request with only rate IE                 s in scans
                * [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 con                 trol port support
                * [ DEL_IBSS_STA ]: deletion of IBSS station support
                * [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
                * [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211                  control port support

Jeżeli ma ograniczenie 4ssid to jest szansa że będzie działać gdy dam mu te 4 ssid i dodatkowo np. 2 openvpn'y, 4vlany ?
Czy też w ogóle dać se spokój i kupić coś wydajniejszego i od razu co polecasz ? wink

35

Odp: Xiaomi R3G z OpenWRT - VLAN'y + SSID

Masz tyllko 4 ssid. A inne rzeczy to już jak chcesz zrobić.

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