1

Temat: problem z update w Gargoyle

Witam
Jak do tej pory a to już kilak lat dawałem sobie sam rade ale teraz zwątpiłem

# opkg update
Downloading package list for openwrt_22.03.6_telephony source...
WARNING: Could not retrieve package list for openwrt_22.03.6_telephony.

Downloading package list for gargoylepl_kernelspecific source...
WARNING: Could not retrieve package list for gargoylepl_kernelspecific.

Downloading package list for openwrt_22.03.6_packages source...
WARNING: Could not retrieve package list for openwrt_22.03.6_packages.

Downloading package list for openwrt_22.03.6_routing source...
WARNING: Could not retrieve package list for openwrt_22.03.6_routing.

Downloading package list for openwrt_22.03.6_base source...
WARNING: Could not retrieve package list for openwrt_22.03.6_base.

Downloading package list for gargoylepl_base source...
WARNING: Could not retrieve package list for gargoylepl_base.

mój sprzęt to

# ubus call system board
{
        "kernel": "5.10.201",
        "hostname": "Gargoyle",
        "system": "AMD GX-415GA SOC with Radeon(tm) HD Graphics",
        "model": "FUJITSU FUTRO S920",
        "board_name": "fujitsu-futro-s920",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "22.03.6",
                "revision": "r20265-f85a79bcb4",
                "target": "x86/64",
                "description": "OpenWrt 22.03.6 r20265-f85a79bcb4"
        }
}
T# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd97:9912:2393::/48'

config device 'brlan_dev'
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth1'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ip6ifaceid '::1'
        option dns '8.8.8.8 8.8.4.4 '

config interface 'wan'
        option proto 'dhcp'
        option device 'eth0'
        option ipv6 '0'
        option peerdns '0'
        option dns '8.8.8.8 8.8.4.4'

config interface 'wan6'
        option device 'eth0'
        option proto 'none'

config device 'wan_eth0_dev'
        option name 'eth0'
        option macaddr '00:e0:4c:6c:c8:07'

Na lanie jest internet
Może ktoś pomoże jakimś pomysłem

2

Odp: problem z update w Gargoyle

Zrób na routerze

ping onet.pl

jeżeli nie działa to nie, nie masz internetu. Pokaż wynik

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

3 (edytowany przez Yabi 2024-05-17 03:17:34)

Odp: problem z update w Gargoyle

# ping onet.pl
ping: bad address 'onet.pl'

onet.pl = 18.66.233.80

ping 18.66.233.80
PING 18.66.233.80 (18.66.233.80): 56 data bytes
64 bytes from 18.66.233.80: seq=0 ttl=248 time=16.318 ms
64 bytes from 18.66.233.80: seq=1 ttl=248 time=15.315 ms
64 bytes from 18.66.233.80: seq=2 ttl=248 time=12.302 ms
64 bytes from 18.66.233.80: seq=3 ttl=248 time=13.423 ms
--- 18.66.233.80 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 12.302/14.339/16.318 ms
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         31.178.32.1     0.0.0.0         UG    0      0        0 eth0
31.178.32.0     0.0.0.0         255.255.252.0   U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan

4

Odp: problem z update w Gargoyle

Zrób

wget https://dl.eko.one.pl/gargoyle-pl/1.14/targets/x86/64/version.txt

I pokaż co wyszło.

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

5 (edytowany przez Yabi 2024-05-17 07:15:01)

Odp: problem z update w Gargoyle

# wget https://dl.eko.one.pl/gargoyle-pl/1.14/targets/x86/64/version.txt
Downloading 'https://dl.eko.one.pl/gargoyle-pl/1.14/targets/x86/64/version.txt'
Failed to send request: Operation not permitted

6

Odp: problem z update w Gargoyle

Zobacz jeszcze czy

 wget http://dl.eko.one.pl/gargoyle-pl/1.14/targets/x86/64/version.txt

Jeżeli zadziała to coś zepsułeś w gargoyle z obsługą ssl. Jeżeli nie zadziała to problem masz jakiś ze swoim routerem że nie puszcza takiego podstawowego ruchu.

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

7

Odp: problem z update w Gargoyle

