Community discussions

MikroTik App

Search found 40 matches

by semaja2
Sun Mar 17, 2024 1:13 pm
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

I did a quick test using "upx -9" and it shrank by about 3MB, so not really worth the hassle/risk, if it could save 50% then I would consider making a special upx variant for those in desperate need of disk space
by semaja2
Sun Mar 17, 2024 11:32 am
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

Quick update, I noticed a huge container size increase with the new version, appears the linux netinstall binary itself is quite large now days, so have released some older versions of netinstall Eg. 7.14.1 is 55.7MB, 6.49.13 is 36.8MB The older version may be more useful to those running on very li...
by semaja2
Sun Mar 17, 2024 11:24 am
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

Part of the issue with downloading the images during runtime would be generally the network the container is attached to would be isolated and only directly connected to the target device, as such would require reasonable amount of config to ensure it could actually download the images. The current ...
by semaja2
Sun Mar 17, 2024 9:39 am
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

Fair point I had not looked at the pull numbers, also thought netinstall had been integrated into ROS by now :P I have built a new version of the container under semaja2/mikrotik-netinstall:dev which will work with both old and new methods I do not have my test environment setup anymore, so if anyon...
by semaja2
Fri Mar 15, 2024 10:52 am
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

I am still around, and suprised to see the thread spring to life as I figured it wasn’t of interest to many others

I’ll try to dig up the project and update to latest version and see if I can get it to just add every npk from the folder to simplify
by semaja2
Wed Sep 06, 2023 3:50 pm
Forum: Containers
Topic: Zabbix Proxy Container: Ping permission issues
Replies: 3
Views: 4432

Re: Zabbix Proxy Container: Ping permission issues

Basically create a new container image that simply switches to user 0, feel free to use my image but it may break in the future and also poses various security threats should zabbix be exploited

https://hub.docker.com/semaja2/zabbix-proxy-sqlite3/
by semaja2
Fri Aug 11, 2023 6:47 am
Forum: Containers
Topic: Why does Mikrotik always use VETH in a bridge?
Replies: 5
Views: 5056

Re: Why does Mikrotik always use VETH in a bridge?

I would also like an official answer to this one, I often run standalone containers, is there a underlaying technical reason the veth needs to be in a bridge?
by semaja2
Fri Aug 11, 2023 4:18 am
Forum: Containers
Topic: Zabbix Proxy Container: Ping permission issues
Replies: 3
Views: 4432

Re: Zabbix Proxy Container: Ping permission issues

I came here for the same reason, I thought I had a fix by switching to the ol image, but it seems whatever mikrotik is doing to the container is not always 100% I thought the containers were built incorrectly, and made one where the setcap/systctl settings were corrected, but once it loads on the Mi...
by semaja2
Fri Feb 10, 2023 3:03 am
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

Having netinstall as a npk would be a dream, but also I suppose getting ROSv7 actually stable for real usage is still a priority they should focus on... (BGP :vomit:) If there is serious interest in this container I will look to maintain and update it so it works better with the newer container feat...
by semaja2
Sat Dec 10, 2022 1:26 pm
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

Can you post the output of the routers logs? I just did a test on a RB4011 with 7.6 and it worked without issue, potentially you ran into space issue? The registry URL was not included as its assumed the base config from the MikroTik documentation was followed /container/config/set registry-url=http...
by semaja2
Thu Nov 10, 2022 12:20 pm
Forum: General
Topic: Can CSS610-8P-2S+IN power 24V passive PoE devices ? [SOLVED]
Replies: 10
Views: 1617

Re: Can CSS610-8P-2S+IN power 24V passive PoE devices ? [SOLVED]

Passive Poe works fine for both 48 and 24V :)

AC will supply 54V to the board which converts to 24V as needed, or whatever 48V DC you can supply

PS. Wish it up converted from 24V to 48V would make it much more useful for our use case
by semaja2
Wed Oct 26, 2022 5:34 am
Forum: Containers
Topic: Looking for Docker container ideas for RouterOS
Replies: 121
Views: 31821

