bottleneck
Choose style:

Author Topic: Graphs need plugin to be viewed??  (Read 20378 times)

0 Members and 1 Guest are viewing this topic.

Offline dbuttke

  • Backer
  • *
  • Posts: 114
  • Thanks: 0
  • Registered : 12/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Graphs need plugin to be viewed??
« on: July 14, 2014, 09:00:33 pm »
In Openwrt under status and realtime graphs none of them work...they say plugin needed, but can't tell me what plugin.

Any ideas??

Offline brycied00d

  • Backer
  • *
  • Posts: 12
  • Thanks: 0
  • Registered : 11/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Graphs need plugin to be viewed??
« Reply #1 on: July 14, 2014, 11:53:05 pm »
Once upon a time, browsers didn't support SVG and there was a plugin http://www.adobe.com/devnet/svg/adobe-svg-viewer-download-area.html
Every modern browser should support the graphs.

That said, the graphs don't work for me either. Chrome (stable and beta) pops up with a download prompt rather than drawing anything. This happens for me with any current OpenWRT release, so it's not specifically Securifi's fault. If I had to guess, I'd say the data is being returned with a application/binary mimetype rather than the SVG mimetype.

jjoepaulines

  • Guest
Re: Graphs need plugin to be viewed??
« Reply #2 on: July 15, 2014, 12:38:38 am »
Actually it's not a browser plugin issue. We plan to add bandwidth monitor stuff in our Nutos [ UI ] and it is in our todo list.

Offline rfoshee

  • Backer
  • *
  • Posts: 4
  • Thanks: 0
  • Registered : 16/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Graphs need plugin to be viewed??
« Reply #3 on: July 16, 2014, 01:53:20 pm »
A good response would be as to what we can do to view the graphs.  I've used IE11, Firefox 30, and Chrome 35 and the graphs don't work in any of them.  Integrating them into NutsOS in a future release is good to know but doesn't allay the current issue.

LGNilsson

  • Guest
Re: Graphs need plugin to be viewed??
« Reply #4 on: July 17, 2014, 01:13:35 am »
Sadly, you can't view the graphs.

As explained elsewhere, OpenWRT is provided as is, but maybe this is something we should've communicated more clearly.
The graphs don't work as our hardware partner didn't implement the feature properly in their build of OpenWRT and we've been told that they have no plans on fixing it, as they don't think it's an important feature.

We'll be doing our own bandwidth monitoring features in NutsOS as stated, but it'll take some time.

With regards to OpenWRT, we want to offer an upgrade to a more recent build, but without the help of our chipset partners, this is going to be a real challenge. We hope to have something in the next 6-12 months, but it's not something we can't guarantee.
« Last Edit: July 17, 2014, 03:17:52 am by Lars »

Offline jmtenny

  • Backer
  • *
  • Posts: 11
  • Thanks: 0
  • Registered : 23/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Graphs need plugin to be viewed??
« Reply #5 on: July 17, 2014, 01:40:22 pm »
After a bit of research I have found a fix for the real time graph issue on the OpenWRT interface for the Almond+ Router. I claim no responsibility if you have problems, but here here are the steps I followed to resolve the real time graph issue:

1. Open a new SSH session into your Almond+. (I used PuTTY to manage the connection)
2. Log into your router with the appropriate credentials.
3. You'll need to edit the lighttpd.conf file. (If you are uncomfortable using command lind editor VI here is a guide http://www.washington.edu/computing/unix/vi.html) To edit I issued the following command:

Code: [Select]
vi /etc/lighttpd/lighttpd.conf
4. The OpenWRT build of lighttpd Securifi uses is missing the mimetype for svg, which is why the browser is trying to download it. To correct this I added a new entry (using the i command) after line 47 (".png" => "image/png",) for the following:

   ".svg"   => "image/svg+xml",

   here is what my screen looked like after the entry:

5. Save (using :w command) and exit (using ZZ command)
6. (Optional step) If you want to you can verify that the setting saved by running the following command:

Code: [Select]
cat /etc/lighttpd/lighttpd.conf
7. Reboot your router (you can do this issuing a reboot command at) and you should be all set (unless you have certain cable modems which may mean you have to do the whole hard powercycle thing).

Here is a screenshot of my Almond+ (note the "AlmondPlus | Kamikaze" in the top left) with correctly running graphs:

Offline Tiger Woods

  • Backer
  • *
  • Posts: 38
  • Thanks: 1
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Graphs need plugin to be viewed??
« Reply #6 on: July 17, 2014, 02:24:53 pm »
Nice.  This worked for me.

Offline brycied00d

  • Backer
  • *
  • Posts: 12
  • Thanks: 0
  • Registered : 11/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Graphs need plugin to be viewed??
« Reply #7 on: July 17, 2014, 08:22:55 pm »
Good work, jmtenny. Exactly as I suspected  :)

LGNilsson

  • Guest
Re: Graphs need plugin to be viewed??
« Reply #8 on: July 17, 2014, 08:51:00 pm »
So much for being told it hasn't been implemented. I'll get the software team to apply this fix.
Oh and thanks  ;)
« Last Edit: July 18, 2014, 02:39:34 am by Lars »

Offline eldaria

  • Kickstarter Developer
  • *
  • Posts: 313
  • Thanks: 1
  • Registered : 26/07/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Graphs need plugin to be viewed??
« Reply #9 on: July 18, 2014, 02:00:11 am »
Awesome jmtenny.

Thank you for contributing!!

Offline red_sabre

  • Backer
  • *
  • Posts: 1
  • Thanks: 0
  • Registered : 02/08/2013
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Graphs need plugin to be viewed??
« Reply #10 on: August 05, 2014, 10:20:22 pm »
Works Awesome! appreciated the tip

LGNilsson

  • Guest
Re: Graphs need plugin to be viewed??
« Reply #11 on: August 11, 2014, 09:21:51 am »
We've fixed this in the upcoming firmware.

Offline reedog117

  • Backer
  • *
  • Posts: 28
  • Thanks: 0
  • Registered : 22/07/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Graphs need plugin to be viewed??
« Reply #12 on: August 16, 2014, 07:03:09 pm »
I upgraded to R065 and the new line for the sag file type wasn't in my lightttpd.conf

I still had to add it manually in order for it to work.

LGNilsson

  • Guest
Re: Graphs need plugin to be viewed??
« Reply #13 on: August 16, 2014, 09:32:03 pm »
That's interesting, it's possible that it requires a hard reset, but it shouldn't.
I'll have to test tomorrow on a unit that hasn't had the fix and see if it works or not.

Offline jake

  • Backer
  • *
  • Posts: 12
  • Thanks: 0
  • Registered : 11/08/2014
    YearsYearsYearsYearsYearsYearsYearsYearsYearsYears
Re: Graphs need plugin to be viewed??
« Reply #14 on: August 17, 2014, 06:54:13 am »
I'll confirm this issue as well.  I didn't add the mime type originally... and I expected it to appear after the upgrade.  But it didn't get added after the firmware update, so I broke down and add it myself.
« Last Edit: August 17, 2014, 06:30:58 pm by jake »

 

Page created in 0.055 seconds with 25 queries.