Page 1 of 1

1.10.0 RSpro display problems

Posted: Sat Nov 11, 2017 5:06 pm
by ispyisail
@Lantis

I have an ubnt RSPro in a production network and have only just upgraded now.

The RSpro has no wifi card, just a straight router

The problem is all the features are displayed even if not used?

Connection >> Basic

Image

Re: 1.10.0 RSpro display problems

Posted: Sat Nov 11, 2017 5:15 pm
by ispyisail
also

Image

Re: 1.10.0 RSpro display problems

Posted: Sat Nov 11, 2017 5:59 pm
by ispyisail
I've rolled back to an old firmware

1.8.1 has exactly the same problem

1.8.0 works perfect?

Re: 1.10.0 RSpro display problems

Posted: Sat Nov 11, 2017 6:58 pm
by Lantis
Yes there’s definitely a problem with devices with no wifi.

Can you please provide the output of
cat /tmp/cached_basic_vars
Preferably on 1.10.0 but any version should be ok.

I think the issue is that one or more variables never get defined. The GUI expects them to be there a crashes.
This has been reported on GitHub a few times but o thought it was due to x86 bizarreness.
https://github.com/ericpaulbishop/gargoyle/issues/626

Re: 1.10.0 RSpro display problems

Posted: Sat Nov 11, 2017 7:07 pm
by ispyisail

Code: Select all

------------------------------------------------------------------
|            _____                             _                 |
|           |  __ \                           | |                |
|           | |  \/ __ _ _ __ __ _  ___  _   _| | ___            |
|           | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \           |
|           | |_\ \ (_| | | | (_| | (_) | |_| | |  __/           |
|            \____/\__,_|_|  \__, |\___/ \__, |_|\___|           |
|                             __/ |       __/ |                  |
|                            |___/       |___/                   |
|                                                                |
|----------------------------------------------------------------|
| Gargoyle version 1.8.0    | OpenWrt Barrier Breaker branch     |
| Gargoyle revision 5bb773b | OpenWrt revision r46287            |
| Built August 20, 2015     | Target  ar71xx/routerstation       |
------------------------------------------------------------------
root@Gargoyle:~# cat /tmp/cached_basic_vars
var isBcm94704 = false;
var allLanMacs = [];
allLanMacs.push("02:15:6d:c7:a6:55");
var wifiDevG=uciWirelessDevs.length > 0 ? uciWirelessDevs[0] : "";
var wifiDevA="";
var wirelessDriver="";
var wifiN = false;
root@Gargoyle:~#

Re: 1.10.0 RSpro display problems

Posted: Mon Nov 27, 2017 8:13 am
by Lantis
Please see here:
https://github.com/ericpaulbishop/gargoyle/pull/692

I would appreciate any testing

Re: 1.10.0 RSpro display problems

Posted: Tue Nov 28, 2017 4:09 am
by ispyisail
I was going to manually try but Eric pushed to master

Waiting for build now

Re: 1.10.0 RSpro display problems

Posted: Wed Nov 29, 2017 12:36 am
by ispyisail
Good news

Everything seams to work as expected

Thank you