Re: Looking for Docker container ideas for RouterOS

For anyone concerned about memory leaks... can you run just a base alpine image with nothing on it? There is little to gain mentioning memory leaks for a 3rd party container as its not RouterOS problem That being said ROS container system does let you set memory limits to prevent a bad container con...
by semaja2
Wed Oct 19, 2022 3:43 pm
Forum: SwOS
Topic: How to restore to factory firmware
Replies: 9
Views: 4780

Re: How to restore to factory firmware

Is it possible to load the "backup" firmware which is the one the device came with? https://wiki.mikrotik.com/wiki/SwOS/CRS3xx#Reset_and_Reinstall It is possible to load a SwOS backup firmware in case standard firmware breaks or upgrade fails: Connect to the device using a serial console B...
by semaja2
Wed Oct 19, 2022 11:10 am
Forum: SwOS
Topic: SwitchOS CLI
Replies: 27
Views: 17461

Re: SwitchOS CLI

(and anyway, I would not use something with only SwOS regardless) That’s all good and nice to say… until there is a global supply chain problem, and mikrotik has little options when it comes to DC powered PoE switches If they sold the CSS610 as a CRS610 version I’d be all over it You assume we all ...
by semaja2
Wed Oct 19, 2022 9:58 am
Forum: SwOS
Topic: SwitchOS CLI
Replies: 27
Views: 17461

Re: SwitchOS CLI

That seriously is the worst attitude to security, password reuse isn't the only possible exploit, easily could do code injection etc Pretty sure you would also change your mind if someone did a factory reset on your switch at an RTS thats 8 hours away, but sure who cares about enabling the most basi...
by semaja2
Wed Oct 19, 2022 1:38 am
Forum: SwOS
Topic: SwitchOS CLI
Replies: 27
Views: 17461

Re: SwitchOS CLI

The argument against https support, I support: just keep your config access on a VLAN that is secure, then http is fine. The lack of basic security concepts is shocking in this statement... a VLAN does not provide any protections against interception and manipulation (eg. the password is clear text...
by semaja2
Wed Oct 19, 2022 1:31 am
Forum: SwOS
Topic: Service VLAN on swOS
Replies: 8
Views: 10629

Re: Service VLAN on swOS

Is anyone able to confirm if this is a "SwOS wont pass/forward QinQ tagged packets" or if its more "SwOS wont do QinQ tagging"? Really hope its the latter as the switch shouldnt be look at the second vlan tag for forwarding
by semaja2
Mon Oct 10, 2022 1:32 pm
Forum: Containers
Topic: Looking for Docker container ideas for RouterOS
Replies: 121
Views: 31821

Re: Looking for Docker container ideas for RouterOS

That’s quite easy, given the way the containers are implemented you can just load a basic alpine image Set the start command to sleep forever, console in, install all your bits you need, change the start command to run dnsmasq Or if just build a image that has it all of course :) One missing feature...
by semaja2
Mon Oct 10, 2022 1:46 am
Forum: Containers
Topic: Looking for Docker container ideas for RouterOS
Replies: 121
Views: 31821

Re: Looking for Docker container ideas for RouterOS

I feel like a lot of these suggestions are either entirely a joke, or lack the understanding of what a container is Nothing stops you wrapping a BGP service into a container, but your RouterOS would still need to establish a BGP session to it Eg. Run FRRouting in a container, run it as a route refle...
by semaja2
Fri Oct 07, 2022 2:09 am
Forum: Containers
Topic: Looking for Docker container ideas for RouterOS
Replies: 121
Views: 31821

Re: Looking for Docker container ideas for RouterOS

