[06:09] Good morning === cpaelzer__ is now known as cpaelzer [11:21] Hi - I'm trying to install Ubuntu-server 21.04, but it seems there is no netboot.tar.gz or anything similar any more? [11:21] no (and it was never a supported install method) [11:21] you can netboot the -live-server.iso [11:23] It wasn't? I've used it for many years, we have an install server for Debian and Ubuntu netboot/pxe. [11:24] discourse.ubuntu.com has several discussions about this [11:25] canonical's official position is that it's hard to support all the possible nonstandard installation methods (debootstrap, mini.iso, etc.) and so they're only supporting -live-server.iso and the cloud VM images these days [11:26] I'm not sure about the status of the legacy images. The current method for netboot is documented at https://ubuntu.com/server/docs/install/netboot-amd64 [11:33] mgedmin: I see. It looks like this new method is quite different, sorry to hear that the simple netboot method has been dropped. I'll see if I can get this to work. [11:41] rbasak: Thanks for the link. It seems that the pxelinux files are not available for hirsute unfortunately. [11:44] Peanut: I think that's an oversight/bug [11:45] Peanut: pxelinux.0 is fairly independent of the OS release. You can probably use http://archive.ubuntu.com/ubuntu/dists/focal/main/installer-amd64/current/legacy-images/netboot/ [11:45] (for pxelinux.0, not the others) [11:46] rbasak: Ok, thanks, I have those already on my install server. [12:01] X9DR3-F/i [12:01] Oops! [12:02] password change time! [12:03] *laugh* no, I don't use ancient SuperMicro mainboard product IDs as my password. [12:03] Using ancient SuperMicro mainboard product IDs as your password was a clever idea. Provides plausible deniability when you accidentally leak it :-P [12:10] Using an ancient SuperMicro mainboard however is a pretty poor idea, the thing won't netboot. [12:10] But that's not an Ubuntu problem. [12:12] Unable to webcam working on Macbook Air 2015. Any help ?\ [12:21] unwatchedtarget: try #ubuntu? This channel is for Ubuntu Server. [12:22] ok [15:35] Well, I've manged to install 21.04, sort of - I'm quite unimpressed by this new installer. It installed more than 9 GB, and so far is unusable because the network interfaces change name on every reboot (wasn't that fixed ages ago?) [15:39] The two interfaces seem to get into a race to see who gets to be named eth0 or eno0, so sometimes I have eno0/eth0, sometimes eno0/eno1, and at the moment it's eno1/eth1 which is utterly ridiculous :-) [17:37] Peanut: um... that doesn't sound like an issue with the installer. `eno0 or eno1` will be based on firmware/BIOS, if something else is renaming it to `eth` then that's something else taking precedence - kernel naming as failover when it can't get firmware/bios data [17:38] (https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ explains that behavior). [17:38] i've *never* seen a case where the installers (even 21.04) will not obey ^^ that [17:38] (and I did some 21.04 testing) [17:43] Peanut: the other cases I think are if `biosdevname` is installed or you have udev rules changing the names, those will take precedence. not sure if either of those got installed on your environment. [17:49] teward: Thanks for your reply. This is a clean install of 21.04, biosdevnames is not installed because the package no longer even exists (it existed in Bionic, but not in Focal or later). [17:51] If, after an install from the network (which populated /etc/netplan/something.yaml) you end up with a system without working network, I would call that a significant issue with the installer. [17:59] Peanut: sounds like a bug somewhere but one that is elsewhere than the installer. [17:59] ^^ [17:59] i'd point at firmware usually [17:59] Because interface name fixing needs to happen all the time (eg. if you hotplug a NIC or plug in a PCI NIC) rather than just at install time. [18:00] you... could reprogram the YAML and use a match argument to always match the network data [18:00] it won't fix the incorrect-yaml on install but will fix permanently going forward [18:04] Peanut: https://paste.ubuntu.com/p/2JTYV5Z2Vh/ for a static config example, https://paste.ubuntu.com/p/FXjJdGtXTP/ for DHCP [18:04] adjust config accordingly [18:04] this will guarantee that regardless of how the BIOS / system would detect the interface, the interface will always match and get the name 'mainif' in the configs [18:04] (these are based on the examples from https://netplan.io/examples/ ) [18:05] so if you consistently have a problem where your system is not getting a set interface name / ID because of whatever firmware issue you're having that is making Ubuntu have that issue (it's NOT an installer problem) then you can fudge it into place by using match-defined named interfaces. [18:06] which, if the system is consistently failing and falling back to unpredictive naming, then i'd use a match-based interface declaration to make sure the interface is defined properly in a way that is consistent. [18:08] just to make a point i have a server that sits on the WAN link and an internal network link, and I use match definitions to name them accordingly - wan, lan## (for VLAN ID because it's an access port on the switch it's connected to) [18:08] so i'm pretty familiar in how to make things work when the system out of the box does not with network matching/configuration ;) [18:10] Peanut: and I'm assuming the MAC address of your device isn't changing, so that should match properly in either example. [18:16] I have NEVER had an issue with interfaces "changing" on reboot, ubless I physically change the interface/nic [18:16] teward, and yes I have a setup like that also and use match directive [19:09] teward: Thanks for your replies - I was heading home for some dinner (shouldn't stay in the office till 8pm!). I had indeed already added 'match' directives to somewhat sidestep the issue. The machine now does come up with networking, but it still hangs for a long time during boot where systemd says that it is waiting for the network to start. [19:11] Ussat: I've been installing Ubuntu boxes for over a decade, and network interfaces renaming themselves is unfortunately somewhat of an endemic problem. I though systemd had finally fixed that, but perhaps that's now in a race condition with netplan? On my other servers, I don't even install netplan, and that's been very steady with the long interface names (enp3s189f0 and the like) [19:16] Peanut: netplan only generates systemd-networkd configuration files [19:16] Peanut: you can write those yourself if you'd rather [19:20] sarnold: I'd rather keep using /etc/network/interfaces, these are servers with completely static networking configs, so any additional steps just lead to more confusion and failure modes. [19:38] Peanut, I run..a lot, and have NEVER had that issue [19:39] I use netplan with completely static, almost everything I have is static [19:40] if you MUST; https://askubuntu.com/questions/1031709/ubuntu-18-04-switch-back-to-etc-network-interfaces [19:40] i DONT RECCOMEND [19:41] Ussat: BUT I'M DOING THAT ALREADY! ;-) [19:41] And on 20.04, too.. [19:41] https://netplan.io/faq/#how-to-go-back-to-ifupdown [19:41] Actually, I end up removing netplan, resolvconf and a few other things that just make absolutely no sense to me - perhaps I should give Devuan a try. [19:41] TBH I have never had the issue of interfaces randomly changing [19:42] "give Devuan a try" um....sure === not_phunyguy is now known as phunyguy [20:57] few other things that just make absolutely no sense to me <<--- scary [20:58] Peanut: I think you've got a larger problem than 'netplan' here - the fact you don't have any idea how these things work is a larger problem than you're going to encounter. The longer you try and stick with `ifupdown` the more and more you won't be able to get support for your infrastructure. When the netplan switch happened I was in the same boat, but once you actually get an understanding of the netplan configuration it's scarily [20:58] simple compared to ifupdown [20:58] resolvconf is equally important, etc. [20:59] if none of these core components make sense, you should probably consider hiring a linux admin instead of trying to keep yourself on the legacy obsolete things. [21:01] teward: It looks scarily simple, and it would be - if it actually worked. Your other comments are uncalled for and unfriendly. [21:02] teward, I was also in that boat, but after useing netplan, I REALLY like it [21:02] Ussat: i dont' disagree I love it [21:03] OH NO...safe space neded [21:03] Peanut, I really does work quite well [21:10] which comments? keeping yourself on legacy software, or hiring an admin? I should point out SysvInit is even older than netplan, and MOST distributions have switched from it. "Unfriendly" is an opinion but I don't believe I was actually being intentionally unfriendly, just making a point. [21:11] if you don't like the decisions Ubuntu has made in terms of the way the OS will move forward then yes perhaps Ubuntu is not for you, except we've been using SystemD and Netplan since 2018 with LTSes so... [21:35] Telling someone to 'hire an admin' is pretty condescending, and definitely the opposite of being helpful when someone tries to discuss actual buggy behaviour. I'm glad these services work well for you, enjoy. === de-facto_ is now known as de-facto