Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
boredsquirrel (he) ( boredsquirrel@slrpnk.net )  to Open Source@lemmy.ml · 2 years ago

Review: Turris Omnia, a FOSS wifi router, NAS and Server, based on a highly improved OpenWRT, with BTRFS!

slrpnk.net

external-link
message-square
9
link
fedilink
  • cross-posted to:
  • openwrt@lemdro.id
55
external-link

Review: Turris Omnia, a FOSS wifi router, NAS and Server, based on a highly improved OpenWRT, with BTRFS!

slrpnk.net

boredsquirrel (he) ( boredsquirrel@slrpnk.net )  to Open Source@lemmy.ml · 2 years ago
message-square
9
link
fedilink
  • cross-posted to:
  • openwrt@lemdro.id
Review: Turris Omnia, a FOSS wifi router, NAS and Server, based on a highly improved OpenWRT, with BTRFS! - SLRPNK
slrpnk.net
external-link
I dont even know how to summarize that machine 😄 It is absolutely awesome. Turris [https://www.turris.com] is a company by the czech TLD registrar CZ.NIC [https://www.nic.cz/], which is ran as a nonprofit and invests a ton in open source network software. ## The Origin This talk summarizes it well: https://www.youtube.com/watch?v=cB5OG_V3aSE [https://www.youtube.com/watch?v=cB5OG_V3aSE] They wanted to build a device to analyze hacking attacks on the people in Czechia. The device should be as close to the network as possible (i.e. a router) and have compelling and understandable hardware that could be upgraded over time. So… they made a router. Originally using PowerPC, now on ARMv7 (poorly only their mobile MOX already is on ARMv8). ## Where to get it Originally they gave the devices away for free, under the agreement that the users contributed the Sentinel analysis data. Then they opened an indiegogo campain [https://www.indiegogo.com/projects/turris-omnia-hi-performance-open-source-router#/], which far exceeded their expected amount of funding. Afterwards they had their own webshop [shop.turris.com], which is now discontinued. Instead, these stores are available: - Rubytech DE [https://www.rubytech.de/turris-router/] (The strangest signup method I ever had :) but all fine) - Discomp CZ [https://www.discomp.cz/turris-omnia-wi-fi-6-silver_d116907.html?action=setcur&curid=14] - Amazon [https://www.amazon.com/-/de/stores/Turris/page/4EB82124-A160-4117-9404-00DA2DF8FE26] Note: they sent me an additional Tshirt, ethernet cable and tube scarf, which is… interesting, but could be considered waste. Tbh, I use the tube scarf daily :D Poorly they didnt add any stickers! Also, they dont have a good system to determine the recipient country, so I have an additional power supply cable for another country. They also included a wall mount, with a set of perfectly fitting, longer screws. All screws have regular phillips heads. ## Software They took OpenWRT, but extended it a ton. As they have 8GB of storage and 2GB of RAM, they can do stuff way above the minimum hardware requirements of OpenWRT. They have a graphical package manager in the WebUI, and use BTRFS snapshots for atomic updates. Which is totally cool! That was over 10 years ago and the first router they made is still supported with updates. ## Hardware The data sheet can be obtained here [https://secure.nic.cz/files/Turris-web/Omnia/Omnia_wifi6_datasheet_EN.pdf]. The “Omnia Wifi6” I got uses a bit outdated hardware, similar to my Thinkpad T430. They will very likelybswitch to m.2 slots and ARMv8, so you may want to wait for such a revised model. The current Omnia has 3 mini-PCIe Slots, 2 USB-3 ports and a ton of pins accessible from the inside. Picture of a disassembled Omnia Router [https://slrpnk.net/pictrs/image/f0141886-6bc6-4146-aae1-3b5514311967.jpeg] - The left one supports USB, and below you can plug in a SIM card and use an 3G/4G/5G card. With an additional package, this can be used to automatically fallback to cell network, when the regular connection fails. - The middle one is just mini-PCIe - The right one supports mSATA so with a simple adapter you can use SATA SSDs for near-native speed. (I want to do that, but it may need an additional power supply) Article picture of a mSATA to SATA adapter [https://slrpnk.net/pictrs/image/4987f8ca-bcac-4844-b9e5-968661fc60da.webp] And, of couse in the front it has fancy RGB LEDs. They are used as indicators for the running state, and for the action you do by pressing the “Reset” button. In the back it has 4 ethernet sockets, 1 WAN ethernet socket to connect to the internet, one SFP socket for a fiber connection, a multi-purpose button and a power socket. The button in combo with the LEDs is used for various things like reboot, reset, update, update from local file, update from internet. ## Setup To set it up, connect it to power and with one of the LAN (not WAN) sockets to a Laptop, using ethernet. Right, before setup it doesnt open a wireless connection! This was confusing for me but really make sense. In the browser enter http://192.168.1.1 [http://192.168.1.1] and a very nice graphical WebUI guides you through the setup. If you use it over LAN, accept the self-signed TLS certificate in your browser, then HTTPS should work. ## Applications It runs a highly extended variant of OpenWRT. There is a huge amount of software [https://docs.turris.cz/basics/apps/librespeed]. It varies from preinstalled installable through packages, from Foris WebUI integrated to advanced, requiring the normal OpenWRT LuCI or requiring configuration through the terminal. An incomplete and chaotic overview: - file server: SMB, DLNA, encrypted storage, mdadm - Transmission bittorrent client - OpenVPN server & client - Wireguard (advanced) - Nextcloud, Syncthing (both have acessible login pages from the main WebUI) - Tor - Adblock - Dynamic firewall - haas: honeypot as a service (needs a public forwarded IPv4 address) - Turris Sentinel: security data collection service, analyze incoming threats (the use they originally intended) - Librespeed: lightweight network speed test - support for LXC containers to run your favourite Linux distro - schnapps to manipulate BTRFS snapshots - LAN monitoring with PaKon and Morce NOTE: the data collection service “Sentinel” is opt-in and disabled by default. ## DNS The DNS Server is not set, I used nic.cz [http://nic.cz] with DNSSEC, other providers like Cloudflare and Quad9 are also available, just like manual setup. DNSSEC works with a single button press, without any issues! ## Configuration You can configure things with a config file, that you insert over a USB stick. ## Storage You can plug in an external drive (USB of course, but I want to try mSATA to SATA) and it formats it and moves all data on there. It sets up different RAID systems, I dont know if encryption is supported. So, you have over 7 different ways to host a fileserver on there, up to a full instance of Nextcloud. This is crazy! ## Wifi Routing You can open 2 Wifis (no idea how that works) and each can also have a separated Guest network. Security: - By default, WPA3 with WPA2 fallback is used. I changed it to WPA3-only, as WPA2 is vulnerable to attacks (see this video on how to sniff passwords with Kali Linux, which requires a custom kernel driver [https://www.youtube.com/watch?v=X49lIPHcurE]) - 2 Guest networks possible, I highly recommend to use those for everyone apart from Admins - VLANs are also supported, and need to be enabled. - Reminder: before first configuration, no Wifi is enabled. There is no initial password set. - you can have different passwords for the admin WebUI and ssh. The reach is great, but roughly equal to the modern Fritzbox we already have, which only has a single, hidden antenna. The time to connect to the Wifi is a bit longer than at the FritzBox. ## Community & Support Their code is all hosted on the CZ.NIC Gitlab [https://gitlab.nic.cz/turris]. The Turris team can be contacted via email and they respond pretty quickly. The same contact is used for repairs. They also have a Discourse Forum [forum.turris.cz] for a long time, where people can exchange bugs, issues, software and hardware mods, adapters etc. ## Other fun stuff The founder of Turris has a Blog [https://michal.hrusecky.net/]
alert-triangle
You must log in or register to comment.
  • Taasz/Woof ( MangoPenguin@lemmy.blahaj.zone ) 
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 years ago

    That seems a bit rough combining all those into one, can’t upgrade anything separately.

    I’m not sure on the security/safety of combining your gateway and NAS either.

    • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) OP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Having a router as a NAS is pretty standard.

      But you are right, it may be less secure.

  • xilliah ( xilliah@beehaw.org ) deleted by creator
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 years ago

    deleted by creator

    • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) OP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      I thought the same.

      I suppose they use stuff like real-time-kernels.

      Depending on your needs, a typical wifi router would need

      • some ARM SOC (optional) with a CPU with at least 1 GHz speed
      • 500MB RAM or so
      • 4GB of storage or so
      • PCIe (or m.2 or miniPCIe) slots to plug in
        • 1 WAN ethernet port, 1Gb/s up to 10 Gb/s
        • optionally a modem for fiber or whatever you use
        • 1 or more LAN ethernet ports, a bit lower speed
        • a wifi card (no idea why the Omnia has 2) with support for Wifi6
        • a few antennas, 1 or 2 are enough, to plug into the wifi card
      • power supply
      • USB or some other form to flash updates locally

      The software needs to run on there, being Linux based that should be absolutely no problem. But a RPi5 afaik still has no upstream Linux support, but it also way overpowered for that job.

      I totally think about building my own router, but also enjoy the service of Turris, their advanced OS that requires these high specs, their package repo and custom OS features not present in upstream OpenWRT.

  • N0x0n ( N0x0n@lemmy.ml ) 
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    They look very cool but IMO a bit overpriced for the proposed hardware spec?

    For the same price range you can get a full n100 16GB dual ethernet 2.5gbit with a 5x2.5gbit ethernet switch and wifi extender.

    But yeah those aren’t FOSS, so maybe that’s their selling point?

  • davel [he/him] ( davel@lemmy.ml ) 
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 years ago

    Edit to add: It appears that the “mt76” Wi-Fi 6 driver is open source:
    https://en.wikipedia.org/wiki/Comparison_of_open-source_wireless_drivers#Status


    Pardon my ignorance, but what Linux device driver(s) does one use for the Wi-Fi 6 11ax 4T4R Mini PCIe Module (AW7915-NP1)? I’ve been under the (hopefully false) impression that open source drivers don’t exist for Wi-Fi modules beyond the 802.11n (A.K.A. Wi-Fi 4) standard.

    Edit to add:
    Maybe the driver really is open source? I’m not familiar with Linux kernel/driver foo, so I’m not really sure, but this doesn’t look like a binary blob to me: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/wireless/mediatek/mt76/mt7915
    The code seems to be under the ISC license, which I’ve never encountered before, but it seems to me an open source license.

    • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) OP
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Interesting find! Cant help you thougj

  • Scipitie ( Scipitie@lemmy.dbzer0.com ) 
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    I haven’t found (while cross reading ) details about why the “highly improved” didn’t make it to upstream openwrt?

    • boredsquirrel (he) ( boredsquirrel@slrpnk.net ) OP
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      They contribute upstream, another user here is running upstream OpenWRT.

      I assume they just have a heavier WebUI and a more “bloated” configuration, which wouldnt suit OpenWRT

      • Scipitie ( Scipitie@lemmy.dbzer0.com ) 
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago

        Ah that would make sense, thanks!

Open Source@lemmy.ml

opensource@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !opensource@lemmy.ml

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

  • Open Source Initiative
  • Free Software Foundation
  • Electronic Frontier Foundation
  • Software Freedom Conservancy
  • It’s FOSS
  • Android FOSS Apps Megathread

Rules

  • Posts must be relevant to the open source ideology
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • !libre_culture@lemmy.ml
  • !libre_software@lemmy.ml
  • !libre_hardware@lemmy.ml
  • !linux@lemmy.ml
  • !technology@lemmy.ml

Community icon from opensource.org, but we are not affiliated with them.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 38 users / week
  • 93 users / month
  • 4.28K users / 6 months
  • 867 local subscribers
  • 49.5K subscribers
  • 3.01K Posts
  • 23.4K Comments
  • Modlog
  • mods:
  • Evan ( Cloak@lemmy.ml ) 
  • kevincox ( kevincox@lemmy.ml ) 
  • CrypticCoffee ( CrypticCoffee@lemmy.ml ) 
  • Lettuce eat lettuce ( Lettuceeatlettuce@lemmy.ml ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code