[00:27] hey [00:27] does the apache php mod give you a config file? [00:27] becuase my apache folder doesn't have one [00:30] goddard: try dpkg -L libapache2-mod-php7.4 [00:31] sarnold: thanks [00:32] how can i grab that config [00:32] what does 'grab' mean? [00:34] I would expect config files to be in the usual locations... [00:38] so in /etc/apache2/mods-available/ [00:39] see /usr/share/doc/apache2/README.Debian.gz for information about how Apache is configured in Debian/Ubuntu [00:39] $ apt-file show libapache2-mod-php7.4 [00:39] libapache2-mod-php7.4: /etc/apache2/mods-available/php7.4.conf [00:39] ... :) [00:39] not everyone has apt-file configured [00:39] but if you've got the modules installed, dpkg -L should report the same thing, no? [00:40] 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] yes, strongly recommended :) === de-facto_ is now known as de-facto === Napsterbater_ is now known as Napsterbater === lotuspsychje_ is now known as lotuspsychje [14:07] 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] can you share the file? [14:09] 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] network: [14:11] wifis: [14:11] wlp2s0b1: [14:11] dhcp4: true [14:11] optional: true [14:12] access-points: [14:12] "MY_SSID_HERE": [14:12] password: "PASS_HERE" [14:12] version: 2 [14:12] renderer: networkd [14:13] @daftykins is it better to have a static IP ? [14:13] btw never paste to IRC, use paste sites [14:13] Ok sorry, I'll use paste sites next time :) [14:13] well once you start running services (if that's your plan) you want a static IP, yes [14:14] ArnaudMartin99: please paste the output of "ip link" [14:14] never used wireless, totally inappropriate for servers [14:14] (to paste.ubuntu.com for example, not here) [14:14] pastebin.ubuntu.com [14:15] Easy method: "ip link|pastebinit" [14:15] It's for a personal server at home, I thought it would be OK by wireless @daftykins [14:16] @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] Oh right, sorry [14:16] Please find some way to let us view the output [14:17] Is the third line only with the wlp2s0b1 ok ? [14:18] https://pastebin.ubuntu.com/p/ztsMNQxS2V/ [14:19] If you also need the lo: and the enp1s0f0 lines let me know :) [14:19] You typed that by hand? [14:19] Yes [14:19] For all you know that's where the error is. [14:20] i would really recommend just using a cable :) wired is best [14:20] It seems a remarkable coincidence to me that your NIC is named exactly the same as in the netplan example docs [14:20] And that netplan isn't finding your NIC based on the name you're giving it [14:20] That's what I'd check first, anyway [14:23] Ok thank you. I don't understand what the NIC is [14:23] Is it the xx:xx:xx:xx:xx:xx address ? [14:23] network interface card, the name of an interface [14:24] rbasak is suggesting that you may have copied wlp2s0b1 from examples rather than it being the true name of your interface [14:26] Hmm. I installed some .deb files to activate WPA and then the wlp2s0b1 appeared after "ls /sys/class/net" [14:26] I copied it from there [14:27] @daftykins And I understand for the wire but I can't for now, maybe in a few weeks :/ [14:28] how come? [14:28] 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] It is a dual boot computer that is used by another person sometimes [14:29] 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] nasty [14:29] 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] Well it seems so :P [14:29] or any other virt tech [14:30] I thought I could handle it in an afternoon, but it seems too much. Maybe I'll do it like that :) [14:30] Thanks for the help @daftykins and @rbasak :) [14:31] np === dosaboy_ is now known as dosaboy [18:11] 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] 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] 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] Debugging netplan apply says :h ttps://paste.ubuntu.com/p/SDwRxgv9xt/ [18:18] Sorry : https://paste.ubuntu.com/p/SDwRxgv9xt/ [18:20] DEBUG:no netplan generated NM configuration exists [18:20] That seems odd [18:20] I don't know netplan well [18:20] But NM usually means NetworkManager [18:20] Which seems odd. [18:20] Is this actually a desktop installation? [18:21] Does /etc/NetworkManager exist? [18:21] No it is the Server Edition : https://ubuntu.com/download/server [18:22] Yes it exists [18:22] What's inside? [18:22] with dispatcher.d inside [18:23] Just that? Then I guess it's not configured, so that's a red herring maybe. [18:23] and inside again, hook-network-manager [18:23] In that case I don't know, sorry. [18:24] Ok ! Thanks anyway :) === Guest81281 is now known as catalase