[00:27] <goddard> hey
[00:27] <goddard> does the apache php mod give you a config file?
[00:27] <goddard> becuase my apache folder doesn't have one
[00:30] <sarnold> goddard: try dpkg -L libapache2-mod-php7.4
[00:31] <goddard> sarnold: thanks
[00:32] <goddard> how can i grab that config
[00:32] <sarnold> what does 'grab' mean?
[00:34] <JanC> I would expect config files to be in the usual locations...
[00:38] <JanC> so in /etc/apache2/mods-available/
[00:39] <JanC> see /usr/share/doc/apache2/README.Debian.gz for information about how Apache is configured in Debian/Ubuntu
[00:39] <sarnold> $ apt-file show libapache2-mod-php7.4
[00:39] <sarnold> libapache2-mod-php7.4: /etc/apache2/mods-available/php7.4.conf
[00:39] <sarnold> ... :)
[00:39] <sarnold> not everyone has apt-file configured
[00:39] <sarnold> but if you've got the modules installed, dpkg -L should report the same thing, no?
[00:40] <JanC> the whole "mods-available" etc. thing is Debian/Ubuntu-specific AFAIK, so reading the documentation is very useful, especially if you come from some other distro  :)
[00:41] <sarnold> yes, strongly recommended :)
[14:07] <ArnaudMartin99> Hello everyone, I am trying to configure my first Ubuntu server. After having seen many tutorials and looked for answers, I could configure the .yaml network file and execute sudo netplan --debug generate which ends up saying "definition wlp2s0b1 is not for us (backend 1)" and I can't connect to the Internet :/ Can you help me, please ?
[14:08] <daftykins> can you share the file?
[14:09] <daftykins> you should have one from the installer, but if you want a static IP etc, why not configure during install? not tough either way
[14:11] <ArnaudMartin99> network:
[14:11] <ArnaudMartin99>   wifis:
[14:11] <ArnaudMartin99>     wlp2s0b1:
[14:11] <ArnaudMartin99>       dhcp4: true
[14:11] <ArnaudMartin99>       optional: true
[14:12] <ArnaudMartin99>       access-points:
[14:12] <ArnaudMartin99>         "MY_SSID_HERE":
[14:12] <ArnaudMartin99>           password: "PASS_HERE"
[14:12] <ArnaudMartin99>   version: 2
[14:12] <ArnaudMartin99>   renderer: networkd
[14:13] <ArnaudMartin99> @daftykins is it better to have a static IP ?
[14:13] <daftykins> btw never paste to IRC, use paste sites
[14:13] <ArnaudMartin99> Ok sorry, I'll use paste sites next time :)
[14:13] <daftykins> well once you start running services (if that's your plan) you want a static IP, yes
[14:14] <rbasak> ArnaudMartin99: please paste the output of "ip link"
[14:14] <daftykins> never used wireless, totally inappropriate for servers
[14:14] <rbasak> (to paste.ubuntu.com for example, not here)
[14:14] <rbasak> pastebin.ubuntu.com
[14:15] <rbasak> Easy method: "ip link|pastebinit"
[14:15] <ArnaudMartin99> It's for a personal server at home, I thought it would be OK by wireless @daftykins
[14:16] <ArnaudMartin99> @rbasak How can I do that when it is on my other computer ? It is only in command line and without internet currently
[14:16] <rbasak> Oh right, sorry
[14:16] <rbasak> Please find some way to let us view the output
[14:17] <ArnaudMartin99> Is the third line only with the wlp2s0b1  ok ?
[14:18] <ArnaudMartin99> https://pastebin.ubuntu.com/p/ztsMNQxS2V/
[14:19] <ArnaudMartin99> If you also need the lo: and the enp1s0f0 lines let me know :)
[14:19] <rbasak> You typed that by hand?
[14:19] <ArnaudMartin99> Yes
[14:19] <rbasak> For all you know that's where the error is.
[14:20] <daftykins> i would really recommend just using a cable :) wired is best
[14:20] <rbasak> It seems a remarkable coincidence to me that your NIC is named exactly the same as in the netplan example docs
[14:20] <rbasak> And that netplan isn't finding your NIC based on the name you're giving it
[14:20] <rbasak> That's what I'd check first, anyway
[14:23] <ArnaudMartin99> Ok thank you. I don't understand what the NIC is
[14:23] <ArnaudMartin99> Is it the xx:xx:xx:xx:xx:xx address ?
[14:23] <daftykins> network interface card, the name of an interface
[14:24] <daftykins> rbasak is suggesting that you may have copied wlp2s0b1 from examples rather than it being the true name of your interface
[14:26] <ArnaudMartin99> Hmm. I installed some .deb files to activate WPA and then the wlp2s0b1 appeared after "ls /sys/class/net"
[14:26] <ArnaudMartin99> I copied it from there
[14:27] <ArnaudMartin99> @daftykins And I understand for the wire but I can't for now, maybe in a few weeks :/
[14:28] <daftykins> how come?
[14:28] <daftykins> physically move the system to beside your switch/router, plug it in and then you can SSH from your system and play around
[14:29] <ArnaudMartin99> It is a dual boot computer that is used by another person sometimes
[14:29] <daftykins> it's going to be like getting blood from a stone to try and configure WiFi on an offline system when you're new
[14:29] <daftykins> nasty
[14:29] <daftykins> that's not going to make a very good server, why don't you install virtualbox and create a VM - then start learning in there?
[14:29] <ArnaudMartin99> Well it seems so :P
[14:29] <daftykins> or any other virt tech
[14:30] <ArnaudMartin99> I thought I could handle it in an afternoon, but it seems too much. Maybe I'll do it like that :)
[14:30] <ArnaudMartin99> Thanks for the help @daftykins and @rbasak :)
[14:31] <daftykins> np
[18:11] <ArnaudMartin99> Good evening everybody, do you know what this error mean, while configurating a wireless connection on Ubuntu Serv 20 ? "NetworkManager: definition wlp2s0b1 is not for us (backend 1)" ? Thank you in advance :)
[18:13] <rbasak> Wait. NetworkManager? You didn't have that in your paste above. You were setting the renderer to networkd, so NetworkManager should have nothing to do with it.
[18:15] <ArnaudMartin99> Oh hi again rbasak :) Well I've been looking into the errors and it seems that there is no netplan generated because of this error at the end of "sudo netplan --debug generate"
[18:18] <ArnaudMartin99> Debugging netplan apply says :h ttps://paste.ubuntu.com/p/SDwRxgv9xt/
[18:18] <ArnaudMartin99> Sorry : https://paste.ubuntu.com/p/SDwRxgv9xt/
[18:20] <rbasak> DEBUG:no netplan generated NM configuration exists
[18:20] <rbasak> That seems odd
[18:20] <rbasak> I don't know netplan well
[18:20] <rbasak> But NM usually means NetworkManager
[18:20] <rbasak> Which seems odd.
[18:20] <rbasak> Is this actually a desktop installation?
[18:21] <rbasak> Does /etc/NetworkManager exist?
[18:21] <ArnaudMartin99> No it is the Server Edition : https://ubuntu.com/download/server
[18:22] <ArnaudMartin99> Yes it exists
[18:22] <rbasak> What's inside?
[18:22] <ArnaudMartin99> with dispatcher.d inside
[18:23] <rbasak> Just that? Then I guess it's not configured, so that's a red herring maybe.
[18:23] <ArnaudMartin99> and inside again, hook-network-manager
[18:23] <rbasak> In that case I don't know, sorry.
[18:24] <ArnaudMartin99> Ok ! Thanks anyway :)