wget http://dl.eko.one.pl/gargoyle-pl/1.14/targets/x86/64/version.txt
Downloading 'http://dl.eko.one.pl/gargoyle-pl/1.14/targets/x86/64/version.txt'
Failed to send request: Operation not permitted

8

Odp: problem z update w Gargoyle

Dowolny inny plik z dowolnego innego serwisu możesz pobrać. Np.

wget http://noc.pirx.pl/5mb.bin -O /dev/null

?

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

9

Odp: problem z update w Gargoyle

# wget http://noc.pirx.pl/5mb.bin -O /dev/null
Downloading 'http://noc.pirx.pl/5mb.bin'
Failed to send request: Operation not permitted

10

Odp: problem z update w Gargoyle

Problem masz przy dostępnie tego sprzętu do internetu.

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

11

Odp: problem z update w Gargoyle

jak zrobie

# /etc/init.d/dnsmasq stop

to

# wget [url]http://noc.pirx.pl/5mb.bin[/url] -O /dev/null
Downloading '[url]http://noc.pirx.pl/5mb.bin[/url]'
Connecting to 217.73.181.197:80
Writing to '/dev/null'
/dev/null            100% |*******************************|  5120k  0:00:00 ETA
Download completed (5242880 bytes)

12

Odp: problem z update w Gargoyle

dnsmasq jest od dnsów i dhcp, nie od blokady ruchu, akurat wcześniej pokazałeś ze dnsy ci działają.

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

13

Odp: problem z update w Gargoyle

ok, rozumiem, tylko nadal nie wiem co z tym zrobić

14

Odp: problem z update w Gargoyle

Szukaj przyczyny dlaczego nie działa ruch na zewnątrz. W ostateczności zrób backup, przywróć ustawienia domyślne i zobacz czy wszystko działa (powinno). Jak tak, to sprawdzaj czy się różni to co jest w backupie od tego co jest w systemie.

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

15 (edytowany przez schrederek 2024-05-17 08:30:13)

Odp: problem z update w Gargoyle

Cezary napisał/a:

dnsmasq jest od dnsów i dhcp, nie od blokady ruchu, akurat wcześniej pokazałeś ze dnsy ci działają.

mówisz o pingu?
bo jeżeli tak to on ping wykonał na ip nie domenę.

16

Odp: problem z update w Gargoyle

Fakt, nie wiem dlaczego zakodowałem sobie że ping działa.

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

17 (edytowany przez Yabi 2024-05-18 06:10:28)

Odp: problem z update w Gargoyle

Ok, przeładowałem system na routerze i jest ten sam efekt

# ping onet.pl
ping: bad address 'onet.pl'
         onet.pl = 18.66.233.80
# ping 18.66.233.80
PING 18.66.233.80 (18.66.233.80): 56 data bytes
64 bytes from 18.66.233.80: seq=0 ttl=248 time=14.155 ms
64 bytes from 18.66.233.80: seq=1 ttl=248 time=15.817 ms
64 bytes from 18.66.233.80: seq=2 ttl=248 time=14.286 ms
64 bytes from 18.66.233.80: seq=3 ttl=248 time=11.504 ms
--- 18.66.233.80 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 11.504/13.940/15.817 ms
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         31.178.32.1     0.0.0.0         UG    0      0        0 eth0
31.178.32.0     0.0.0.0         255.255.252.0   U     0      0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 br-lan
# ubus call system board
{
        "kernel": "5.10.201",
        "hostname": "Gargoyle",
        "system": "AMD GX-415GA SOC with Radeon(tm) HD Graphics",
        "model": "FUJITSU FUTRO S920",
        "board_name": "fujitsu-futro-s920",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "22.03.6",
                "revision": "r20265-f85a79bcb4",
                "target": "x86/64",
                "description": "OpenWrt 22.03.6 r20265-f85a79bcb4"
        }
}
# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd80:5caf:dcc8::/48'

config device 'brlan_dev'
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth1'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option proto 'dhcp'
        option device 'eth0'

config interface 'wan6'
        option proto 'dhcpv6'
        option device 'eth0'

jest jeszcze taki efekt

