Version 1.7.2

The latest news about Gargoyle

Moderator: Moderators

nworbnhoj
Posts: 914
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Version 1.7.2

Postby nworbnhoj » Mon Aug 03, 2015 5:30 pm

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.

viewtopic.php?f=3&t=7313&hilit=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 you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

doug
Posts: 3
Joined: Tue Jul 28, 2015 8:05 pm

Re: Version 1.7.2

Postby doug » Mon Aug 03, 2015 5:40 pm

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.

nworbnhoj
Posts: 914
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Version 1.7.2

Postby nworbnhoj » Mon Aug 03, 2015 5:51 pm

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
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

doug
Posts: 3
Joined: Tue Jul 28, 2015 8:05 pm

Re: Version 1.7.2

Postby doug » Mon Aug 03, 2015 8:06 pm

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

nworbnhoj
Posts: 914
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Version 1.7.2

Postby nworbnhoj » Mon Aug 03, 2015 8:24 pm

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"
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

uysiquebien
Posts: 51
Joined: Fri Jan 03, 2014 2:01 pm

Re: Version 1.7.2

Postby uysiquebien » Tue Aug 04, 2015 4:54 am

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.

viewtopic.php?f=3&t=7313&hilit=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...

nworbnhoj
Posts: 914
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Version 1.7.2

Postby nworbnhoj » Tue Aug 04, 2015 7:00 am

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"
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

uysiquebien
Posts: 51
Joined: Fri Jan 03, 2014 2:01 pm

Re: Version 1.7.2

Postby uysiquebien » Wed Aug 05, 2015 6:00 am

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 ❤

racy
Posts: 4
Joined: Mon Jun 22, 2015 4:06 pm

Re: Version 1.7.2

Postby racy » Thu Aug 06, 2015 10:08 am

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

Lantis
Moderator
Posts: 4401
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Version 1.7.2

Postby Lantis » Thu Aug 06, 2015 7:39 pm

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.
WRT32X on 1.11.X
Various ar71xx/mvebu boards in a constant state of flux
www.lantisproject.com for custom builds and other projects
www.lantisproject.com/gargoyle_ispyisail/ for the latest releases


Return to “News”

Who is online

Users browsing this forum: No registered users and 12 guests