Unable To Authenticate To Console

DOWNLOAD THE LATEST FIRMWARE HERE
brianblac
Member
 
Posts: 10
Joined: Fri Jan 27, 2017 7:03 pm
Has thanked: 1 time
Been thanked: 1 time

Unable To Authenticate To Console

Mon Jan 30, 2017 5:02 pm

I am having an issue where if I enable "Console Login" under device configuration it keeps telling me incorrect password and spitting out usage for the php command.

Am I doing something incorrectly? The console works fine before I enable authentication. It does this on my configured switch as well as another one that I have at factory defaults other than "Console Login" checked.

They are both WS-10-250-AC - here is an output from the console:



Username: admin
Password: *****
Usage: php [options] [-f] <file> [--] [args...]
php [options] -r <code> [--] [args...]
php [options] [-B <begin_code>] -R <code> [-E <end_code>] [--] [args...]
php [options] [-B <begin_code>] -F <file> [-E <end_code>] [--] [args...]
php [options] -- [args...]
php [options] -a
-a Run interactively
-c <path>|<file> Look for php.ini file in this directory
-n No php.ini file will be used
-d foo[=bar] Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f <file> Parse and execute <file>.
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-r <code> Run PHP <code> without using script tags <?..?>
-B <begin_code> Run PHP <begin_code> before processing input lines
-R <code> Run PHP <code> for every input line
-F <file> Parse and execute <file> for every input line
-E <end_code> Run PHP <end_code> after processing all input lines
-H Hide any passed arguments from external tools.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z <file> Load Zend extension <file>.
args... Arguments passed to script. Use -- args when first argument
starts with - or script is read from stdin
--ini Show configuration file names
--rf <name> Show information about function <name>.
--rc <name> Show information about class <name>.
--re <name> Show information about extension <name>.
--ri <name> Show configuration for extension <name>.
Invalid username or password
Username:

User avatar
sirhc
Employee
Employee
 
Posts: 7416
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1608 times
Been thanked: 1325 times

Re: Unable To Authenticate To Console

Mon Jan 30, 2017 5:06 pm

And what version of firmware are you running?
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

brianblac
Member
 
Posts: 10
Joined: Fri Jan 27, 2017 7:03 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Unable To Authenticate To Console

Mon Jan 30, 2017 5:11 pm

Tried both right now, latest release and latest RC.

1.4.6
1.4.7rc6

User avatar
Eric Stern
Employee
Employee
 
Posts: 532
Joined: Wed Apr 09, 2014 9:41 pm
Location: Toronto, Ontario
Has thanked: 0 time
Been thanked: 130 times

Re: Unable To Authenticate To Console

Mon Jan 30, 2017 5:45 pm

This will be fixed in the next release.

brianblac
Member
 
Posts: 10
Joined: Fri Jan 27, 2017 7:03 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Unable To Authenticate To Console

Mon Jan 30, 2017 5:54 pm

Thanks Eric.

Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 56 guests