Home Assistant. If anyone has got it right, let me know, To reply to the 'why would we' people, one good reason is that this is how we learn. But my reason is to have fewer devices running off an inverter to prolong battery life during loadshedding in South Africa. What's loadshedding? - Eskomplica...
by semaja2
Thu Sep 29, 2022 4:34 pm
Forum: Useful user articles
Topic: Upgrade Docker Container when using remote-image LATEST
Replies: 1
Views: 3648

Re: Upgrade Docker Container when using remote-image LATEST

Recreating the container is the correct approach for Docker, in theory due to the way MikroTik implemented their containers you could potentially do the upgrade in the container you have However the correct approach is to make sure you setup persisting volumes for any data that needs to be persisten...
by semaja2
Thu Sep 29, 2022 12:42 pm
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

There is probably potential for further optimisations, however we are reaching a point where there is little gains left (we talking 6MB from the distro now) the biggest space consumer is the actual net install binary at 50MB plus a npk file which is usually 10-15MB I would say if you have a device w...
by semaja2
Thu Sep 29, 2022 11:31 am
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

After a bit of early testing, we now have the base container down to 5.35MB compressed (including the qemu part) so after we add netinstall the container comes to 38.72MB compressed As a result I am successfully able to run the netinstall container on a Netpower16P :shock: and perform a netinstall o...
by semaja2
Thu Sep 29, 2022 8:56 am
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

Those wanting containers for several CPU types on smaller routers will appreciate not having to pay the cost of a CPU emulator. I will let you now how I go forcing it into smaller devices, but largely anything with an ARM CPU will be fine doing this x86 emulation from a CPU perspective, the netinst...
by semaja2
Thu Sep 29, 2022 6:35 am
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

From my testing there is actually no need for a native ARM build (besides being a nice to have) This container actually uses qemu to run the x86 code on both ARM and ARM64 platforms (testing was done on a RB4011) From an image perspective, I originally included the npk files but due to limited space...
by semaja2
Mon Sep 26, 2022 3:21 pm
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

Re: GUIDE: Running Netinstall Server on a Tik

Congrats! but the link posted right before the Steps section asks for a login for some reason.
This works: https://hub.docker.com/r/semaja2/mikrotik-netinstall
Thanks for that, I have updated the post, looks like I copied the management URL
by semaja2
Mon Sep 26, 2022 2:39 pm
Forum: General
Topic: netinstall-cli build for ARM
Replies: 4
Views: 782

Re: netinstall-cli build for ARM

After a bit of an adventure, you can actually run the netinstall-cli on ARM perfectly fine using qemu-user binaries Effectively it will emulate the CPU for the process, it doesn't start a VM as most would know, and leaves the process where it should be (eg. it can access the network perfectly fine) ...
by semaja2
Mon Sep 26, 2022 2:33 pm
Forum: Containers
Topic: Looking for Docker container ideas for RouterOS
Replies: 121
Views: 31821

Re: Looking for Docker container ideas for RouterOS

Or, do the same thing to a disused RB3011, running a separate netinstall container behind each port, one for each RouterOS NPK type you have in use, and you've got a benchtop version of the same facility. Someone brings in a flatlined router, you pull over a labeled cable matching the CPU type of t...
by semaja2
Mon Sep 26, 2022 12:40 pm
Forum: General
Topic: GUIDE: Running Netinstall Server on a Tik
Replies: 53
Views: 5168

GUIDE: Running Netinstall Server on a Tik

Hi All, Wasn't sure where to best post this, but hopefully someone will find use of it :) With the implementation of containers in ROSv7 it opened a whole world of abilities for a Tik, and for anyone that needs to do bulk netinstalls or remotely perform a netinstall in the field (eg. a Tik AP connec...
by semaja2
Sat Jul 16, 2022 9:50 am
Forum: General
Topic: netinstall-cli build for ARM
Replies: 4
Views: 782

Re: netinstall-cli build for ARM

+1 for this, would also be wonderful if it could be compiled for Mac.... or you know... release the source code :roll:
by semaja2
Wed Jun 29, 2022 3:38 am
Forum: Containers
Topic: v7.1rc3 adds container support
Replies: 493
Views: 163164

