[04:41] Hey all, I was wondering, if I have an extra NIC on my machine, and want to say plugin a switch with a camera, can I VLAN it but still us it locally? is that possible without usuing a router [14:11] is there a package that provides /usr/lib/nagios/plugins/check_btrfs [14:11] nagios/icinga2 check command? [14:22] Aison0: monitoring-plugins-btrfs [16:28] Hey All, I have an extra NIC on my machine, is it possible to plug a switch into it with a camera VLAN it or do I need a router for something like that? [16:29] r0zy i guess you would need to explain it a little bit more [16:31] I have a security camera that I dont want on the main network, and a little POE switch, I want to plug that switch into an extra ethernet port on my machine (not connected to a router just the switch) can ubuntu give it an IP and gateway ect or is that something a router will have to do? [16:31] sorry if im not asking the right way or if its more a networking thing [16:32] the machine is connected to the router via main port [16:34] r0zy you could setup a dhcp server, or just give those two interfaces static ips [16:36] quadrathoch2 thannk you, is there a network manager GUI for ubuntu server? not the best at command [16:37] r0zy there should be nmtui [16:39] quadrathoch2 thank you again im going to give this a shot [16:46] r0zy: you could also use a separate VLAN for that camera, given your switch supports that. Less hassle [16:47] r0zy: btw, are you planning on connecting the camera to the same switch as the rest? just a different ip network? [16:47] royk its a small tp link poe switch i dont think it will even let me do any thing :( [16:48] r0zy: will that be dedicated for this camera network? [16:48] royk correct, yeah camera will go to that switch, i got it somewhat connected on my mint machine with link-local only but trying to get it on my ubuntu box [16:48] I guess im not that best at networking but understand it a bit [16:49] what sort of switch is this? [16:49] tp link [16:49] model? [16:49] tp-sg1005p [16:50] my other nic isnt activated or is showing as down, so fixing that first [16:50] * RoyK doesn't like unmanaged switches :þ [16:50] but hey - it'll work :) [16:51] royk what is your fav managed switch? are most of those enterpise sort of deals? [16:51] a lot of cheap switches are also managed [16:52] with a managed switch, you can monitor performance, setup VLANs, tagged or untagged, well, most, really [16:53] is "smart" managed the same thing? [16:53] most of them come with a webui and a serial/ssh interface for configuration and monitoring [16:53] probably same ballpark [16:54] oh ubiquity has one nice [16:54] they have a lot of nice things :) [16:55] r0zy https://networkengineering.stackexchange.com/questions/33719/what-is-the-difference-between-smart-vs-managed-switch [16:57] Thank you, NMTUI for some reason doesnt show my current connections but i will just do terminal I guess , brought it up with ip link do i need to install the DHCP part to assign proper gateway and IP? [16:57] quadrathoch2: IMHO it's the same - just synonyms - everything is marketed as "smart" these days even though we have had that smartness for decades [16:58] r0zy: which ubuntu version is this? [16:58] "The issue that makes us resist the idea of simply disabling [snap] updates altogether is that very often that will mean never update rather than update at someone’s discretion, and then we’re getting back to some of the problems that got us here in the first place. That’s why we’ve been resisting introducing that global switch, at least for the time being, and instead working with people to mitigate [16:58] the bad side effects of having automatic updates enabled." [16:59] royk: 18.04 [16:59] royk: 18.04.4 [16:59] As people running servers in production, how do you reconcile the direction Ubuntu is taking with snaps, with the need for stability and control over when services get updated/restarted? [17:02] royk Linux version 4.15.0-101-generic (buildd@lgw01-amd64-003) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #102-Ubuntu [17:04] rangergord I guess production supersedes security [17:04] just remove snapd [17:05] JanC, but given the direction things are taking, what happens in 22.04, 24.04, etc, when even your Postgres install is a snap? [17:05] and what if you want to update some packages but not others [17:05] I get Postgres from Postgres [17:05] that's you [17:05] that's not what the majority of a Linux server distro do [17:06] *users [17:06] rangergord just move on if you don't wanna use ubuntu, omg is it so hard? I mean you are not locked into the ecosystem by canonical [17:07] quadrathoch2, I'm trying to have a discussion with people who use Ubuntu Server in production, to see how they handle the things that worry me [17:07] if that's not you, if you're some fanboy, feel free to /ignore me [17:07] I'm a long-time Ubuntu fan (usually a version or two behind), this isn't some hit job [17:08] I'm planning my next generation of systems and had been planning to use Server 20.04, but I'm reading up about the snap situation and it's worrying me [17:08] I explained that I remove snapd, will see what happens in the future [17:09] yeah just remove snapd and move on, or just use another system. there are literally THOUSANDS of other distros [17:09] and I use Postgres packages from upstream [17:09] even which give you commercial support like redhat or suse [17:10] OK, so we have one guy who downloads and installs packages manually instead of using a package manager like everyone else, and another who feels personally attacked and tells me to stop using my favorite and most popular distro. Any 3rd opinions? [17:10] JanC, the reason I use the package manager is that Debian/Ubuntu maintainers will have made sure the package is properly configured to work with the current system [17:10] rangergord: upstream packages from the Postgres Ubuntu repositories [17:10] rangergord who tells you that it's the most popular distro? I guess we can all agree that nobody can say that [17:11] Postgres was just an example. I use hundreds of packages. [17:11] I also don't know what Canonical will do with Ubuntu... [17:13] and honestly how many packages do you know of which are only installable with snapd? I can pull out of my head exactly 3, chromium which just doesn't matter to -server and canonical-livepatch, I guess you are out of luck and lxd, which imho, just use lxc [17:13] and funny how I get called a fanboy, when I don't even have ubuntu right now installed [17:17] quadrathoch2, I just read about lxd and it seemed like a taste of things to come. Will almost everything on Server become a snap within 4 years? I'm not just concerned about right now, I'm building a foundation for the next several years. [17:17] making everything a snap would kill Ubuntu as a cloud OS [17:18] yup, and you don't need to run lxd in a snap, just compile it yourself for 20.04 [17:18] I don't know anything about cloud, I'm an embedded/IoT developer [17:18] well most people don't want to compile everything themselves, even if just from a security perspective [17:19] When assigning an IP to my unmanaged switch, is it assigning it to the switch it self or the camera connected? should i DHCP the interface ? [17:19] JanC yeah, i would also rather not (especially for production) but if there would be no way around it *shrug* if you really care that much about snapd [17:19] why would using snaps kill Ubuntu as a cloud OS? I'm already reading comments on Hacker News about snapd restarting various systemd services in the middle of operation, due to an auto-update of some snap. (they didn't specify which packages) [17:20] r0zy if the switch is really unmanaged, it shouldn't have an IP [17:20] Or I guess i mean assigning the ip to the interface [17:21] r0zy which interface specifically? [17:21] quad : enp3s0 ? [17:22] ah so you mean from the system [17:24] yeah, it looks like i got it set and connected... [17:24] I guess the easiest would be to setup a dhcp server on that one network link. if not, try to figure out which ip the camera has, and try to assign one in the same subnet to the (managed?) switch / desktop/server you got [17:24] i can ping the ip i set [17:24] r0zy great :) [17:25] now i guess i have to figure out the camera lol thank you for the help, I thinkyoure right though because how will the camera get an ip or is it the ip i set I would think id be able to http into it but maybe theres no webpage for it [17:25] oh i can ssh into it [17:25] even better :) hope you can now figure everything out r0zy [17:27] quadrathoc2 thank you for the help, any of you guys use proxmox? [17:28] r0zy I guess you would need to look somewhere else (even if it's based on debian/ubuntu), as we don't know what they changed from the "default" [17:36] is snap better than apt? or am i confused [17:36] whats weird is theres an rdp port open on this thing [17:36] reolink camera [17:37] Snap and apt are two differently ways to installs things. Sometimes one is better than the other one. But most people like apt more because of the history imho, and because apt is able to share libraries with other packages (where snap isolates the certain package) [17:37] r0zy are you sure? [17:37] well thanks ubuntu during an update renaming all my interfaces from enp* back to eth* [17:38] yeah when trying to connect it gives me an error about the libfreerdp does not support h264, and the work around is to install remmina from the flatpak/snap pacakges which i will try [17:39] mybalzitch never update (jokes) [17:42] maybe its just looping back to my own machine :() [17:43] How did you figure out that there is rdp open r0zy [17:43] nmap [17:44] yeah nm its just looping back to my self lol [17:44] quadrathoch2: one of the big differences (& problems) is that snaps always auto-update (unless that changed recently?) [17:44] wow headache [17:47] JanC yes you are right but for example where it really matters, for example in a business you can disable auto updates completely. (It’s an enterprise feature) I guess they never talked about that really a lot. So when the guy before was talking about production, it was clear he was a non paying customer [17:48] So seems like canonical wants to give incentives to pay for support [17:48] ugh, you mean you can disable it if you pay ransom? that's even worse... [17:49] I wouldn’t call it ransom, but the systems where it matters, you probably pay, and the rest is more of a test system / homelab POV maybe? Idk the reasoning why they want to do that [17:50] Imho same thing with live patching. But there they clearly stated that it’s a paid feature, so I guess less people have an issue with that [17:51] right [17:51] if they want snaps to be a paid feature, they shouldn't push it onto everyone [17:53] It’s not about snaps being a paid feature, it’s only specifically about removing the auto update ‘feature’) (and yes that’s why I don’t like snaps, but I wouldn’t go as far as not using the Distro or complain about it on an irc channel) [17:54] well, complaining is one way to tell people there is a problem :) [17:55] And btw, I only know about that commercial feature because Martin wimpress (Desktop leader) was talking about it on his podcast) so you can guess how well ‘known’ that feature is [17:57] I don't care too much that auto-update is the default (especially for user apps on the desktop) [17:57] (and I would care even less if the average snap was maintained well...) [17:59] okay I thought we were still talking about that as that’s what’s most people think is annoying [18:01] "default" means that you can disable it on systems that are used for real :) [18:35] andol, thx for the hint [18:35] why is "monitoring-plugins-btrfs" installed into "/usr/lib/nagios-btrfs/plugins/check_btrfs" and not /usr/lib/nagios/plugins/check_btrfs [18:36] icinga2 requires /usr/lib/nagios/plugins/check_btrfs [18:36] well, I created now a symlink === xMopx is now known as XmopX