Odp: tl-wr842nd najnowszy Gargoyle
Zrób firstboota, Nie zmieniaj za wiele w openwrt, przełącz tylko na serwer, zapisz i zobacz.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → tl-wr842nd najnowszy Gargoyle
Strony Poprzednia 1 2 3 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Zrób firstboota, Nie zmieniaj za wiele w openwrt, przełącz tylko na serwer, zapisz i zobacz.
Zrobiłem: mtd -r erase rootfs_data
Następnie wpisałem tylko MAC żeby mieć internet i tak jak napisałeś przełączyłem na server, zapisałem zresetowałem i nadal nie działa "Uruchomiony, nie połączony"
root@Gargoyle:~# ifconfig -a
br-lan Link encap:Ethernet HWaddr 64:70:02:9D:CA:37
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1270 errors:0 dropped:0 overruns:0 frame:0
TX packets:1388 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:197481 (192.8 KiB) TX bytes:555931 (542.9 KiB)
eth0 Link encap:Ethernet HWaddr 64:70:02:9D:CA:37
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1279 errors:0 dropped:0 overruns:0 frame:0
TX packets:1398 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:216002 (210.9 KiB) TX bytes:556428 (543.3 KiB)
Interrupt:5
eth1 Link encap:Ethernet HWaddr 00:14:6C:A4:9F:43
inet addr:95.160.150.XX Bcast:95.160.159.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7727 errors:0 dropped:0 overruns:0 frame:0
TX packets:468 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:699187 (682.7 KiB) TX bytes:79792 (77.9 KiB)
Interrupt:4
imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
imq1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5500 (5.3 KiB) TX bytes:5500 (5.3 KiB)
root@Gargoyle:~# uci show openvpn_gargoyle
openvpn_gargoyle.server=server
openvpn_gargoyle.server.internal_ip=10.8.0.1
openvpn_gargoyle.server.internal_mask=255.255.255.0
openvpn_gargoyle.server.port=1194
openvpn_gargoyle.server.proto=udp
openvpn_gargoyle.server.cipher=BF-CBC
openvpn_gargoyle.server.keysize=128
openvpn_gargoyle.server.client_to_client=false
openvpn_gargoyle.server.duplicate_cn=false
openvpn_gargoyle.server.redirect_gateway=true
openvpn_gargoyle.server.subnet_access=false
openvpn_gargoyle.server.enabled=true
openvpn_gargoyle.client=client
openvpn_gargoyle.client.enabled=false
Zrobiłem wszystko raz jeszcze i dodałem klientów - defaultowych nic nie zmieniałem. Wyczekalem aż skonfiguruje wszystko.
root@Gargoyle:~# uci show openvpn_gargoyle
openvpn_gargoyle.server=server
openvpn_gargoyle.server.internal_ip=10.8.0.1
openvpn_gargoyle.server.internal_mask=255.255.255.0
openvpn_gargoyle.server.port=1194
openvpn_gargoyle.server.proto=udp
openvpn_gargoyle.server.cipher=BF-CBC
openvpn_gargoyle.server.keysize=128
openvpn_gargoyle.server.client_to_client=false
openvpn_gargoyle.server.duplicate_cn=false
openvpn_gargoyle.server.redirect_gateway=true
openvpn_gargoyle.server.subnet_access=false
openvpn_gargoyle.server.enabled=true
openvpn_gargoyle.client=client
openvpn_gargoyle.client.enabled=false
openvpn_gargoyle.client1=allowed_client
openvpn_gargoyle.client1.id=client1
openvpn_gargoyle.client1.name=Client1
openvpn_gargoyle.client1.ip=10.8.0.2
openvpn_gargoyle.client1.remote=95.160.150.XX
openvpn_gargoyle.client1.enabled=true
openvpn_gargoyle.client2=allowed_client
openvpn_gargoyle.client2.id=client2
openvpn_gargoyle.client2.name=Client2
openvpn_gargoyle.client2.ip=10.8.0.3
openvpn_gargoyle.client2.remote=95.160.150.XX
openvpn_gargoyle.client2.enabled=true
root@Gargoyle:~# ifconfig -a
br-lan Link encap:Ethernet HWaddr 64:70:02:9D:CA:37
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:989 errors:0 dropped:0 overruns:0 frame:0
TX packets:1031 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:155137 (151.5 KiB) TX bytes:312510 (305.1 KiB)
eth0 Link encap:Ethernet HWaddr 64:70:02:9D:CA:37
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:994 errors:0 dropped:0 overruns:0 frame:0
TX packets:1039 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:169410 (165.4 KiB) TX bytes:312899 (305.5 KiB)
Interrupt:5
eth1 Link encap:Ethernet HWaddr 00:14:6C:A4:9F:43
inet addr:95.160.150.XX Bcast:95.160.159.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9211 errors:0 dropped:0 overruns:0 frame:0
TX packets:254 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:584990 (571.2 KiB) TX bytes:41391 (40.4 KiB)
Interrupt:4
imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
imq1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:66 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5556 (5.4 KiB) TX bytes:5556 (5.4 KiB)
logread:
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: OpenVPN 2.2 .2 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on Oct 20 2012
Nov 15 23:14:55 Gargoyle daemon.warn openvpn(custom_config)[2437]: NOTE: the cur rent --script-security setting may allow this configuration to call user-defined scripts
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: Diffie-Hell man initialized with 1024 bit key
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: Control Cha nnel Authentication: using '/etc/openvpn/ta.key' as a OpenVPN static key file
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: Outgoing Co ntrol Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authent ication
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: Incoming Co ntrol Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authent ication
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: TLS-Auth MT U parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: Socket Buff ers: R=[163840->131072] S=[163840->131072]
Nov 15 23:14:55 Gargoyle daemon.notice netifd: Interface 'vpn' is now up
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: TUN/TAP dev ice tun0 opened
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: TUN/TAP TX queue length set to 100
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: /sbin/ifcon fig tun0 10.8.0.1 netmask 255.255.255.0 mtu 1500 broadcast 10.8.0.255
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: reading /tmp/resolv.conf.aut o
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.160.170. 92#53
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 88.156.222. 92#53
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 82.139.8.40 #53
Nov 15 23:14:55 Gargoyle daemon.warn dnsmasq[1734]: ignoring nameserver 192.168. 1.1 - local interface
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain micro
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain micro
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain micro
Nov 15 23:14:55 Gargoyle daemon.notice openvpn(custom_config)[2437]: /etc/openvp n.up tun0 1500 1542 10.8.0.1 255.255.255.0 init
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain oss
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain oss
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain oss
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain null
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain null
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain null
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain ing
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain ing
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain ing
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain indy
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain indy
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain indy
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain gopher
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain gopher
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain gopher
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain geek
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain geek
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain geek
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain fur
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain fur
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain fur
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain free
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain free
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain free
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain bbs
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain bbs
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain bbs
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain dyn
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain dyn
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain dyn
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain parody
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain parody
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain parody
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.142.171. 235#53 for domain glue
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 95.211.32.1 62#53 for domain glue
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 66.244.95.2 0#53 for domain glue
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 176.58.118. 172#53 for domain bit
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 106.187.47. 17#53 for domain bit
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using nameserver 178.32.31.4 1#53 for domain bit
Nov 15 23:14:55 Gargoyle daemon.info dnsmasq[1734]: using local addresses only f or domain lan
Nov 15 23:14:55 Gargoyle user.notice root: openvpn up script called
Nov 15 23:15:03 Gargoyle daemon.notice openvpn(custom_config)[2437]: Data Channe l MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Nov 15 23:15:03 Gargoyle daemon.notice openvpn(custom_config)[2437]: UDPv4 link local (bound): [undef]:1194
Nov 15 23:15:03 Gargoyle daemon.notice openvpn(custom_config)[2437]: UDPv4 link remote: [undef]
Nov 15 23:15:03 Gargoyle daemon.notice openvpn(custom_config)[2437]: TCP/UDP: Cl osing socket
Nov 15 23:15:03 Gargoyle daemon.notice openvpn(custom_config)[2437]: Closing TUN /TAP interface
Nov 15 23:15:03 Gargoyle daemon.notice openvpn(custom_config)[2437]: /sbin/ifcon fig tun0 0.0.0.0
Nov 15 23:15:03 Gargoyle daemon.notice netifd: Interface 'vpn' is now down
Nov 15 23:15:03 Gargoyle daemon.notice openvpn(custom_config)[2437]: /etc/openvp n.down tun0 1500 1542 10.8.0.1 255.255.255.0 init
Nov 15 23:15:03 Gargoyle user.notice root: openvpn down script called
Nov 15 23:15:08 Gargoyle daemon.notice openvpn(custom_config)[2806]: OpenVPN 2.2 .2 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on Oct 20 2012
Nov 15 23:15:08 Gargoyle daemon.warn openvpn(custom_config)[2806]: NOTE: the cur rent --script-security setting may allow this configuration to call user-defined scripts
Nov 15 23:15:08 Gargoyle daemon.notice openvpn(custom_config)[2806]: Diffie-Hell man initialized with 1024 bit key
Nov 15 23:15:08 Gargoyle daemon.notice openvpn(custom_config)[2806]: Control Cha nnel Authentication: using '/etc/openvpn/ta.key' as a OpenVPN static key file
Nov 15 23:15:08 Gargoyle daemon.notice openvpn(custom_config)[2806]: Outgoing Co ntrol Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authent ication
Nov 15 23:15:08 Gargoyle daemon.notice openvpn(custom_config)[2806]: Incoming Co ntrol Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authent ication
Nov 15 23:15:08 Gargoyle daemon.notice openvpn(custom_config)[2806]: TLS-Auth MT U parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Nov 15 23:15:08 Gargoyle daemon.notice openvpn(custom_config)[2806]: Socket Buff ers: R=[163840->131072] S=[163840->131072]
Nov 15 23:15:08 Gargoyle daemon.err openvpn(custom_config)[2806]: TCP/UDP: Socke t bind failed on local address [undef]:1194: Address already in use
Nov 15 23:15:08 Gargoyle daemon.notice openvpn(custom_config)[2806]: Exiting
Nov 15 23:15:09 Gargoyle user.notice ifup: Enabling Router Solicitations on loop back (lo)
Nov 15 23:16:01 Gargoyle authpriv.info dropbear[3096]: Child connection from 192 .168.1.201:3252
Nov 15 23:16:15 Gargoyle authpriv.notice dropbear[3096]: Password auth succeeded for 'root' from 192.168.1.201:3252
Niestety problem dalej ten sam
Istnieje na ten model tj. wr842nd, gargoyl pl w wersji 1.5.6? Mam 1043 postawiony na tyn sofcie i openvpn działa doskonale ?? Tam openvpn był w wersji 2.1.4. Ewentualnie czy jest możliwość wgrania do tego softu tej wersji wraz z wersją plugina z gargoyla pl 1.5.6 ?
Nie, nie i nie. 824 jest wpierany tylko przez AA, a nowej wersji pluginów nie możesz wgrywać na stary system.
A sam posiadasz taki model w swoim zapleczu technicznym ??
Już nie.
Szkoda, chciałbym sprawdzić, czy mój tylko ma takie widzimisie (chociaż wątpie, bo reszta jest ok), czy to ogólnie problem występujący dla tego modelu. Może ktoś na forum, posiada ten model i mógłby się wypowiedzieć na temat działania i współpracy pluginu openvpn w tej wersji softu
Zaktualizuj 1043 do nowej wersji to zobaczysz czy ten problem występuje.
ok tak zrobię. Powiedz mi tylko czy w przypadku 1043 trzeba coś z bootloadrem kombinować, bo coś mi się o uszy obiło. Mam tam teraz wersje 1.5.6. Czy wystarczy od razu z poziomu www sysuprgeada ładować ?
Nic nie trzeba robić.
Problem wygląda na rozwiązany. Co zrobiłem:
opkg remove plugin-gargoyle-openvpn_1.5.8.2-1_ar71xx.ipk
opkg remove openvpn_2.2.2-2_ar71xx.ipk
opkg remove openvpn-easy-rsa_2.2.2-2_ar71xx.ipk
usunąć konfigurację (plik) openvpn w bodajże /etc/
reboot
później instalacja na nowo:
opkg update
cd tmp/
wget http://ecco.selfip.net/gargoyle-pl/atti … ar71xx.ipk
opkg install ./openvpn_2.2.2-2_ar71xx.ipk
wget http://ecco.selfip.net/gargoyle-pl/atti … ar71xx.ipk
opkg install ./openvpn-easy-rsa_2.2.2-2_ar71xx.ipk
wget http://ecco.selfip.net/gargoyle-pl/atti … ar71xx.ipk
opkg install ./plugin-gargoyle-openvpn_1.5.8.2-1_ar71xx.ipk
/etc/init.d/openvpn enable
reboot
Jak widać najprostsze rozwiązanie okazało się najlepsze (szkoda, że zastosowane dopiero teraz ;p )
Cezary, dzięki za pomoc. Zobaczę czy z 1043 będzie to samo, czy tylko w sofcie 842 było coś pokrzaczone. Pozdrawiam
Przecież to te same pliki...
No tak, widocznie coś w w pierwszej konfiguracji jest pokrzaczone. Nie wnikam. Skoro reinstall pomógł tzn. że było coś nie tak...
Chyba nawet wiem co nie tak - na wan nie miałeś adresu ip.
Adres był bo inaczej nie pisałbym wtedy z Tobą.
eth1 Link encap:Ethernet HWaddr 00:14:6C:A4:9F:43
inet addr:95.160.150.XX Bcast:95.160.159.255 Mask:255.255.240.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9211 errors:0 dropped:0 overruns:0 frame:0
TX packets:254 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:584990 (571.2 KiB) TX bytes:41391 (40.4 KiB)
Interrupt:4
Po prostu wstawiłem te Xy
Na razie nie instaluje tego softu w 1043, bo cały czas ktoś z internetu korzysta. Jak będę mieć router na zmianę to wgram i zobaczę czy to tylko w sofcie dla 842.
Witam. Odgrzewam temat, bo wgrałem dziś najnowszego gargoyla do 1043 (1.5.9.4). Identyczny problem z openvpn tylko, że przeinstalowanie 3 elementów tj. plugina, openvpn i easy-creds nie pomaga - nadal wywala że serwe nie uruchomiony. Z tego co zauważyłem, po zmianie lanowego dhcp z defaultowego 192.168.1.1 na 192.168.7.1, po reboocie w uci show openvpn_gargoyle nadal widnieje stare ustawienie: openvpn_gargoyle.server.subnet_ip=192.168.1.0, a powinno być openvpn_gargoyle.server.subnet_ip=192.168.7.0. Więc zmieniłem za pomocą uci set, lecz po reboocie ustawienie to wraca do 192.168.1.0. Nie wiem czy to wlaśnie tego wina, że serwer nie odpala. Z góry dzięki za pomoc. Pozdrawiam
Nie rób reinstalacji. To co jest jest dobre.
1. zatem, co zrobić by po flashu (1.5.9.4 Gargoyle), na czystym sofcie bez żadnych zmian odpalić openvpn ? Po pierwszej konfiguracji, wyrzuca komunikat, że serwer nie uruchomiony.
2. Druga rzecz. Mam dwa komputery z sieciówkami 1Gb/s. NA backfire obie wchodziły bez problemu w ten tryb (klient windows), teraz na jednym z nich dostaje 1Gb/s a na drugim tylko 100Mb/s. Z czego to wynika ?
1. Nic. Włącz serwer w zakładce, zapisz zmiany. Działa.
2. Jakości kabla zapewne.
1. firstboot, wszystko na standardzie- nie działa tj uruchomiony, nie połączony - identyczny problem byl z 842nd
2. kable kat 6 - na backfire zawsze było 1gb/s - bardzo krotkie - nie przekraczają 5 m kazdy
Więc sprawdź co się dzieje z systemem. Mogę jeszcze z 10 razy u sobie to powtórzyć a i tak wstaje.
no rozumiem Cie. najlepiej wkleje logi: logread
Jan 1 01:00:23 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan 1 01:00:23 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan 1 01:00:24 Gargoyle daemon.notice netifd: wan (776): udhcpc (v1.19.4) start ed
Jan 1 01:00:24 Gargoyle daemon.notice netifd: wan (776): Sending discover...
Jan 1 01:00:24 Gargoyle daemon.notice netifd: wan (776): Sending select for 213 .108.225.xx...
Jan 1 01:00:24 Gargoyle daemon.notice netifd: wan (776): Lease of 213.108.225.1 4 obtained, lease time 36000
Jan 1 01:00:24 Gargoyle daemon.notice netifd: Interface 'wan' is now up
Jan 1 01:00:25 Gargoyle user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jan 1 01:00:25 Gargoyle kern.info kernel: [ 25.810000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 01:00:27 Gargoyle kern.info kernel: [ 27.420000] cfg80211: Calling CRDA for country: PL
Jan 1 01:00:27 Gargoyle kern.info kernel: [ 27.420000] cfg80211: Regulatory d omain changed to country: PL
Jan 1 01:00:27 Gargoyle kern.info kernel: [ 27.430000] cfg80211: (start_fre q - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 1 01:00:27 Gargoyle kern.info kernel: [ 27.430000] cfg80211: (2402000 K Hz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan 1 01:00:27 Gargoyle kern.info kernel: [ 27.440000] cfg80211: (5170000 K Hz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan 1 01:00:27 Gargoyle kern.info kernel: [ 27.450000] cfg80211: (5250000 K Hz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan 1 01:00:27 Gargoyle kern.info kernel: [ 27.460000] cfg80211: (5490000 K Hz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jan 1 01:00:27 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux _3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Feb 17 21:15:49 Gargoyle user.info sysinit: Loading defaults
Feb 17 21:15:49 Gargoyle user.info sysinit: Loading synflood protection
Feb 17 21:15:49 Gargoyle user.info sysinit: Adding custom chains
Feb 17 21:15:50 Gargoyle user.info sysinit: Loading zones
Feb 17 21:15:53 Gargoyle user.info sysinit: Loading forwardings
Feb 17 21:15:53 Gargoyle user.info sysinit: Loading rules
Feb 17 21:15:54 Gargoyle user.info sysinit: Loading redirects
Feb 17 21:15:54 Gargoyle user.info sysinit: Loading includes
Feb 17 21:15:56 Gargoyle user.info sysinit: Optimizing conntrack
Feb 17 21:15:56 Gargoyle user.info sysinit: Loading interfaces
Feb 17 21:15:56 Gargoyle user.info firewall: adding lan (br-lan) to zone lan
Feb 17 21:16:38 Gargoyle authpriv.info dropbear[1593]: Running in background
Feb 17 21:16:39 Gargoyle daemon.warn httpd_gargoyle[1620]: started as root witho ut requesting chroot(), warning only
Feb 17 21:16:39 Gargoyle daemon.notice httpd_gargoyle[1620]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Feb 17 21:16:41 Gargoyle user.notice dnsmasq: DNS rebinding protection is active , will discard upstream RFC1918 responses!
Feb 17 21:16:41 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq[1741]: started, version 2.62 caches ize 150
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq[1741]: compile time options: IPv6 G NU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCP, IP range 192.168. 1.100 -- 192.168.1.249, lease time 12h
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq[1741]: using local addresses only f or domain lan
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq[1741]: reading /tmp/resolv.conf.aut o
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq[1741]: using nameserver 213.108.225 .1#53
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq[1741]: using nameserver 195.222.112 .2#53
Feb 17 21:16:44 Gargoyle daemon.warn dnsmasq[1741]: ignoring nameserver 192.168. 1.1 - local interface
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq[1741]: using local addresses only f or domain lan
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq[1741]: read /etc/hosts - 2 addresse s
Feb 17 21:16:44 Gargoyle daemon.info dnsmasq-dhcp[1741]: read /etc/ethers - 0 ad dresses
Feb 17 21:16:44 Gargoyle user.err syslog: error starting threads: errno 89 (Func tion not implemented)
Feb 17 21:16:44 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nf s/.etab.lock for locking: errno 2 (No such file or directory)
Feb 17 21:16:44 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/et ab for writing
Feb 17 21:16:44 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nf s/.xtab.lock for locking: errno 2 (No such file or directory)
Feb 17 21:16:44 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xt ab for writing
Feb 17 21:16:46 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Feb 17 21:16:46 Gargoyle user.info sysinit: (Did you specify correct configurati on file path?)
Feb 17 21:16:53 Gargoyle user.notice ifup: Allowing Router Advertisements on wan (eth0.2)
Feb 17 21:16:54 Gargoyle user.info firewall: adding wan (eth0.2) to zone wan
Feb 17 21:16:55 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPDISCOVER(br-lan) 19 2.168.1.201 00:26:18:46:b0:9f
Feb 17 21:16:55 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPOFFER(br-lan) 192.1 68.1.201 00:26:18:46:b0:9f
Feb 17 21:16:55 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPREQUEST(br-lan) 192 .168.1.201 00:26:18:46:b0:9f
Feb 17 21:16:55 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPACK(br-lan) 192.168 .1.201 00:26:18:46:b0:9f h5zsgxfhsr5
Feb 17 21:16:56 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPDISCOVER(br-lan) 19 2.168.1.207 00:1d:7d:d4:4b:03
Feb 17 21:16:56 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPOFFER(br-lan) 192.1 68.1.207 00:1d:7d:d4:4b:03
Feb 17 21:16:56 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPREQUEST(br-lan) 192 .168.1.207 00:1d:7d:d4:4b:03
Feb 17 21:16:56 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPACK(br-lan) 192.168 .1.207 00:1d:7d:d4:4b:03 xs5eghrsa6th
Feb 17 21:16:56 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPDISCOVER(br-lan) 19 2.168.1.109 00:50:8d:f7:ff:5b
Feb 17 21:16:56 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPOFFER(br-lan) 192.1 68.1.109 00:50:8d:f7:ff:5b
Feb 17 21:16:56 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPREQUEST(br-lan) 192 .168.1.109 00:50:8d:f7:ff:5b
Feb 17 21:16:56 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPACK(br-lan) 192.168 .1.109 00:50:8d:f7:ff:5b ec56yfe6ghfd
Feb 17 21:16:59 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPINFORM(br-lan) 192. 168.1.207 00:1d:7d:d4:4b:03
Feb 17 21:16:59 Gargoyle daemon.info dnsmasq-dhcp[1741]: DHCPACK(br-lan) 192.168 .1.207 00:1d:7d:d4:4b:03 xs5eghrsa6th
Feb 17 21:17:00 Gargoyle kern.warn kernel: [ 64.670000] ipt_bandwidth: timezon e shift of 60 minutes detected, adjusting
Feb 17 21:17:00 Gargoyle kern.warn kernel: [ 64.680000] old min utes west=0, new minutes west=-60
Feb 17 21:17:12 Gargoyle user.notice root: vsftpd init: mounted = 0
Feb 17 21:17:12 Gargoyle user.info sysinit: ERROR: No drives attached, no direct ories to share!
Feb 17 21:17:13 Gargoyle user.info sysinit: setting up led USB
Feb 17 21:17:13 Gargoyle user.info sysinit: setting up led WLAN
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: OpenVPN 2.2 .2 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on Dec 12 2012
Feb 17 21:17:14 Gargoyle daemon.warn openvpn(custom_config)[2548]: NOTE: the cur rent --script-security setting may allow this configuration to call user-defined scripts
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: Diffie-Hell man initialized with 1024 bit key
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: Control Cha nnel Authentication: using '/etc/openvpn/ta.key' as a OpenVPN static key file
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: Outgoing Co ntrol Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authent ication
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: Incoming Co ntrol Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authent ication
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: TLS-Auth MT U parms [ L:1558 D:166 EF:66 EB:0 ET:0 EL:0 ]
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: Socket Buff ers: R=[163840->131072] S=[163840->131072]
Feb 17 21:17:14 Gargoyle daemon.notice netifd: Interface 'vpn' is now up
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: TUN/TAP dev ice tun0 opened
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: TUN/TAP TX queue length set to 100
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: /sbin/ifcon fig tun0 10.9.0.1 netmask 255.255.255.0 mtu 1500 broadcast 10.9.0.255
Feb 17 21:17:14 Gargoyle daemon.info dnsmasq[1741]: reading /tmp/resolv.conf.aut o
Feb 17 21:17:14 Gargoyle daemon.info dnsmasq[1741]: using nameserver 213.108.225 .1#53
Feb 17 21:17:14 Gargoyle daemon.info dnsmasq[1741]: using nameserver 195.222.112 .2#53
Feb 17 21:17:14 Gargoyle daemon.warn dnsmasq[1741]: ignoring nameserver 192.168. 1.1 - local interface
Feb 17 21:17:14 Gargoyle daemon.info dnsmasq[1741]: using local addresses only f or domain lan
Feb 17 21:17:14 Gargoyle daemon.notice openvpn(custom_config)[2548]: /etc/openvp n.up tun0 1500 1558 10.9.0.1 255.255.255.0 init
Feb 17 21:17:15 Gargoyle user.notice root: openvpn up script called
Feb 17 21:17:22 Gargoyle daemon.notice openvpn(custom_config)[2548]: Data Channe l MTU parms [ L:1558 D:1450 EF:58 EB:135 ET:0 EL:0 AF:3/1 ]
Feb 17 21:17:22 Gargoyle daemon.notice openvpn(custom_config)[2548]: UDPv4 link local (bound): [undef]:11712
Feb 17 21:17:22 Gargoyle daemon.notice openvpn(custom_config)[2548]: UDPv4 link remote: [undef]
Feb 17 21:17:22 Gargoyle daemon.notice openvpn(custom_config)[2548]: TCP/UDP: Cl osing socket
Feb 17 21:17:22 Gargoyle daemon.notice openvpn(custom_config)[2548]: Closing TUN /TAP interface
Feb 17 21:17:22 Gargoyle daemon.notice openvpn(custom_config)[2548]: /sbin/ifcon fig tun0 0.0.0.0
Feb 17 21:17:22 Gargoyle daemon.notice netifd: Interface 'vpn' is now down
Feb 17 21:17:22 Gargoyle daemon.notice openvpn(custom_config)[2548]: /etc/openvp n.down tun0 1500 1558 10.9.0.1 255.255.255.0 init
Feb 17 21:17:22 Gargoyle user.notice root: openvpn down script called
Feb 17 21:17:24 Gargoyle daemon.notice openvpn(custom_config)[3093]: OpenVPN 2.2 .2 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on Dec 12 2012
Feb 17 21:17:24 Gargoyle daemon.warn openvpn(custom_config)[3093]: NOTE: the cur rent --script-security setting may allow this configuration to call user-defined scripts
Feb 17 21:17:24 Gargoyle daemon.notice openvpn(custom_config)[3093]: Diffie-Hell man initialized with 1024 bit key
Feb 17 21:17:24 Gargoyle daemon.notice openvpn(custom_config)[3093]: Control Cha nnel Authentication: using '/etc/openvpn/ta.key' as a OpenVPN static key file
Feb 17 21:17:24 Gargoyle daemon.notice openvpn(custom_config)[3093]: Outgoing Co ntrol Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authent ication
Feb 17 21:17:24 Gargoyle daemon.notice openvpn(custom_config)[3093]: Incoming Co ntrol Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authent ication
Feb 17 21:17:24 Gargoyle daemon.notice openvpn(custom_config)[3093]: TLS-Auth MT U parms [ L:1558 D:166 EF:66 EB:0 ET:0 EL:0 ]
Feb 17 21:17:24 Gargoyle daemon.notice openvpn(custom_config)[3093]: Socket Buff ers: R=[163840->131072] S=[163840->131072]
Feb 17 21:17:24 Gargoyle daemon.err openvpn(custom_config)[3093]: TCP/UDP: Socke t bind failed on local address [undef]:11712: Address already in use
Feb 17 21:17:24 Gargoyle daemon.notice openvpn(custom_config)[3093]: Exiting
Feb 17 21:17:26 Gargoyle user.notice ifup: Enabling Router Solicitations on loop back (lo)
Feb 17 21:17:27 Gargoyle daemon.info dnsmasq[1741]: reading /tmp/resolv.conf.aut o
Feb 17 21:17:27 Gargoyle daemon.info dnsmasq[1741]: using nameserver 213.108.225 .1#53
Feb 17 21:17:27 Gargoyle daemon.info dnsmasq[1741]: using nameserver 195.222.112 .2#53
Feb 17 21:17:27 Gargoyle daemon.warn dnsmasq[1741]: ignoring nameserver 192.168. 1.1 - local interface
Feb 17 21:17:27 Gargoyle daemon.info dnsmasq[1741]: using local addresses only f or domain lan
Feb 17 21:17:56 Gargoyle authpriv.info dropbear[3289]: Child connection from 192 .168.1.201:1645
Feb 17 21:18:05 Gargoyle authpriv.notice dropbear[3289]: Password auth succeeded for 'root' from 192.168.1.201:1645
ifconfig -a
root@Gargoyle:~# ifconfig -a
br-lan Link encap:Ethernet HWaddr F8:D1:11:34:7E:A2
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1548 errors:0 dropped:0 overruns:0 frame:0
TX packets:1470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:221728 (216.5 KiB) TX bytes:479774 (468.5 KiB)
eth0 Link encap:Ethernet HWaddr F8:D1:11:34:7E:A2
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2910 errors:0 dropped:1 overruns:60484 frame:0
TX packets:1914 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:486438 (475.0 KiB) TX bytes:562970 (549.7 KiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr F8:D1:11:34:7E:A2
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1552 errors:0 dropped:0 overruns:0 frame:0
TX packets:1473 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:223224 (217.9 KiB) TX bytes:479912 (468.6 KiB)
eth0.2 Link encap:Ethernet HWaddr 00:30:4F:17:59:B6
inet addr:213.108.225.xx Bcast:213.108.225.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:843 errors:0 dropped:8 overruns:0 frame:0
TX packets:440 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:185722 (181.3 KiB) TX bytes:74363 (72.6 KiB)
imq0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
imq1 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16000 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:11000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3630 (3.5 KiB) TX bytes:3630 (3.5 KiB)
z tego co widze brakuje tun
uci show openvpn_gargoyle
openvpn_gargoyle.server=server
openvpn_gargoyle.server.internal_mask=255.255.255.0
openvpn_gargoyle.server.proto=udp
openvpn_gargoyle.server.duplicate_cn=false
openvpn_gargoyle.server.redirect_gateway=true
openvpn_gargoyle.server.enabled=true
openvpn_gargoyle.server.port=11712
openvpn_gargoyle.server.cipher=AES-256-CBC
openvpn_gargoyle.server.client_to_client=true
openvpn_gargoyle.server.subnet_access=true
openvpn_gargoyle.server.subnet_ip=192.168.1.0
openvpn_gargoyle.server.subnet_mask=255.255.255.0
openvpn_gargoyle.server.internal_ip=10.9.0.1
openvpn_gargoyle.client=client
openvpn_gargoyle.client.enabled=false
Dokładnie. Odpal sam skrypt openvpn z palca i zobacz co się dzieje. Ew uruchamiaj każde polecenie po kolei po prostu.
/etc/init.d/openvpn start odpaliło go i jest na zielono - uruchomiony i polaczony ip: 10.9.0.1. Dlaczego wiec po reboocie nie starci ? jak to uruchamiac selektywnie ? Czy chodzi o skrypt openvpn.firewall m.in ?
Strony Poprzednia 1 2 3 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → tl-wr842nd najnowszy Gargoyle
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc