Page 1 of 1

I get error when inputting command

Posted: Thu Apr 18, 2013 12:15 pm
by whatda
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)

Re: I get error when inputting command

Posted: Thu Apr 18, 2013 1:51 pm
by mrphreak
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

Re: I get error when inputting command

Posted: Thu Apr 18, 2013 2:22 pm
by whatda
Thanks for your help but I still get
expected end of command (line 1 column 200)

Re: I get error when inputting command

Posted: Thu Apr 18, 2013 2:32 pm
by janisk
if you havce line end incompatibilities use notation similar to one that is used when /export is ran

/command \
next line \
next line

Re: I get error when inputting command

Posted: Thu Apr 18, 2013 2:41 pm
by mrphreak
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?

Re: I get error when inputting command

Posted: Thu Apr 18, 2013 2:47 pm
by whatda
Thank guys but I got it from here
http://www.wisp.net.au/5hnd-mpls-pm-19.html

Re: I get error when inputting command

Posted: Thu Apr 18, 2013 2:59 pm
by mrphreak
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