# ping onet.pl
ping: bad address 'onet.pl'
# /etc/init.d/dnsmasq stop
# ping onet.pl
PING onet.pl (18.66.233.7): 56 data bytes
64 bytes from 18.66.233.7: seq=0 ttl=248 time=14.035 ms
64 bytes from 18.66.233.7: seq=1 ttl=248 time=19.510 ms
64 bytes from 18.66.233.7: seq=2 ttl=248 time=12.009 ms
64 bytes from 18.66.233.7: seq=3 ttl=248 time=14.492 ms
--- onet.pl ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 12.009/15.011/19.510 ms
# /etc/init.d/dnsmasq start
udhcpc: started, v1.35.0
udhcpc: broadcasting discover
udhcpc: no lease, failing
# ping onet.pl
ping: bad address 'onet.pl'

18

Odp: problem z update w Gargoyle

Ustaw sobie na stałe inne dny w gui.

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

19

Odp: problem z update w Gargoyle

ustawiłem, to samo

root@Gargoyle:~# ping onet.pl
ping: bad address 'onet.pl'

root@Gargoyle:~# cat /etc/config/network

config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd80:5caf:dcc8::/48'

config device 'brlan_dev'
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth1'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ip6ifaceid '::1'
        option dns '8.8.8.8 1.1.1.1 8.8.4.4 '

config interface 'wan'
        option proto 'dhcp'
        option device 'eth0'
        option ipv6 '0'
        option peerdns '0'
        option dns '8.8.8.8 1.1.1.1 8.8.4.4'

config interface 'wan6'
        option device 'eth0'
        option proto 'none'

config device 'wan_eth0_dev'
        option name 'eth0'
        option macaddr '00:e0:4c:6c:c8:07'

20

Odp: problem z update w Gargoyle

Pokaż wynik

cat /etc/resolv.conf
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21 (edytowany przez Yabi 2024-05-18 08:43:59)

Odp: problem z update w Gargoyle

# cat /etc/resolv.conf
search home.arpa
nameserver 127.0.0.1
nameserver ::1

22

Odp: problem z update w Gargoyle

Zrób /etc/init.d/dnsmasq start, poczekaj chwilę i pokaż jeszcze:

cat /tmp/resolv.conf.d/resolv.conf.auto
cat /tmp/etc/dnsmasq.conf.*

Z jakiegoś powodu Ci dnsmasq nie rozwiązuje nazw.

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

23 (edytowany przez Yabi 2024-05-18 09:30:14)

Odp: problem z update w Gargoyle

# /etc/init.d/dnsmasq start
# cat /tmp/resolv.conf.d/resolv.conf.auto
# Interface lan
nameserver 8.8.8.8
nameserver 1.1.1.1
nameserver 8.8.4.4
# Interface wan
nameserver 8.8.8.8
nameserver 1.1.1.1
nameserver 8.8.4.4
# cat /tmp/etc/dnsmasq.conf.*
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
domain-needed
localise-queries
enable-ubus=dnsmasq
expand-hosts
bind-dynamic
local-service
edns-packet-max=1232
domain=home.arpa
local=/lan/
server=/.bit/178.32.31.41
server=/.bit/176.58.118.172
server=/.glue/66.244.95.20
server=/.glue/95.211.32.162
server=/.glue/95.142.171.235
server=/.parody/66.244.95.20
server=/.parody/95.211.32.162
server=/.parody/95.142.171.235
server=/.dyn/66.244.95.20
server=/.dyn/95.211.32.162
server=/.dyn/95.142.171.235
server=/.bbs/66.244.95.20
server=/.bbs/95.211.32.162
server=/.bbs/95.142.171.235
server=/.free/66.244.95.20
server=/.free/95.211.32.162
server=/.free/95.142.171.235
server=/.fur/66.244.95.20
server=/.fur/95.211.32.162
server=/.fur/95.142.171.235
server=/.geek/66.244.95.20
server=/.geek/95.211.32.162
server=/.geek/95.142.171.235
server=/.gopher/66.244.95.20
server=/.gopher/95.211.32.162
server=/.gopher/95.142.171.235
server=/.indy/66.244.95.20
server=/.indy/95.211.32.162
server=/.indy/95.142.171.235
server=/.ing/66.244.95.20
server=/.ing/95.211.32.162
server=/.ing/95.142.171.235
server=/.null/66.244.95.20
server=/.null/95.211.32.162
server=/.null/95.142.171.235
server=/.oss/66.244.95.20
server=/.oss/95.211.32.162
server=/.oss/95.142.171.235
server=/.micro/66.244.95.20
server=/.micro/95.211.32.162
server=/.micro/95.142.171.235
addn-hosts=/tmp/hosts
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.d/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok
rebind-domain-ok=.bit
rebind-domain-ok=.glue
rebind-domain-ok=.parody
rebind-domain-ok=.dyn
rebind-domain-ok=.bbs
rebind-domain-ok=.free
rebind-domain-ok=.fur
rebind-domain-ok=.geek
rebind-domain-ok=.gopher
rebind-domain-ok=.indy
rebind-domain-ok=.ing
rebind-domain-ok=.null
rebind-domain-ok=.oss
rebind-domain-ok=.micro
dhcp-broadcast=tag:needs-broadcast
conf-dir=/tmp/dnsmasq.d
user=dnsmasq
group=dnsmasq

