Page 7 of 8

Re: Version 1.7.2

Posted: Mon Aug 03, 2015 5:30 pm
by nworbnhoj
uysiquebien wrote:What can I do to fix the web service? I am missing some configuration file or something?
You could try reading the forum and heeding posts from developers.

http://www.gargoyle-router.com/phpbb/vi ... t=preserve
Eric wrote:New in 1.7.2:
  • Switched main http server on router from old minihttpd based solution to more modern uhttpd now included in OpenWRT -- should address some redirect errors people have been reporting for a while
It is recommended that you do not attempt to preserve settings when upgrading to this version. A config incompatibility can cause various problems including reboot loops.
If you backup and restore config, do so manually, excluding the file httpd_gargoyle.
http://www.gargoyle-router.com/wiki/dok ... e_recovery

Re: Version 1.7.2

Posted: Mon Aug 03, 2015 5:40 pm
by doug
Hi,
thanks for the effort in this project. Always appreciated.
This preservation of settings problem is why I would like to be able to download the existing configuration & save it in a readable form. At least then one can cut & paste from the saved text into the new config pages.
Could something like this be done? (performing this page by page is time consuming)

regards, Doug
ps: like the previous user, I hate re-inventing the wheel. It is always problematic to remember exactly how one configured the system last time. This is particularly the case if one is not an expert in the field, particularly when time has elapsed since last config.

Re: Version 1.7.2

Posted: Mon Aug 03, 2015 5:51 pm
by nworbnhoj
doug wrote:I would like to be able to download the existing configuration & save it in a readable form.
When you create a backup of your configuration

Gargoyle - System - Backup/Restore - Get Backup Now

The generated file is a gzip archive (.tar.gz) that contains all of the configuration files arranged in the same directory structure as that in the router. You can unzip the backup to access the files
Eric wrote:If you backup and restore config, do so manually, excluding the file httpd_gargoyle.
You could cut&paste BUT it would be better to use scp to manually return the files to their rightful places.

The files that help me are /etc/hosts /etc/ethers and /etc/config/fstab. The others I find quicker via the web GUI

Re: Version 1.7.2

Posted: Mon Aug 03, 2015 8:06 pm
by doug
Thanks. Now we get to the crux of the problem: because I am a novice (even though I have been using Linux for many years), I would not have the confidence to put the files directly into the /etc structure. Because I do not have the knowledge, or confidence to correctly insert the files, I would be more inclined to edit the data into the normal config screen. For this reason, I would like to see the data more like I would find on the config screens (Although I have not investigated unpacking the compressed file yet).
The issue of the config files in Linux is now that because so many are now configured by a graphical interface, the 'average' user gets divorced from the understanding of what the files are performing. This is not to say I want to go back to manual config, but more to indicate that average users need assistance to reduce the possibility of mis-configuration.
A script to output a file that can be printed & stored would help I feel.
Thanks, Doug

Re: Version 1.7.2

Posted: Mon Aug 03, 2015 8:24 pm
by nworbnhoj
doug wrote: A script to output a file that can be printed & stored would help I feel.
Yep, agreed.

Usually the "preserve settings" function, and the "config backup" function serve this role in an automated fashion. But to be fair, 1.7 is an experimental (beta) version of Gargoyle and testing beta software tends to involve a bit of stuffing about, bugs etc on the path to delivering a stable version which works smoothly "out of the box"

Re: Version 1.7.2

Posted: Tue Aug 04, 2015 4:54 am
by uysiquebien
nworbnhoj wrote:
uysiquebien wrote:What can I do to fix the web service? I am missing some configuration file or something?
You could try reading the forum and heeding posts from developers.

http://www.gargoyle-router.com/phpbb/vi ... t=preserve
Eric wrote:New in 1.7.2:
  • Switched main http server on router from old minihttpd based solution to more modern uhttpd now included in OpenWRT -- should address some redirect errors people have been reporting for a while
It is recommended that you do not attempt to preserve settings when upgrading to this version. A config incompatibility can cause various problems including reboot loops.
If you backup and restore config, do so manually, excluding the file httpd_gargoyle.
http://www.gargoyle-router.com/wiki/dok ... e_recovery
Can somebody please post here the contents of the httpd_gargoyle file? I overwrote it already...

Re: Version 1.7.2

Posted: Tue Aug 04, 2015 7:00 am
by nworbnhoj
uysiquebien wrote:Can somebody please post here the contents of the httpd_gargoyle file?
From Gargoyle 1.6.2 /etc/config/httpd_gargoyle

Code: Select all

config server server
        option web_protocol	"both"
	option http_port	"80"
	option https_port	"443"
	option web_root		"/www"
	option default_page_file		"overview.sh"
	option page_not_found_file		"login.sh"
	option no_password 1
	#option default_realm_name		"Gargoyle Router Management Utility"
	#option default_realm_password_file	"/etc/httpd_gargoyle.password"

Re: Version 1.7.2

Posted: Wed Aug 05, 2015 6:00 am
by uysiquebien
nworbnhoj wrote:
uysiquebien wrote:Can somebody please post here the contents of the httpd_gargoyle file?
From Gargoyle 1.6.2 /etc/config/httpd_gargoyle

Code: Select all

config server server
        option web_protocol	"both"
	option http_port	"80"
	option https_port	"443"
	option web_root		"/www"
	option default_page_file		"overview.sh"
	option page_not_found_file		"login.sh"
	option no_password 1
	#option default_realm_name		"Gargoyle Router Management Utility"
	#option default_realm_password_file	"/etc/httpd_gargoyle.password"
Thanks ❤

Re: Version 1.7.2

Posted: Thu Aug 06, 2015 10:08 am
by racy
Hi,

I have tplink 1043ND. I was using 1.7.1 firmware, when I updated to 1.7.2, I wasn't able to get 300 mbps.

So, I tried to use the command above - ssh: (root user)

uci set wireless.radio0.noscan=1
uci commit

But after de commit command, it tells me that I can't write to the device.

I also tried

vi /etc/config/wireless and add following line in config 'wifi-device' 'radio0' section.

option 'noscan' '1'

But I can't write to the device also.

After that, I returned to 1.7.1 firmware and I was able to write to the device.


I also upgraded my TL-WA850RE to 1.7.2 and I did the same test and I was able to write to the device.

So it only happens in 1043ND.

Best Regards

Re: Version 1.7.2

Posted: Thu Aug 06, 2015 7:39 pm
by Lantis
Hard to say. Sometimes those errors come from a lack of space. Or perhaps something strange happened during an upgrade.
If you hadn't already flashed back we could have investigated a little further but that's ok. Downtime with these devices is important to keep to a minimum.