• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle


  • No, that’s handled by ARP requests. In this case, it’s likely that the DHCP server is on the gateway, as that’s a pretty common setup for home ISP router arrangements.

    Gateway refers to a router that has access to other networks. In this case, the default gateway, which will be the router that has access to the internet.

    DNS or name servers are a separate option in DHCP leases, as are the IP addresses for DHCP servers, which are more of a windows thing generally.

    In this case this comment is probably an accurate description of what’s happened:

    https://lemm.ee/comment/7429148


  • I’d hesitate to call it truly enterprise, but I’ve used the 24 port/10Gbe version of these in a datacenter. Not many issues to write home about - seems to handle vlanning pretty well.

    Has 10Gbe uplinks, US power, and PoE+. Probably access to a fancy dashboard too.

    $1600 is probably as cheap as you’re getting.

    Edit: Oh yeah, they’re probably not dual attached, and the ‘redundant power supply’ (RPS) is a separate appliance, which I consider kinda bullshit, that takes up another U.

    I’ve had no trouble with actual switching performance though fwiw.

    Edit 2: They’re probably compatible with the AR mobile app, which is hella cool, and somewhat useful in customer sites.

    48 port Ubiquiti




  • med@sh.itjust.workstoSelfhosted@lemmy.worldNetworking Help
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Sweet! Yeah, I’m guessing that the iptables-mangle and landing page link setup relies on getting that IP before populating the page, and that it’s not reactive to changing IP address. It might have worked if you were disconnecting networking all together, and joining a different network, but with the wonky way wifi roaming actually works, the mediabox management scripts probably never noticed there was a need to re-trigger.

    You’re looking for mdns! Depends on which distro you’re on. For apt based stuff like mint, look for mdns (used to be libnss-mdns on raspberry pis, guessing it’s the same for mint? It’ll install avahi zeroconf stuff if it’s not there already. Check the service is running, then ping $HOSTNAME.local - replace with whatever your host name is.


  • med@sh.itjust.workstoSelfhosted@lemmy.worldNetworking Help
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    If you’re starting the mediabox setup on the isp network, it’s doing local natting with iptables, based on the IP that it resolves from the hostname. Probably would need to shut down and re-up to walk between the deco’s and the isp wifi domains.

    I agree with the other comments, looks like you might be in a double NAT scenario - fortunately for you, I think I know how to fix it, seeing as we’re both running deco’s!

    You want to go into the smartphone app, go to ‘More’ at the bottom right, (as opposed to ‘Network’), Advanced > Operation Mode > Access point.

    Be aware this will cause a disruption, and anything connected to them will need to be reconnected so it gets dhcp/ip addressing from the isp router rather than the deco.

    The other alternative is, if they’re already in AP mode, it might be recognizing the deco SSID as a separate network to your ISP’s router, and randomizing your mac address (for anonymity across airports and hotels and such). Then, with your original mac address holding the first IP in lease, your ‘new’ mac address gets a different one. Check your mac with ip link too when connected to the two different networks, and see if you can find an option to set it manually for both networks, or just use your default one for those networks.

    I’d love to hear how you get on, I’ve been putting off building this exact solution (mediabox) from scratch, had no idea there was a project set up to run it all


  • Can you give us some more details about how your network, mesh and machines are setup?

    Are you trying to access the containers from the machine they’re running on, or from a different machine?

    Is the container host moving between different AP’s, or is it on ethernet?

    What IP address do you get when connected to the different access points? Does it change?

    Are your access points in Access Point only mode, or are they acting as routers? What brand/model?

    How are the mesh access points connected - powerline, ethernet, wifi meshing?



  • I would not consider Mermaid complete enough for network diagramming. The very basics are possible, but try to describe anything more complicated throws off the placement and makes the pathing whacky.

    Straight flow charts are the closest you can get to a network diagram, so if you try to draw a link that travels back up the chart, it breaks mermaid’s brain trying to figure out the order of decision points (network devices).

    The allure of text based diagrams is so tantalizing - but if you need them to be functional, it’s not going to happen

    There’s an issue tracking the need a new diagram type to handle it.


  • If the files exist, are regular, are correct and the permissions don’t prohibit access, maybe there’s something else blocking the connection attempt.

    Given that it’s ubuntu, could it be an AppArmor thing? Not sure if that’s enabled by default these days.

    Seems to me like it can’t run the binaries, so there’s nothing listening on the sockets you’ve specified. Fix the bin-path issue, fix the problem




  • There’s been some nasty buggery with avahi instances on containers clashing with host ones in the past

    Some programs just don’t like to run without access to parts to your system like /proc /sys and /run.

    Rather than bother with crafting bespoke permissions, non-default cgroups and elevated rights for certain containers, I’ve definitely opted for just installing a VM.

    It was always a time/functionality choice, and not one I make often - crafting the right solution is always better; but I have done it