Skip to content

Commit

Permalink
Example for serving firmware updates from Mikrotik RouterOS
Browse files Browse the repository at this point in the history
  • Loading branch information
n-st committed Sep 4, 2024
1 parent c4aea99 commit ac6c1d3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,21 @@ add name=sipdect options=magic_str,ommip_1,ommip_2,syslogip,syslogport
add address-pool=default-dhcp dhcp-option-set=sipdect interface=bridge
```

It is also possible to serve a firmware update file from RouterOS. However,
current 3rd gen firmware files are around 18 MiB, so they won't fit into the
flash of cheaper Mikrotik models, and will have to be uploaded to their ramdisk
after every reboot (e.g. through the "Files" menu in Winbox, which uploads to
the ramdisk if no flash-based directory is selected).

```
/ip dhcp-server network
add address=192.168.89.0/24 dns-server=192.168.89.1 gateway=192.168.89.1 \
next-server=192.168.89.1 boot-file-name=iprfp3G.dnld
/ip tftp
add real-filename=iprfp3G_8.3.dnld req-filename=iprfp3G.dnld
```

Example snippet for `dnsmasq-dhcp-server`'s `dnsmasq.conf`:

```
Expand Down

0 comments on commit ac6c1d3

Please sign in to comment.