lists.netmrg.net lists.netmrg.net
NetMRG discussion and support
 
FAQ :: Search :: Memberlist :: Usergroups :: Register
Profile :: Log in to check your private messages :: Log in

ExtPATH not working with NETMRG

 
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support
Author Message
crypted
Helper


Joined: 18 Oct 2003
Posts: 26

PostPosted: Tue Oct 28, 2003 12:54 am    Post subject: ExtPATH not working with NETMRG Reply with quote

I finally setup the ExtPath and unless you login with pubic/public beforehand you cannot see anything. They still show up blank unless you are previously logged into NetMRG and that's still cached.

Here's the link: http://208.191.55.247/html//modules.php?name=routerstats

So the problem now is getting the images to show up through ExtAuth....Ideas?
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Tue Oct 28, 2003 11:44 pm    Post subject: Reply with quote

Ok...

1. NetMRG shouldn't prompt for a login when using external auth. Did you change the value in netmrg.xml?

2. I wasn't able to log in using public/public via the NetMRG login page. Did you add the user to NetMRG?

3. There should be a HTTP basic authentication dialog box from your browser showing up instead of the NetMRG login page. You need to modify your Apache config or add an .htaccess file to do authentication (probably involving making an htpasswd file with a public:public login).


Alternatively...

You may want to just comment out the authentication checks in get_graph.php so that anyone can view any graph. Other than the privacy concerns, it shouldn't represent a security problem (or not any moreso that a publicly available http-auth scheme).


Good luck, and let us know how things work out.
Back to top
crypted
Helper


Joined: 18 Oct 2003
Posts: 26

PostPosted: Wed Oct 29, 2003 2:26 am    Post subject: Reply with quote

Could you tell me what exactly is the portion pertaining to authentication in the get_graph.php? Thanks...slowly getting there :D
Back to top
crypted
Helper


Joined: 18 Oct 2003
Posts: 26

PostPosted: Wed Oct 29, 2003 2:34 am    Post subject: Reply with quote

Actually I think I found them....Only worry about the four
Code:
GraphCheckAuth($_REQUEST["type"], $_REQUEST["subdev_id"]);

correct?
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Wed Oct 29, 2003 2:48 am    Post subject: Reply with quote

Yep, that should do it. Hopefully pulling that out doesn't break anything else. ;-)
Back to top
crypted
Helper


Joined: 18 Oct 2003
Posts: 26

PostPosted: Wed Oct 29, 2003 4:34 am    Post subject: Reply with quote

It's all working, http://www.derekgordon.com/modules.php?name=routerstats feel free to check that out. Thanks a lot guys. Now on to the task fo fixing my Photo_Gallery module of blorpscript photo gallery...trying to import that and php isn't liking the ?path=Test/ when you start browsing...oh the joys of web crap! haha
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Wed Oct 29, 2003 3:43 pm    Post subject: Reply with quote

Page looks great!

One observation though... looks like you have some nasty spikes on your ppp0 graph. Editing the monitors for that subdevice, and setting the "Maximum" field to something reasonable for your link should prevent that from happening.

Good luck in your other ventures!
Back to top
crypted
Helper


Joined: 18 Oct 2003
Posts: 26

PostPosted: Fri Oct 31, 2003 12:27 am    Post subject: Reply with quote

I would like to get that meter thing fixed. It seemed 1 for downstream was a bit too small for the graphing so it game out as nan on the graph and wasn't graphed. What do you suggeest for the following: 512kbit down max and a 128kbit max up as their maximums? Appreciate it a lot guys, Thanks so much.
Back to top
balleman
Site Admin


Joined: 20 Jan 2003
Posts: 282

PostPosted: Fri Oct 31, 2003 2:16 pm    Post subject: Reply with quote

The maximums are specified in bytes/sec, so:

512kbps = 64000 Bps
128kbps = 16000 Bps

Rounding them up to 70000 and 20000 respectively shouldn't hurt, and should help account for any bursts.

We're glad things are working better now... hopefully we can get a feature in for publicly viewable graphs soon.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    lists.netmrg.net Forum Index -> Support All times are GMT
Page 1 of 1

 



smartBlue Style © 2002 Smartor
Powered by phpBB © 2001, 2002 phpBB Group