1

(8 odpowiedzi, napisanych Oprogramowanie / Software)

Odinstalowałem i zainstalowałem ale nie przywruciło ustawień domyślnych tylko usunęło całe ustawienie

Mam teraz tak

 OpenWrt 23.05.3, r23809-234f1a2efa
 -----------------------------------------------------
root@OpenWrt:~# cat /etc/config/network

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

config globals 'globals'
        option ula_prefix 'fd77:ac37:31b2::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config device
        option name 'wan'
        option macaddr '3c:cd:57:22:23:b0'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'
        option dns '8.8.8.8 8.8.4.4'
        option peerdns '0'
        option metric '10'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'

config interface 'wwan'
        option proto 'none'
        option metric '20'

root@OpenWrt:~# cat /etc/config/mwan3

config globals 'globals'
        option mmx_mask '0x3F00'

config member 'wan'
        option enabled '1'
        option family 'ipv4'
        option reliability '1'
        option initial_state 'online'
        list track_ip '192.168.8.1'
        list track_ip '192.168.8.1'
        list track_ip '192.168.8.1'
        option track_method 'ping'
        option count '1'
        option size '56'
        option max_ttl '60'
        option timeout '4'
        option interval '10'
        option failure_interval '5'
        option recovery_interval '5'
        option down '5'
        option up '5'
        option interface 'wan'
        option metric '1'
        option weight '1'

config member 'wwan'
        option initial_state 'online'
        option family 'ipv4'
        option track_method 'ping'
        option reliability '1'
        option count '1'
        option size '56'
        option max_ttl '60'
        option timeout '4'
        option interval '10'
        option failure_interval '5'
        option recovery_interval '5'
        option down '5'
        option up '5'
        option interface 'wan'
        option metric '2'
        option weight '1'
        option enabled '1'

root@OpenWrt:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.8.1     0.0.0.0         UG    10     0        0 wan
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
192.168.8.0     0.0.0.0         255.255.255.0   U     10     0        0 wan
root@OpenWrt:~#

Nie mogę utworzyć "MultiWAN Manager - Members" bo usuwa mi " MultiWAN Manager - Interfaces"

2