Re: v7.1rc3 adds Docker (TM) compatible container support

Can we get an option to just print the log from a container, and run commands or open a cli whilst its running
by semaja2
Wed Jun 29, 2022 3:07 am
Forum: Containers
Topic: Looking for Docker container ideas for RouterOS
Replies: 121
Views: 31821

Re: Looking for Docker container ideas for RouterOS

Big one for us is a light weight Zabbix proxy for remote sites without needing to add another device onsite We also use a tik for our Out of Band devices, and being able to spin up a basic linux docker could be useful to run extra troubleshooting software onsite (eg. could have a container with nmap...
by semaja2
Sat Jun 04, 2022 4:02 pm
Forum: Containers
Topic: v7.1rc3 adds container support
Replies: 493
Views: 163164

Re: v7.1rc3 adds Docker (TM) compatible container support

Containers the new "v7" meme? :P
by semaja2
Fri May 27, 2022 5:17 am
Forum: General
Topic: Winbox Idle Session Option
Replies: 1
Views: 301

Winbox Idle Session Option

Is it possible to configure Winbox to disconnect idle sessions?

We have some Tiks behind metered connections, and Winbox burns through data and its very easy to leave a session left open
by semaja2
Thu Jan 27, 2022 3:19 am
Forum: General
Topic: DHCP Filter
Replies: 0
Views: 780

DHCP Filter

Hi, I am looking to filter DHCP from responding to certain requests (eg. hostname contains XYZ) From what I can gather the communication is too small and the layer 7 protocol inspection occurs too late to prevent the traffic Is there any other ways to filter DHCP more specifically? (eg. only allow c...
by semaja2
Wed Nov 10, 2021 3:50 am
Forum: RouterBOARD hardware
Topic: Rack mount CRS3xx Series Switch with DC input
Replies: 4
Views: 4216

Rack mount CRS3xx Series Switch with DC input

Whilst the NetPower16P is based on the CRS328, and provides DC inputs it is really only suitable for mounting on a pole However there does not appear to be any other CRS3xx series switches that can run directly on DC inputs? Has anyone modified a CRS328 for DC input, or is this something MikroTik is...
by semaja2
Tue Oct 12, 2021 2:37 am
Forum: RouterBOARD hardware
Topic: GPEN21 Earthing
Replies: 0
Views: 1712

GPEN21 Earthing

We have just obtained a GPEN21 as a prototype for using as a simple customer NTU, providing a clean handoff point from a wireless dish However upon inspection, there appears to be no way to properly bond the ethernet ports to earth, without using an external PoE adapter which defeats the purpose of ...
by semaja2
Mon Oct 11, 2021 8:40 am
Forum: Announcements
Topic: SwOS Lite version 2.14 released!
Replies: 48
Views: 276772

Re: SwOS Lite version 2.14 released!

Any update about SFP(+) compatibility fixes? Running 2.13 and it works, afraid to upgrade to 2.14 especially if remote access is over fiber connection that might break. The devices really should have a dual firmware feature - upgrade, reboot and login to confirm (within a timeout) the new firmware ...
by semaja2
Wed Sep 08, 2021 4:39 pm
Forum: Containers
Topic: v7.1rc3 adds container support
Replies: 493
Views: 163164

Re: v7.1rc3 adds Docker (TM) compatible container support

When adding container did You also specified "logging=yes"?
Yes as well as enable "container" logging under "logging"

Is it possible to attach to the container?
by semaja2
Wed Sep 08, 2021 3:53 pm
Forum: Containers
Topic: v7.1rc3 adds container support
Replies: 493
Views: 163164

Re: v7.1rc3 adds Docker (TM) compatible container support

How do we get any logging output, or attach to a container console?

I have attempted to import the Alpine Armv6/v7 container to a RB4011 and neither will start and there is no log output

This is a great feature as it will enable things like running a small Zabbix proxy on a CHR or onsite router