Community discussions

MikroTik App
 
riqsar
just joined
Topic Author
Posts: 5
Joined: Wed May 01, 2024 2:19 pm

bad command name wireless

Wed May 01, 2024 4:30 pm

I am able to do this fine when using ssh
interface print
Flags: R - RUNNING; S - SLAVE
Columns: NAME, TYPE, ACTUAL-MTU, L2MTU, MAX-L2MTU, MAC-ADDRESS
# NAME TYPE ACTUAL-MTU L2MTU MAX-L2MTU MAC-ADDRESS
0 ether1 ether 1500 1568 9214 48:A9:8A:F2:68:B7
1 S ether2 ether 1500 1568 9214 48:A9:8A:F2:68:B8
2 S ether3 ether 1500 1568 9214 48:A9:8A:F2:68:B9
3 S ether4 ether 1500 1568 9214 48:A9:8A:F2:68:BA
4 S ether5 ether 1500 1568 9214 48:A9:8A:F2:68:BB
;;; defconf
5 R bridge bridge 1500 1568 48:A9:8A:F2:68:B8
6 S wifi1 wifi 1500 48:A9:8A:F2:68:BC
7 RS wifi2 wifi 1500 48:A9:8A:F2:68:BD
However, when I do
ssh router "/interface wireless"
bad command name wireless
 
erlinden
Forum Guru
Forum Guru
Posts: 2013
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: bad command name wireless

Wed May 01, 2024 6:26 pm

And what if you add "print" to the statement?
Or could it be /interface/wifi print
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11770
Joined: Thu Mar 03, 2016 10:23 pm

Re: bad command name wireless

Wed May 01, 2024 6:45 pm

6 S wifi1 wifi 1500 48:A9:8A:F2:68:BC
7 RS wifi2 wifi 1500 48:A9:8A:F2:68:BD

Your device is running new wifi driver, so the config is under /interface/wifi ...

Old driver names interfaces as wlanX ...
 
riqsar
just joined
Topic Author
Posts: 5
Joined: Wed May 01, 2024 2:19 pm

Re: bad command name wireless

Wed May 01, 2024 7:27 pm

6 S wifi1 wifi 1500 48:A9:8A:F2:68:BC
7 RS wifi2 wifi 1500 48:A9:8A:F2:68:BD

Your device is running new wifi driver, so the config is under /interface/wifi ...

Old driver names interfaces as wlanX ...
Indeed this was it. SoI did /interface/wifi print.
I couldnt find it in the documentation. Where can I read more about it?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11770
Joined: Thu Mar 03, 2016 10:23 pm

Re: bad command name wireless

Wed May 01, 2024 8:45 pm

Where can I read more about it?
This post/thread might be interesting for a start: viewtopic.php?t=202578

Who is online

Users browsing this forum: Amazon [Bot] and 21 guests