Przejdź do treści forum
eko.one.pl
OpenWrt, Linux, USB, notebooki i inne ciekawe rzeczy
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
Aktywne tematy Tematy bez odpowiedzi
Opcje wyszukiwania (Strona 6 z 7)
Powiem Wam tak, bardzo dziwna rzecz się wydarzały z moim routerkiem. Jeszcze nie zmieniałem software, mam cały czas Gargoyle 1.6.2.2, które dostało skrzydeł (dosłownie) 
Zrobiłem test na wydajność NAT i w pierwszej próbie wyszło 100Mb/s, w drugiej po restarcie routera 190Mb/s. Następnie odpaliłem speedtesta i mam DW: 230Mb/s UP: 20Mb/s.
Nie wiem jak to się stało, być może wcześniej długo był nierestartowany router i "trochę" zamulił.
Edit:
To 230Mb/s to jednak chyba błąd pomiarowy, wychodzi teraz średnio 100Mb/s.
Rozumiem, dzięki za pomoc.
Jeszcze pytanie, czy tutaj jest najnowszy obraz?
http://dl.eko.one.pl/luci/lede/17.01-SN … pgrade.bin
Bo rozumiem, że jeśli zainstaluje LUCI to będę miał środowisko graficzne przez www?
Cezary napisał/a:PS. Masz się łączyć odwrotnie - w sieci lan to urządzenia za wanem.
Co masz na myśli odwrotnie?
W routerze sieć LAN mam 192.168.5.1 i hosta 192.168.5.5 z uruchomionym serwerem ipserf.
WAN z kolei to statyczny ip 192.168.0.1/24 i do portu WAN podłączyłem drugiego hosta z adresem static 192.168.0.5.
Problem jest taki, że z poziomu 192.168.5.5 mam komunikację z 192.168.0.5 ale w drugą stronę już nie. Dlatego nie mogę zrobić tego testu.
Mógłbym w jakiś dość łatwy sposób przenieść config openvpn z gargoyle do lede?
Cześć, mam router jak w temacie. Ostatnio zrobiłem upgrade łącza do 250Mb/s. I mam problem ponieważ wygląda na to, że router nie daje rady obsłużyć tej przepustowości.
Mianowicie według speedtestów mam tylko 70Mb/s, a podłączając się bezpośrednio do routera operatora jest 240-250Mb/s. Jest to możliwe aby WDR3600 aż tak bardzo spowolniał?
Chciałem zrobić test na wydajność NAT, tak jak tutaj - https://eko.one.pl/forum/viewtopic.php? … 59#p192459
Ale niestety z podsieci WAN mam tylko dostęp do bramy, z podsiecią LAN już nie mam komunikacji. Wiecie jak to zmodyfikować, pewnie trzeba dodać jakaś regułę na firewallu?
Heinz napisał/a:Spróbuj w WDR3600 dodać linię w pliku /etc/hosts zawierającą wpis:
192.168.5.1 twoja.domena.pl
albo
127.0.0.1 twoja.domena.pl
jeśli masz usługę na routerze to zadziała. Nie wiem czy zadziała z opcją przekierowania portu.
Mogę też przecież ustawić 192.168.5.99 mojadomena.pl
Dzięki za obie odpowiedzi. Skorzystałem z NAT Reflection ale drugi sposób też będzie działał, aż się dziwię, czemu wcześniej o tym nie pomyślałem.
Cześć,
Posiadam router WDR3600 (192.168.5.0/24), do WANu podłączony router(modem) UPC (192.168.0.0/24). Na routerze UPC ustawiłem DMZ na router TP-LINKA (192.168.0.7).
W Gargoyle mam ustawione przekierowanie portu 5001 na Synology (192.168.5.100).
Problem jest następujący:
Będąc w sieci LAN 192.168.5.0/24 nie mam dostępu do swoich urządzeń po publicznym IP. Jeśli jestem poza swoją siecią LAN, wszystko działa prawidłowo mogę dostać się po publicznym IP np. na Synology (port 5001).
Zastanawiam się skąd wynika ten problem. Wygląda na to, że Gargoyle nie może znaleźć trasy do publicznego IP, który jest obok TP-Linka
.
Macie jakieś pomysły?
Edit:
Dodam jeszcze, że będąc w sieci 192.168.0.0/24 mam dostęp po publicznym IP więc problem jest na pewno po stronie Gargoyle
Kiedyś konfigurowałem i wszystko działało bez problemów na tym samym sprzęcie. Jeśli chodzi o logi to masz na myśli logread?
Cześć,
Mam problem z konfiguracją ppptp zgodnie z poradnikiem - https://eko.one.pl/?p=openwrt-pptpd
Ciągle dostaję błąd, że nieprawidłowa nazwa użytkownika bądź hasło.
Ma ktoś pomysł, gdzie może być błąd. Oczywiście login i hasło na 100% dobrze wpisuję, próbowałem różnych kombinacji ustawień ale za każdym razem mam ten sam błąd.
Błąd w Windowsie: 691
Wywaliłem i działa. Dzięki
Co ciekawe jakiś czas temu próbowałem drukarkę skonfigurować i pewnie wtedy to dodałem ale dopiero teraz zauważyłem że coś jest nie tak. Pewnie w dzierżawie były wszystkie urządzenia i nie odpytywały serwera DHCP.
Dzięki za pomoc.
Już to sprawdzałem, mam coś takiego, nie kojarzę żebym ostatnio coś tam zmieniał.
Pierwszy wpis to 42 linia.
###### BEGIN BONJOUR PRINTER CONFIGURATION #####
ptr-record=b._dns-sd._udp.0.5.168.192.in-addr.arpa,
ptr-record=db._dns-sd._udp.0.5.168.192.in-addr.arpa,
ptr-record=r._dns-sd._udp.0.5.168.192.in-addr.arpa,
ptr-record=dr._dns-sd._udp.0.5.168.192.in-addr.arpa,
ptr-record=lb._dns-sd._udp.0.5.168.192.in-addr.arpa,
ptr-record=_services._dns-sd._udp.,_pdl-datastream._tcp.
ptr-record=_pdl-datastream._tcp.,Gargoyle._pdl-datastream._tcp.
srv-host=Gargoyle._pdl-datastream._tcp.,Gargoyle.,9100
txt-record=Gargoyle._pdl-datastream._tcp.,ty=HL-2130 series,product=(HL-2130 ser
###### END BONJOUR PRINTER CONFIGURATION #######
Proszę:
logread
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 34.220000] GRE over IPv4 demultiplexor driver
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 34.230000] GRE over IPv4 tunneling driver
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 34.530000] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 34.620000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 35.070000] NET: Registered protocol family 24
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 35.190000] nf_conntrack version 0.5.0 (1978 buckets, 7912 max)
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 35.570000] PPTP driver version 0.8.5
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 36.260000] xt_time: kernel timezone is -0000
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 36.910000] Hooked IMQ after mangle on PREROUTING
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 36.910000] Hooked IMQ after nat on POSTROUTING
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 36.920000] IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 37.100000] Netfilter messages via NETLINK v0.30.
Jan 1 01:00:40 Gargoyle kern.notice kernel: [ 37.290000] ip_set: protocol 6
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 37.840000] usbcore: registered new interface driver cdc_acm
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 37.850000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 37.970000] usbcore: registered new interface driver usblp
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.000000] usbcore: registered new interface driver usbserial
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.010000] USB Serial support registered for generic
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.010000] usbcore: registered new interface driver usbserial_generic
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.020000] usbserial: USB Serial Driver core
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.100000] USB Serial support registered for Sierra USB modem
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.110000] usbcore: registered new interface driver sierra
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.110000] sierra: v.1.7.40:USB Driver for Sierra Wireless USB modems
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.130000] usbcore: registered new interface driver sierra_net
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.330000] usbcore: registered new interface driver cdc_wdm
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.350000] usbcore: registered new interface driver cdc_ether
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.480000] usbcore: registered new interface driver cdc_ncm
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.550000] usbcore: registered new interface driver qmi_wwan
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.570000] usbcore: registered new interface driver rndis_host
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.650000] USB Serial support registered for GSM modem (1-port)
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.660000] usbcore: registered new interface driver option
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.660000] option: v0.7.2:USB Driver for GSM modems
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.680000] USB Serial support registered for Qualcomm USB modem
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.690000] usbcore: registered new interface driver qcserial
Jan 1 01:00:40 Gargoyle kern.info kernel: [ 38.820000] fuse init (API version 7.18)
Jan 1 01:00:43 Gargoyle kern.info kernel: [ 43.810000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 1 01:00:45 Gargoyle kern.info kernel: [ 45.200000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Jan 1 01:00:45 Gargoyle kern.info kernel: [ 45.210000] ADDRCONF(NETDEV_UP): eth0.1: link is not ready
Jan 1 01:00:45 Gargoyle kern.info kernel: [ 45.210000] device eth0.1 entered promiscuous mode
Jan 1 01:00:45 Gargoyle kern.info kernel: [ 45.220000] device eth0 entered promiscuous mode
Jan 1 01:00:45 Gargoyle daemon.notice netifd: Interface 'lan' is now up
Jan 1 01:00:45 Gargoyle kern.info kernel: [ 45.230000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
Jan 1 01:00:45 Gargoyle daemon.notice netifd: Interface 'loopback' is now up
Jan 1 01:00:45 Gargoyle kern.info kernel: [ 45.250000] ADDRCONF(NETDEV_UP): eth0.2: link is not ready
Jan 1 01:00:45 Gargoyle user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan 1 01:00:45 Gargoyle daemon.notice netifd: wan (1062): udhcpc (v1.19.4) started
Jan 1 01:00:45 Gargoyle daemon.notice netifd: wan (1062): Sending discover...
Jan 1 01:00:46 Gargoyle kern.info kernel: [ 46.400000] eth0: link up (1000Mbps/Full duplex)
Jan 1 01:00:46 Gargoyle kern.info kernel: [ 46.420000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Jan 1 01:00:46 Gargoyle kern.info kernel: [ 46.420000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 01:00:46 Gargoyle kern.info kernel: [ 46.430000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 01:00:46 Gargoyle kern.info kernel: [ 46.430000] ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
Jan 1 01:00:46 Gargoyle kern.info kernel: [ 46.460000] ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
Jan 1 01:00:46 Gargoyle kern.info kernel: [ 46.460000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Jan 1 01:00:48 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan 1 01:00:48 Gargoyle kern.info kernel: [ 48.430000] br-lan: port 1(eth0.1) entered forwarding state
Jan 1 01:00:48 Gargoyle daemon.notice netifd: wan (1062): Sending discover...
Jan 1 01:00:50 Gargoyle kern.info kernel: [ 50.920000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jan 1 01:00:50 Gargoyle kern.info kernel: [ 50.930000] device wlan0 entered promiscuous mode
Jan 1 01:00:51 Gargoyle kern.info kernel: [ 51.150000] br-lan: port 2(wlan0) entered forwarding state
Jan 1 01:00:51 Gargoyle kern.info kernel: [ 51.160000] br-lan: port 2(wlan0) entered forwarding state
Jan 1 01:00:51 Gargoyle kern.info kernel: [ 51.160000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Jan 1 01:00:51 Gargoyle daemon.notice netifd: wan (1062): Sending discover...
Jan 1 01:00:53 Gargoyle kern.info kernel: [ 53.160000] br-lan: port 2(wlan0) entered forwarding state
Jan 1 01:00:54 Gargoyle kern.info kernel: [ 54.270000] ADDRCONF(NETDEV_UP): wlan1: link is not ready
Jan 1 01:00:54 Gargoyle kern.info kernel: [ 54.280000] device wlan1 entered promiscuous mode
Jan 1 01:00:54 Gargoyle kern.info kernel: [ 54.490000] br-lan: port 3(wlan1) entered forwarding state
Jan 1 01:00:54 Gargoyle kern.info kernel: [ 54.500000] br-lan: port 3(wlan1) entered forwarding state
Jan 1 01:00:54 Gargoyle kern.info kernel: [ 54.500000] ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Jan 1 01:00:56 Gargoyle kern.info kernel: [ 56.500000] br-lan: port 3(wlan1) entered forwarding state
Feb 25 12:00:02 Gargoyle authpriv.info dropbear[1467]: Running in background
Feb 25 12:00:02 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB2.0_Hub Serial=?
Feb 25 12:00:02 Gargoyle daemon.crit httpd_gargoyle[1529]: bind 0.0.0.0 - Address already in use
Feb 25 12:00:02 Gargoyle daemon.crit httpd_gargoyle[1529]: bind 0.0.0.0 - Address already in use
Feb 25 12:00:02 Gargoyle daemon.warn httpd_gargoyle[1550]: started as root without requesting chroot(), warning only
Feb 25 12:00:02 Gargoyle daemon.notice httpd_gargoyle[1550]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Feb 25 12:00:03 Gargoyle user.notice usb-modeswitch: 1-1.2:1.0: Manufacturer=Kingston Product=DataTraveler_2.0 Serial=001CC0C60E20EA20B42900DF
Feb 25 12:00:04 Gargoyle kern.warn kernel: [ 60.480000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:04 Gargoyle kern.warn kernel: [ 60.480000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:04 Gargoyle kern.info kernel: [ 60.650000] Adding 65532k swap on /dev/sda1. Priority:-1 extents:1 across:65532k
Feb 25 12:00:04 Gargoyle kern.warn kernel: [ 60.770000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:04 Gargoyle kern.warn kernel: [ 60.770000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:04 Gargoyle kern.info kernel: [ 60.860000] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
Feb 25 12:00:05 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Feb 25 12:00:05 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Feb 25 12:00:05 Gargoyle user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Feb 25 12:00:09 Gargoyle daemon.crit dnsmasq[2031]: bad PTR record at line 42 of /etc/dnsmasq.conf
Feb 25 12:00:09 Gargoyle daemon.crit dnsmasq[2031]: FAILED to start up
Feb 25 12:00:09 Gargoyle user.info sysinit: dnsmasq: bad PTR record at line 42 of /etc/dnsmasq.conf
Feb 25 12:00:09 Gargoyle user.err syslog: error starting threads: errno 89 (Function not implemented)
Feb 25 12:00:09 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 2 (No such file or directory)
Feb 25 12:00:09 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/etab for writing
Feb 25 12:00:09 Gargoyle user.info sysinit: exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 2 (No such file or directory)
Feb 25 12:00:09 Gargoyle user.info sysinit: exportfs: can't lock /var/lib/nfs/xtab for writing
Feb 25 12:00:09 Gargoyle daemon.info pptpd[2056]: MGR: Maximum of 100 connections reduced to 6, not enough IP addresses given
Feb 25 12:00:09 Gargoyle daemon.info pptpd[2057]: MGR: Manager process started
Feb 25 12:00:09 Gargoyle daemon.info pptpd[2057]: MGR: Maximum of 6 connections available
Feb 25 12:00:09 Gargoyle kern.warn kernel: [ 66.120000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:09 Gargoyle kern.warn kernel: [ 66.120000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:10 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Feb 25 12:00:10 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Feb 25 12:00:10 Gargoyle kern.info kernel: [ 66.300000] Adding 65532k swap on /dev/sda1. Priority:-1 extents:1 across:65532k
Feb 25 12:00:10 Gargoyle user.info sysinit: /dev/sdb: No such file or directory
Feb 25 12:00:10 Gargoyle kern.warn kernel: [ 66.410000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:10 Gargoyle kern.warn kernel: [ 66.410000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:10 Gargoyle kern.info kernel: [ 66.520000] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
Feb 25 12:00:10 Gargoyle user.info sysinit: setting up led USB1
Feb 25 12:00:10 Gargoyle user.info sysinit: setting up led USB2
Feb 25 12:00:10 Gargoyle user.info sysinit: setting up led WLAN2G
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: OpenVPN 2.2.2 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on Jul 9 2013
Feb 25 12:00:11 Gargoyle daemon.warn openvpn(custom_config)[2125]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: Diffie-Hellman initialized with 1024 bit key
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: Control Channel Authentication: using '/etc/openvpn/ta.key' as a OpenVPN static key file
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: TLS-Auth MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: Socket Buffers: R=[163840->131072] S=[163840->131072]
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: TUN/TAP device tun0 opened
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: TUN/TAP TX queue length set to 100
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: /sbin/ifconfig tun0 10.8.0.1 netmask 255.255.255.0 mtu 1500 broadcast 10.8.0.255
Feb 25 12:00:11 Gargoyle daemon.notice netifd: Interface 'vpn' is now up
Feb 25 12:00:11 Gargoyle daemon.notice openvpn(custom_config)[2125]: /etc/openvpn.up tun0 1500 1542 10.8.0.1 255.255.255.0 init
Feb 25 12:00:12 Gargoyle user.notice root: openvpn up script called
Feb 25 12:00:12 Gargoyle kern.warn kernel: [ 68.870000] ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
Feb 25 12:00:12 Gargoyle kern.warn kernel: [ 68.880000] old minutes west=0, new minutes west=-60
Feb 25 12:00:13 Gargoyle kern.warn kernel: [ 70.130000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:13 Gargoyle kern.warn kernel: [ 70.130000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:14 Gargoyle kern.info kernel: [ 70.180000] Adding 65532k swap on /dev/sda1. Priority:-1 extents:1 across:65532k
Feb 25 12:00:14 Gargoyle kern.warn kernel: [ 70.330000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:14 Gargoyle kern.warn kernel: [ 70.330000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:14 Gargoyle kern.info kernel: [ 70.450000] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
Feb 25 12:00:14 Gargoyle daemon.notice openvpn(custom_config)[2125]: /sbin/route add -net 192.168.1.0 netmask 255.255.255.0 gw 10.8.0.2
Feb 25 12:00:14 Gargoyle daemon.notice openvpn(custom_config)[2125]: Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Feb 25 12:00:14 Gargoyle daemon.notice openvpn(custom_config)[2125]: UDPv4 link local (bound): [undef]:1194
Feb 25 12:00:14 Gargoyle daemon.notice openvpn(custom_config)[2125]: UDPv4 link remote: [undef]
Feb 25 12:00:14 Gargoyle daemon.notice openvpn(custom_config)[2125]: MULTI: multi_init called, r=256 v=256
Feb 25 12:00:14 Gargoyle daemon.notice openvpn(custom_config)[2125]: Initialization Sequence Completed
Feb 25 12:00:15 Gargoyle kern.warn kernel: [ 71.820000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:15 Gargoyle kern.warn kernel: [ 71.820000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:15 Gargoyle kern.info kernel: [ 71.860000] Adding 65532k swap on /dev/sda1. Priority:-1 extents:1 across:65532k
Feb 25 12:00:15 Gargoyle kern.warn kernel: [ 71.930000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:15 Gargoyle kern.warn kernel: [ 71.930000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:15 Gargoyle kern.info kernel: [ 72.000000] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
Feb 25 12:00:17 Gargoyle kern.warn kernel: [ 73.320000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:17 Gargoyle kern.warn kernel: [ 73.330000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:17 Gargoyle kern.info kernel: [ 73.370000] Adding 65532k swap on /dev/sda1. Priority:-1 extents:1 across:65532k
Feb 25 12:00:17 Gargoyle kern.warn kernel: [ 73.430000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:17 Gargoyle kern.warn kernel: [ 73.440000] disktype: sending ioctl 5305 to a partition!
Feb 25 12:00:17 Gargoyle kern.info kernel: [ 73.500000] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
Feb 25 12:00:21 Gargoyle user.notice firewall: Reloading firewall due to ifup of vpn (tun0)
Feb 25 12:01:13 Gargoyle authpriv.info dropbear[3470]: Child connection from 192.168.5.7:60545
Feb 25 12:01:19 Gargoyle authpriv.notice dropbear[3470]: Password auth succeeded for 'root' from 192.168.5.7:60545
ps
PID USER VSZ STAT COMMAND
1 root 1508 S init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [kworker/0:0]
5 root 0 SW [kworker/u:0]
6 root 0 SW< [khelper]
7 root 0 SW [kworker/u:1]
69 root 0 SW [sync_supers]
71 root 0 SW [bdi-default]
73 root 0 SW< [kblockd]
104 root 0 SW [kswapd0]
152 root 0 SW [fsnotify_mark]
182 root 0 SW< [ath79-spi]
193 root 0 SW [mtdblock0]
198 root 0 SW [mtdblock1]
203 root 0 SW [mtdblock2]
208 root 0 SW [mtdblock3]
213 root 0 SW [mtdblock4]
218 root 0 SW [mtdblock5]
286 root 0 SW [kworker/0:1]
445 root 0 SW [kworker/0:2]
497 root 0 SW [flush-mtd-unmap]
520 root 0 SW [khubd]
540 root 0 SW [scsi_eh_0]
541 root 0 SW [usb-storage]
542 root 0 SW [kworker/0:3]
543 root 0 SW [kworker/u:2]
570 root 0 SW [jbd2/sda2-8]
571 root 0 SW< [ext4-dio-unwrit]
593 root 1508 S init
630 root 0 SW< [cfg80211]
669 root 0 SW< [rpciod]
689 root 0 SW< [nfsiod]
722 root 0 SW [flush-8:0]
841 root 1512 S /sbin/syslogd -C16
843 root 1496 S /sbin/klogd
845 root 880 S /sbin/hotplug2 --override --persistent --set-rules-f
855 root 876 S /sbin/ubusd
975 nobody 1020 S /usr/sbin/portmap
1001 root 1488 S /sbin/netifd
1062 root 1504 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/
1317 root 1628 S hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostap
1387 root 1628 S hostapd -P /var/run/wifi-phy1.pid -B /var/run/hostap
1438 root 1504 S /usr/sbin/ntpd -n -p 0.pool.ntp.org -p 1.pool.ntp.or
1467 root 1164 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
1550 root 1348 S httpd_gargoyle -c cgi-bin/**|**.sh|**.cgi|**.csv -d
2057 root 788 S pptpd
2125 root 3144 S /usr/sbin/openvpn --syslog openvpn(custom_config) --
2145 root 1504 S /sbin/watchdog -t 5 /dev/watchdog
2752 root 0 SW [jbd2/sda3-8]
2753 root 0 SW< [ext4-dio-unwrit]
3399 root 1508 S /usr/sbin/crond -c /etc/crontabs -l 9
3470 root 1232 S /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
3471 root 1524 S -ash
3549 root 1500 R ps
uci show dhcp
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded=1
dhcp.@dnsmasq[0].boguspriv=1
dhcp.@dnsmasq[0].filterwin2k=0
dhcp.@dnsmasq[0].localise_queries=1
dhcp.@dnsmasq[0].rebind_protection=1
dhcp.@dnsmasq[0].rebind_localhost=1
dhcp.@dnsmasq[0].local=/lan/
dhcp.@dnsmasq[0].domain=lan
dhcp.@dnsmasq[0].expandhosts=1
dhcp.@dnsmasq[0].nonegcache=0
dhcp.@dnsmasq[0].authoritative=1
dhcp.@dnsmasq[0].readethers=1
dhcp.@dnsmasq[0].leasefile=/tmp/dhcp.leases
dhcp.@dnsmasq[0].resolvfile=/tmp/resolv.conf.auto
dhcp.@dnsmasq[0].rebind_domain=free.aero2.net.pl
dhcp.lan=dhcp
dhcp.lan.interface=lan
dhcp.lan.leasetime=48h
dhcp.lan.start=100
dhcp.lan.limit=155
dhcp.wan=dhcp
dhcp.wan.interface=wan
dhcp.wan.ignore=1
uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0.1
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.5.1
network.lan.dns=62.179.1.62 62.179.1.63
network.wan=interface
network.wan.dns=62.179.1.62 62.179.1.63
network.wan.peerdns=0
network.wan.auto=1
network.wan.ifname=eth0.2
network.wan.proto=dhcp
network.@switch[0]=switch
network.@switch[0].name=eth0
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=eth0
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=0t 2 3 4 5
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device=eth0
network.@switch_vlan[1].vlan=2
network.@switch_vlan[1].ports=0t 1
network.vpn=interface
network.vpn.ifname=tun0
network.vpn.proto=none
network.vpn.defaultroute=0
network.vpn.peerdns=0
Ok, ale na kablu jest to samo. Nie pomaga, ipconfig /release, renew. Nie dostaje adresu IP, sprawdzałem na kilku urządzeniach. Na router mogę się dostać tylko po skonfigurowaniu statycznej adresacji.
Edit: Jak się podłączam kablem to w logach żadne nowe wpisy się nie tworzą.
Cześć, mam problem z działaniem serwera DHCP.
Ostatnio się bawiłem konfiguracją dnsmasq, w ostateczności przywróciłem domyślny config, tak jak poniżej. Jednak niestety serwer dhcp nie działa. Prośba o podpowiedź co może być nie tak.
Config /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
list rebind_domain 'free.aero2.net.pl'
config dhcp 'lan'
option interface 'lan'
option leasetime '48h'
option start '100'
option limit '155'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
Takie logi się pojawiają przy próbie połączenie w tym wypadku Wi-fi:
Feb 25 12:12:19 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d IEEE 802.11: disassociated
Feb 25 12:12:20 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Feb 25 12:12:23 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d IEEE 802.11: authenticated
Feb 25 12:12:23 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d IEEE 802.11: associated (aid 1)
Feb 25 12:12:23 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d WPA: pairwise key handshake completed (RSN)
Feb 25 12:12:41 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d IEEE 802.11: disassociated
Feb 25 12:12:42 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Feb 25 12:12:45 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d IEEE 802.11: authenticated
Feb 25 12:12:45 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d IEEE 802.11: associated (aid 1)
Feb 25 12:12:45 Gargoyle daemon.info hostapd: wlan1: STA 94:fe:22:07:df:3d WPA: pairwise key handshake completed (RSN)
Dzięki za szybką odpowiedź, a czy mógłbyś podesłać domyślną konfigurację tego pliku? Bo coś za dużo namieszałem...
Mam teraz coś takiego:
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
Cześć
Mam pytanko, ponieważ wykonałem poniższą komendę (znalazłem ją w tym artykule - https://eko.one.pl/?p=openwrt-dns)
uci add_list dhcp.@dnsmasq[0].address='/youtube.com/192.168.1.1'
Pytanie jest takie, w którym pliku zapisana jest powyższa konfiguracja?
Witam ponownie,
Mam problem z uruchomienie PPTP, występuje taki błąd w logach:
Feb 8 23:43:58 Gargoyle daemon.info pptpd[12461]: MGR: Maximum of 100 connections reduced to 6, not enough IP addresses given
Feb 8 23:43:58 Gargoyle daemon.info pptpd[12462]: MGR: Manager process started
Feb 8 23:43:58 Gargoyle daemon.info pptpd[12462]: MGR: Maximum of 6 connections available
Feb 8 23:43:58 Gargoyle daemon.err pptpd[12462]: MGR: Couldn't create host socket
Feb 8 23:43:58 Gargoyle daemon.err pptpd[12462]: createHostSocket: Address already in use
Proszę o nakierowanie gdzie szukać przyczny błędu.
Wielkie dzięki za pomoc. A przy okazji zapytam czy gdzieś zapisują się logi pptp np. kto się logował, nieudane próby logowania?
Tak, już sobie poradziłem. Bardzo dziękuję za szybko odpowiedź.
Mógłbym jeszcze prosić plik /etc/config/p910nd ?
Więcej nie będę męczył 
Dzięki Cezary, a możesz mi powiedzieć dlaczego po wpisaniu komendy:
uci set pptpd.pptpd.enabled='1'
wywala mi błąd:
uci: Invalid argument
Cześć,
Mam pytanie jak przywrócić domyślny plik konfiguracyjnego /etc/config/pptpd, przez przypadek usunąłem cały plik. Robiłem reinstalację pakietu: opkg remove pptpd, opkg install pptpd ale niestety config nie został przywrócony.
Z góry dzięki za odpowiedź.
Witam, na rasperrypi mam zainstalowanego apache2 i chciałbym dostać się na niego przez nazwę a nie przed adres IP.
Ustawiałem to kiedy w pliku resolv.conf ale teraz jakoś mi nie rusza
Chodzi o dodanie wpisu:
192.168.5.178 mojanazwa.pl
Gdzie konkretnie muszę dodać taki wpis?
Jest taka sytuacja, loguje się na router przez putty i odpalam jakiś dłuższy proces np. kopiowanie, które będzie trwało kilka godzin. Czy jest jakiś sposób abym mógł zamknąć putty a kopiowanie cały czas by wykonywało się na routerze?
Witam, mam router Thomson UPC, do niego podłączony WDR3600 przez WAN więc oba routery są w innej sieci.
Chodzi mi o to, aby hosty podłączone do routera Thomsona pingowały się z hostami podłączonymi do WDR3600.
Próbowałem robić routing w Gargoryle ale niestety nieskutecznie.
Czy jest opcja skonfigurowania tego pluginu, tak aby z poziomu serwera (WDR3600 i publiczne IP) mieć dostęp do urządzeń podłączonych do klienta (TP-LINK MR3420, brak publicznego IP)?
Jeszcze druga rzecz, gdy ustawię na serwerze kierowanie całego ruchu internetowego to klient (MR3420) zaczyna dziwnie się zachowywać tzn. rozłącza Internet, czasami działa tylko Google a czasami w ogóle nie ma Internetu. Jeśli ustawię dostęp tylko do zasobów lokalnych to jest ok.
Znalezione posty: 126 do 150 z 173