pfSense Support Subscription

Author Topic: ntopng - cannot log in  (Read 6894 times)

0 Members and 1 Guest are viewing this topic.

Offline Fabzster

  • Jr. Member
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
ntopng - cannot log in
« on: February 09, 2015, 07:10:58 am »
Hi

I am running pfSense 2.2-RELEASE (amd64) I installed ntopng. All seems well but I cannot log into it.

I set the password as admin (default) and set the interface to LAN in the settings.

any Ideas on how to get this to work?

I have seen some tutorials on changing the password via cli, but I cannot get that right either

Offline RusFM

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: ntopng - cannot log in
« Reply #1 on: March 02, 2015, 08:19:52 am »
I'm having this issue too.
Second time accessing it I could not login with the admin user (which I changed the password to on first use.)
I 'reset' the admin password via the shell and was able to login again, and I added a second user just in case.
Now I cannot login with either user.
Not sure what's going on here, but this is a really cool tool that I cannot easily use yet.

Offline Fabzster

  • Jr. Member
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: ntopng - cannot log in
« Reply #2 on: March 02, 2015, 08:22:18 am »
hahahahaha

You have just made me want it even more :)

I have never been able to login, there must be some type of disconnect between the gui and the auth db that it uses.
I could not even get the CLI commands to work properly.

Wish somebody could help

Offline RusFM

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: ntopng - cannot log in
« Reply #3 on: March 02, 2015, 09:07:41 am »
Well, here's how to do it, but it doesn't seem to stick.
Your path may be different?  I found it by looking in the process list.

Show the current encrypted admin password-
/usr/pbi/ntopng-amd64/local/bin/redis-cli get user.admin.password

Get your encrypted password using md5-
echo -n 'yourPassword' | md5

Set the admin password-
/usr/pbi/ntopng-amd64/local/bin/redis-cli set user.admin.password [whatYouGotFromLastCommand]

So I just did this again, and what was in redis was not what I previously set, just not sure what or how it got changed.



Offline RusFM

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: ntopng - cannot log in
« Reply #4 on: March 02, 2015, 09:17:11 am »
Well, feel kind of dumb here.  Didn't realize there was a Settings page in pfSense for ntopng, so I think pfSense was resetting the perhaps.

Offline Fabzster

  • Jr. Member
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: ntopng - cannot log in
« Reply #5 on: March 02, 2015, 09:18:09 am »
thanks for the reply, I really appreciate it.

The MD5 hashes are the same so the passwords dont seem to be my problem, as I originally believed

It still does not log into NTOPNG from the webgui and does not show any indication of the anything being wrong, it's as if the page just refreshes.

what else can I look at ?

Is there a way to login via the CLI?
« Last Edit: March 03, 2015, 01:54:20 am by Fabzster »

Offline Fabzster

  • Jr. Member
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: ntopng - cannot log in
« Reply #6 on: March 06, 2015, 11:58:27 pm »
please can someone assist

Offline giaco

  • Newbie
  • *
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: ntopng - cannot log in
« Reply #7 on: August 31, 2016, 09:00:43 am »
pfSense 2.3.2 - same problem. If I go to settings page anda put a new passwd works.

Offline danilosv.03

  • Hero Member
  • *****
  • Posts: 1293
  • Karma: +76/-14
    • View Profile
Re: ntopng - cannot log in
« Reply #8 on: August 15, 2017, 08:53:31 am »
Well, I've problem too. My ntopng is not active. Who can help me? Him only is not active, only it
_________________________

|Analista de Seguranša
|E-mail: danilosv.03@gmail.com
|Skype: danilosv.03
_________________________

Offline hescominsoon

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: ntopng - cannot log in
« Reply #9 on: August 17, 2017, 01:47:57 pm »
The problem is the version of ntopng is old...there is a new version available and i think the pfsense folks were waiting for it to be packed for bsd.

Offline danilosv.03

  • Hero Member
  • *****
  • Posts: 1293
  • Karma: +76/-14
    • View Profile
Re: ntopng - cannot log in
« Reply #10 on: August 17, 2017, 02:06:54 pm »
And how do I install this new version?
_________________________

|Analista de Seguranša
|E-mail: danilosv.03@gmail.com
|Skype: danilosv.03
_________________________

Offline Derelict

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9241
  • Karma: +1052/-308
    • View Profile
Re: ntopng - cannot log in
« Reply #11 on: August 30, 2017, 02:46:22 am »
Old thread. Locking.
Las Vegas, Nevada, USA
Use this diagram to describe your issue.
The pfSense Book is now available for just $24.70!
Do Not PM For Help! NO_WAN_EGRESSTM