Community discussions

MikroTik App
 
whatda
just joined
Topic Author
Posts: 20
Joined: Sun Apr 15, 2012 2:05 pm

I get error when inputting command

Thu Apr 18, 2013 12:15 pm

When I enter this I get below error. Does anyone know why ?
/interface wireless
set wlan1 adaptive-noise-immunity=ap-and-client-mode band=5ghz-onlyn basic-rates-a/g=""
country=australia disabled=no frequency=5180 frequency-mode=manual-txpower
ht-ampdu-priorities=0,1,2,3,4,5,6,7 ht-extension-channel=below-control ht-rxchains=0,1
ht-txchains=0,1 mode=bridge rate-set=configured ssid=wisp.net.au supported-rates-a/g=""
wireless-protocol=nv2



[admin@MikroTik] > /interface wireless
[admin@MikroTik] /interface wireless> set wlan1 adaptive-noise-immunity=ap-and-cli
ent-mode band=5ghz-onlyn basic-rates-a/g=""
[admin@MikroTik] /interface wireless> country=australia disabled=no frequency=5180
frequency-mode=manual-txpower
syntax error (line 1 column 8)
[admin@MikroTik] /interface wireless> ht-ampdu-priorities=0,1,2,3,4,5,6,7 ht-exten
sion-channel=below-control ht-rxchains=0,1
syntax error (line 1 column 20)
[admin@MikroTik] /interface wireless> ht-txchains=0,1 mode=bridge rate-set=configu
red ssid=wisp.net.au supported-rates-a/g=""
syntax error (line 1 column 12)
[admin@MikroTik] /interface wireless> wireless-protocol=nv2
syntax error (line 1 column 18)
 
mrphreak
newbie
Posts: 38
Joined: Tue Jan 24, 2012 11:37 pm

Re: I get error when inputting command

Thu Apr 18, 2013 1:51 pm

Looks like the command has carriage returns in it, and instead of sending one command, it's trying to send 5

Try
/interface wireless
set wlan1 adaptive-noise-immunity=ap-and-client-mode band=5ghz-onlyn basic-rates-a/g="" country=australia disabled=no frequency=5180 frequency-mode=manual-txpower ht-ampdu-priorities=0,1,2,3,4,5,6,7 ht-extension-channel=below-control ht-rxchains=0,1 ht-txchains=0,1 mode=bridge rate-set=configured ssid=wisp.net.au supported-rates-a/g="" wireless-protocol=nv2
 
whatda
just joined
Topic Author
Posts: 20
Joined: Sun Apr 15, 2012 2:05 pm

Re: I get error when inputting command

Thu Apr 18, 2013 2:22 pm

Thanks for your help but I still get
expected end of command (line 1 column 200)
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: I get error when inputting command

Thu Apr 18, 2013 2:32 pm

if you havce line end incompatibilities use notation similar to one that is used when /export is ran

/command \
next line \
next line
 
mrphreak
newbie
Posts: 38
Joined: Tue Jan 24, 2012 11:37 pm

Re: I get error when inputting command

Thu Apr 18, 2013 2:41 pm

Looks like it's not liking "ht-extension-channel=below-control" which is possibly because 5180 is the first channel and there isn't another below it?

Might have to go back to whoever issued the command?
 
whatda
just joined
Topic Author
Posts: 20
Joined: Sun Apr 15, 2012 2:05 pm

Re: I get error when inputting command

Thu Apr 18, 2013 2:47 pm

Thank guys but I got it from here
http://www.wisp.net.au/5hnd-mpls-pm-19.html
 
mrphreak
newbie
Posts: 38
Joined: Tue Jan 24, 2012 11:37 pm

Re: I get error when inputting command

Thu Apr 18, 2013 2:59 pm

If it's just for a PtP link, just try changing "ht-extension-channel=below-control" to "ht-extension-channel=above-control" and see if it accepts that