Hi,
I’ve just stumbled upon a bug regarding export command and wireless interfaces. Confirmed over several routers and several software versions, mostly v3.30 and v4.x. Didn’t test on v5.x
When I type /export file=somename from New Terminal window in console wireless settings are exported ok. Example:
# jun/02/2011 11:36:14 by RouterOS 3.30
# software id = I6MH-JZX3
#
/interface bridge
add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes \
comment="" disabled=no forward-delay=15s l2mtu=2304 max-message-age=20s \
mtu=1500 name=bridge1 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
/interface ethernet
set 0 arp=enabled auto-negotiation=yes cable-settings=default comment="" \
disable-running-check=yes disabled=no full-duplex=yes mac-address=\
00:1D:7D:BA:91:8C mtu=1500 name=ether1 speed=100Mbps
/interface wireless security-profiles
set default authentication-types="" eap-methods=passthrough group-ciphers="" \
But when I execute same command using API there is no /interface wireless subtree, example:
# jun/02/2011 12:02:54 by RouterOS 3.30
# software id = I6MH-JZX3
#
/interface bridge
add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes \
comment="" disabled=no forward-delay=15s l2mtu=2304 max-message-age=20s \
mtu=1500 name=bridge1 priority=0x8000 protocol-mode=none \
transmit-hold-count=6
/interface ethernet
set 0 arp=enabled auto-negotiation=yes cable-settings=default comment="" \
disable-running-check=yes disabled=no full-duplex=yes mac-address=\
00:1D:7D:BA:91:8C mtu=1500 name=ether1 speed=100Mbps
/interface
set wlan3 comment=\
On the examples you can clearly see that after /interface ethernet there is no /interface wireless.
Is there a bug fix for this?