After a hardware upgrade I ended up with a spare mini pc. Noticed these two icons and thought I might be able to use it as a WiFi access point with VLANs using OPNsense.

Is that possible? If so, what do I even need to buy to plug into there?

I don’t need it to do any fancy dhcp, dns or firewall stuff, I just need a WiFi access point with support for VLANs.

  • floofloof@lemmy.ca
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    1 month ago

    Not all of these mini PCs have a wifi card in them even if they have the antennas for it. You might start by opening it to check whether the wifi antennas are connected, or whether you need to add a WiFi card.

    I think OPNsense would do what you’re looking for. I use it on a mini PC as my router, and it’s great, but I have not used it for WiFi (I run a separate access point). The limitation is WiFi hardware support. You will need to make sure your mini PC’s WiFi card has a driver in FreeBSD. Intel hardware is often a better bet than Realtek etc.

    https://docs.opnsense.org/manual/how-tos/interface_wireless_internal.html

    • elyviere@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 month ago

      I also use opnsense on a mini pc as a firewall, works great :)

      Seems that using it for WiFi is a little iffy based on most of these comments though. The guide you linked also didn’t cover much info about hardware, and I can’t see VLAN-support either, so maybe I should just give in and buy a ubiquity one instead.

  • AbidanYre@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    1 month ago

    You’d probably be a lot better off buying a decent access point (unifi, mikrotik, Aruba instanton).

        • elyviere@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          It’s mostly just a strong preference, so if I can reasonably do it I’d like to. Some great info in that post, thanks for finding it!

      • Nyes?

        GL-iNet devices run DD-WRT, with an added (probably not open source) web interface. However, if you ssh into any of their routers, it’s BusyBox and DD-WRT. And if you click go into the admin web page and click System->Advanced you end up with a link that takes you to luci, the raw DD-WRT web UI for the device. The company’s UI is just a simpler, more pretty UI on top of DD-WRT.

  • umbrella@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    yes do it.

    depending on what you get for a wifi card, you might want to virtualize some flavor of linux like openwrt to run the wifi.

    bsd (opnsense, pfsense) is notoriously bad for wifi support.

    the biggest challenge here is selecting the right wifi hardware imo.

  • mlg@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 month ago

    You might want to check what the actual hardware is first. You’ll probably be fine, but client 802.11 hardware can sometimes be underwhelming for hosting because they don’t have good stuff like beefed up MuMIMO.

    Although that’s assuming you will have a lot of traffic going through it, so you could always just test throughput and latency with iperf to see how well it functions.

    • elyviere@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      I’d probably have to buy something before it supports WiFi. It’s built to run pfsense (has 4 ethernet ports) so I imagine that it would run just fine if I got it a good antenna, but who knows.

      • qbus@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 month ago

        You should probably open it up and see if there’s even a Wi-Fi radio in there it’s probably not there because when they’re installed those plugs are removed and the screw terminals for the antenna are in their place

    • elyviere@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      I already have an opnsense router as firewall, so I don’t really need that part. Was just looking to add a WiFi access point.

      Haven’t heard of freshtomato before but this seems like a nice option. I’ll look into it, thx for the suggestion!

  • pHr34kY@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    I’ve done this before on Ubuntu. You can install nftables for routing, then install hostapd for a wifi AP.

    • elyviere@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      Sounds like a pain to configure compared to some of the more designated systems. Is the advantage that you use Ubuntu for other things as well, so it’s a more multifunctional system?

      • pHr34kY@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 month ago

        That’s basically it. My Ubuntu server is a router, NAS, plex server, public statum-1 NTP server, wordpress server, nextcloud server, security camera NVR, SMTP/IMAP mail server, CUPS print server, tor relay, and probably a few other things I forgot about.

        You can do a lot with a single CPU from 2015.

        I don’t have hostapd on it anymore. I now have dedicated APs on OpenWRT. The main problem with using a WNIC for an AP is that they don’t typically have a very strong broadcast output. I had to add an amplifier, and even then it wasn’t great.