=== alucardromero2 is now known as alucardromero | ||
=== luke_ is now known as JohnPlayer | ||
=== preson1c is now known as highrate | ||
=== chris14_ is now known as chris14 | ||
Josephur | Hello, setup my first web server using Ubuntu to self host a few of my own sites. I want to enable sendmail to use an smtp relay, but all the tutorials I seem to find are old etc... anyhow I use Google Workspace for email hosting, am I correct that all I would need is my servers IP in my SPF record, and a config somewhere to tell sendmail to use Google's SMTP relay servers? | 03:09 |
---|---|---|
sarnold | why sendmail specifically? | 03:10 |
Josephur | All I need is the ability for PHP to send email | 03:10 |
Josephur | don't really care about the rest of the system | 03:10 |
Josephur | I guess it doesn't have to be sendmail, anything that'll work with PHP's mail() should work | 03:10 |
sarnold | ah. try postfix instead, the tutorials will probably be from this century :) | 03:10 |
Josephur | LOL is that why they all seem so old | 03:11 |
sarnold | yeah, sendmail was in main in 14.04 but demoted to universe in 16.04 .. | 03:11 |
Josephur | I was starting to think something was up, I'm like why is this info so hard to find, and why do all the video tutorials on youtube blow :P | 03:11 |
Josephur | Thank you I will look into that :) | 03:11 |
sarnold | .. and imho that transistion could have happened eight or ten years earlier than that, even :) postfix is pretty decent | 03:12 |
* Josephur uninstalls sendmail | 03:12 | |
Josephur | holy crap postfix pops up a config dialog on install even LOL | 03:13 |
Zed | yeah - install bind, then postifx then be happy | 03:14 |
Zed | its as straight forward as it gets... It'll take longer to configure your DNS | 03:14 |
Zed | Test it with mxtoolbox.com | 03:15 |
Josephur | Do I need bind? I'm asking because I use a cloudflare tunnel to proxy anything to this server, and only web server ports are open, it doesn't need to do it's own dns? | 03:15 |
Zed | ah | 03:15 |
Josephur | I literally just need a way for php mail() to work, simple as possible, it looks like postfix is gunna do the job though, configuring it now :) | 03:15 |
Zed | Correct I meant set up the DNS at your DNS provider | 03:16 |
Zed | to point to the box | 03:16 |
Josephur | Well shouldn't even need that since relaying through the SMTP relay that is google's server. Should just need the IP in the SPF record so Google trusts it | 03:16 |
Josephur | Question is do I set postfix up to use the single domain for outbound email, or is there a way for it to work with apache/php so there's a config file for each individual domain I point at the box.. hmmmm | 03:18 |
Josephur | I'll start simple and get complex later :P | 03:18 |
Zed | always a good idea | 03:22 |
Josephur | cat /etc/ssl/certs/thawte_Premium_Server_CA.pem | tee -a /etc/postfix/cacert.pem | 03:25 |
Josephur | <------- my system doesn't have this root cert... following a tutorial from last year even | 03:25 |
Josephur | Why is it always something..... :P | 03:25 |
Josephur | Let me check my ssl installs, I'm sure I'm missing one | 03:26 |
Josephur | No dice, wonder if I can just pick any root CA cert? | 03:29 |
Josephur | libssl is installed, openssl too, and libssl-dev | 03:29 |
sarnold | I'd probably recommend going through letsencrypt to get a certificate | 03:30 |
sarnold | there might be good reason to pay one of the CAs for it but it's harder for me to see it these days :) | 03:30 |
Josephur | It uses a CA cert for some reason, I'm not certain you want a selfmade one | 03:30 |
Josephur | Tutorial I'm following: https://wasteofserver.com/postfix-using-gmail-as-a-relay/ | 03:31 |
Josephur | There's tons of other root CA certs in the folder, just not that specific one.. hmm | 03:32 |
Josephur | Ah well I found where to download it from :/ | 03:32 |
sarnold | I wish that guide said why *that* certificate | 03:34 |
sarnold | google isn't using it now https://paste.debian.net/1311584/ | 03:34 |
Josephur | I found it though, but the test mail did not work sooo I'm guessing I need whatever root cert Google is using | 03:37 |
Josephur | Globalsign it appears? | 03:37 |
Josephur | ah yes there's a ton of Globalsign certs | 03:38 |
Josephur | lol | 03:38 |
Josephur | Still no dice, will have to look into postfix's logs and see what is failing :/ | 03:39 |
Josephur | josephur@ST-WEB-01:/etc/postfix$ echo "Test mail from postfix" | mail -s "Test Postfix" my.email@here.com = nothing | 03:39 |
sarnold | yeah definitely check your logs :) anything else is stabbing blindly in the dark | 03:40 |
Josephur | uhhhh | 03:42 |
Josephur | I think it might be that mail is using procmail instead of postfix? | 03:42 |
Josephur | Keep in mind I'm a newb here at postfix | 03:42 |
Josephur | wtf -id=<20240322033905.5D31AC040C@ST-WEB-01.mshome.net> | 03:43 |
Josephur | Why is my server saying .mshome.net ? | 03:43 |
Josephur | That is no where in the hosts file or anything I did | 03:43 |
Josephur | aha found it | 03:44 |
Guest24 | Ich habe eine Transgender Pride Flagge in kleine Stücke geschnitten, habe dann mit den Flaggenstücken die Toilette ausgelegt und draufgekackt. Es war extrem geil mir mit den samtig weichen blau rosanen Stücken den Arsch zu wischen und anschließend alles runterzuspülen. Es erregt mich extrem das die Pride Flagge die vorher stolz auf etlichen | 03:47 |
Guest24 | CSDs getragen wurde jetzt voller Scheiße geschmiert in der Kanalisation schwimmt und die ganze Stadt draufpisst. | 03:47 |
Guest24 | I cut a transgender pride flag into small pieces, then lined the toilet with the flag pieces and pooped on it. It was extremely hot to wipe my ass with the velvety soft blue-pink pieces and then flush it all down. It really upsets me that the pride flag, which was previously proudly worn at several CSDs, is now floating in the sewers covered in | 03:47 |
Guest24 | shit and the whole city is pissing on it. | 03:47 |
Josephur | Wow, such shitty spam. | 03:47 |
Josephur | shit I deleted /var/log/mail.log and now mail doesn't seem to re-create it :/ | 03:51 |
sarnold | you could probably use ln /proc/pid/fd/...something... /var/log/mail.log from the postfix server to put it back into place .. | 03:52 |
Josephur | I rebooted and it came back :D | 03:52 |
sarnold | but since it's brand new it's probably easier to just restart postfix and send another email, that'd probably do the trick | 03:52 |
Josephur | ok so we're getting communication to gmails servers, however its not accepting the message. hmmm | 03:53 |
Unit193 | rDNS, not on Spamhaus, DKIM, SPF? | 03:53 |
Josephur | oh I did not check my IP to see if its on a blacklist, good idea | 03:53 |
sarnold | talking with gmail is challenging. you'll probably need to go beyond my knowledge, and you might even need to find very very recent documentation, since they're currently tightening their requirements for delivering *to* gmail personal users, it's possible that they are also raising the requirements for delivering through their infrastructure | 03:54 |
Unit193 | UCE3 doesn't count as a real blacklist. | 03:54 |
sarnold | heya Unit193 bye Unit193 :) | 03:54 |
sarnold | Josephur: i'm headed out, good luck :) | 03:54 |
Unit193 | G'night. | 03:54 |
Josephur | What I'm seeing: https://pastebin.com/fVCthbEH | 03:55 |
Josephur | Looks like might be a few things | 03:55 |
Josephur | it thinks support@ doesn't exist, but it does... but the from email needs to be my account email not josephur@ST-WEB-01 lol | 03:55 |
Josephur | I don't get it though, you follow a dang tutorial done in the last year, and still have issues.. always something with Linux I swear :P | 03:56 |
Josephur | it's using relay=local but the expected should be | 04:00 |
Josephur | relay=smtp.gmail.com | 04:00 |
Josephur | hmmmm I have it defined in the config file | 04:00 |
Josephur | Yeah I'm at a loss, I can't figure out why its using localhost for the relay and not the one I defined in postfix's main.cf file | 04:07 |
Josephur | unless you can't tack it on the bottom and the config needs to be placed in a certain order... | 04:07 |
Josephur | it's clearly defined... | 04:08 |
Josephur | relayhost = [smtp.gmail.com]:587 | 04:08 |
Josephur | aha! | 04:12 |
Josephur | "relayhost is only used when you are sending email that is routed to a 'remote' host. | 04:12 |
Josephur | " | 04:12 |
Josephur | And my server is the same domain name as the host I'm sending email to LOL | 04:12 |
Unit193 | Will that even work? Doesn't Gmail require oauth2? | 04:15 |
Josephur | Not if your a Google Workspace customer and have it configured | 04:20 |
Josephur | 2FA is required to be on, "Allow non secure apps" turned on, and I'm guessing SPF record needs to match your servers IP too | 04:20 |
Josephur | With those options you can send up to 10k emails a month via the smtp relay | 04:20 |
Josephur | I'm getting closer, now I'm getting an encryption error which I think is fixable! | 04:21 |
Unit193 | Nice. | 04:21 |
Unit193 | I'm on the other end, I have postfix on my server and need to send *to* gmail, which is actually more accepting than MS stuff (outlook, hotmail, etc.) | 04:22 |
Josephur | WOOHOO it fucking works | 04:23 |
Josephur | Now question is, does it work to email addresses in my domain | 04:24 |
Josephur | since the server has my .com as one of its hostnames, it tried before to use localhost as email relay instead of the google smtp server :/ | 04:24 |
Josephur | Ugh yeah I can't send email to my own domain only external ones, LOL | 04:25 |
Josephur | What an odd problem, I wonder if there's a way to tell postfix to ALWAYS use the relay | 04:25 |
Josephur | mydestination = $myhostname, stack-tech.com, ST-WEB-01, localhost.localdomain, localhost | 04:25 |
Josephur | I wonder if that's the setting I need to nuke | 04:26 |
Josephur | I think I'll make an updated YT video on how to do this, some other postfix user out there is probably finding the shitty old tutorials I found | 04:27 |
Josephur | removing stack-tech.com from that line did indeed resolve it, WOOT! Postfix is relaying properly yayyyyy | 04:27 |
Josephur | now to do a PHP page to test for sure if it works for PHP | 04:29 |
Josephur | Yes it works! | 04:31 |
Unit193 | \o/ | 04:31 |
Josephur | The only downside is of course you cannot set a From address, it's ALWAYS the google mail hosted account used to auth, but hey I just needed it for stuff like PHP sending notifications etc | 04:32 |
Josephur | Thank you all, you've been a huge help. Thanks especially to sarnold | 04:37 |
nshire | any super sleuths know how to check snaps for malware? this person has published many copyrighted snaps such as bejeweled, so I'm deeply suspicious of their apps' quality/legitimacy https://snapcraft.io/publisher/marisag1967 | 05:41 |
nshire | the snap store doesn't appear to show download count so I don't know how widespread this is or isn't | 05:42 |
el | nshire: did you see popey's recent blog? | 05:56 |
nshire | no | 05:56 |
nshire | link? | 05:56 |
el | https://popey.com/blog/2024/03/exodus-wallet-part-three/ | 05:57 |
el | given the last two words of the slug, that might answer your question about prevalence | 05:57 |
nshire | exodus is a good name | 05:59 |
nshire | that's what it does with all your money | 05:59 |
nshire | all of your crypto goes through an exodus, at least it does what it says on the tin | 05:59 |
arraybolt3 | nshire: lol :) right | 06:04 |
Guest35 | oi | 06:07 |
=== remy_ is now known as Remy | ||
=== pushkarnk1 is now known as pushkarnk | ||
=== berat_ is now known as spinningCat_hell | ||
=== b is now known as Guest728 | ||
Guest728 | hi | 06:49 |
CyberPinecone | How do I apply Post-quantum secure algorithems to LUKS linux full disk encryption to create a dual-layer of CRYSTALS-KYBER and AES-256? | 06:55 |
CyberPinecone | [11:55:48 PM] <CyberPinecone> How do I apply Post-quantum secure algorithems to LUKS linux full disk encryption to create a dual-layer of CRYSTALS-KYBER and AES-256? | 07:08 |
CyberPinecone | [11:56:25 PM] ← Bashing-om has left (Quit: leaving) | 07:08 |
spinningCat_hell | i have a question please tell me if it is not related. I have global protect on my ubuntu. It works fine if i connect internet via eternet but it disconnect and reconnect wireless. Does someone know anything about this? My wireless works fine when global protext disabled | 07:11 |
mei | CyberPinecone: aes-256 should be already fine. quantum is an issue for asymmetric crypto | 07:20 |
CyberPinecone | Aes-256 is considered quantum resistant sure.. but I want more security | 07:20 |
spinningCat_hell | why do we need asymmetric crypto? | 07:21 |
CosmicDJ | CyberPinecone: what's your threat model here? | 07:23 |
CyberPinecone | I dont think your question answers mine | 07:24 |
CyberPinecone | I simply want to add quantum resistance on top of standard encryprtion | 07:24 |
CyberPinecone | My threat model doesnt change the method to accomplish the goal | 07:24 |
CyberPinecone | I just want to know how | 07:24 |
=== TomTom_ is now known as TomTom | ||
Rumbra | hello | 09:42 |
kubast2 | Hey, I've a question. Is livepatch dkms aware? Does an dkms compilation occurs + livepatch for a compiled module before a livepatch? Or does it really not matter "No stable ABI over Linux kernel releases binaries are not portable"? | 10:13 |
kubast2 | Should I keep livepatch off if I use {amdgpu,rocm}-dkms? | 10:15 |
kubast2 | I might be just missunderstanding the purpose of livepatch patches tbf | 10:17 |
kubast2 | I guess I answered myself here: "No stable ABI over Linux kernel releases binaries are not portable". | 10:18 |
Guest16 | Ich habe eine Transgender Pride Flagge in kleine Stücke geschnitten, habe dann mit den Flaggenstücken die Toilette ausgelegt und draufgekackt. Es war extrem geil mir mit den samtig weichen blau rosanen Stücken den Arsch zu wischen und anschließend alles runterzuspülen. Es erregt mich extrem das die Pride Flagge die vorher stolz auf etlichen | 10:20 |
Guest16 | CSDs getragen wurde jetzt voller Scheiße geschmiert in der Kanalisation schwimmt und die ganze Stadt draufpisst. | 10:20 |
sisyphus | hello | 10:21 |
sisyphus | this is my first time being here | 10:21 |
sisyphus | are you able to see my message? | 10:22 |
alecsito | hello, yes | 10:22 |
sisyphus | good, i thought i need to register first before i could talk to other people | 10:23 |
Guest16 | I cut a transgender pride flag into small pieces, then lined the toilet with the pieces of flag and pooped on them. It was extremely cool to wipe my ass with the velvety soft blue-pink pieces and then flush everything down. I'm extremely excited that the Pride flag, which was previously proudly carried at several CSDs, is now floating in the sewers | 10:23 |
Guest16 | covered in shit and the whole city is pissing on it. | 10:23 |
sisyphus | why do people use IRC? | 10:23 |
ravage | To chat | 10:24 |
sisyphus | well there are other platform to chat, but why this? | 10:24 |
alecsito | sisyphus: irc has been there forever before most of the chat apps that exist today | 10:25 |
Guest16 | I cut a transgender pride flag into small pieces, then lined the toilet with the pieces of flag and pooped on them. It was extremely cool to wipe my ass with the velvety soft blue-pink pieces and then flush everything down. I'm extremely excited that the Pride flag, which was previously proudly carried at several CSDs, is now floating in the sewers | 10:25 |
Guest16 | covered in shit and the whole city is pissing on it. | 10:25 |
sisyphus | wow, you have a color on you. how do i metion someone? | 10:25 |
Rumbra | use @ before the nickname | 10:26 |
ravage | And we get this lovely spam. Gotta love it :) | 10:26 |
Rumbra | @sisyphus see? | 10:26 |
Guest16 | I cut a transgender pride flag into small pieces, then lined the toilet with the pieces of flag and pooped on them. It was extremely cool to wipe my ass with the velvety soft blue-pink pieces and then flush everything down. I'm extremely excited that the Pride flag, which was previously proudly carried at several CSDs, is now floating in the sewers | 10:26 |
Guest16 | covered in shit and the whole city is pissing on it. | 10:26 |
ravage | The @ is not a IRC thing really | 10:26 |
alecsito | is the @ needed though? | 10:26 |
alecsito | you can just mention whoever you want and their client will notify them | 10:26 |
sisyphus | @Rumbra | 10:27 |
sisyphus | can i mention everyone in the server? @everyone | 10:27 |
ravage | No | 10:27 |
sisyphus | oh | 10:27 |
ravage | Ubuntu is also on matrix if you prefer a more modern platform | 10:28 |
sisyphus | what is matrix? @ravage | 10:28 |
alecsito | in simple terms you could say it's an open source free discord | 10:29 |
alecsito | but it's more than that | 10:29 |
sisyphus | interesting | 10:29 |
sisyphus | is seems that most of the people here are friendly | 10:29 |
ravage | https://matrix.to/#/#community:ubuntu.com | 10:30 |
sisyphus | thanks @ravage | 10:30 |
sisyphus | when i came here i get the feeling that most of the people here are programmers | 10:31 |
sisyphus | what do you guys do for a living? | 10:32 |
lotuspsychje | !chat | 10:32 |
ubottu | #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! | 10:32 |
alecsito | @sisyphus i'm a...programmer | 10:32 |
sisyphus | :0 | 10:33 |
sisyphus | really? | 10:33 |
lotuspsychje | please use the #ubuntu-discuss or #ubuntu-offtopic channel guys, leave this channel for support issues | 10:33 |
alecsito | yes | 10:33 |
lotuspsychje | sisyphus alecsito ^ | 10:33 |
alecsito | sorry lotuspsychje | 10:33 |
sisyphus | sorry :) | 10:33 |
sisyphus | @lotuspsychj how can i use those channels that you've mentioned? | 10:34 |
lotuspsychje | sisyphus: /join #channel-name-here | 10:35 |
sisyphus | thanks | 10:36 |
=== kostkon_ is now known as kostkon | ||
amcsi | anyone know why my server might have stopped responding to all network requests? This is the _only_ thing that's appearing in syslog: https://files.slack.com/files-pri/T03EANC46-F06RJB9BAV6/image.png | 11:40 |
ramblebamble | amcsi hey there at treehouse, something not requiring a login might be helpful :D | 11:42 |
octacore | hello | 11:47 |
ramblebamble | olleh | 11:49 |
=== effendy_ is now known as effendy | ||
BluesKaj | Hi all | 12:34 |
=== x0r is now known as |luxo| | ||
esv | hey folks, is it possible to use autoinstall with the ubuntu-22 desktop iso file? somehow I don't seem to find the right combination to trigger it using virt-install. | 12:57 |
Quark | esv: yes, possible. | 13:27 |
Quark | esv: you will have to modify the ISO (that is, extract it, make changes, then pack it back). | 13:28 |
szstr | why ayz kubuntu almost 3+1 gigabytes iso size? | 13:43 |
ioria | szstr, someone would answer that in this way you can have almost anything you need, also without an internet connection; but it's a speculation | 13:53 |
szstr | hola estoy estoy la la la how ayz/is kubuntu greater than 3gb ayn/in size? | 13:53 |
szstr | thankeh/danke ioria | 13:54 |
ioria | ok | 13:54 |
EugenMayer596 | Hello. I have a, DNS server configured (jammy) vie DHCP (cloud init network configured). Initially, it all looks well, using 'resolvectl status' i can see that on my interface, there is server A,B and the current is A. After some hours the server suddenly decides that B should be the current. The reason that is a proble is, A is a private DNS, | 13:59 |
EugenMayer596 | while B is a upstream public DNS. What reasons could there be / who can do those decision in runtime? | 13:59 |
EugenMayer596 | seems like https://serverfault.com/questions/1131980/ubuntu-automatically-changes-current-dns-server-not-resolving-my-local-hosts-cor is fairly similar | 14:00 |
EugenMayer596 | Using 'journalctl -u systemd-resolved -f' to see if something is hinting in the logs why he DNS changed from A to B, nothin can be found | 14:02 |
guideX_ | how do I stop ubuntu from coming up in windows 10 (not certain this is a good question for this channel) | 14:03 |
ioria | EugenMayer596, have you tried to set it in /etc/systemd/resolved.conf ? | 14:04 |
EugenMayer596 | ioria no i did not. I would like to understand the actual cause first. I have a couple of those jammy boxes running, all of those are bootstrapped via cloud-init on openstack, but this is the only box with such issues | 14:11 |
EugenMayer596 | ioria what is the decision-tree for 'current server'? | 14:12 |
fweht | hey i want to try a new ubuntu on different ssd... last time it changed my boot entries writ correctly whats happening... if i want to switch back to my old drive, i need to plug it in, start from some usb drive, read /etc/fst and write it via efibootmgr, right? so i wont be locked out of my old install? | 14:33 |
kuribas | I am running a docker compose on my ubuntu machine, but I cannot connected to the def_default bridge network it created. | 14:41 |
kuribas | When I curl to the mapped port, it just drops the connection. | 14:42 |
kuribas | Apparently I cannot run docker containers out of the box? | 14:43 |
kuribas | We do use a vpn, perhaps that is interfering with the networking? | 14:43 |
=== szstr is now known as hunter | ||
=== hunter is now known as szstr | ||
Guest86 | Hello fine people of ubuntu! | 15:30 |
Guest86 | I am trying to follow the https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019, but one pesky step doesn't work. | 15:30 |
Guest86 | When I try to encrypt my boot partition: | 15:30 |
Guest86 | `cryptsetup luksFormat --type=luks1 ${DEVP}1` | 15:30 |
Guest86 | I get the following message: | 15:30 |
Guest86 | `Device /dev/sda1 is in use. Cannot proceed with format operation.` | 15:30 |
stenno | cannot proceed indeed | 15:30 |
kuribas | Guest86: You cannot alter a partition while it is in use. | 15:31 |
Guest86 | Alright, because I am not that well versed. Does it mean that the Live USB is mounted on `/dev/sda1`? | 15:32 |
kuribas | Guest86: It means that something/one mounted that partition. | 15:33 |
Guest86 | Yeah, I didn't do it myself, so the Live CD must be mounting that partition and I can't unmount it, unless I force the umount. | 15:34 |
kuribas | Maybe it was mounted to install the files? | 15:34 |
kuribas | Don't force it. | 15:34 |
Guest86 | Yeah, but I am not installing anything, I chose the "Try Ubuntu" option to make sure I can create my partitions without mounting anything, or so I though. | 15:35 |
kuribas | well, are you sure /dev/sda1 is your disk? | 15:35 |
kuribas | It's not simply pointing to the CD? | 15:37 |
Guest86 | How silly do I find myself to be. Since I had a previous installation of Ubuntu I was doing everything on my USB stick. I can see my nvme0n1 drive now. | 15:38 |
Guest86 | My USB stick was `/dev/sda`, thank you for rubber ducking my tired brain kuribas. | 15:39 |
kuribas | your welcome | 15:41 |
=== Guest26 is now known as szstr | ||
=== JanC is now known as Guest1840 | ||
chaouki | hi | 16:26 |
=== Catty is now known as catties | ||
=== catties is now known as Catty | ||
sam5 | Is there a phone number for support in the US for Ubuntu? | 16:47 |
lotuspsychje | sam5: do you mean payed canonical support? | 16:47 |
lotuspsychje | sam5: if yes, https://canonical.com/contact-us | 16:49 |
peacefulman | can you not use ssh public keys with encrypted home directories on the first try? I tried using AuthorizedKeyFiles in sshd but it doesn't work at all and I can find any errors in any of the log files (auth.log, etc) | 18:36 |
peacefulman | s/AuthorizedKeyFile/AuthorizedKeysFile/g | 18:37 |
peacefulman | also, how do you get ubuntu to forget old ssh keys on the client? I tried systemctl restart ssh; systemctl restart sshd | 18:39 |
peacefulman | ahh, ssh-add -D | 18:40 |
Habbie | yes, they are stored in ssh-agent, which is not managed by systemd | 18:48 |
salmoneggs | " | 19:06 |
baggy | how do i mount a "Drive, Such as (C: or *whatever*) from windows to ubuntu inside of wsl" | 20:11 |
leftyfb | baggy: you might try asking in #windows-wsl where they specialize in WSL-specific features | 20:13 |
akik | baggy: you can share disks/partitions to wsl 2 | 20:13 |
akik | baggy: but i'm not sure if the wsl 2 kernel includes ntfs support | 20:13 |
baggy | so i cant look thru or use c:/ in wsl linux | 20:14 |
akik | baggy: /mnt/c is the windows host's C: | 20:14 |
baggy | root@DireWalker:~# /mnt/c/windows | 20:15 |
baggy | -bash: /mnt/c/windows: Is a directory | 20:15 |
baggy | how do i look or save into it | 20:15 |
akik | oh boy | 20:16 |
leftyfb | baggy: you type cd | 20:16 |
leftyfb | baggy: cd /mnt/c/windows/ | 20:16 |
baggy | root@DireWalker:~# cd | 20:16 |
baggy | root@DireWalker:~# | 20:16 |
akik | i should keep my mouth shut | 20:16 |
baggy | got ya! | 20:16 |
leftyfb | baggy: https://ubuntu.com/tutorials/command-line-for-beginners#1-overview | 20:16 |
baggy | ty! | 20:16 |
leftyfb | baggy: I highly recommend focusing on learning some linux command line basics | 20:17 |
webchat59 | hey folks.. please let me know if I am in the wrong chat.. but has anyone ever got MAAS working in an air-gapped network? | 20:19 |
baggy | root@DireWalker:~# cd /mnt/c | 20:20 |
baggy | root@DireWalker:/mnt/c# dir | 20:20 |
baggy | $Recycle.Bin DumpStack.log.tmp PerfLogs ProgramData Users XboxGames swapfile.sys | 20:20 |
baggy | $WinREAgent Nicepage Program\ Files Recovery Whole hiberfil.sys | 20:20 |
baggy | Documents\ and\ Settings OneDriveTemp Program\ Files\ (x86) System\ Volume\ Information Windows pagefile.sys | 20:20 |
leftyfb | !paste | baggy | 20:21 |
ubottu | baggy: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. | 20:21 |
baggy | how how would i move Nicepage (in C:) into linux main folder | 20:21 |
leftyfb | baggy: again, I highly recommend you spend some time reading some articles on linux command line basics | 20:21 |
stenno | and stop crossposting | 20:22 |
leftyfb | baggy: https://ubuntu.com/tutorials/command-line-for-beginners#1-overview | 20:22 |
leftyfb | baggy: https://www.geeksforgeeks.org/linux-tutorial/ | 20:22 |
baggy | i am recording all my notes into a text file (in onedrive , google drive, and c: drive) | 20:22 |
baggy | i am writing my wn tutorial the internet is babby) | 20:22 |
=== phryk_ is now known as phryk | ||
baggy | https://bpa.st/7S3A | 20:29 |
baggy | those are my linux notes | 20:29 |
baggy | i am making one | 20:29 |
webchat59 | anyone up for providing some advice on MAAS in an air-gapped environment? I have downloaded the ubuntu repo for jammy.. sources;list file is updated, i have set that in MAAS as well. and have got it set to a local image that was imported to the rackd. what am i missing here? Because when I point the repos back to ubuntu it works.. When I | 20:31 |
webchat59 | try to use the local repos it does not.. (i did not include backports or src in the repo to save space) | 20:31 |
baggy | any help in mounting a {c: Drive} that i can move back and forth files from wsl main folder into c: | 20:31 |
leftyfb | baggy: good luck. Again, there are thousands of articles on linux command line basics. Please click on one of the 2 I linked to or type "linux basics" into google | 20:32 |
webchat59 | https://ling123labs.com/posts/WSL-files-in-Windows-and-vice-versa/#:~:text=Just%20use%20the%20cd%20command,when%20you%20try%20this%20yourself. | 20:32 |
webchat59 | baggy did you try https://ling123labs.com/posts/WSL-files-in-Windows-and-vice-versa/#:~:text=Just%20use%20the%20cd%20command,when%20you%20try%20this%20yourself. | 20:33 |
leftyfb | baggy: as noted and as you have already seen yourself, your "C drive" is already mounted to /mnt/c/ | 20:34 |
baggy | ├── Files | 20:34 |
baggy | │ ├── Triangle.py | 20:34 |
baggy | │ ├── X.py | 20:34 |
baggy | │ ├── list1.txt | 20:34 |
baggy | │ └── myfile.txt | 20:34 |
leftyfb | bagqplease stop posting multiple lines here, especially when there's no question involved | 20:34 |
leftyfb | !paste | baggy | 20:35 |
ubottu | baggy: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. | 20:35 |
baggy | i want to moves those files into c: back and forth material on web is terrible | 20:35 |
leftyfb | baggy: https://www.geeksforgeeks.org/mv-command-linux-examples/ | 20:35 |
leftyfb | baggy: from one of the two links I gave you | 20:36 |
baggy | root@DireWalker:~# cd /mnt/c/ | 20:36 |
baggy | root@DireWalker:/mnt/c# | 20:36 |
baggy | ok | 20:36 |
leftyfb | baggy: please stop pasting random things here | 20:36 |
younder | Why do you have to mount c: at all? | 20:36 |
younder | Aren't they automounted under /mnt/c/.. | 20:37 |
leftyfb | they are | 20:37 |
baggy | to move files from [C: to Linux /(WSL)] | 20:37 |
leftyfb | baggy: https://www.geeksforgeeks.org/mv-command-linux-examples/ | 20:38 |
baggy | im just gonna make my own website for stupid people | 20:38 |
leftyfb | baggy: https://megamorf.gitlab.io/2021/08/11/copy-files-from-windows-to-your-wsl-instance/ | 20:38 |
leftyfb | found by typing "how to move files between ubuntu and windows on wsl" into google | 20:38 |
baggy | nonesense | 20:40 |
baggy | see mine.. | 20:41 |
leftyfb | baggy: care to elaborate? | 20:41 |
baggy | https://bpa.st/7S3A | 20:41 |
baggy | there is my elaboration | 20:41 |
baggy | simply soken | 20:41 |
baggy | ok hold on | 20:43 |
leftyfb | baggy: https://www.geeksforgeeks.org/linux-commands-cheat-sheet/ | 20:43 |
leftyfb | baggy: https://www.guru99.com/linux-commands-cheat-sheet.html | 20:44 |
leftyfb | baggy: https://www.linuxtrainingacademy.com/linux-commands-cheat-sheet/ | 20:44 |
leftyfb | baggy: https://phoenixnap.com/kb/wp-content/uploads/2023/11/linux-commands-cheat-sheet-pdf.pdf | 20:44 |
baggy | root@DireWalker:~# mv c:/Whole/Linux.txt | 20:45 |
baggy | mv: missing destination file operand after 'c:/Whole/Linux.txt' | 20:45 |
younder | Seems old baggy now has commands gallore :) | 20:46 |
leftyfb | and yet refuses to read any of them | 20:46 |
younder | temper temper.. | 20:46 |
baggy | a long complicated mess with crappy GUI for *simply* resooving | 20:47 |
baggy | fine ill bookmark that | 20:48 |
baggy | but it baggy | 20:49 |
leftyfb | baggy: https://opensource.com/article/19/8/moving-files-linux-depth#:~:text=of%20open%20source).-,Moving%20a%20file,-To%20move%20a | 20:49 |
baggy | oh well see ya im breaking out | 20:50 |
baggy | Lol | 20:50 |
baggy | dually made possibly | 20:50 |
* younder remids annoyed viewers of the /ignore command | 20:53 | |
younder | Traveling light now ;) | 20:54 |
MAAS_madness | hey folks.. I am looking for advice on MAAS.. specifically getting it to work in an air-gapped network. | 20:58 |
leftyfb | MAAS_madness: have you tried asking in #maas or #ubuntu-server? MAAS is a bit beyond the scope of thus support channel. MAAS is a commercial product from Canonical, which is separate from the Ubuntu project | 21:00 |
MAAS_madness | thanks i will give it a shot over there... at #maas | 21:00 |
=== ertyu_ is now known as ertyu_02 | ||
=== GSMarquis77 is now known as GSMarquis | ||
=== neon is now known as Guest6223 | ||
=== elmo is now known as ELM0666 | ||
=== neon is now known as Guest743 | ||
=== Guest743 is now known as guardianx | ||
=== Josephur_ is now known as Josephur | ||
Josephur | Anyone know of any other free neat services out there similar to Zero Tier One, Cloudflare tunnels? | 23:16 |
devslash | I am using Ubuntu server and my cron job stopped running automatically. This is the task: 0 3 * * * screen -S backup -dm /root/rsyncScript I verified that cron is enabled with systemctl status cron. This script runs a backup script which ran last on 03-20 at 3 am | 23:27 |
=== Josephur__ is now known as Josephur | ||
tortal | ive got this thing got win11 on my laptop. for some reasons i cant meddle with the factory partitions. I figure i would resize and make place for some ubuntu and then install it. but important thing is that i cant replace or change the bootloader. the bootmanager which will be booted after the loader can and shall be grub2. Am i thinking correct to | 23:34 |
tortal | just create a new exFAT volume and move the ISO over there? or is tehre any gain to go through the installation from booting a ubuntu charged usbms ? | 23:34 |
devslash | why not just run a vm | 23:34 |
tortal | hyper-v `? | 23:35 |
tortal | first of all. the computer is shipped with HOME edition of win11... and i cant have any of the factory recovery partitions or the EFI bootloader changed | 23:36 |
tortal | moreover, oracle, sure fine. but i want to run it directly so i can see how the kernel works with the hardware | 23:36 |
tortal | ill ask again, ill be making room for ubuntu on my hdd. what will the difference be if i'd istall is from bootable USB or just move the ISO to the new exFAT partition (then boot that) | 23:38 |
tortal | i want windows EFI bootloader to still be in contrl | 23:38 |
devslash | tortal no virtualbox | 23:40 |
devslash | oh | 23:40 |
tortal | yeah i said oracle | 23:40 |
devslash | it might not be possible on Win 11 home | 23:40 |
tortal | no oracle will prolly work fine | 23:40 |
tortal | virtualbox* | 23:40 |
devslash | I dont know. Ive never used home edition | 23:41 |
tortal | but i dont want VM. i want it naitively running | 23:41 |
devslash | but I know that its more limited | 23:41 |
devslash | I know. it is better but you have to have a dedicated drive or 2 partitions for Ubuntu | 23:41 |
tortal | of course | 23:41 |
devslash | actually more like 3 partitions | 23:41 |
tortal | but the isntallation process will fix that | 23:42 |
devslash | boot, swap and root | 23:42 |
tortal | im just preparing for the installation by making room... then boot. then install | 23:42 |
tortal | ok.. so nobody here that's not idling can help me with how to protect the factory partitions -also, explaining what the difference between installing from usb rather than installing from a partiion i copied ubuntu ISO image to | 23:45 |
tortal | i guess trial and meltdown is the only way to find out... | 23:46 |
LuckyMan | tortal: a partition must be bootable to run the .iso, hence the USB | 23:48 |
LuckyMan | I recommend Ventoy | 23:48 |
tortal | if you extract the iso you get the fils that makes it bootable.. | 23:48 |
tortal | there's nothign magic with a usb that makes it more bootable than a hard drive | 23:49 |
LuckyMan | you like to make things hard? go for it | 23:49 |
tortal | why would that be harder | 23:50 |
tortal | it's the same same, but differnt | 23:50 |
tortal | whats Ventoy | 23:50 |
LuckyMan | your bios has a boot menu. It will choose a drive, not a partition | 23:50 |
tortal | oh like rufus | 23:51 |
LuckyMan | it's better than rufus, you just have to copy the files, not burn them | 23:51 |
LuckyMan | and you can put Ubuntu and Kubuntu on the same USB drive and you'll get a menu for testing it | 23:52 |
tortal | you are coorect about booting process when it comes t | 23:52 |
tortal | to MBR | 23:52 |
tortal | where the first 512 kbytes or whatever needs to state some information | 23:53 |
tortal | but for guid it's differet | 23:54 |
Josephur | If you want really slick boot options get an IODD :D | 23:55 |
tortal | omg, what a great product | 23:57 |
tortal | with usb4 it will work perfectly | 23:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!