/srv/irclogs.ubuntu.com/2021/03/17/#ubuntu-server.txt

goddardhey00:27
goddarddoes the apache php mod give you a config file?00:27
goddardbecuase my apache folder doesn't have one00:27
sarnoldgoddard: try dpkg -L libapache2-mod-php7.400:30
goddardsarnold: thanks00:31
goddardhow can i grab that config00:32
sarnoldwhat does 'grab' mean?00:32
JanCI would expect config files to be in the usual locations...00:34
JanCso in /etc/apache2/mods-available/00:38
JanCsee /usr/share/doc/apache2/README.Debian.gz for information about how Apache is configured in Debian/Ubuntu00:39
sarnold$ apt-file show libapache2-mod-php7.400:39
sarnoldlibapache2-mod-php7.4: /etc/apache2/mods-available/php7.4.conf00:39
sarnold... :)00:39
sarnoldnot everyone has apt-file configured00:39
sarnoldbut if you've got the modules installed, dpkg -L should report the same thing, no?00:39
JanCthe 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:40
sarnoldyes, strongly recommended :)00:41
=== de-facto_ is now known as de-facto
=== Napsterbater_ is now known as Napsterbater
=== lotuspsychje_ is now known as lotuspsychje
ArnaudMartin99Hello 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:07
daftykinscan you share the file?14:08
daftykinsyou should have one from the installer, but if you want a static IP etc, why not configure during install? not tough either way14:09
ArnaudMartin99network:14:11
ArnaudMartin99  wifis:14:11
ArnaudMartin99    wlp2s0b1:14:11
ArnaudMartin99      dhcp4: true14:11
ArnaudMartin99      optional: true14:11
ArnaudMartin99      access-points:14:12
ArnaudMartin99        "MY_SSID_HERE":14:12
ArnaudMartin99          password: "PASS_HERE"14:12
ArnaudMartin99  version: 214:12
ArnaudMartin99  renderer: networkd14:12
ArnaudMartin99@daftykins is it better to have a static IP ?14:13
daftykinsbtw never paste to IRC, use paste sites14:13
ArnaudMartin99Ok sorry, I'll use paste sites next time :)14:13
daftykinswell once you start running services (if that's your plan) you want a static IP, yes14:13
rbasakArnaudMartin99: please paste the output of "ip link"14:14
daftykinsnever used wireless, totally inappropriate for servers14:14
rbasak(to paste.ubuntu.com for example, not here)14:14
rbasakpastebin.ubuntu.com14:14
rbasakEasy method: "ip link|pastebinit"14:15
ArnaudMartin99It's for a personal server at home, I thought it would be OK by wireless @daftykins14:15
ArnaudMartin99@rbasak How can I do that when it is on my other computer ? It is only in command line and without internet currently14:16
rbasakOh right, sorry14:16
rbasakPlease find some way to let us view the output14:16
ArnaudMartin99Is the third line only with the wlp2s0b1  ok ?14:17
ArnaudMartin99https://pastebin.ubuntu.com/p/ztsMNQxS2V/14:18
ArnaudMartin99If you also need the lo: and the enp1s0f0 lines let me know :)14:19
rbasakYou typed that by hand?14:19
ArnaudMartin99Yes14:19
rbasakFor all you know that's where the error is.14:19
daftykinsi would really recommend just using a cable :) wired is best14:20
rbasakIt seems a remarkable coincidence to me that your NIC is named exactly the same as in the netplan example docs14:20
rbasakAnd that netplan isn't finding your NIC based on the name you're giving it14:20
rbasakThat's what I'd check first, anyway14:20
ArnaudMartin99Ok thank you. I don't understand what the NIC is14:23
ArnaudMartin99Is it the xx:xx:xx:xx:xx:xx address ?14:23
daftykinsnetwork interface card, the name of an interface14:23
daftykinsrbasak is suggesting that you may have copied wlp2s0b1 from examples rather than it being the true name of your interface14:24
ArnaudMartin99Hmm. I installed some .deb files to activate WPA and then the wlp2s0b1 appeared after "ls /sys/class/net"14:26
ArnaudMartin99I copied it from there14:26
ArnaudMartin99@daftykins And I understand for the wire but I can't for now, maybe in a few weeks :/14:27
daftykinshow come?14:28
daftykinsphysically move the system to beside your switch/router, plug it in and then you can SSH from your system and play around14:28
ArnaudMartin99It is a dual boot computer that is used by another person sometimes14:29
daftykinsit's going to be like getting blood from a stone to try and configure WiFi on an offline system when you're new14:29
daftykinsnasty14:29
daftykinsthat'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
ArnaudMartin99Well it seems so :P14:29
daftykinsor any other virt tech14:29
ArnaudMartin99I thought I could handle it in an afternoon, but it seems too much. Maybe I'll do it like that :)14:30
ArnaudMartin99Thanks for the help @daftykins and @rbasak :)14:30
daftykinsnp14:31
=== dosaboy_ is now known as dosaboy
ArnaudMartin99Good 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:11
rbasakWait. 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:13
ArnaudMartin99Oh 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:15
ArnaudMartin99Debugging netplan apply says :h ttps://paste.ubuntu.com/p/SDwRxgv9xt/18:18
ArnaudMartin99Sorry : https://paste.ubuntu.com/p/SDwRxgv9xt/18:18
rbasakDEBUG:no netplan generated NM configuration exists18:20
rbasakThat seems odd18:20
rbasakI don't know netplan well18:20
rbasakBut NM usually means NetworkManager18:20
rbasakWhich seems odd.18:20
rbasakIs this actually a desktop installation?18:20
rbasakDoes /etc/NetworkManager exist?18:21
ArnaudMartin99No it is the Server Edition : https://ubuntu.com/download/server18:21
ArnaudMartin99Yes it exists18:22
rbasakWhat's inside?18:22
ArnaudMartin99with dispatcher.d inside18:22
rbasakJust that? Then I guess it's not configured, so that's a red herring maybe.18:23
ArnaudMartin99and inside again, hook-network-manager18:23
rbasakIn that case I don't know, sorry.18:23
ArnaudMartin99Ok ! Thanks anyway :)18:24
=== Guest81281 is now known as catalase

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!