(8 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

1. Od kiedy urządzenie wifi ma oznaczenie wl1-sta0? Zmieniłeś nazwę?
4. Masz dużo rzeczy poustawianych w interfejsach w mwan3. Zrobiłeś to świadomie, czy klikałeś tak po prostu?

1- nie zmieniałem nazwy ruter ma dwie karty sieciowe 2.4Ghz i 5 Ghz
4- ustawiłem co tam opisywali w poradnikach


192.168.8.1 jest z rutera gsm mobilny podstawowy internet  ten który jest po porcie wan

3

(8 odpowiedzi, napisanych Oprogramowanie / Software)

-----------------------------------------------------
 OpenWrt 23.05.3, r23809-234f1a2efa
 -----------------------------------------------------
root@OpenWrt:~# cat /etc/config/network

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

config globals 'globals'
        option ula_prefix 'fd77:ac37:31b2::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'lan1'
        list ports 'lan2'
        list ports 'lan3'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config device
        option name 'wan'
        option macaddr '3c:cd:57:22:23:b0'

config interface 'wan'
        option device 'wan'
        option proto 'dhcp'
        option dns '8.8.8.8 8.8.4.4'
        option peerdns '0'

config interface 'wan6'
        option device 'wan'
        option proto 'dhcpv6'

config interface 'wwan'
        option proto 'dhcp'
        option device 'wl1-sta0'
        option dns '8.8.8.8 8.8.4.4'
        option peerdns '0'

root@OpenWrt:~# cat /etc/config/mwan3

config globals 'globals'
        option mmx_mask '0x3F00'

config interface 'wan'
        option enabled '1'
        option family 'ipv4'
        option reliability '1'
        option initial_state 'online'
        list track_ip '192.168.8.1'
        option track_method 'ping'
        option count '1'
        option size '56'
        option max_ttl '60'
        option timeout '4'
        option interval '10'
        option failure_interval '5'
        option recovery_interval '5'
        option down '5'
        option up '5'
        option interface 'wan'
        option metric '3'
        option weight '1'

config interface 'wan6'
        option family 'ipv4'
        option reliability '1'
        option initial_state 'online'
        option track_method 'ping'
        option count '1'
        option size '56'
        option max_ttl '60'
        option timeout '4'
        option interval '10'
        option failure_interval '5'
        option recovery_interval '5'
        option down '5'
        option up '5'
        option interface 'wan'
        option metric '4'
        option weight '2'

config rule 'https'
        option sticky '1'
        option dest_port '443'
        option proto 'tcp'
        option use_policy 'balanced'

config rule 'default_rule_v4'
        option dest_ip '0.0.0.0/0'
        option use_policy 'balanced'
        option family 'ipv4'

config rule 'default_rule_v6'
        option dest_ip '::/0'
        option use_policy 'balanced'
        option family 'ipv6'

config policy 'wwan_wan'
        option last_resort 'unreachable'
        list use_member 'wwan_m1_w1'
        list use_member 'wwan6_m2_w2'
        list use_member 'wan_m3_w1'
        list use_member 'wan6_m4_w2'

config interface 'wwan'
        option enabled '1'
        option initial_state 'online'
        option family 'ipv4'
        option track_method 'ping'
        option reliability '1'
        option count '1'
        option size '56'
        option max_ttl '60'
        option timeout '4'
        option interval '10'
        option failure_interval '5'
        option recovery_interval '5'
        option down '5'
        option up '5'
        option interface 'wwan'
        option metric '1'
        option weight '1'

config interface 'wwan6'
        option initial_state 'online'
        option family 'ipv4'
        option track_method 'ping'
        option reliability '1'
        option count '1'
        option size '56'
        option max_ttl '60'
        option timeout '4'
        option interval '10'
        option failure_interval '5'
        option recovery_interval '5'
        option down '5'
        option up '5'
        option interface 'wwan6'
        option metric '2'
        option weight '2'

config member 'wan_m3_w1'
        option interface 'wan'
        option metric '3'
        option weight '1'

config member 'wan6_m4_w2'
        option interface 'wan6'
        option metric '4'
        option weight '2'

config member 'wwan_m1_w1'
        option interface 'wwan'
        option metric '1'
        option weight '1'

config member 'wwan6_m2_w2'
        option interface 'wan'
        option metric '2'
        option weight '2'

root@OpenWrt:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.8.1     0.0.0.0         UG    0      0        0 wan
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
192.168.8.0     0.0.0.0         255.255.255.0   U     0      0        0 wan
root@OpenWrt:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.50.68   0.0.0.0         UG    0      0        0 wl1-sta0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
192.168.8.0     0.0.0.0         255.255.255.0   U     0      0        0 wan
192.168.50.0    0.0.0.0         255.255.255.0   U     0      0        0 wl1-sta0
root@OpenWrt:~#

Pierwszy route -n było bez podłączenia wwan a drugi juz z wwan

4

(8 odpowiedzi, napisanych Oprogramowanie / Software)

Mam problem z Xiaomi Redmi Router AX6S openwrt-luci ustawienie multiwan. Nie wiem co źle ustawiłem, ruter dostaje złącze internetowe po porcie wan kabelkiem i po wifi wwan.   Z założenia chcę tak by po kabelku był główny internet a jak się pojawi na wwan to ma przejść na wwan i tak jest, tylko problem z tym gdy zniknie wwan nie chce przejść na wan dopiero reset urządzania pomaga. W czym może być problem że działa wan>wwan a nie działa wwan>wan ??

Zrzuty ustawień
https://prnt.sc/tfJ8AFnNpObV
https://prnt.sc/SM1ePKZzxQsZ
https://prnt.sc/OKC8TYk14Jz-
https://prnt.sc/PHqSWiiSlahT
https://prnt.sc/gEaPK_wbxh28
https://prnt.sc/oVdlJ2RDL4ed