#LOOKING FOR HELP Anyone around with

1 messages · Page 1 of 1 (latest)

granite nova
#

I am trying to migrate an IP camera setup that came with our house (and was previously using a Dripstone NVR which died) to Frigate.

The issue I have is trying to get the IP cameras directly onto my network. The Ethernet cables all terminate in a closet in our living room. That closet is quite a way away from my office where my main router/internet/switch live (and near impossible to rewire).

I have a new PoE switch I bought for the cameras, but I'm struggling to get these connected to the main network using the wifi since I can't get a hard wire from my office to this closet.

I bought a new wifi router that supports wifi bridging, but after setting up the bridge, connecting the cameras to the switch, and then connecting the switch to the bridged router, I do not see any of these cameras joining the network. It feels like this router might not quite support what I'm intending to do.

I also have a mini PC coming on Monday with dual LAN ports that I plan to run Debian/Ubuntu on acting as the Frigate server (and possibly for other purposes. I'm curious if I can use one of the LAN ports on this machine to setup a private LAN for the cameras, and then use the wifi on board to connect it to the main network.

Any suggestions, solutions, guidance is deeply appreciated.

devout moon
#

yes you can do that

granite nova
#

Which one?

quiet ether
#

Is the bridge router setup use the DHCP of the main router?

devout moon
#

using 2 nics on the mini pc

#

just set static ips and only specify 1 gateway

#

using a wifi bridge for camera streams is a bad idea

granite nova
granite nova
devout moon
#

I don't know of any

quiet ether
devout moon
#

1 camera maybe

#

but multiple over a wifi bridge doesn't sound fun

granite nova
#

@devout moon I feel like that may be part of the problem. Feels like the Wifi bridge only really wants to support a single Ethernet device

devout moon
#

so if the mini pc is wired to the switch that has the cameras, give the cameras static ips on a a subnet that's different than the main network

#

so if you use 192.168.10.0/24 for the cameras, you can give the server the ip 192.168.10.10/24 on that nic

#

with no default gateway specified

quiet ether
devout moon
#

as a bonus, the cameras won't have internet access

granite nova
#

I like that about this approach

#

I guess I'm just going to have to poke around when I get the mini PC to figure out how to get a subnet created on one of the LAN ports

#

I'm really hoping I can find some kind of visual network manager for Linux

devout moon
#

it's going to depend on what os you use

#

I did it on ubuntu

#

netplan makes it pretty easy

granite nova
#

Ubuntu is what I prefer to use as it's what I have the most experaince with, but most of my Linux experiance is in hosting web applications, software dev, and only minimal networking.

devout moon
#

yes

#

it comes with ubuntu

#
  ethernets:
    enp1s0:
      optional: true
      link-local: []
  vlans:
      camera-lan:
        id: 5
        link: enp1s0
        dhcp4: no
        dhcp6: no
        addresses: [192.168.10.10/24]
      main-lan:
        id: 1
        link: enp1s0
        dhcp4: no
        dhcp6: yes
        addresses: [192.168.1.10/24]
        routes:
          - to: default
            via: 192.168.1.1
        nameservers:
          search: [localdomain]
          addresses: [192.168.1.1]

  version: 2```
#

here's an example based on my config

#

I'm using vlans, but it would work the same for 2 separate interfaces

granite nova
#

@devout moon I see that you have DHCP turned off on the camera LAN, how do the cameras aquire IP addresses with that turned off (forgive my networking ignorance once again)?

devout moon
#

static ips on the cameras

#

I still have dhcp on for my camera vlan, but I don't use it for the server or cameras

#

in your case, you wouldn't have a dhcp server

granite nova
#

Did the cameras ship with static IPs, or how did you connect to them initially to give them IPs?

devout moon
#

all my cameras have it set up in their web page

#

so I use dhcp at first to connect to them

granite nova
#

Got it, and then once you fixed their IPs you were able to turn DHCP off?

devout moon
#

yes