Odp: EA4500 + E3272s
Możesz wpisać na stałe jak możesz.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → EA4500 + E3272s
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
Możesz wpisać na stałe jak możesz.
Możesz używać mwan, z tym że on wymaga żeby oba łącza były aktywne cały czas. On nie podnosi sam drugiego łącza, przełącza tylko routing na niego.
Mam mały problem.
# opkg install usb-modeswitch kmod-usb-net-cdc-ether
Package usb-modeswitch (2014-08-26-993a9a542791953c4804f7ddbb3a07756738e37a) installed in root is up to date.
Installing kmod-usb-net-cdc-ether (4.4.27-1) to root...
Downloading http://downloads.lede-project.org/snaps … scale.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-net-cdc-ether:
* kernel (= 4.4.27-1-ca3ab91beefdb8258c5e7392b3110da5) *
* opkg_install_cmd: Cannot install package kmod-usb-net-cdc-ether.
To nie problem - używasz wersji rozwojowej, a ta już się zmieniła kilkanaście razy. Zrób sobie upgrade do aktualnej wersji i zainstaluj to wszystko co potrzebujesz.
http://eko.one.pl/?p=openwrt-mwan3
# opkg update
# opkg install usb-modeswitch kmod-usb-net-cdc-ether
# uci -q del network.wan2
# uci set network.wan2=interface
# uci set network.wan2.proto=dhcp
# uci set network.wan2.ifname=eth1
# uci set network.wan2.metric=20
# uci commit network
Co zmienić tutaj aby było pod modem lte?
OK działa - tak jak by. Ping idzie, DNS działa lecz strony się nie wczytują. Dlaczego?
Dodatkowo, jeśli wyjmę modem to:
interface wan is online and tracking is active
interface wan2 is unknown and tracking is active
I nie ma Internetu. Nie jest w stanie rozpoznać że nie ma modemu.
Da się jakoś to naprawić?
A może pokazał byś jak skonfigurowałeś mwan i network?
# cat /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 'fda1:9885:2cdd::/48'
config interface 'lan'
option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ip6assign '60'
option ipaddr '10.10.0.1'
option netmask '255.0.0.0'
config interface 'wan'
option ifname 'eth1'
option proto 'dhcp'
option metric '10'
option dns '8.8.8.8 8.8.4.4'
config interface 'wan6'
option ifname 'eth1'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0 1 2 3 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '4 6'
config interface 'wan2'
option proto '3g'
option device '/dev/ttyUSB0'
option apn 'internet'
option metric '20'
option dns '8.8.8.8 8.8.4.4'
# cat /etc/config/mwan3
config interface 'wan'
option enabled '1'
list track_ip '8.8.4.4'
list track_ip '8.8.8.8'
list track_ip '208.67.222.222'
list track_ip '208.67.220.220'
option reliability '2'
option count '1'
option timeout '2'
option interval '5'
option down '3'
option up '8'
config interface 'wan2'
list track_ip '8.8.8.8'
list track_ip '208.67.220.220'
option reliability '1'
option count '1'
option timeout '2'
option interval '5'
option down '3'
option up '8'
option enabled '1'
config member 'wan_m1_w3'
option interface 'wan'
option metric '1'
option weight '99'
config member 'wan_m2_w3'
option interface 'wan'
option metric '2'
option weight '3'
config member 'wan2_m1_w2'
option interface 'wan2'
option metric '1'
option weight '1'
config member 'wan2_m2_w2'
option interface 'wan2'
option metric '2'
option weight '2'
config policy 'wan_only'
list use_member 'wan_m1_w3'
config policy 'wan2_only'
list use_member 'wan2_m1_w2'
config policy 'balanced'
list use_member 'wan_m1_w3'
list use_member 'wan2_m1_w2'
config policy 'wan_wan2'
list use_member 'wan_m1_w3'
list use_member 'wan2_m2_w2'
config policy 'wan2_wan'
list use_member 'wan_m2_w3'
list use_member 'wan2_m1_w2'
config rule 'https'
option sticky '1'
option dest_port '443'
option proto 'tcp'
option use_policy 'balanced'
config rule 'default_rule'
option dest_ip '0.0.0.0/0'
option use_policy 'balanced'
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → EA4500 + E3272s
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc