251

Odp: Gargoyle 1.13.x

Zrobiłem i teraz działa jedyna różnica była po podaniu
wget-ssl
wget-ssl: missing URL
Usage: wget-ssl [OPTION]... ...

Try `wget-ssl --help' for more options.

Tylko teraz jak instalowałem 3ginfo to korzystałem z putty a poprzednie wgrywałem z poziomu Gargoyle.

Teraz jest ok.

root@Gargoyle:~# 3ginfo
Status: Połączony
Czas polaczenia: 0d, 00:15:24
Przeslano danych: 4.2 MiB / 468.5 KiB
Operator: Orange
Tryb pracy: LTE
Sila sygnalu: 58%
Urzadzenie: Huawei E3372 hilink
MCC MNC: 260 03
LAC: DD86 (56710)
CID: 28C9519 (42767641)
TAC: - (-)
CSQ: 18
RSSI: -77 dBm
RSCP: - dBm
Ec/IO: - dB
RSRP: -97 dBm
SINR: 10 dB
RSRQ: -8 dB

252

Odp: Gargoyle 1.13.x

I teraz ci działa...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

253

Odp: Gargoyle 1.13.x

Dzięki tobie ;-) dzięki

254

Odp: Gargoyle 1.13.x

Cezary napisał/a:

wan -> lan? You need FORWARDING rule for ipv4, not "open port". Use "Individual Port Forwarding", not "Individual Port Opening".

I have no problems with IPF.
So are we saying IPO is for IPv6 ONLY? If so, the field should be labeled as such, e.g.
IPv4 Individual Port Forward.
IPv6 Individual Port Opening.
I do believe I am beginning to get the picture, as IPv6 doesn't need any NAT, unlike IPv4, so only IPO is required?

Also, my list of static IP's has disappeared again. Very strange.
The router has been up for 5 days since my restore from backup the last time it happened.
I would have thought if the static IP list had disappeared, the Statics would have reverted to DHCP after timeout, but this does not appear to be the case. The only way I can think of checking, is to restart the router and see if the statics get allocated again.
If not, then some process is causing static IP address problems.
Having said the above, I've just checked the Hosts file with WinSCP and all the statics are listed. So why can't I see my static IP's on the DHCP page?

255

Odp: Gargoyle 1.13.x

Ok, show me:

cat /tmp/hosts/dhcp.*
cat /tmp/dhcp.leases
cat /tmp/hosts/odhcpd
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

256

Odp: Gargoyle 1.13.x

1.13 przechowuje statyczne dzierżawy w /etc/config/dhcp. Nie /etc/hosts /etc/ethers.

257

Odp: Gargoyle 1.13.x

My router seems to have restarted about ten hours ago and lost all static IP's, as WAN uptime is showing 10 hours.
Uptime is showing 6 days so not power.
I'll investigate as you've requested before I do a restore.

258

Odp: Gargoyle 1.13.x

All static lists gone.

# auto-generated config file from /etc/config/dhcp
192.168.11.1 GargoyleMO1
fdd7:e6c6:f734::1 GargoyleMO1

cat /tmp/dhcp.leases
1597615868 d0:50:99:52:cc:7c 192.168.11.113 MediaServer1 01:d0:50:99:52:cc:7c
1597598089 d0:50:99:86:4c:97 192.168.11.228 NancyOfficePC 01:d0:50:99:86:4c:97
1597597380 18:b4:30:ea:96:f8 192.168.11.221 Nest-Hello-96f8 01:18:b4:30:ea:96:f8
1597612890 7c:d9:5c:7a:05:eb 192.168.11.145 Google-Nest-Hub-Max *
1597611803 1c:f2:9a:36:38:a1 192.168.11.203 Google-Nest-Hub *
1597598571 20:df:b9:ac:f4:b0 192.168.11.226 Google-Home-Mini *
1597617106 c4:d6:55:40:12:c9 192.168.11.246 * 01:c4:d6:55:40:12:c9
1597617290 c4:d6:55:3c:f6:f1 192.168.11.238 * 01:c4:d6:55:3c:f6:f1
1597617219 c4:d6:55:3e:18:ed 192.168.11.216 * 01:c4:d6:55:3e:18:ed
1597606414 60:01:94:ca:a2:65 192.168.11.106 ESP_CAA265 *
1597602396 c0:ee:fb:b0:13:fa 192.168.11.244 NancyOnePlus6 01:c0:ee:fb:b0:13:fa
1597599067 d6:9a:ca:90:c0:82 192.168.11.180 MickOnePlus6 01:d6:9a:ca:90:c0:82
1597613952 cc:4e:ec:22:1c:41 192.168.11.211 * *
1597604254 2c:3a:e8:3b:bc:0b 192.168.11.156 ESP_3BBC0B *
1597617023 60:01:94:e4:23:7f 192.168.11.239 ESP_E4237F *
1597616076 f4:e3:fb:b5:b0:79 192.168.11.124 huaweistb 01:f4:e3:fb:b5:b0:79
1597617346 10:4f:a8:54:53:77 192.168.11.127 android-cda45bfa43c48b82 01:10:4f:a8:54:53:77
1597612402 00:1b:67:18:9f:9b 192.168.11.116 * 01:00:1b:67:18:9f:9b
1597597935 a0:d8:07:23:1e:42 192.168.11.176 HUAWEI_MediaPad_M5_lite_1 01:a0:d8:07:23:1e:42
1597602571 2c:3a:e8:3b:b8:d3 192.168.11.160 ESP_3BB8D3 *

cat /tmp/hosts/odhcpd
fdd7:e6c6:f734::199     NancyOfficePC
# br-lan 000100011f34e4afd05099864c97 6d05099 NancyOfficePC 1597598086 199 128 fdd7:e6c6:f734::199/128
# br-lan 0003000164cc22646772 22646772 - 1597582542 365 128 fdd7:e6c6:f734::365/128
fdd7:e6c6:f734::55a     MediaServer1
# br-lan 000100011f3bae3ed0509952cc7c 18d05099 MediaServer1 1597615856 55a 128 fdd7:e6c6:f734::55a/128
# br-lan 0001000126a113df18b430ea96f8 30ea96f8 - 1597597380 583 128 fdd7:e6c6:f734::583/128
# br-lan 000300016a14013d7323 0 - 1597617348 9cf 128 fdd7:e6c6:f734::9cf/128
fdd7:e6c6:f734::199     NancyOfficePC
# br-lan 000100011f34e4afd05099864c97 6d05099 NancyOfficePC 1597598086 199 128 fdd7:e6c6:f734::199/128
# br-lan 0003000164cc22646772 22646772 - 1597582542 365 128 fdd7:e6c6:f734::365/128
fdd7:e6c6:f734::55a     MediaServer1
# br-lan 000100011f3bae3ed0509952cc7c 18d05099 MediaServer1 1597615856 55a 128 fdd7:e6c6:f734::55a/128
# br-lan 0001000126a113df18b430ea96f8 30ea96f8 - 1597597380 583 128 fdd7:e6c6:f734::583/128
# br-lan 000300016a14013d7323 0 - 1597617348 9cf 128 fdd7:e6c6:f734::9cf/128

259

Odp: Gargoyle 1.13.x

And show cat /etc/hosts

We are talking about page "connection/dhcp", yes?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

260

Odp: Gargoyle 1.13.x

I have restored from backup.
"1.13 stores static leases in / etc / config / dhcp. Not / etc / hosts / etc / ethers."
No statics found in  / etc / config / dhcp
Statics found in / etc / ethers
Connection / DHCP / Static IP's   still not showing Static list.
Static IP's have been issued and can be seen in Status / Connected Hosts.

root@GargoyleMO1:~# cat /tmp/hosts/dhcp.*
# auto-generated config file from /etc/config/dhcp
192.168.11.1 GargoyleMO1
fdd7:e6c6:f734::1 GargoyleMO1


root@GargoyleMO1:~# cat /tmp/dhcp.leases
1597621534 c4:d6:55:3c:f6:f1 192.168.11.82 CCTVCAM2 *
1597621463 c4:d6:55:3e:18:ed 192.168.11.83 CCTVCAM3 *
1597621914 c4:d6:55:40:12:c9 192.168.11.81 NVR *
1597620668 d6:9a:ca:90:c0:82 192.168.11.180 MickOnePlus6 01:d6:9a:ca:90:c0:82
1597620558 2c:3a:e8:3b:bc:0b 192.168.11.156 ESP_3BBC0B *
1597620524 c0:ee:fb:b0:13:fa 192.168.11.244 NancyOnePlus6 01:c0:ee:fb:b0:13:fa
1597620737 7c:d9:5c:7a:05:eb 192.168.11.43 Google-Nest-Hub-Max *
1597620513 18:b4:30:ea:96:f8 192.168.11.41 Nest-Hello-96f8 *
1597620508 60:01:94:ca:a2:65 192.168.11.106 ESP_CAA265 *
1597620699 20:df:b9:ac:f4:b0 192.168.11.44 Google-Home-Mini *
1597620880 1c:f2:9a:36:38:a1 192.168.11.42 Google-Nest-Hub *

root@GargoyleMO1:~# cat /tmp/hosts/odhcpd
# br-lan 0001000126a113df18b430ea96f8 30ea96f8 - 1597620583 583 128 fdd7:e6c6:f734::583/128
fdd7:e6c6:f734::dc6     Google-Nest-Hub
# br-lan 000300011cf29a3638a1 9a3638a1 Google-Nest-Hub 1597620499 dc6 128 fdd7:e6c6:f734::dc6/128
fdd7:e6c6:f734::e7a     Google-Nest-Hub-Max
# br-lan 000300017cd95c7a05eb 5c7a05eb Google-Nest-Hub-Max 1597620524 e7a 128 fdd7:e6c6:f734::e7a/128

261

Odp: Gargoyle 1.13.x

Show cat /etc/hosts

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

262

Odp: Gargoyle 1.13.x

root@GargoyleMO1:~# Show cat /etc/hosts
-ash: Show: not found
root@GargoyleMO1:~# cat /etc/hosts
127.0.0.1    localhost
192.168.11.1    GargoyleMO1
192.168.11.61    MediaServer1
192.168.11.82    CCTVCAM2
192.168.11.81    NVR
192.168.11.83    CCTVCAM3
192.168.11.71    PRINTER1
192.168.11.43    Google-Nest-Hub-Max
192.168.11.42    Google-Nest-Hub
192.168.11.41    Nest-Hello-96f8
192.168.11.44    Google-Home-Mini
192.168.11.51    MickOfficePC
192.168.11.52    NancyOfficePC
192.168.11.62    NAS1
192.168.11.1    GargoyleMO1 # SELF HOSTNAME. DO NOT EDIT OR REMOVE THIS COMMENT!

263

Odp: Gargoyle 1.13.x

uci show dhcp

As @lanits wrote: static leases are stored in /etc/config/dhcp. It must exist or the table is not displayed. If it was there and now it is not,  repeat everything and write what you do to make data disappear.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

264

Odp: Gargoyle 1.13.x

/etc/config/dhcp

Is this what you are expecting...

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'
    option nonwildcard '1'
    option localservice '1'
    list addnhosts '/adblock/block.hosts'

config dhcp 'lan'
    option interface 'lan'
    option start '100'
    option limit '150'
    option leasetime '12h'
    option dhcpv6 'server'
    option ra 'server'

config dhcp 'wan'
    option interface 'wan'
    option ignore '1'

config odhcpd 'odhcpd'
    option maindhcp '0'
    option leasefile '/tmp/hosts/odhcpd'
    option leasetrigger '/usr/sbin/odhcpd-update'
    option loglevel '4'

265

Odp: Gargoyle 1.13.x

root@GargoyleMO1:~# 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].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].addnhosts='/adblock/block.hosts'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.lan.dhcpv6='server'
dhcp.lan.ra='server'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.wan.ignore='1'
dhcp.odhcpd=odhcpd
dhcp.odhcpd.maindhcp='0'
dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
dhcp.odhcpd.loglevel='4'
root@GargoyleMO1:~#

266

Odp: Gargoyle 1.13.x

https://openwrt.org/docs/guide-user/base-system/dhcp
DNS and DHCP configuration /etc/config/dhcp
"As well as adding host sections, you can also enable the dnsmasq section option readethers, and add entries to the /etc/ethers file."
dhcp.@dnsmasq[0].readethers='1'
d0:50:99:52:cc:7c    192.168.11.61
c4:d6:55:3c:f6:f1    192.168.11.82
c4:d6:55:40:12:c9    192.168.11.81
c4:d6:55:3e:18:ed    192.168.11.83
00:bb:c1:66:8d:b5    192.168.11.71
7c:d9:5c:7a:05:eb    192.168.11.43
1c:f2:9a:36:38:a1    192.168.11.42
18:b4:30:ea:96:f8    192.168.11.41
20:df:b9:ac:f4:b0    192.168.11.44
d0:50:99:52:cc:25    192.168.11.51
d0:50:99:86:4c:97    192.168.11.52
d0:50:99:57:fb:5e    192.168.11.62

WinSCP before restoration showed the ethers file icon, but when trying to Open it, failed with file not readable message. Maybe because there was no listing of statics? After restoration, the ethers file could be opened.

267

Odp: Gargoyle 1.13.x

Not ethers. Gargoyle uses /etc/config/dhcp. Again - use clear configuration, don't restore backup, just try adding new static dhcp, reboot and  watch if this still there.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

268

Odp: Gargoyle 1.13.x

Thanks.
I'll clear, restart, add, and restart. Not expecting any problems.
Let you know, cheers

269

Odp: Gargoyle 1.13.x

I've just done a quick test. I configured a static, saved, but not restarted and checked with WinSCP to see if the entry was listed in /etc/config/dhcp/config host.  It was.
I suspect that due to readethers = 1, that is where the current statics are being read from?
OK, past midnight. Have to wait until traffic dies down before router rework.
Getting there...

270

Odp: Gargoyle 1.13.x

OK. All statics are now being saved to /etc/config/dhcp and the config/ethers has gone.
I can see the Static IP list at last. :-)
Now we wait to see if anything happens and the next upgrade :-)

271

Odp: Gargoyle 1.13.x

Czy wiadomo już kiedy będzie oficjalne wydanie 1.13 ?

272

Odp: Gargoyle 1.13.x

Nie, nie ma takiej informacji.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

273 (edytowany przez roofman 2020-08-26 05:57:06)

Odp: Gargoyle 1.13.x

Witajcie, od jakiegoś czasu zmagam się z resetowaniem połączenia przez router (wndr4300, Gargoyle 1.13 pre7)
Nie wiem gdzie leży problem. Zgłaszałem do dostawcy - jak zwykle u nich jest OK.
Po logach widać, że router robi reset po nieodpowiedziach na ping (zwiększyłem z 3 do 5).
Reset następuje średnio co 10 minut, jednak są takie pory, że wytrzymuje i kilka godzin bez resetu.
Mogę to jakoś zdiagnozować?
Fragment logu:
Wed Aug 26 06:32:46 2020 daemon.info pppd[1866]: No response to 5 echo-requests
Wed Aug 26 06:32:46 2020 daemon.notice pppd[1866]: Serial link appears to be disconnected.
Wed Aug 26 06:32:46 2020 daemon.info pppd[1866]: Connect time 11.1 minutes.
Wed Aug 26 06:32:46 2020 daemon.info pppd[1866]: Sent 4088967 bytes, received 69302740 bytes.
Wed Aug 26 06:32:46 2020 daemon.notice netifd: Network device 'pppoe-wan' link is down
Wed Aug 26 06:32:46 2020 daemon.notice netifd: Interface 'wan' has lost the connection
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: reading /tmp/resolv.conf.auto
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: using local addresses only for domain test
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: using local addresses only for domain onion
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: using local addresses only for domain localhost
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: using local addresses only for domain local
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: using local addresses only for domain invalid
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: using local addresses only for domain bind
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: using local addresses only for domain lan
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: using nameserver 176.103.130.130#53
Wed Aug 26 06:32:46 2020 daemon.info dnsmasq[21904]: using nameserver 176.103.130.131#53
Wed Aug 26 06:32:52 2020 daemon.notice pppd[1866]: Connection terminated.
Wed Aug 26 06:32:52 2020 daemon.info pppd[1866]: Sent PADT
Wed Aug 26 06:32:52 2020 daemon.notice pppd[1866]: Modem hangup
Wed Aug 26 06:32:52 2020 daemon.info pppd[1866]: Exit.
Wed Aug 26 06:32:53 2020 daemon.notice netifd: Interface 'wan' is now down
Wed Aug 26 06:32:53 2020 daemon.notice netifd: Interface 'wan' is setting up now
Wed Aug 26 06:32:53 2020 daemon.err insmod: module is already loaded - slhc
Wed Aug 26 06:32:53 2020 daemon.err insmod: module is already loaded - ppp_generic
Wed Aug 26 06:32:53 2020 daemon.err insmod: module is already loaded - pppox
Wed Aug 26 06:32:53 2020 daemon.err insmod: module is already loaded - pppoe
Wed Aug 26 06:32:53 2020 daemon.info pppd[3878]: Plugin rp-pppoe.so loaded.
Wed Aug 26 06:32:53 2020 daemon.info pppd[3878]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Wed Aug 26 06:32:53 2020 daemon.notice pppd[3878]: pppd 2.4.7 started by root, uid 0
Wed Aug 26 06:33:08 2020 daemon.warn pppd[3878]: Timeout waiting for PADO packets
Wed Aug 26 06:33:08 2020 daemon.err pppd[3878]: Unable to complete PPPoE Discovery
Wed Aug 26 06:33:08 2020 daemon.info pppd[3878]: Exit.
Wed Aug 26 06:33:08 2020 daemon.notice netifd: Interface 'wan' is now down
Wed Aug 26 06:33:08 2020 daemon.notice netifd: Interface 'wan' is setting up now
Wed Aug 26 06:33:09 2020 daemon.err insmod: module is already loaded - slhc
Wed Aug 26 06:33:09 2020 daemon.err insmod: module is already loaded - ppp_generic
Wed Aug 26 06:33:09 2020 daemon.err insmod: module is already loaded - pppox
Wed Aug 26 06:33:09 2020 daemon.err insmod: module is already loaded - pppoe
Wed Aug 26 06:33:09 2020 daemon.info pppd[3948]: Plugin rp-pppoe.so loaded.
Wed Aug 26 06:33:09 2020 daemon.info pppd[3948]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Wed Aug 26 06:33:09 2020 daemon.notice pppd[3948]: pppd 2.4.7 started by root, uid 0
Wed Aug 26 06:33:09 2020 daemon.info pppd[3948]: PPP session is 182
Wed Aug 26 06:33:09 2020 daemon.warn pppd[3948]: Connected to zz:zz:zz:zz:zz:zz via interface eth0.2
Wed Aug 26 06:33:09 2020 kern.info kernel: [74122.734881] pppoe-wan: renamed from ppp0
Wed Aug 26 06:33:09 2020 daemon.info pppd[3948]: Renamed interface ppp0 to pppoe-wan
Wed Aug 26 06:33:09 2020 daemon.info pppd[3948]: Using interface pppoe-wan
Wed Aug 26 06:33:09 2020 daemon.notice pppd[3948]: Connect: pppoe-wan <--> eth0.2
Wed Aug 26 06:33:09 2020 daemon.notice pppd[3948]: PAP authentication succeeded
Wed Aug 26 06:33:09 2020 daemon.notice pppd[3948]: peer from calling number zz:zz:zz:zz:zz:zz authorized
Wed Aug 26 06:33:10 2020 daemon.notice pppd[3948]: local  IP address xx.xxx.xx.xxx
Wed Aug 26 06:33:10 2020 daemon.notice pppd[3948]: remote IP address xx.xxx.xxx.xx
Wed Aug 26 06:33:10 2020 daemon.notice pppd[3948]: primary   DNS address xx.xxx.xxx.xxx
Wed Aug 26 06:33:10 2020 daemon.notice pppd[3948]: secondary DNS address xx.xxx.xxx.xxx
Wed Aug 26 06:33:10 2020 daemon.notice netifd: Network device 'pppoe-wan' link is up
Wed Aug 26 06:33:10 2020 daemon.notice netifd: Interface 'wan' is now up

r6220 - Gargoyle 1.12.0.2

274

Odp: Gargoyle 1.13.x

Umiera połączenie pppoe. Jednak wina jest po stronie dostawcy.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

275

Odp: Gargoyle 1.13.x

Dzięki Cezary za odpowiedź. Ech... to czeka mnie przepychanka z dostawcą.
Chyba, że jeszcze modem dostępowy coś szwankuje, poprzeglądam może jego zasilacz.
Może kondensatory napuchły i nie trzyma napięcia.

r6220 - Gargoyle 1.12.0.2