Page 9 of 28
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Mon Jul 01, 2024 7:03 pm
by fifonik
Thanks a lot.
I will try to test it when the new build available.
P.S. Will it work if I only get xt_webmon.ko & xt_weburl.ko from new FW or I should re-flash?
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Mon Jul 01, 2024 8:40 pm
by Lantis
In theory you can just drop those new kmods in (make sure you stop webmon and remove any firewall rules related to weburl first, then “rmmod xt_webmon” etc.). That’s how I was testing it.
But a reflash should be painless as well.
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Tue Jul 02, 2024 3:38 am
by rockyd
Any idea why all of a sudden DHCP would stop working?
It had been running fine till a few days ago, then it wouldn't allocate an IP address, if I set one on my laptop manually then I get partial internet, I can ping an IP address but DNS doesn't work, so pinging a domain fails.
I factory reset the router after grabbing copies of the dhcp and firewall files. Router behaves normally after the factory reset, so I make a back up of the original dhcp and firewall files, and try copying the ones I copied earlier over, after a reboot the router does its dhcp doesn't want to work trick, so I delete the copied dhcp file, and restore the original, reboot the router and it behaves normally again. I compare the two dhcp files, and apart from all the ip assignments missing in the original file he files look the same.
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Tue Jul 02, 2024 3:45 am
by fifonik
When you said DHCP does not work -- I assume you tried manually release/renew.
If you enforcing DHCP assignments, then Lantis comment about this a few days ago might be valid.
I'd check log. I see information about successfull DHCP requests there, may be something that give you some clues will be shown there as well (you may want install pluging for that).
I do not have any other ideas about your issue.
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Tue Jul 02, 2024 5:55 am
by Lantis
Post both files (or at least the one that causes an issue)?
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Wed Jul 03, 2024 3:29 am
by fifonik
> I fixed a weird bug that wouldn’t manifest on all systems all the time.
Flashed the latest build 1.15.x_20240702 yesterday.
Just checked webmon_domains.txt and there is no any rubbish in url since then (usually it started to appear there quite soon).
So it looks like the issue is actually fixed. Many thanks.
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Wed Jul 03, 2024 8:42 am
by Lantis
fifonik wrote: ↑Fri Jun 28, 2024 8:43 am
While trying to find what causing the 'tar error', I've discovered a new one:
Code: Select all
Fri Jun 28 22:41:05 2024 daemon.err uhttpd[13254]: /bin/sh:
: not found
With newline after 'sh:'.
This message appearing in log when I visiting 'System | Update Firmware' page:
https://192.168.1.1/update.sh
As for the 'tar error', the message appearing in log when I backing up configuration on 'System | Backup/Restore' page:
https://192.168.1.1/backup.sh
I've fixed the tar error this evening.
I can't reproduce the one on the update page. I silenced 2 other errors but I'm not seeing yours.
If you have more hints on that I'll keep looking. Otherwise it is likely harmless anyway.
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Wed Jul 03, 2024 9:53 am
by fifonik
When I just visiting update.sh page I have two lines of such error in log.
If I remove line '<%din hooks/update/ %>' from update.sh -- there is no such error any longer when I visiting the page.
I do not know how gargoyle's macro prosessor works so unable to debug it further.
P.S. I understand that it probably harmless. Still as a developer I do not like to see 'error' in production's logs :)
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Thu Jul 04, 2024 3:07 am
by rockyd
Lantis wrote: ↑Tue Jul 02, 2024 5:55 am
Post both files (or at least the one that causes an issue)?
By post you mean copy paste the contents into here or something else?
rockyd wrote: ↑Tue Jul 02, 2024 3:38 am
I factory reset the router after grabbing copies of the dhcp and firewall files. Router behaves normally after the factory reset, so I make a back up of the original dhcp and firewall files, and try copying the ones I copied earlier over, after a reboot the router does its dhcp doesn't want to work trick, so I delete the copied dhcp file, and restore the original, reboot the router and it behaves normally again. I compare the two dhcp files, and apart from all the ip assignments missing in the original file the files look the same.
I later discovered that IPV6 wasn't working so it wasn't behaving normally.
So another factory reset, and a configure from scratch, and it now seems to be behaving normally, DHCP behaves and IPV6 is working. So no closer to working out what happened. I have made a back up of the working config, so hopefully if it breaks again I can restore that, it doesn't have the Tor plug in or the lantis plugin repositories installed. I haven't yet configured Openvpn again either.
Just installed the Tor plugin, ipv6 broke again, I uninstalled it and it seems to work again. This is weird because Tor didn't previously break IPV6, it didn't anonymize the IPV6 address, but my solution to that was to disable IPV6 on the computer when I wanted to make use of Tor.
Re: Gargoyle 1.15.x BETA - 2024-05-20 - Based on OpenWrt 23.05
Posted: Thu Jul 04, 2024 4:20 am
by rockyd
rockyd wrote: ↑Thu Jul 04, 2024 3:07 am
Just installed the Tor plugin, ipv6 broke again, I uninstalled it and it seems to work again. This is weird because Tor didn't previously break IPV6, it didn't anonymize the IPV6 address, but my solution to that was to disable IPV6 on the computer when I wanted to make use of Tor.
Its seems I was using the wrong repository. As the original ones I was using weren't working
Original no longer available.
https://lantisproject.com/gargoyle_cust ... bu/default
and
https://lantisproject.com/gargoyle_cust ... elspecific
I went looking and found
https://lantisproject.com/storage/gargo ... bu/default
and
https://lantisproject.com/storage/gargo ... elspecific
They appear to break ipv6.
then I thought maybe they are version specific and managed to find ones that were closer to my version of gargoyle
https://lantisproject.com/storage/gargo ... bu/default
and
https://lantisproject.com/storage/gargo ... elspecific