Community discussions

MikroTik App
 
asle
just joined
Topic Author
Posts: 11
Joined: Fri Nov 03, 2017 12:35 am

Newbie -> can not enter commands in terminal!

Mon Nov 06, 2017 5:02 pm

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??
 
User avatar
BartoszP
Forum Guru
Forum Guru
Posts: 2880
Joined: Mon Jun 16, 2014 1:13 pm
Location: Poland

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

Mon Nov 06, 2017 5:11 pm

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.
 
giorgiop
Trainer
Trainer
Posts: 25
Joined: Tue Oct 17, 2017 8:58 pm
Location: Chania, Crete, Greece

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

Wed Nov 08, 2017 7:20 pm

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
 
asle
just joined
Topic Author
Posts: 11
Joined: Fri Nov 03, 2017 12:35 am

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

Fri Nov 10, 2017 7:23 pm

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
 
giorgiop
Trainer
Trainer
Posts: 25
Joined: Tue Oct 17, 2017 8:58 pm
Location: Chania, Crete, Greece

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

Sat Nov 11, 2017 12:40 pm

Good to know you made it work :)

Who is online

Users browsing this forum: astons2, pfturner and 53 guests