Over 10 years we help companies reach their financial and branding goals. Engitech is a values-driven technology agency dedicated.

Gallery

Contacts

411 University St, Seattle, USA

+1 -800-456-478-23

Home page Forums Technical Support, Bugs and Fixes Troubleshooting Reply To: Troubleshooting

#8050
W A-HW A-H
Participant

    so:
    I ssh into the MKT: log says “user mktwizard logged in from 10.48.88.1”
    API is active and 10.48.88.1 is allowed.
    API testing with a client works, too

    root@mikrowizard:~/apiclient# python3 client.py 10.48.81.19
    <<< /login
    <<< =name=mktwizard
    <<< =password=xxxxxxxxxxxxxxxx
    <<< 
    >>> !done
    >>> 
    

    on scanning:
    10.48.88.18 10.48.88.20
    user, pass as above
    default port.

    I can even SEE the API login on the MKT
    but the device is not added.

    also – API from that device:
    /system/routerboard/print

    <<< /system/routerboard/print
    <<>> !re
    >>> =routerboard=true
    >>> =model=CCR2004-1G-12S+2XS
    >>> =serial-number=xxxxxxxxxxxxxxxxxx
    >>> =firmware-type=al64
    >>> =factory-firmware=7.6
    >>> =current-firmware=7.15.3
    >>> =upgrade-firmware=7.15.3
    >>>
    >>> !done
    >>>

    Also, I can see the following commands being sent to MKT:
    /login.=name=mktwizard)=password=xxxxxxxxxxx
    /system/resource/print
    /system/routerboard/print
    /system/identity/print
    /system/identity/print
    /ip/address/print
    /system/resource/print
    /system/resource/print
    /system/routerboard/print

    output of resource and routerboard:
    /system/resource/print
    !re
    =uptime=1h10m38s
    =version=7.15.3 (stable)
    =build-time=2024-07-24 10:39:01
    =factory-software=7.6
    =free-memory=4031582208
    =total-memory=4294967296
    =cpu=ARM64
    =cpu-count=4
    =cpu-frequency=1700
    =cpu-load=5
    =free-hdd-space=110788608
    =total-hdd-space=134217728
    =write-sect-since-reboot=698
    =write-sect-total=339747
    =bad-blocks=0
    =architecture-name=arm64
    =board-name=CCR2004-1G-12S+2XS
    =platform=MikroTik
    !done

    /system/resource/print..!re
    =uptime=1h10m39s
    =version=7.15.3 (stable)
    =build-time=2024-07-24 10:39:01
    =factory-software=7.6
    =free-memory=4031590400
    =total-memory=4294967296
    =cpu=ARM64
    =cpu-count=4
    =cpu-frequency=1700
    =cpu-load=5
    =free-hdd-space=110788608
    =total-hdd-space=134217728
    =write-sect-since-reboot=698
    =write-sect-total=339747
    =bad-blocks=0
    =architecture-name=arm64
    =board-name=CCR2004-1G-12S+2XS
    =platform=MikroTik
    !done

    /system/routerboard/print
    !re
    =routerboard=true
    =model=CCR2004-1G-12S+2XS
    =serial-number=xxxxxxxxxxxx
    =firmware-type=al64
    =factory-firmware=7.6
    =current-firmware=7.15.3
    =upgrade-firmware=7.15.3
    !done.

    • This reply was modified 2 months ago by W A-HW A-H.
    • This reply was modified 2 months ago by W A-HW A-H.
    1 user thanked author for this post.