Dzięki
Strony 1
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez steinjar
Strony 1
Dzięki
A możesz mi powiedzieć co mam dopisać do tego pliku konfiguracyjnego?
Udało mi się w końcu skonfigurować mwan3 tak aby działało loadbalancing i failover. Pozostała jeszcze jedna sprawa czyli DDNS. Jak go skonfigurować żeby brał adres ip tylko z interfejsu WAN (Neostrada). Domyślam się że trzeba coś dopisać do pliku /etc/init.d/ddns_gargoyle. A może skorzystać z czegoś innego?
Dobra postaram się jeszcze bardziej wgryźć w temat na wiki. Metric dla Wan już ustawiłem, ale za jasną cholerę nie wiem gdzie ustawić to:
" Every WAN interface should have "Use default gateway" enabled if this option is present
Note: PPPoE connections only show the "Use gateway metric" option if "Use default gateway" is enabled
Chyba że to jest nie potrzebne.
Dzięki Cezary za pomoc. Teraz na obu interfejsach jest Net.
Mam jeszcze następujące pytanie co do konfiguracji mwan3:
1. Gdzie ustawić i w jaki sposób metric dla interfejsów Wan - zgodnie z instrukcją http://wiki.openwrt.org/doc/howto/mwan3 bo jest napisane że muszą mieć różne
2. Nie bardzo rozumiem o co chodzi w ustawieniach Member configuration i Policy configuration (w paczce multiwan tego nie ma). Jakbyś w bardzo dużym skrócie wyjaśnił mi o co chodzi i jak to ugryźć. Może to po prostu skopiować z przykładu i się tym nie przejmować (chociaż lubię wiedzieć co konfiguruję :-) )
Moim docelowym modelem jest mieć loadbalancing na obu łączach i dodatkowo kierować ruch z konkretnych komputerów na konkretne interfejsy WAN.
Witam
Na routerze gargulec 1.6.2.2. Skonfigurowałem sobie dwa wany: jeden po kablu NEO, drugi modem E372 Orange zgodnie z poradnikiem.
Po wyłączeniu wan (Neo) i podniesieniu wan2 (modem) z konsoli pingują się strony bez problemu. Niestety na komputerach podłączonych po wifi i lanie brak neta. Jak wrócę z powrotem do wan wszystko wraca do normy. Zainstalowałem później również multiwana i po skonfigurowaniu pingi z konsoli przechodzą bez problemu, a na komputerach strony raz chodzą raz nie. Próbowałem już różnych rzeczy i nic. Dla mnie to tak wygląda jakby był jakiś problem z firewallem. Poniżej konfiguracje i logi
/etc/config/firewall
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config zone
option name 'wan'
list network 'wan'
list network 'wan6'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
option network 'wan wan2'
config forwarding
option src 'lan'
option dest 'wan wan2'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option src_ip 'fe80::/10'
option src_port '547'
option dest_ip 'fe80::/10'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config include
option path '/etc/firewall.user'
option reload '1'
config include
option type 'script'
option path '/usr/lib/gargoyle_firewall_util/gargoyle_additions.firewall'
option family 'IPv4'
option reload '1'
config include 'miniupnpd'
option type 'script'
option path '/usr/share/miniupnpd/firewall.include'
option family 'IPv4'
option reload '1'
config include 'openvpn_include_file'
option path '/etc/openvpn.firewall'
option reload '1'
config rule
option name 'PPTP'
option src 'wan'
option dest_port '1723'
option proto 'tcp'
option target 'ACCEPT'
config zone
option name 'wan2'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
config forwarding
option src 'lan'
option dest 'wan2'
/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 interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option dns '194.204.159.1 194.204.152.34 8.8.8.8'
config interface 'wan'
option ifname 'eth0.2'
option proto 'pppoe'
option username '*********'
option password '*********'
option keepalive '3 5'
option dns '194.204.159.1 194.204.152.34 8.8.8.8'
option peerdns '0'
config interface 'wan2'
option proto '3g'
option service 'umts'
option device '/dev/ttyUSB0'
option pincode '3245'
option apn 'internet'
option username 'internet'
option password 'internet'
option dns '194.204.159.1 194.204.152.34 8.8.8.8'
config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth0'
option vlan '1'
option ports '0t 2 3 4 5'
config switch_vlan
option device 'eth0'
option vlan '2'
option ports '0t 1'
root@Gargoyle:~# ifconfig
3g-wan2 Link encap:Point-to-Point Protocol
inet addr:10.199.202.221 P-t-P:10.64.64.65 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:35 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2575 (2.5 KiB) TX bytes:2782 (2.7 KiB)
br-lan Link encap:Ethernet HWaddr E8:94:F6:CD:4B:4A
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::ea94:f6ff:fecd:4b4a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:145526 errors:0 dropped:14 overruns:0 frame:0
TX packets:268509 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16658930 (15.8 MiB) TX bytes:319292127 (304.5 MiB)
eth0 Link encap:Ethernet HWaddr E8:94:F6:CD:4B:4A
inet6 addr: fe80::ea94:f6ff:fecd:4b4a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:272108 errors:0 dropped:19 overruns:0 frame:0
TX packets:192303 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:322550465 (307.6 MiB) TX bytes:50254188 (47.9 MiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr E8:94:F6:CD:4B:4A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38091 errors:0 dropped:0 overruns:0 frame:0
TX packets:69976 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11194945 (10.6 MiB) TX bytes:33883146 (32.3 MiB)
eth0.2 Link encap:Ethernet HWaddr E8:94:F6:CD:4B:4A
inet6 addr: fe80::ea94:f6ff:fecd:4b4a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2285 errors:0 dropped:0 overruns:0 frame:0
TX packets:2027 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1109796 (1.0 MiB) TX bytes:431744 (421.6 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:9178 errors:0 dropped:0 overruns:0 frame:0
TX packets:9178 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:561771 (548.6 KiB) TX bytes:561771 (548.6 KiB)
pppoe-wan Link encap:Point-to-Point Protocol
inet addr:83.11.73.171 P-t-P:83.1.4.9 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:2121 errors:0 dropped:0 overruns:0 frame:0
TX packets:1898 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1085220 (1.0 MiB) TX bytes:382408 (373.4 KiB)
wlan0 Link encap:Ethernet HWaddr E8:94:F6:CD:4B:4B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:136559 errors:0 dropped:0 overruns:0 frame:0
TX packets:274564 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18206339 (17.3 MiB) TX bytes:316569406 (301.9 MiB)
wlan1 Link encap:Ethernet HWaddr E8:94:F6:CD:4B:4C
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:36877 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:12347500 (11.7 MiB)
logread
Oct 9 00:29:12 Gargoyle daemon.notice netifd: wan2 (18813): SIM ready
Oct 9 00:29:12 Gargoyle daemon.notice netifd: wan2 (18813): PIN set successfully
Oct 9 00:29:14 Gargoyle daemon.notice pppd[18931]: pppd 2.4.5 started by root, uid 0
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: abort on (BUSY)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: abort on (NO CARRIER)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: abort on (ERROR)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: report (CONNECT)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: timeout set to 10 seconds
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: send (AT&F^M)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: expect (OK)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: AT&F^M^M
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: OK
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: -- got it
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: send (ATE1^M)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: expect (OK)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: ^M
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: ATE1^M^M
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: OK
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: -- got it
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: send (AT+CGDCONT=1,"IP","internet"^M)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: timeout set to 30 seconds
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: expect (OK)
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: ^M
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: AT+CGDCONT=1,"IP","internet"^M^M
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: OK
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: -- got it
Oct 9 00:29:15 Gargoyle local2.info chat[18960]: send (ATD*99***1#^M)
Oct 9 00:29:16 Gargoyle local2.info chat[18960]: expect (CONNECT)
Oct 9 00:29:16 Gargoyle local2.info chat[18960]: ^M
Oct 9 00:29:16 Gargoyle local2.info chat[18960]: ATD*99***1#^M^M
Oct 9 00:29:16 Gargoyle local2.info chat[18960]: CONNECT
Oct 9 00:29:16 Gargoyle local2.info chat[18960]: -- got it
Oct 9 00:29:16 Gargoyle local2.info chat[18960]: send ( ^M)
Oct 9 00:29:16 Gargoyle daemon.info pppd[18931]: Serial connection established.
Oct 9 00:29:16 Gargoyle daemon.info pppd[18931]: Using interface 3g-wan2
Oct 9 00:29:16 Gargoyle daemon.notice pppd[18931]: Connect: 3g-wan2 <--> /dev/ttyUSB0
Oct 9 00:29:17 Gargoyle daemon.info pppd[18931]: CHAP authentication succeeded
Oct 9 00:29:17 Gargoyle daemon.notice pppd[18931]: CHAP authentication succeeded
Oct 9 00:29:19 Gargoyle daemon.warn pppd[18931]: Could not determine remote IP address: defaulting to 10.64.64.65
Oct 9 00:29:19 Gargoyle daemon.notice pppd[18931]: local IP address 10.199.202.221
Oct 9 00:29:19 Gargoyle daemon.notice pppd[18931]: remote IP address 10.64.64.65
Oct 9 00:29:19 Gargoyle daemon.notice pppd[18931]: primary DNS address 194.204.159.1
Oct 9 00:29:19 Gargoyle daemon.notice pppd[18931]: secondary DNS address 194.204.152.34
Oct 9 00:29:19 Gargoyle daemon.info dnsmasq[8696]: reading /tmp/resolv.conf.auto
Oct 9 00:29:19 Gargoyle daemon.info dnsmasq[8696]: using nameserver 194.204.152.34#53
Oct 9 00:29:19 Gargoyle daemon.info dnsmasq[8696]: using nameserver 194.204.159.1#53
Oct 9 00:29:19 Gargoyle daemon.info dnsmasq[8696]: using local addresses only for domain lan
Oct 9 00:29:19 Gargoyle daemon.notice netifd: Interface 'wan2' is now up
Oct 9 00:29:19 Gargoyle user.notice firewall: Reloading firewall due to ifup of wan2 (3g-wan2)
Oct 9 00:29:51 Gargoyle daemon.info dnsmasq[8696]: reading /tmp/resolv.conf.auto
Oct 9 00:29:51 Gargoyle daemon.info dnsmasq[8696]: using nameserver 194.204.152.34#53
Oct 9 00:29:51 Gargoyle daemon.info dnsmasq[8696]: using nameserver 194.204.159.1#53
Oct 9 00:29:51 Gargoyle daemon.info dnsmasq[8696]: using local addresses only for domain lan
Oct 9 00:29:51 Gargoyle user.notice multiwan: Reinitializing Multi-WAN Configuration.
Oct 9 00:29:55 Gargoyle user.notice multiwan: Succesfully Initialized on Thu, 09 Oct 2014 00:29:55 +0200.
Oct 9 00:30:38 Gargoyle daemon.info dnsmasq[8696]: reading /tmp/resolv.conf.auto
Oct 9 00:30:38 Gargoyle daemon.info dnsmasq[8696]: using nameserver 194.204.152.34#53
Oct 9 00:30:38 Gargoyle daemon.info dnsmasq[8696]: using nameserver 194.204.159.1#53
Oct 9 00:30:38 Gargoyle daemon.info dnsmasq[8696]: using nameserver 194.204.152.34#53
Oct 9 00:30:38 Gargoyle daemon.info dnsmasq[8696]: using nameserver 194.204.159.1#53
Oct 9 00:30:38 Gargoyle daemon.info dnsmasq[8696]: using local addresses only for domain lan
root@Gargoyle~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.64.64.65 0.0.0.0 UG 0 0 0 3g-wan2
default poz-bg1.neo.tpn 0.0.0.0 UG 0 0 0 pppoe-wan
10.64.64.65 255.255.255.255 UH 0 0 0 3g-wan2
83.1.4.9 255.255.255.255 UH 0 0 0 pppoe-wan
192.168.1.0 255.255.255.0 U 0 0 0 br-lan
Prośba do speców o pomoc.
Z góry dzięki
OK. Dzięki za odpowiedź. Rozumiem że dysk który będzie podpięty musi mieć format linuxowy?
Witam
Wgrałem do wdr4300 gargoyle 1.6.2.2 (r42647), by obsy i próbuje dojść jak odpalić mini dlna. Przy próbie instalacji z konsoli wywala że brak wolnego miejsca, z gui to samo. Co trzeba zrobić żeby móc zainstalować ten plugin ?
Pzdr
Strony 1
eko.one.pl → Posty przez steinjar
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc