Page 1 of 1

Newbie -> can not enter commands in terminal!

Posted: Mon Nov 06, 2017 5:02 pm
by asle
exptected end of command line 
No matter what I write in the console I get this message. What am I doing wrong? I am trying to enable l2tp-server like this:
[aslint1@aslint] /interface l2tp-server> set enabled=yes
expected end of command (line 1 column 12)
How do I enter commands??

Re: Newbie -> can not enter commands in terminal!

Posted: Mon Nov 06, 2017 5:11 pm
by BartoszP
Are you sure that your "set" command syntax is correct?
Try to write "set ?" and you will see that "set" command has more fields to fill than you have entered.

Re: Newbie -> can not enter commands in terminal!

Posted: Wed Nov 08, 2017 7:20 pm
by giorgiop
you are missing a "sub-menu"...
it should be " /interface l2tp-server server " so as to see the server sub-menu. Imagine like going to interface --> l2tp-server --> server.
[aslint1@aslint] /interface l2tp-server server> set enabled=yes

as i can see you are trying to enable it as
[aslint1@aslint] /interface l2tp-server> set enabled=yes

all you have to do is write:
/interface l2tp-server server
set enabled=yes

and you are ready

Re: Newbie -> can not enter commands in terminal!

Posted: Fri Nov 10, 2017 7:23 pm
by asle
Thanks for your replies. I was writing this wrong I guess. Now all commands work like a charm and I feel I very comfortable in the terminal :D

Re: Newbie -> can not enter commands in terminal!

Posted: Sat Nov 11, 2017 12:40 pm
by giorgiop
Good to know you made it work :)