Netopeer Virtual machine - Can't login to the Netopeer-GUI as admin user

350 views
Skip to first unread message

scon...@gmail.com

unread,
Apr 15, 2015, 12:40:10 PM4/15/15
to neto...@googlegroups.com
Hi guys

I downloaded the virtual machine from

http://www.liberouter.org/docs/2014-11-24-netopeer-demo.ova

as mentioned in

https://github.com/CESNET/Netopeer-GUI/issues/71

Almost everything seems to work well, but when I try to login to the Netopeer-GUI console as admin user (with pass as the password) is fails. I can see the following in the logs at

/var/www/netopeer-gui/app/logs/prod.data.log



[2015-04-15 16:45:38] app.INFO: Handle: connect with params {"params":{"host":"localhost","user":"admin","port":"830","capabilities":["urn:ietf:params:netconf:base:1.0","urn:ietf:params:netconf:base:1.1"]}} []
[2015-04-15 16:45:38] app.ERROR: Could not connect. {"error":" Error: array (\n 0 => 'Unable to authenticate to the remote server (publickey,gssapi-keyex,gssapi-with-mic,password disabled or permission denied).',\n)"} []
[2015-04-15 16:45:38] app.INFO: Handle result: connect {"response":1} []


Is there something I'm missing with this out of the box config?

Sean

tom....@gmail.com

unread,
Apr 16, 2015, 8:05:21 AM4/16/15
to neto...@googlegroups.com
Hello Sean,
please try username: netopeergui and password: netopeergui

I'll explain: the account admin:pass is the first level of authentication into NetopeerGUI in global; currently this authentication can be disabled via configuration in app/config/parameters.yml using "netopeer_single_instance: true"

Anyway, for NETCONF session, valid SSH user should be provided. The user account you are logged-in into the Linux system is netopeergui and this user is also able to create NETCONF session.

Note: root has the same password by default (netopeergui)

As far as I remember, password etc should be written in README in Desktop/

I hope this will help you.

Best Regards,
Tomas

Sean Condon

unread,
Apr 17, 2015, 5:38:34 AM4/17/15
to neto...@googlegroups.com
Hi Tomas

Thanks for your help. The reason that I wanted to investigate the 'admin' user is that I wanted to access the screen in Netopeer-GUI that allows me to specify the server - to connect to (see attached file from https://github.com/CESNET/Netopeer-GUI/raw/master/screenshots/main-screen.png?raw=true)

When I connect at netopeergui user, I do not get this screen. Is there anyway to connect in this mode using the netopeergui user?

Sean




main-screen.png

Tomáš Čejka

unread,
Apr 17, 2015, 6:44:54 AM4/17/15
to neto...@googlegroups.com

Ok, follow these steps:
1) go to the /var/www/netopeer-gui (probably as a root)
2) edit app/config/parameters.yml
  change netopeer_single_instance to false
3) rm -rf app/netopeerWebgui.db app/cache/prod/*
4) php composer.phar install

And it should be all.

Recall: the screen "Log in is required for this site!" requires the admin.pass, the next screen "Connect to server" requires device's account...

Tomas


Dne pátek 17. dubna 2015 11:38:34 UTC+2 Sean Condon napsal(a):

Tomáš Čejka

unread,
Apr 17, 2015, 6:48:40 AM4/17/15
to neto...@googlegroups.com
We are currently finishing / testing newer version of NetopeerGUI...
It is still in non-master branch but I hope we will merge it soon.
After that we will release updated VM.
Tomas
Reply all
Reply to author
Forward
0 new messages