dhcp-host=80:AF:CA:08:4E:52,192.168.1.3,AP_CUDY
dhcp-host=00:1D:0F:F3:90:0D,192.168.1.5,APTECH
dhcp-host=90:2B:34:13:BD:F0,192.168.1.10,SG1
dhcp-host=D8:5E:D3:FC:8F:13,192.168.1.11,RYZEN
dhcp-host=00:23:14:53:3D:48,192.168.1.12,S1558_wifi
dhcp-host=B8:AC:6F:61:40:D5,192.168.1.13,S1558_eth
dhcp-host=90:2B:34:E4:D4:99,192.168.1.14,KON-OMV
dhcp-host=7C:D3:0A:11:81:B3,192.168.1.15,HP-OMV
dhcp-host=C4:DE:E2:D6:B1:6C,192.168.1.25,ULANZI
dhcp-host=90:0E:B3:39:26:74,192.168.1.26,X96Max+100
dhcp-host=38:E3:9F:12:35:DF,192.168.1.28,MOTO
dhcp-host=7C:76:68:B7:37:2F,192.168.1.29,HUAWEI
dhcp-host=00:08:9B:E3:CF:B4,192.168.1.30,QNAP30
dhcp-host=00:08:9B:E3:CF:B5,192.168.1.31,QNAP31
dhcp-host=24:5E:BE:1E:00:25,192.168.1.32,QNAP32
dhcp-host=24:5E:BE:1E:00:25,192.168.1.33,QNAP33
dhcp-host=7C:D3:0A:3D:7F:E6,192.168.1.100,HA_NEW
dhcp-host=00:E0:4C:68:08:0F,192.168.1.200,HA_OLD

dhcp-ignore-names=tag:dhcp_bogus_hostname
conf-file=/usr/share/dnsmasq/dhcpbogushostname.conf


bogus-priv
conf-file=/usr/share/dnsmasq/rfc6761.conf
dhcp-range=set:lan,192.168.1.240,192.168.1.249,255.255.255.0,1h
no-dhcp-interface=eth0

24

Odp: problem z update w Gargoyle

Nie wiem. Na razie nie widzę nic szczególnego dla którego nie miało by to działać.

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

25

Odp: problem z update w Gargoyle

dhcp-host=00:23:14:53:3D:48,192.168.1.12,S1558_wifi
dhcp-host=B8:AC:6F:61:40:D5,192.168.1.13,S1558_eth
dhcp-host=90:0E:B3:39:26:74,192.168.1.26,X96Max+100
dhcp-host=7C:D3:0A:3D:7F:E6,192.168.1.100,HA_NEW
dhcp-host=00:E0:4C:68:08:0F,192.168.1.200,HA_OLD

"+" symbol in the hostname is not allowed, remove.
"_" symbol is not allowed, replace it with "-".
Rename all invalid hosts and restart dnsmasq see if problem is resolved.