MikroTik WinBox on Linux GUI computer » History » Version 1
Charles Atkinson, 13/05/2020 09:37
1 | 1 | Charles Atkinson | h1. MikroTik WinBox on Linux GUI computer |
---|---|---|---|
2 | 1 | Charles Atkinson | |
3 | 1 | Charles Atkinson | {{toc}} |
4 | 1 | Charles Atkinson | |
5 | 1 | Charles Atkinson | h1. Introduction |
6 | 1 | Charles Atkinson | |
7 | 1 | Charles Atkinson | This page documents setting up the MikroTik WinBox application on a Linux GUI computer. |
8 | 1 | Charles Atkinson | |
9 | 1 | Charles Atkinson | It was done using WinBox 3.23 64-bit on a Debian Buster PC running Xfce but should be generally applicable for all Linux GUI desktops and WinBox 64-bit |
10 | 1 | Charles Atkinson | |
11 | 1 | Charles Atkinson | Commands are illustrated for root. Prefix with sudo if required |
12 | 1 | Charles Atkinson | |
13 | 1 | Charles Atkinson | h2. Related documents |
14 | 1 | Charles Atkinson | |
15 | 1 | Charles Atkinson | https://help.mikrotik.com/docs/display/ROS/Winbox |
16 | 1 | Charles Atkinson | |
17 | 1 | Charles Atkinson | h1. Prepare |
18 | 1 | Charles Atkinson | |
19 | 1 | Charles Atkinson | <pre> |
20 | 1 | Charles Atkinson | apt install p7zip-full wine |
21 | 1 | Charles Atkinson | mkdir -p /opt/mikrotik /tmp/winbox/ /usr/local/share/{applications,icons} |
22 | 1 | Charles Atkinson | </pre> |
23 | 1 | Charles Atkinson | |
24 | 1 | Charles Atkinson | h1. Download |
25 | 1 | Charles Atkinson | |
26 | 1 | Charles Atkinson | No way was identified to get WinBox other than interactively |
27 | 1 | Charles Atkinson | |
28 | 1 | Charles Atkinson | Interactively https://mikrotik.com/download > WinBox > note version number and click on 64-bit > save as /tmp/winbox/winbox.exe |
29 | 1 | Charles Atkinson | |
30 | 1 | Charles Atkinson | h1. Extract icons from .exe and install |
31 | 1 | Charles Atkinson | |
32 | 1 | Charles Atkinson | <pre> |
33 | 1 | Charles Atkinson | cd /tmp/winbox/ && 7z x winbox.exe |
34 | 1 | Charles Atkinson | cd .rsrc/ICON && file * |
35 | 1 | Charles Atkinson | mv 1.ico winbox-32x32.ico |
36 | 1 | Charles Atkinson | mv 2.ico winbox-16x16.ico |
37 | 1 | Charles Atkinson | mv 3.ico winbox-48x48.ico |
38 | 1 | Charles Atkinson | chmod 644 *.ico |
39 | 1 | Charles Atkinson | cp -p *.ico /usr/local/share/icons |
40 | 1 | Charles Atkinson | </pre> |
41 | 1 | Charles Atkinson | |
42 | 1 | Charles Atkinson | h1. Install .exe |
43 | 1 | Charles Atkinson | |
44 | 1 | Charles Atkinson | Replacing <version> with the version number seen on https://mikrotik.com/download |
45 | 1 | Charles Atkinson | <pre> |
46 | 1 | Charles Atkinson | chmod 640 /tmp/winbox/winbox.exe |
47 | 1 | Charles Atkinson | cp -p /tmp/winbox/winbox.exe /opt/mikrotik/winbox-<version>.exe |
48 | 1 | Charles Atkinson | ln -s /opt/mikrotik/winbox{-<version>,}.exe |
49 | 1 | Charles Atkinson | </pre> |
50 | 1 | Charles Atkinson | |
51 | 1 | Charles Atkinson | h1. winbox.desktop |
52 | 1 | Charles Atkinson | |
53 | 1 | Charles Atkinson | Create /usr/local/share/applications/winbox.desktop containing |
54 | 1 | Charles Atkinson | <pre> |
55 | 1 | Charles Atkinson | [Desktop Entry] |
56 | 1 | Charles Atkinson | Name=MikroTik WinBox |
57 | 1 | Charles Atkinson | Exec=wine64 /opt/mikrotik/winbox.exe |
58 | 1 | Charles Atkinson | Terminal=false |
59 | 1 | Charles Atkinson | Type=Application |
60 | 1 | Charles Atkinson | Icon=/usr/local/share/icons/winbox-32x32.ico |
61 | 1 | Charles Atkinson | Categories=Utility; |
62 | 1 | Charles Atkinson | </pre> |