/srv/irclogs.ubuntu.com/2022/04/04/#ubuntu.txt

geosmileI'm looking for a firewall for ubuntu where i can easily setup a whitelist set of IPs/DNS that the machine can communicate with? Anything that is higher level than ufw that anyone recommends here?01:25
hackinghornhi01:32
hackinghornsometimes sometimes my window is behind my taskbar, sometimes not, how to fix this?01:33
humanhello01:37
maxtimI'm using Pop_OS!, my wifi and ethernet is connected but I'm unable to connect to anything outside of the lan01:53
Eickmeyer!popos | maxtim01:53
ubottumaxtim: The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle)01:53
=== Eickmeyer[w] is now known as Eickmeyer
hackinghornaight, noone is around, okay02:29
rdrjust confirming what I think I know, but Ubuntu and flavours don't update unless you tell it to, correct?03:11
lotuspsychjerdr: when a new release is out, your system can get offered an upgrade, according to your settings03:12
rdrright, i was just talking to someone who said that unattended upgrades were updating stuff in the background and they said it was a flaw of the system03:13
rdri'm thinking they turned it on without realizing what it did?03:13
rdrunless it's there by default, but i always see available updates and install them manually03:13
oerheksupdating, but not installing,see the update settings03:14
lotuspsychjerdr: you can check in software&updates03:15
oerhekssnaps do update before start, daily03:15
rdroh, so it downloads the packages but doesn't install them03:15
rdr?03:15
oerheksthat is a choice, yes, and more03:15
Bashing-omrdr: See too ' apt show unattended-upgrades ' .03:16
rdrohhh so it does do security updates by default03:16
croran_44[m]So I just set up a new PC with Ubuntu and now I'm trying to connect my old hard drive to pull some data from it. seems like it's mountpoint or logical volume name conflicts with the new configuration? What's the best way to do this?05:32
alkisgcat /etc/fstab; lsblk --fs => to pastebin05:35
croran_44[m]nvm figured it out. had to vgrename using the uuid, then lvrename, then cryptsetup luksClose.05:44
croran_44[m]then it reappeared as an encrypted drive i could click on and open.05:44
croran_44[m]oh here's a good tip for command line: Instead of using the 'cp source destinationfolder' syntax to copy files into a folder, switch to the 'cp -t destinationfolder source' syntax. It will warn you if the destination doesn't exist instead of copying your files into a newly-named file.05:49
alkisgcp source destinationfolder/ (with an ending /)05:51
croran_44[m]yeah i always thought that would work too05:51
croran_44[m]but i found some case where it didn't05:51
tomreynhackinghorn: lack of replies to your question can mean many things - that no one was around who knew the answer at the time you asked, that you don't seem to have provided the minimum amount of details needed for anyone to reply, that your question was not precise enough for anyone to answer it, and a couple other things.06:06
croran_44[m]is there a way to get the shell to expand '*' to include hidden folders, or do i just have to use find/exec/xargs?06:12
tomreynhackinghorn: depending on the question you're asking, the most crucial info can be ubuntu release (lsb_release -ds) - this is almost always needed, architecture (arch), kernel version (cat /proc/version), graphical desktop (echo $XDG_SESSION_TYPE/$XDG_CURRENT_DESKTOP), and details on drivers / hardware if you're asking questions related to that.06:14
croran_44[m]nvm figured it out. 'shopt -s dotglob'06:14
hackinghornI'm on gnome ubuntu 21.10 and sometimes windows are behind my dock06:30
=== miaooo0000 is now known as miaooo
=== Abrax- is now known as Abrax
=== javaJake_ is now known as javaJake
KolusionCan somebody please tell me how to set DNS settings from Terminal in Ubuntu 20.04 LTS? Canonical didn't bother to document it.08:24
KolusionI just subscribed to an Indian VPS service for $1.50. The Ubuntu template that was created for use with the VPS has been smashed to bits by someone that doesn't know what they are doing.08:27
KolusionYes, its cheap08:28
jushurKolusion: so nottrustworthy, swap to one that is..08:30
KolusionIs this that great open source community I keep hearing Linux users tell Windows users about when they tell them they're not interested?08:30
jushurno, it is general "sane" advice..08:33
jushurKolusion: for terminal config of the network, maybe look at 'nmtui' or 'nmcli'08:38
Kolusionjushur: Thanks for the information, right now I don't need maybes, just a straight answer. :)  :)08:39
KolusionI don't need to worry about nameservers anymore. It appears that this dump VPS doesn't have internet connectivity. I can't resolve apt updates or ping Google's nameserver.08:39
KolusionStrangely I am connecting to it over the internet though.08:40
KolusionUFW is not installed.08:40
jushurping 1.1.1.108:40
KolusionOk, I will try...08:40
KolusionNothing08:40
jushurwell you need to look at what is allowed/enabled in this VPS then.08:42
jushurnot what you run inside the VPS08:42
KolusionYes I know. I have to hang up my washing and then I will be back to take a closer look.08:42
ikoniaping is not a valid test08:43
ikoniaping is icmp echo repsonse.....that does not mean you have no access08:43
KolusionIt is a valid test. Not receiving a pong can indicate network connectivity issues. You are looking into it too deeply.08:45
ikonia'can'08:45
ikonianot does08:45
ikoniaeg: I have ping blocked, yet, I'm fully connected to the internet08:46
KolusionOk08:46
jushurikonia: wrong, you have blocked things so you are connected with restrictions.08:46
ikoniawhat ?08:47
jushurfully = no restrictions08:47
ikoniaahhh you're being petty08:47
ikoniaok08:47
ikoniaI am fully connected to the internet though - I just filter08:47
jushurikonia: just dont say 'fully' when you mean filtered/partial/suffient..08:53
ikoniaI am fully connected08:54
ikoniathis is not the point - the point was to help Kolusion understand that ping is not a valid test of connectivity so he looked in the right place08:54
jushurikonia: could you explain what a valid test is then?08:57
ikoniait would be multiple tests, depending on where the connectivity stops/is blocked09:02
ignorandMorning09:07
ignorandI got a user who sftp files to a folder09:07
ignorandWHen he logs in via ssh and does a touch we get the correct permissions, but when he copies them over with sftp they get different permissions. Any reason why the umask doenst work for sftp? How can I fix this?09:08
summonnerignorand, it's likely his ftp client isn't defining the permissions properly on a put09:10
summonnerfire up a copy of the app and look for the location where the permissions are defined on a new file creation, and make the change there. alternatively, you can adjust the sticky bit to the user or group and it will ensure the right permissions when the file/folder is created by the sftp process09:11
ignorandsummonner, I did the sticky group, so the user/group is fine, the rwx isnt09:13
ignorandsummonner, also I didnt know I could set permissions in sftp.09:13
summonnerTransmit does it (just had a case like that a few weeks ago)09:14
KolusionI had a look at some of my VPS settings from the client portal and PPP is disabled. Would this be the cause of me being unable to connect to things like Ubuntu updates or ping servers?09:15
KolusionI thought PPP is to do with things like PPPoE when connecting to your ISP09:16
masberhi, I have ubuntu bionic and one of the repos are complaining about `An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu bionic InRelease: The following signatures were invalid: EXPKEYSIG 3F01618A51312F3F GitLab09:16
masberB.V. (package repository signing key) <packages@gitlab.com>`09:16
masberI get this error when I run `apt update`09:16
masberwould this be the right procedure https://askubuntu.com/questions/131601/gpg-error-release-the-following-signatures-were-invalid-badsig?09:17
KolusionSo my new VPS can't connect to Ubuntu update servers and I can't ping servers. UFW is not installed and I can't see any firewall from the VPS client portal. PPP is disabled for the VPS in the client portal. Could this be causing the problem?09:27
ignorandsummonner, its a third party app which does the sftp in code :(09:29
ramblebambleKolusion, I had similar problems with that once. Might be that netplan is acting up,09:30
ramblebambleusually VPS have a static ip-address09:30
Kolusionramblebamble: How can I check?09:30
ramblebambleask support?09:30
ramblebamblethis is what I di09:31
KolusionYes, I just opened a critical ticket. I expect a response in 24 hours from my $1.50 USD per month VPS. lol09:31
ramblebambledid, get in touch with their support, ask for the IP of your VPS, and then look at how to put that into netplan. you should have a config file for netplan in /etc somewhere09:32
Kolusionnetplan is not installed. I believe netplan is used in Ubuntu Server and not Ubuntu.09:33
ignorandsummonner, going to try this: https://www.ibm.com/support/pages/changing-sftp-umask-single-or-group-users09:33
=== dionysus70 is now known as dionysus69
ignorandguess it doesnt work :(10:06
KolusionWhere would people look inside a VPS if they could connect to it over the internet via SSH but everything else inside the VPS couldn't connect to the internet?10:16
KolusionThe VPS is running Ubuntu BTW.10:17
RealKillerhey, I have PYTHONPATH=<sonepath> in crontab, followed by some python scripts which uses that pythonpath10:28
RealKillerhow can i run the python scripts outside the crontab, as the scripts are unable to find PYTHONPATH10:29
RealKillerPYTHONPATH conatins directories where the modules will be found10:29
acosonic@Kolusion about community10:30
acosonichttps://www.facebook.com/itsfoss/photos/a.182637675210341/165828290431247010:30
ravageRealKiller: https://opensource.com/article/20/7/systemd-timers better in every way and you can set env. variables10:31
KolusionYeah, too bad after 12 years of Linux I'm still frequently up till 6AM fixing things because of trash software.10:32
RealKillerit will take a bit of time to change in every VM10:32
KolusionLinux isn't hard, its just the quality of the software tends to suck hard.10:33
RealKillerso, is there a solution using crontab10:33
KolusionHobby software10:33
ravageRealKiller: you can try "export PYTHONPATH=<smenepath>; yourcommand"10:34
ravageevery cron entry should also check /etc/environment10:35
KolusionI have stopped using the term Linux anyway, its not accurate. Linux is just a kernel. Now I say Ubuntu.10:35
KolusionSo nobody can think of places where to look into a hacked up Ubuntu VPS for the cause of the VPS unable to access the internet, except for SSH?10:37
arkanoidHello! Something wrong with my ubuntu 20.04 box: /etc/resolv.conf is missing10:37
arkanoidAnd dns resolution doesn't work10:37
Kolusionarkanoid: Are you using Ubuntu in a VPS?10:37
arkanoidKolusion:  no, local server box10:37
ravagearkanoid: see if "sudo apt-get install --reinstall resolvconf" fixes that10:38
Kolusionarkanoid: Ah okay. Well I don't know why I am sorry. I would have assumed its there by default, so I can only think that somebody has deleted it.10:38
arkanoidAfaik resolv.conf is auto-generated at boot, so it must be there. Nobody deleted it, I'm the only admin10:39
ravagei cant find out for you who deleted files or not10:39
arkanoidNetwork is configured by netplan. Static ip, static dns. Networking works, it's just dns that fails10:39
Kolusionarkanoid: Then I would look for where it gets auto-generated and see if the thing that generates it is working.10:39
ravagebut you are rigth that it should be a symlink10:39
ravagedoes /run/resolvconf/resolv.conf  exist?10:40
Kolusionarkanoid: Are you using Ubuntu Server?10:40
arkanoidI'm here asking what should be I charge of generating it. I think should be netplan scripts, but as I said networking works in general10:40
arkanoidYes, ubuntu server10:41
KolusionI believe you can 'reload' netplan without needing to reboot. If you can do it, you may be able to see if there are any errors. The Ubuntu Server networking documentation has the instructions on how to do it.10:42
KolusionGoto 'ubuntu.com' and scroll down to the very bottom of the webpage and follow server docs.10:42
arkanoidsudo netplan apply results in success error code, but nothing changes, resolv.conf not present and dns not working10:44
KolusionYes, that is the command I believe I was referring to.10:44
KolusionSuccess error code?10:44
ograyou can also "netplan try" ... that will automatically revert to the former config after a timeout if you do not confirm it10:45
KolusionHave you installed any other network manager by any chance? Perhaps another network manager could have been installed as a dependency? Can you check the status of all of your services as see?10:45
ogra(it's a bit safer than a straight "apply")10:45
Kolusionogra you just gave me a flashback from changing my display resolution in Windows 95 :)10:45
ograyep, functions similar πŸ™‚10:46
arkanoidogra: it's a local box, so no problem in losing it. But thanks, I didn't know about try10:46
acosonic@Kolusion you are looking for hacked VPS forensics?10:46
acosoniccheck auth log, crontab -e per user10:46
arkanoidKolusion:  let me check if NM is installed10:46
arkanoidShould be not10:46
ravagearkanoid: does  /run/resolvconf/resolv.conf exist?10:46
acosonicI have text on Linkedin about that...  Sec10:47
Kolusionacosonic: I bought a $1.50 per month VPS and I am trying to figure out why I can't update with apt or ping servers but can SSH in fine.10:47
KolusionIf you get where I am coming from.10:47
arkanoidravage: no /run/resolvconf* doesn't exists on my box10:47
ograKolusion, i'd always first check outside of the VM ... i.e. in your providers management console ... if you can ssh that indicates that networking kind of works fine10:48
Kolusionogra: Yes, I am waiting for my ticket to be responded to.10:49
ograsmells more like some outside thing blocking ports10:49
acosonicyeah, ogra is right...10:49
Kolusionogra: Exactly, that's what I asked.10:49
acosonicfor hacked vps, some example: https://www.linkedin.com/pulse/bit-server-hacked-forensics-aleksandar-pavi%C4%87/10:49
KolusionThanks, but its not hacked. :)10:49
KolusionI mean't hacked as in, trashed up by someone that doesn't know what they are doing. :)10:50
KolusionIts one of those shared kernel 'VZ' VPS's or what ever they are called.10:50
arkanoidsystemd-resolve --status10:51
arkanoidFailed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.10:52
arkanoidThis system gets zero packages installed except unattended upgrades. This system DNS resolution has been taken down by unattended upgrades on an LTS distribution10:56
KolusionThanks everyone. Bye.11:02
ravagearkanoid: on a default server installation /etc/resolv.conf ist a link to /run/systemd/resolve/stub-resolv.conf11:05
arkanoidI've solved by manually rewiring netplan + systemd-resolve symlink dance. But I this has taken down dns for many ubuntu servers out there11:05
ravageyou can try to create that again11:05
ravagehavent heard anything about it in #ubuntu-server or here really. i dont think its a general problem11:07
ograhave you cheked with "resolvectl status" what your system uses at all ?11:08
GreyXorHello everyone, is there a difference between `org.gnome.desktop.interface.color-scheme` and `org.freedesktop.appearance.color-scheme` . I hesitate between which one to use to have dark themes everywhere11:25
Guest50Why Ubuntu 18.04 is allowed with RST but, 20.04+ not? I have used Arch, Endevous, Manjaro, Fedora, and PopOS non of the distro shows that error. Everything just works. Why was the RST restriction imposed in the first place?12:05
ravageGuest50: i dont think RST is "not allowed". i just fails to detect it correctly a lot of time.12:10
ravageand in my experience all those vendor solutions are painful to use in general12:11
ravageget a real raid controller or use a software raid. a general article is https://help.ubuntu.com/rst/12:11
Guest50my question is why ubuntu fails to detect it correctly? why do all other distributions works, but not ubuntu? even popos are based in Ubuntu, and it works for me. Ubuntu devs definitely doing something wrong in here.12:15
Guest50*is based on12:15
Guest50im writing this on my ubuntu 21.10 in my rst machine, I don't think there is a necessity for RST disabling in installation setup. Any way I can discuss this with Ubuntu devs who can actually do something about it?12:17
ravageGuest50: there is only support by the community here. if you found a bug you can report it like this one: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/187406612:23
Guest509true i have encoundred this problem only on ubuntu, i don't use ubuntu for this reason, fedora, arch just works!12:24
ravageenjoy your distribution of choice then :)12:25
BluesKajHi all12:57
bittinhey12:59
=== jesopo is now known as jess
=== Rhys is now known as Guest4124
maggahi13:21
bittinhi13:22
=== jclsn10074 is now known as jclsn
KolusionHey all again!13:52
KolusionI just bought a VPS service that comes with a modified version of Ubuntu 20.04 LTS installed. I can SSH in but everything else has trouble connecting to the outside world. I've sent off a ticket to the hosting company and don't except a response for my $1.50 USD a month service anytime soon, so I'm trying to see if there is anything that I can do13:54
Kolusionnow. I see a service running called 'networking'. The default networking service is called 'network-manager', so I'm wondering if anyone knows what 'networking' is?13:54
KolusionOh, and 'network-manager' isn't there.13:55
rdrKolusion: can you ping things from your VPS?14:03
ograKolusion, there is definitely no "networking" service in 20.04, there is a systemd "network.target" but nothing beyond this. if you have a systemd "networking.service" somewhere, that must have been put in place by your VPS provider14:03
Kolusionrdr: No I can't.14:03
Kolusionogra, there is no network.target.14:03
ograKolusion, so "systemctl status network.target" returns that there is no such target, that it is inactive or what exactly do you get ?14:04
KolusionLet me see.....14:04
KolusionActive14:05
ograright, so it is there14:05
Kolusionnetwork.target - Network14:05
ograthat means your system thinks network is up and running14:06
KolusionYes, but it is not showing when executing the command 'service --status-all', if that's what you meant.14:06
ogra(and it seemingly is, else ssh would indeed not work)14:06
KolusionI am looking in /etc/network/interfaces and noticed there is no nameserver set.14:06
ogra/etc/network/interfaces is deprecated since 2016 in ubuntu14:07
ogranetwork configuration is in /etc/netplan for servers14:07
KolusionYes, but this isn't a stock Ubuntu 20.04 LTS.14:07
KolusionNetplan isn't installed, I checked.14:07
ograwell, we can only support stock here ... especially since nobody knows what your provider hacked into the image you are running14:08
ogranetplan is definitely a required default on 20.04 server14:08
KolusionYes, its BS.14:08
KolusionYes it is. I have used server.14:08
KolusionIts good.14:09
ograso find another VPS provider that doesnt provide hacked images14:09
KolusionI have tried 20 others. They rejected me because they do not like my pre-paid Mastercard. This company in India didn't mind.14:09
ograwell, i fear you have to ask them for support then .. hacked images are unsupportable if we do not know what was changed ... removing netplan is quite a significant hack14:10
KolusionMany have hacked images to work with their shared kernel VPS solutions. I would need a dedicated service to install a stock installation but I am having a lot of trouble finding a company that isn't mentally retarded.14:10
KolusionThis image is the desktop version. lol14:11
ograthere are plenty of providrs that offer ubuntu server unhacked, even with shared kernels14:11
KolusionYes I know, but they don't like pre-paid credit cards and that is all I can use at the moment for reasons I won't go into because it is an extreamily long story.14:12
ograeither way, your setup is not supportable here14:12
KolusionSo you keep saying.14:12
ograyep πŸ™‚14:13
KolusionWhat is network.target?14:15
KolusionI have seen it before when troubleshooting Poptop.14:15
ograhttps://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/14:16
KolusionOh yeah14:16
KolusionThanks14:16
KolusionIs that to solve race conditions?14:16
KolusionI think I may have found the problem. 'ufw' is not found as a command but I just found /etc/ufw/ and inside that directory was the SSH server. It looks like Apache where you include servers inside directories to enable them.14:40
ograthat is pointless ... if ufw is not installed the files in /etc/ufw are moot (they come from other packages)14:41
KolusionI see. Thanks for letting me know.14:41
ograthough ufw is in the standard instalation task ... curious if they explicitly removed it14:42
KolusionWhere does iptables write to?14:42
ograthe kernel14:42
KolusionThought so14:42
KolusionThanks14:42
KolusionAnd yes, UFW is removed. No such service exists.14:42
KolusionHow can I output iptables changes?14:42
ramblebambleiptables -L as admin14:43
ramblebamblebtw. use dpkg -l to list packages don't check via services14:43
KolusionThanks. There is no output from that command.14:43
KolusionOk, I will check now.14:44
KolusionNot installed.14:44
ograwell, again ... talk to your VPS provider about their image modifications ...14:45
KolusionYes man. I know. I'm waiting, and desperate.14:45
ramblebamblewhat is your providers name? if I may ask.14:47
KolusionWeb Horizon14:47
ramblebamblek14:49
KolusionWould PPP being disable be causing my problem?14:56
ogradoes your server use dialup connections ?14:56
ogra(no, very unlikely)14:56
KolusionNo14:56
jhutchinsKolusion: nmap might be helpful.14:58
Kolusionjhutchins yes I thought of that, but I can't get it onto the server. The first thing I did when I logged in for the first time was execute 'apt update' and that's when I realised I had a problem after it failed (and finding a trashed 'sources.list' file).15:00
KolusionI guess I could send it over SSH as a snap package?15:01
KolusionThat way I wouldn't need to send dependencies?15:01
jhutchinsKolusion: That "trashed" file might have been the provider's customized sources.15:01
jhutchinsNetworking for snap services is often a problem, you could try it but negative results wouldn't be conclusive.15:02
KolusionThe only custom source was some Canonical partners repo, most of the rest were missing. I added them all back again.15:02
jhutchinsKolusion: Ok, and what happened when you ran update?15:02
KolusionThe repo's couldn't resolve.15:02
KolusionOr like, 2 of them did15:02
KolusionI will run it now and send you a screen shot?15:02
jhutchinsNah, description's enough.15:03
jhutchinsYou could set your DNS manually and try.15:03
KolusionI tried but the network manager 'network-manager' service has been gutted and replaced with some other network manager service called 'networking'.15:04
KolusionI don't know where to add the DNS nameservers.15:04
KolusionI also tried pinging Google without success.15:04
leftyfbKolusion: "networking" is part of ifupdown which seems like what they replaced netplan with. You'll need to wait to hear from your VPS provider for further support with your custom linux image. We cannot support it here.15:05
KolusionI will see which repo's can resolve. This will give a clue.15:05
ograjhutchins, this seems to be a modified ubuntu desktop install ("modified" beyond repair by hacks and added scripts) that this VPS provider offers as genuie ubuntu15:05
ogra(as ubuntu server)15:05
ravagei invested 1.50$ to see that mess myself. ipv6 only. this will be fun :)15:06
Kolusionogra: You are right on it!15:06
KolusionLOL WTF15:06
Kolusionare you for real?!15:06
Kolusionravage15:06
Kolusionravage you are awesomely funny. I wish I worked with people like you15:07
ravagehttps://p.haxxors.com/y6jkes93.txt15:07
ravagelooks fine so far15:07
Kolusion148 packages15:07
ravagenot the freshest image. but thats ok15:07
KolusionYeah but where are the rest of the packages? Now try and get the list from 'main'.15:08
ravagewhat rest?15:08
ravageit installed all updates just fine15:08
KolusionWhere is the main repository?15:08
ograi the first line ?15:09
ogra*in15:09
ravagelooks like a fine VPS for 1.50$ really15:09
KolusionHang on a second. I may have a misunderstanding of apt.15:09
ravagesystemd-network does the networking15:10
KolusionI thought the command 'apt update' updates packages from the sources list. When I run the command on a stock Ubuntu install, it returns something like 50K packages available to install, not 140.15:10
ravagebut they actually messed with the resolv file15:10
ravageand added the google v6 IPs manually15:10
ravagebut they work15:10
ograapt update updates the package catalog15:10
ogranot the packages15:10
ograapt upgrade (or full-upgrade) do then update the packages15:11
ravageand they use openvz. just in case anyone is interested15:11
=== kostkon__ is now known as kostkon_
Kolusionhttps://i.ibb.co/nky63H7/1.png15:13
Kolusionhttps://i.ibb.co/K5B8P5p/2.png15:13
KolusionI fixed up the sources.list file15:13
KolusionThat's the result I get running 'apt update'.15:13
ravagewithout dns you can fix that file all you want15:14
KolusionSo which file do I need to fix?15:15
ravagedo you have ipv4?15:15
KolusionNo15:16
ravagethen you have the same product15:16
ravagedid you just try to reinstall?15:17
KolusionNo15:17
KolusionApart from adding the missing stock repo's back into the sources.list file, I haven't touched anything.15:17
ravagetry it anyway15:17
KolusionReinstall?15:18
ravageyes15:18
KolusionOk, I will try now...15:18
KolusionCan you ping out?15:20
ravageyes15:20
KolusionDid you get a IPv4?15:20
ravageno15:20
KolusionEnable TUN/TAP in settings15:21
KolusionThat is one modification I made.15:21
KolusionIn the portal.15:21
KolusionMy Account > Control Panel > Settings > VPS Configuration15:22
KolusionAlso, where is your server located?15:22
ravagejapan15:22
KolusionMine is EU15:22
ravagei have enough servers there :)15:23
KolusionHA HA :)15:23
KolusionI wonder if Ukraine is 'Central Europe'.15:23
KolusionThe server is probably in Indua.15:23
KolusionIndia.15:23
KolusionNo it couldn't be, I have connected to it SSH15:24
KolusionWrong theory15:24
KolusionAlso, did you select Ubuntu 20?15:25
ravageyep.15:25
KolusionCan you change IP to central Europe?15:25
ravageno15:25
KolusionAnd yes I agree with you. The service looks decent for $1.50.15:26
KolusionI was suprised.15:26
KolusionClean and simple.15:26
ravageenabled TUN. still works.15:26
KolusionYou need to be on the same IP as me I think. The location I mean.15:27
ravagei dont think so. the images are the same usually15:27
KolusionYes but this could be a networking problem outside of the VPS.15:27
ravagesure but then there is nothing we can help you with here15:27
KolusionYes15:28
KolusionBut it would have been good if you could have checked.15:28
KolusionYou have already been awesome15:28
KolusionServer reinstalled. Same problem15:29
KolusionI bet we have slightly different images.15:29
=== ansivirus__ is now known as ansivirus
KolusionThanks for doing all that15:31
=== dionysus70 is now known as dionysus69
ravagenp. its fun15:32
KolusionWhen the guy decides to check my ticket and fixes the problem, I'll let the channel know what the problem was.15:35
ravagecan you give me the output of "systemctl status pinggw"15:35
ravagethey seem to have a special service to keep their broken network up15:35
Dr-007hey, ive installed glade via https://snapcraft.io/install/glade/ubuntu and it starts. then when i try to make a widget-gtk-applicationwindow it crashes. https://paste.ubuntu.com/p/wYf66qgbjP/ the mount error appears the moment i click to create the widget inside glade.15:35
ravageit is actually called "Ping to keep connection alive"15:36
KolusionResponses are ~5ms15:36
ravagesad but funny15:36
Dr-007ive had problems with snaps before. so i think maybe if its installable via apt-get the error will be history.15:36
ravageKolusion: that means that you can at least ping a gateway. can you ping 2001:4860:4860::8888 ?15:37
KolusionI don't want to copy the output because the hostname is my personal name as this server is to be a pptpd server port forwarding to my domain firstnamelastname.com15:37
Dr-007wierd name15:38
KolusionIs that IP your VPS?15:38
ravagethat is the google dns server15:39
KolusionPinging...15:39
ravagewhat is in your /etc/resolv.conf ?15:40
KolusionBTW pinging a Google DNS server was one of the first things I tried. I will try it again now15:40
KolusionI get a pong from that server.15:40
Kolusion4.2.2.1 4.2.2.215:41
KolusionChecked in there earlier as well.15:41
ravageok that cant work15:41
ravageyou only have v615:41
KolusionIPv4?15:41
KolusionYes15:41
KolusionIs that what you were referring to earlier?15:41
ravageecho "nameserver 2001:4860:4860::8888" > /etc/resolv.conf15:42
Dr-007the problem was snap. once installed via apt-get it doesnt crash. ive shad nap errors before with other stuff. it seems like snap packages cant reach certain places on pc's and then the snap simply doesnt work correctly because of incorrect permissions.15:42
ravageand try to ping google.com again15:42
KolusionI will add Google's DNS server there now.15:42
ravageor do your apt update15:42
KolusionOk15:42
KolusionBRB15:42
KolusionYes!!!!!15:42
KolusionNow you can see why this guy happily accepted my pre-paid Mastercard. lol15:42
KolusionIt hasn't worked. I am going to reboot the server and try again.15:47
KolusionShould have I removed the IPv4 nameservers?15:48
ravageyes15:48
ravagemy command would have done that15:48
KolusionI will comment them out.15:48
KolusionAh. I am talking to you from outside the VM. :)15:49
KolusionYou legend mate. It worked!15:50
KolusionEVERYONE ravage IS A LEGEND!15:50
thelounge5546Snapd: installer is looking for /home/$USER but /home is mounted on /var/home which makes problem for installation. is there a way to tell Snap installer new location for /home ?15:50
ograthelounge5546, https://help.ubuntu.com/community/AppArmor#How_do_I_make_AppArmor_work_with_a_non-standard_HOME_directory.3F perhaps15:51
ravageKolusion: have fun with your server :)15:51
KolusionThanks man!15:51
KolusionWhere can I find you for when I get rich?15:51
ravageim usally here15:52
thelounge5546ogra, thing is i am installing SNAP package on Fedora Silverblue Host, not Ubuntu Host ...15:52
KolusionOops, hotkeys logged me out when I tried to Google you.15:52
leftyfbthelounge5546: try #snappy for snap help on other distros15:53
thelounge5546thanks leftyfb15:53
ograthelounge5546, well, i assum fedora has some similar mechanism to ovverride the $HOME defaults ...15:53
ogra*assume15:53
KolusionMr jp0115:53
thelounge5546ogra, /home is overrided by deafult to /var/home, that is problem for installing snaps :)15:54
ograthelounge5546, yes, i got that in yur initial message πŸ™‚15:54
thelounge5546ok thanks , sry :)15:55
ograask in #snappy ... or in forum.snapcraft.io15:55
Kolusionravage15:55
thelounge5546checking with snappy atm15:55
en7ropyI accidentally killed my python3.8 binary..... is there any easy way to restore it?15:57
KolusionWell, thanks again ravage!15:57
KolusionDoes anyone know how I could go back to a process such as 'nano' that I was using during a SSH session after I reconnect to the session?15:58
Kolusion(After the SSH session drops out)15:58
KolusionThis happened earlier today and nano advised me the file was already being edited by another process (nano) but I didn't know how to get it back so ended up killing it.15:59
llutzKolusion: "reptyr" may help16:00
llutz!info reptyr16:00
Kolusionllutz: Thanks. I'll read the man page soon.16:00
ograor screen ... or tmux ...16:00
llutzKolusion: https://www.maketecheasier.com/use-reptyr-move-processes/16:00
ograor simply nohup16:00
KolusionThanks ogra. I will check out that too.16:01
llutzogra: screen to reattach an existing process, not a detached screen-session?16:02
jhutchinsKolusion: The usual solution is to run screen or temux _before_ the disconnect happens.16:02
Kolusionjhutchins: Thanks. So many solutions!16:03
ograllutz, no, indeed for any future processes πŸ™‚16:03
jhutchinsKolusion: It sounds like there is a recovery file, but I don't know how nano recovers files.16:03
jhutchinsKolusion: vi makes it easy to recover.16:03
llutzso i agree to jhutchins16:03
Kolusionjhutchins: Not a fan of vi :)16:03
jhutchinsThe nano process no longer exists to connect to, but there may be a backup of the file, possibly ~<file> or <file>~16:04
=== v9fk1yn3nu is now known as v9fk
jhutchinsKolusion: We all learn at our own pace.16:04
Kolusionjhutchins its nano's interface I like more.16:05
thelounge5546Kolusion, check byobu instead of screen/tmux16:06
ograalso get one of these: https://www.cafepress.com/mf/59954381/vi-reference_mugs?productId=57752967216:06
ograπŸ˜‰16:06
thelounge5546ogra, n116:07
KolusionOw man16:07
Kolusion'apt upgrade'. Does this do an update to all packages installed on the system?16:08
KolusionI will just man it16:09
shadow255Kolusion: pretty much, you'll need apt update beforehand to make sure your system knows what's needed16:09
llutzKolusion: if updates are available16:09
KolusionThank you. All done. This image of Ubuntu has been gutted.16:10
KolusionWould apt tell me if the system needed to be restarted?16:12
KolusionNow installing Poptop PPTP server for immediate military-grade secure communication channel.16:14
=== dionysus70 is now known as dionysus69
llutzPeople still use pptp?16:19
KolusionYes, it has its uses.16:19
thelounge5546Kolusion, enlighten me please, for what ?16:20
Kolusionthelounge5546: Being the only VPN server that works out of the box.16:20
thelounge5546Kolusion, wireguard ?16:21
Kolusionthelounge5546: I have tried them all step by step. Poptop is the only one that has documentation that actually works.16:22
llutzKolusion: well, if you don't care about security16:23
thelounge5546Kolusion said: immediate military-grade secure communication channel.16:23
Kolusionllutz Poptop has a secure authentication protocol.16:23
thelounge5546Kolusion, they all do ?16:24
llutzthelounge5546:  military as in tin soldiers?16:25
Kolusionthelounge5546: Yes, but the others don't work out of the box when you follow the installation and setup documentation.16:25
thelounge5546llutz, ye :D16:25
KolusionI will be running my PPTP server without any encryption.16:25
thelounge5546brave :D16:26
KolusionThe data going through it will already be encrypted. ;)16:26
thelounge5546i never had problems with openvpn or wireguard setup/config16:26
KolusionThis VPS is soley for forwarding port 25 to my mail server at home. As my new mobile broadband ISP supplies CG-NAT IP's only. My mail server requires TLS.16:27
llutzKolusion: current stable version: pptpd-1.3.4.tar.gz from 2007-04-16    , have fun16:27
Kolusionthelounge5546: If you play around you can deff get it working, but I didn't have the time to play around. OpenVPN's documentation is appalling.16:27
thelounge5546once you get in touch with it, its piece of cake16:28
KolusionSure man16:28
KolusionThat's the Linux way ;)16:28
thelounge5546well, you can always try TINC16:29
KolusionThanks man. My time with VPN servers is done. PPTP will securely serve my needs. :)16:29
thelounge5546yes i understand16:30
thelounge5546Dial-UP! FTW :)16:30
KolusionThe authentication is still secure, despite the encryption being broken, but as all my traffic through it will be encrypted anyway, I am just turning encryption off.16:30
KolusionSo that's why people still use PPTP :)16:30
thelounge5546but 15 years old software ?16:30
KolusionStill works16:30
thelounge5546lel16:31
KolusionBetter than all of them16:31
KolusionJust works16:31
thelounge5546windows 3.1 still works, but not really in use :)16:31
KolusionI drive a 1991 car. Still blows away 75% of other cars16:31
thelounge5546AMEN!16:31
thelounge5546:D16:31
jwashhey everyone, i have a issue where i copied ssh keys with ssh-copy-id, but it still requires password for this computer16:31
jwashother computers it works good16:31
KolusionPeople I am out. Thanks everyone for the help and chat. Bye :)16:32
jwashpermissions are -rw------- for id_rsa and authorized_keys, and -rw-r--r-- for id_rsa.pub and known_hosts16:32
llutzjwash: use ssh -vv user@host   to get more verbose output, to find the issue16:33
jwashty16:33
jwashhttps://www.toptal.com/developers/hastebin/fuqubanezu.yaml16:35
Guest3236Hi, my boot partition is full.Β  It only has 2 kernels on there.Β  I have tried some suggestions on the official Ubuntu site, and it's not really helped.16:38
Guest3236I also have a system.map and a config that don't match a kernel set, can they be deleted?Β  They appear orphaned16:39
Guest3236directory listing:Β  Β https://pastebin.com/hhFtb9PE16:40
Guest3236(boot)16:40
jhutchinsjwash: Logs, -vvv verbose options for both client and server.16:46
alkisgGuest3236: why not just increase the size of that partition, or even delete it and merge it with the rootfs, if it's supported?16:46
jwashk16:47
Guest3236200Mb boot is what Ubuntu recommended originally, and now it's constantly tripping over itself and running out of space.16:57
jhutchinsGuest3236: Unfortunately an incredibly archaic partitioning scheme is thoroughly embedded in most Linux installers.16:58
Guest3236can those 107 files be deleted?Β  They appear orphaned garbage for starters?16:58
leftyfbGuest3236: https://help.ubuntu.com/community/DiskSpace#Separate_.2Fboot_.28sometimes_required.29    20MB ~ 1GB16:58
jhutchinsGuest3236: The best strategy is a single partition (+swap if desired).16:59
leftyfbGuest3236: do not just go deleting files16:59
jhutchinsGuest3236: Meanwhile, use the Apt tools to purge any obsolete kernels before you delete files manually.16:59
Guest3236apt doesn't remove anything more than is there17:00
leftyfbGuest3236: sudo apt remove --purge --autoremove linux-image-5.4.0-104-generic17:00
leftyfbGuest3236: make sure you are booted to a kernel other than 5.4.0-10417:00
nunziociao17:00
Guest3236Β 5.4.0-105-generic #119-17:00
Guest3236The following packages will be REMOVED17:01
Guest3236Β  linux-image-5.4.0-104-generic* linux-modules-extra-5.4.0-104-generic*17:01
Guest3236The following NEW packages will be installed17:01
Guest3236Β  linux-image-unsigned-5.4.0-104-generic17:01
Guest3236linux-image-unsigned-5.4.0-104-gener17:01
leftyfbGuest3236: sudo apt remove --purge --autoremove linux-image-5.4.0-104-generic linux-image-unsigned-5.4.0-104-generic17:02
Guest3236So I can't remove that without adding back a different unsigned one?17:02
leftyfbGuest3236: also, what version of ubuntu are you running?17:02
leftyfbGuest3236: and please use pastebin going forward17:02
Guest3236Β Ubuntu 20.04.4 LTS17:03
leftyfbGuest3236: once you clean up /boot, you should install linux-image-generic-hwe-20.0417:04
didac45hello people17:04
didac45one question17:04
kostkon_didac45 hi17:04
didac45is possible change format files .bin to img image?17:04
leftyfbdidac45: no17:05
leftyfbdidac45: maybe provide some context as to what you are trying to accomplish17:05
didac45i want create a usbdisk from file.bin to boot a pc old pc computer17:06
leftyfbdidac45: what exactly is "file.bin"?17:06
didac45is of cloudready free (chromeOS) everware17:07
thelounge5546*.bin and *.cue , should be able to go *.img, no ?17:07
didac45only have a bin, not cue17:07
leftyfbdidac45: you'll need to seek support from cloudready about their files and how to use them17:07
didac45yeah but the17:08
didac45yeah but the google chrome linux not support recovey app chromebooks17:08
didac45thelounge5546, how i can discover cue file from bin file?17:09
leftyfbdidac45: please contact cloudready on what you need to do with their .bin file. If it's just a raw image, then you should be able to use dd to write it. But you won't know that until you contact the vendor to validate. I'm willing to bet they have written documentation on exactly what you should be doing with that file17:09
leftyfbdidac45: I can guarantee you it's not a bin/cue format17:10
didac45ok17:10
andreasHi17:10
=== andreas is now known as Guest7687
thelounge5546didac45, check what leftyfb told you17:10
didac45i can from windows app recovery google chrome web17:11
didac45but on linux is not possible17:11
didac45thanks17:11
Guest3236Thanks. that has got rid of some junk, and boot is now 34% used space.17:14
Guest3236good for at least the next 2 kernel updates:-( Β  (about 3 weeks)17:14
didac45thanks goodbye17:16
en7ropyCan someone please help me with my attempt to reinstall the default 20.04 python3 binary?  I blew away the binary in the /usr/bin directory and now I'm having problems reinstalling it17:21
leftyfben7ropy: download the .deb for it and use dpkg to install it17:36
leftyfben7ropy: if you have another linux machine, you can spin up an lxd container with 20.04 and just copy the file over from that17:37
en7ropyleftyfb: Ok, will get the .deb file for it.  Unfortunately, this is the only machine I have at the house.17:38
=== blackest_mamba_ is now known as blackest_mamba
en7ropyleftyfb: These are the results I got: https://pastebin.com/d5uksi7w17:43
leftyfben7ropy: why did you download python3-all?17:44
leftyfben7ropy: /usr/bin/python3 is provided by python3-minimal17:44
en7ropyleftyfb: I would say mainly because I don't know what I am doing.  It's the first link that came up on a google search17:45
llutzleftyfb: en7ropy /usr/bin/python3.8 is from python3.8-minimal, python3-minimal only provides the symlink python3 ->python3.817:49
alkisgWhat's the output of: find /usr/local -type f | nc termbin.com 999917:49
alkisgMaybe you have a custom python versions that breaks the deb postinsts...17:49
leftyfbalkisg: they deleted /usr/bin/python317:49
en7ropyleftyfb: Here are the results of attempting to install the python3-minimal .deb: https://pastebin.com/LMkaZNJL17:50
en7ropyI did attempt to "upgrade" my python to the latest, then I read somewhere that you shouldn't do that, that you should stick to the version that the distro keeps as default17:51
llutzen7ropy: apt download python3.8-minimal   then dpkg-deb -R  downloaded-packagename.deb /tmp, then copy the binary from extracted files17:51
leftyfben7ropy: try python3.8-minimal17:52
leftyfben7ropy: upgrades using apt and the official repo's are fine17:52
en7ropy$ apt download python3.8-minimal --> E: Can't find a source to download version '3.8.12-1+bionic3' of 'python3.8-minimal:amd64'17:54
llutzen7ropy: if you only remove /usr/bin/python3, then just re-create that symlink. ln -s /usr/bin/python3.8 /usr/bin/python317:54
leftyfbllutz: good point17:54
en7ropyllutz: I overwrote the python3.8 binary in /usr/local with a symlink.... D:17:54
llutzbionic uses python3.6, not 3.8?17:55
en7ropyI'm not on Bionic, I upgraded to 20.04 LTS17:55
leftyfben7ropy: ( cat /etc/os-release ; uname -a ; ls -l /etc/apt/sources.list.d/ ; apt-cache policy python3.8-minimal ) | nc termbin.com 999917:55
llutzen7ropy: why /usr/local? why does apt try to get bionic-packages?17:55
en7ropyI have no idea what's going on with my system..17:55
llutzen7ropy: sounds like a mess17:56
leftyfben7ropy: please provide the requested info so we can track down what state your system is before we go making anymore changes17:56
leftyfben7ropy: once you run that, please run:    ( which python3 ; ls -l $(which python3) ; ls -l /usr/local/bin/python* ; ls -l /usr/bin/python ) | nc termbin.com 999917:57
en7ropyleftyfb: https://termbin.com/233017:57
leftyfben7ropy: step #1 you need to remove the deadsnakes repo17:58
leftyfband any bionic repos17:58
en7ropyhttps://termbin.com/a5gqf17:58
leftyfbyou seem to have python isntalled from bionic from a .deb that isn't part of any repo17:59
leftyfband you have python 3.10 in /usr/local/bin .... why such the python mess?17:59
en7ropyI asked for help in #linux, and after that failed I kept googling around and was following a tutorial for a google search resembling, "Help, I blew away my python3, how do i restore it"17:59
leftyfbgah18:00
en7ropyYea, if it's not clear by now, I have no idea what I'm doing, just searching and looking for help, without really understanding what I'm doing18:00
en7ropyHow do I remove the deadsnakes/bionic repos?18:00
leftyfben7ropy: I could maybe help with removing the repo and maybe help reinstalling the proper python, but other than just deleting things in /usr/local/bin/, I'm not so sure it's enough. This is a big mess. I can you tell, it will be a LOT quicker, cleaner and easier to just reinstall18:05
en7ropyleftfb: Oh man..... that sounds terrible.... what does a reinstall look like?  A completely new system where I need to reinstall all my programs and copy all my data back and forth?18:07
en7ropyleftyfb: Oh man..... that sounds terrible.... what does a reinstall look like?  A completely new system where I need to reinstall all my programs and copy all my data back and forth?18:07
leftyfben7ropy: that would be my suggestion, yes18:09
llutzen7ropy: think about that next time before you ruin your installation again :)18:09
leftyfben7ropy: a reinstall is quick. As is reinstalling the packages you want. Then just restore the backup of your personal files18:10
leftyfbllutz: we all had to start somewhere. Destroying a system is the best way to learn18:10
alkisgen7ropy: you can keep your /home while reinstalling, it's not hard18:10
alkisgI.e. no copying your data back and forth involved, as long as you select the "custom" option in the partitioning step18:10
alkisgAs for solving the initial issue, I would start with moving /usr/local to /usr/local.bad, then take it from there18:11
en7ropyleftyfb, llutz, alkisg: Ok... trying to deal with this mentally.... probably will choose the reinstall so things are clean.... but here's my situation, I'm interviewing for a job and an engineer will probably be contacting me in an hour or two to set up a zoom discuss a coding challenge they sent me, if I could get a working default python on my system for that, then I could reinstall a little more comfortably after that.... what are the odds I can get18:14
en7ropythe default version of python on my system in the next hour?18:14
leftyfben7ropy: I personally cannot commit to that goal at the moment. I have my own work going on18:15
alkisgen7ropy: does this work? sudo apt install x11vnc18:15
en7ropyleftyfb: Ok, I understand.  Thank you for the help you've already provided me18:15
alkisgIf yes, I could take a quick look over vnc, to solve things more quickly18:15
leftyfbalkisg: tmate18:15
alkisgSure, or just my own reverse epoptes-client, it's in the repos :)18:16
leftyfbalkisg: tmate will give you ssh that they can watch without poking holes in firewalls18:16
alkisgYes, x11vnc as well18:16
alkisgAnd without a foreign server between us18:16
alkisgx11vnc and epoptes-client use reverse connections; they bypass nats and firewalls18:17
en7ropyalkisg: I'm new to this, what is vnc and tmate?18:17
alkisgen7ropy: try that command, it's a small program; if the installation doesn't work, no point in pursuing that path more: sudo apt install x11vnc18:17
alkisgIf your dpkg is so broken that it can't do that, then you'd need to reinstall18:18
alkisgIF it works, then an x11vnc -connect command will share your screen with me18:18
en7ropyalkisg: Yup, got an error.... dpkg seems broken.....18:18
alkisgDoes it work if you run: sudo mv /usr/local /usr/local.bad18:19
alkisgAnd then apt install...18:19
alkisgOr, if you happen to have a live cd, the same tasks could be accomplished from the live cd18:19
en7ropyalkisg: I'm super concerned about moving the /usr/local ... that's kosher??18:20
alkisgNormally /usr/local is pretty much empty18:20
alkisgThat stuff you put there might be what breaks apt and the other things18:20
alkisgYou can still move it back if you see something ...non-kosher18:20
en7ropyalkisg: I don't have a livecd, no cd drive, I could try to install Ubuntu on a USB stick though18:20
en7ropyOk, will try18:21
alkisgSure a live USB would also work fine18:21
en7ropyWhat did you want me to install after moving /usr/local to /usr/local.bad?18:22
alkisgsudo apt install x11vnc18:23
en7ropyalkisg: Nah, still doesn't work.... =[[18:24
alkisgOK create a live USB then18:24
alkisgIf I'm around then, I'll help you reinstall while keeping /home18:24
en7ropyI can install 20.04 LTS from a live USB?18:24
en7ropyAwesome, thanks18:24
alkisgSure18:24
=== st13g is now known as crisdel
Anarchosis it possible for a gateway to forward a udp broadcast packet from one subnet to another ?20:02
jhutchinsAnarchos: Yes, most firewall software supports UDP forwarding.20:18
jhutchinsAnarchos: Otherwise you couldn't ping an external address.20:19
Anarchosjhutchins i use masquerade on ubuntu20:19
jhutchinsAnarchos: http://tldp.org/HOWTO/IP-Masquerade-HOWTO/20:20
jhutchinsAnarchos: Most SOHO firewall/routers use masq.20:20
Anarchos jhutchins net.ip.forward=1 will be sufficent in sysctrl.conf ?20:33
jhutchinsAnarchos: Yes, but you will also need rules that do the actual forwarding.  Please read the docs above.  They're more thorough than you need, and a bit focused on RHEL5, but you'll know what to do once you've read them.20:35
jhutchinsAnarchos: I don't know if the GUI front-ends for networking will handle that, I wouldn't be surprised.20:35
Anarchosjhutchins yes i remember setting rules related to iptables20:36
M-spirit[m]hello21:07
sarnoldhi21:08
M-spirit[m]i need help to use testdisk21:09
M-spirit[m]do you know that app? i want to recover some files from my external hdd21:09
EriC^^M-spirit[m]: what's up21:12
M-spirit[m]i need help to use testdisk21:12
M-spirit[m]i downloaded the zip file21:12
* M-spirit[m] uploaded an image: (26KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/JNhMVaZiYmqMRNXjQpAjTECr/Istantanea_2022-04-04_22-57-34.png >21:12
EriC^^no need, it's in the repos, sudo apt-get install testdisk21:12
M-spirit[m]i read that in repos there is an older version21:15
M-spirit[m]ok.. i've done it21:17
EriC^^M-spirit[m]: sudo testdisk  in the terminal21:17
M-spirit[m]now?21:17
EriC^^yeah21:17
M-spirit[m]then?21:20
EriC^^No log > choose your disk21:20
M-spirit[m]ok21:21
M-spirit[m]it ask me21:21
M-spirit[m]intel21:21
M-spirit[m]efi21:21
EriC^^M-spirit[m]: can you share the output of 'sudo parted -ls' of your disk?21:21
EriC^^or if you want just see the partition table type, is it msdos or gpt?21:21
* M-spirit[m] uploaded an image: (26KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/znRpOIsFUWyiAxDpTnDVltNX/Istantanea_2022-04-04_23-21-47.png >21:22
M-spirit[m]it doesn't say "recover data"21:23
M-spirit[m]wich one should i choose?21:23
EriC^^analyse21:23
M-spirit[m]ok21:24
M-spirit[m]deeper search21:24
M-spirit[m]is working21:24
M-spirit[m]:-))21:24
M-spirit[m]thank you21:24
M-spirit[m]πŸ˜ƒ21:24
EriC^^no problem21:24
EriC^^is it just files that were deleted? or the partition?21:25
M-spirit[m]just files21:25
M-spirit[m]they are very important for me21:26
EriC^^aha21:26
EriC^^maybe listen to instructions carefully then?21:26
M-spirit[m]??21:26
EriC^^did you see if it's a gpt/msdos partition?21:27
M-spirit[m]how can i see that?21:28
EriC^^EriC^^> M-spirit[m]: can you share the output of 'sudo parted -ls' of your disk?21:28
M-spirit[m]gpt21:30
EriC^^ok, close testdisk and restart it and choose efi/gpt when it asks21:31
M-spirit[m]my disk21:31
M-spirit[m]:'(21:31
M-spirit[m]ok21:31
M-spirit[m]done it21:32
M-spirit[m];)21:32
M-spirit[m]is wroking again21:32
M-spirit[m]i choosed "analyse"21:33
M-spirit[m]is analysing21:33
M-spirit[m]but when is finished21:33
M-spirit[m]what happen?21:33
EriC^^it should show the partitions21:35
EriC^^right after the quick search, it should show them, and if you press 'p' you should be able to list the files, red ones are deleted files21:35
EriC^^press c or C to recover them21:36
M-spirit[m]ok21:37
M-spirit[m]is doing long deep search21:37
M-spirit[m]i think it will request all night long21:37
EriC^^it doesnt need that21:37
EriC^^press stop then go back to quick search, they should show up there if they're not deleted21:39
EriC^^(the partitions)21:39
M-spirit[m]ok21:39
M-spirit[m]quick21:39
M-spirit[m]is very slow21:40
M-spirit[m]:')21:40
M-spirit[m]it's the same21:40
M-spirit[m]i choose quick21:40
M-spirit[m]it will take all night21:44
M-spirit[m]i want to die21:44
M-spirit[m]:'/21:44
EriC^^M-spirit[m]: just press 'stop' it should list whatever it found til now, probably your partition is there21:45
sarnoldscanning an entire hard drive to try to find fragments of files isn't a quick thing21:45
M-spirit[m]it doesn't show me anything21:46
EriC^^M-spirit[m]: can you share 'sudo parted -ls' ?21:47
M-spirit[m]xD21:47
M-spirit[m]OK21:47
M-spirit[m]Modello: VendorCo ProductCode (scsi)... (full message at https://libera.ems.host/_matrix/media/r0/download/libera.chat/6c203267a43f318447ab5c13fce3cf5c7c9c6367)21:49
M-spirit[m]the HDD external where i want to recover my files is msdos21:49
krytarikM-spirit[m]: Didn't you indicate in #ubuntustudio earlier that you've reformatted the disk from exFAT to ext4?  Was that before or after you put the files on it?21:49
M-spirit[m]before21:50
M-spirit[m]first i formatted21:50
M-spirit[m]then i putted the files21:50
jhutchinsM-spirit[m]: There's no reason it should not take all night.  It'c a difficult, complex process, and it takes time.  Just let it run, come back tomorrow.21:50
M-spirit[m]sigh... ok21:50
EriC^^he's really just looking for the partition at this point, not actual files21:50
EriC^^just he seems full of, ahem, discrepancies, so it's taking a while21:51
M-spirit[m]ok21:51
M-spirit[m]i will let it work21:51
M-spirit[m]all night21:51
EriC^^no use M-spirit[m]21:51
EriC^^M-spirit[m]: exit testdisk, type 'sudo testdisk /dev/sda1'21:52
EriC^^choose none as the partition type, then choose 'file undelete' or so21:53
M-spirit[m]there isn't file undelete21:54
EriC^^what is there?21:54
M-spirit[m]look21:54
* M-spirit[m] uploaded an image: (20KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/FocVYsbyAxeOahlDhmAaufZY/Istantanea_2022-04-04_23-54-52.png >21:55
EriC^^choose 'list'21:55
* M-spirit[m] uploaded an image: (20KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/UcSVxRZtfPSaEOzrHrqVJSeS/Istantanea_2022-04-04_23-54-52.png >21:55
M-spirit[m]sorry21:56
* M-spirit[m] uploaded an image: (17KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/eABgWSpOgmRnToCCtSwZhyes/Istantanea_2022-04-04_23-55-47.png >21:56
EriC^^hmm, anything in "lost+found"?21:56
M-spirit[m]??21:56
M-spirit[m]what is asking me?21:57
EriC^^the dir, lost+found, anything in it?21:57
EriC^^use the right arrow key to open it21:57
* M-spirit[m] uploaded an image: (7KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/EEOAJyotkuhGhVisEaTDOrAq/Istantanea_2022-04-04_23-57-46.png >21:57
EriC^^M-spirit[m]: you can try using photorec to recover the files21:58
M-spirit[m]xD21:59
M-spirit[m]is more easy21:59
M-spirit[m]ok.. photorec21:59
M-spirit[m] sudo apt-get install photorec21:59
EriC^^it comes with testdisk already, it searches for files in the disk based on their headers, if you tell it recover all jpeg it recovers them all, without names or dir structure though21:59
M-spirit[m]right?21:59
EriC^^no, just sudo photorec /dev/sda22:00
M-spirit[m]it say22:01
M-spirit[m]E: File /dev/sda non supportato passato sulla riga di comando22:01
M-spirit[m]"not supported on command line"22:01
M-spirit[m]ok22:02
M-spirit[m]is not22:02
M-spirit[m]sda22:02
M-spirit[m]is sda122:02
EriC^^M-spirit[m]: try just sudo photorec22:02
EriC^^ok22:02
EriC^^M-spirit[m]: you have to press 'file opt' and choose which type of files to recover22:03
* M-spirit[m] uploaded an image: (11KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/jaiVwQqWTqQDsbUmshOWwcvg/Istantanea_2022-04-05_00-03-26.png >22:03
EriC^^M-spirit[m]: press 's' to disable all, then use arrow to select just the ones you want, 'b' to save22:03
EriC^^choose 'whole'22:04
M-spirit[m]i want to recover all file now22:04
M-spirit[m]files*22:04
M-spirit[m]destination of files22:04
M-spirit[m]can't be the same external HDD?22:04
* M-spirit[m] uploaded an image: (22KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/piBpItqsqResEDVFzFcqNgZO/Istantanea_2022-04-05_00-05-11.png >22:05
EriC^^it can22:05
M-spirit[m]where is the choice22:05
EriC^^M-spirit[m]: you'd have to mount /dev/sda1 somewhere and choose it as the destination in that dialogue22:06
EriC^^'sudo mount /dev/sda1 /mnt' then go to /mnt22:06
EriC^^M-spirit[m]: ironically though, if there are a ton of files, with each one you recover you risk overwriting the others, i think22:06
EriC^^so probably best to use another hdd, if you value your stuff, also use 'file opt' it doesnt just recover everything, there are default headers selected right now, only some files, it depends on what you want to get back22:07
M-spirit[m]i have just that one...22:08
M-spirit[m]it has 2TB22:08
EriC^^it's up to you, if it recovers a file, i think it will copy it to /mnt, and it might be writing it over other files you want to recover22:09
M-spirit[m]are your sure?22:10
M-spirit[m]2TB are a lot of Gigabytes22:10
M-spirit[m]and space22:10
M-spirit[m]:'(22:10
M-spirit[m]uff22:10
M-spirit[m]maybe... is better go to computer repair... and pay someone else to do this work22:11
M-spirit[m]:(((22:11
EriC^^how much space are the files you're trying to recover?22:11
M-spirit[m]maybe 200 Giga22:12
M-spirit[m]because i've done a backup22:12
M-spirit[m]of entire system22:12
M-spirit[m]before reset my pc22:12
EriC^^aha22:12
M-spirit[m]and my pc has a ssd of 512G22:12
M-spirit[m]:'(22:12
M-spirit[m]I'm alone doing these jobs, nobody helps me and so sometimes I make mistakes22:13
EriC^^yeah everybody been there22:14
M-spirit[m]I have not worried about you .. only now I have thought about it22:15
M-spirit[m]I just badly needed to clean up the pc because the memory was full to the max and so I bought a 2 terabyte external HDD22:15
EriC^^worried about me? not sure what you meant :D22:17
M-spirit[m]i'm trying to recovr anything putting again on pc22:17
M-spirit[m]I mean, I haven't thought about this chat22:17
M-spirit[m]waa22:18
EriC^^200gb is excessive i think, there's a chance you could overwrite stuff22:18
M-spirit[m]is recovering a lot of files22:18
M-spirit[m]i choosed a dir of my laptop to recover22:19
M-spirit[m]argh...22:19
EriC^^i think if you care about the stuff, just get a usb, 200gb ones easily out there, or use the 512gb nvme22:19
M-spirit[m]so... difficult22:19
M-spirit[m]512gb nvme is the primary ssd of my laptotp22:20
M-spirit[m]i'musing it22:20
M-spirit[m];)22:20
EriC^^what's the free space there?22:20
M-spirit[m]thank you a lot eric, i'm sorry i i took you a lot of time22:20
M-spirit[m]I would like to know how to reciprocate your generosity22:20
M-spirit[m]512gb nvme is free space22:21
M-spirit[m]because i reset laptop this morning22:21
EriC^^ok, fwiw the computer shops might charge arm and leg for recovery.. if i were you i'd put the data over whatever i can find, in multiple passes, most important stuff22:21
EriC^^so use it for the 200gb recovery files?22:22
EriC^^after recovering, you can copy them back to /dev/sda1 and get the space back22:22
M-spirit[m]yes, i don't know how much big are the recovered files.. i hope is just 200gb22:23
M-spirit[m]:'')22:23
M-spirit[m]the last time the memory of pc was full22:24
M-spirit[m]i Just need to get a ssd for this laptop with 1000TB22:24
M-spirit[m]so i will die happy22:24
M-spirit[m]xDΓΉ22:24
EriC^^do multiple passes, get the most important stuff first to nvme, etc22:25
M-spirit[m]I don't know how to be as practical as you with photorec ... I prefer to let him do it now as he is doing22:26
EriC^^if most important are movies, do pass for those file types, then reassess space contraints, do more passes22:26
EriC^^what's to know :D just choose the important file types, let it run overnight, anyways up to you :)22:27
M-spirit[m]but22:29
EriC^^it's just tiring cause you have to do more passes, but it should work22:29
M-spirit[m]if i stop it now22:29
EriC^^it's running now? xD22:29
M-spirit[m]argh22:29
M-spirit[m]i need another hdd!22:29
M-spirit[m]yes is running22:29
M-spirit[m]but i have fear to get ssd again full22:29
M-spirit[m]yesterday i was unable to use pc because it was too much full22:30
EriC^^the possiblity of it overwriting is kind of big, 200gb, it has like 1800gb to write, that's roughly 10% of space it touches and files get overwritten22:30
M-spirit[m]and i have no money to buiy it again22:30
EriC^^hmm, if the ssd is full just boot recovery mode from grub and delete few files, or a live usb22:31
EriC^^not a big deal22:31
M-spirit[m]ok22:32
M-spirit[m]for this moment22:32
EriC^^really you have to be selective of the file types in photorec22:32
M-spirit[m]i want to recover just22:32
M-spirit[m]2 files22:32
M-spirit[m]ok i stop it22:32
EriC^^ok great22:32
EriC^^what file types are they?22:32
M-spirit[m]Krita22:32
EriC^^ok, so .kra files?22:33
EriC^^or ?22:33
M-spirit[m]yes22:34
M-spirit[m]krita22:34
M-spirit[m]projects22:34
EriC^^M-spirit[m]: the electricity goes out here in a bit, i will skip to what you need to do, photorec doesnt have .kra files it seems, BUT it can recover any file you teach it to recover22:34
M-spirit[m]how can i teach him to recover krita?22:35
EriC^^what you need to do is add to it .kra files, you'll need any other .kra file you can find22:35
EriC^^in case i disconnect, the guide is here https://www.cgsecurity.org/wiki/Add_your_own_extension_to_PhotoRec22:35
M-spirit[m]umh22:35
M-spirit[m]hey22:37
M-spirit[m]photorec can find .kra22:37
M-spirit[m]take a look here22:37
M-spirit[m]https://www.cgsecurity.org/wiki/File_Formats_Recovered_By_PhotoRec22:38
M-spirit[m].kra is on the list22:38
EriC^^do you have it on the list, in file opt?22:38
M-spirit[m]where can i fin file opt?22:39
EriC^^in photorec, first menu search options file opt22:40
M-spirit[m]ok22:41
M-spirit[m]i haven't it22:41
M-spirit[m]...22:41
EriC^^M-spirit[m]: type 'nano ~/.photorec.sig'22:42
M-spirit[m]then?22:43
EriC^^copy and paste this into it https://termbin.com/ivwc22:44
M-spirit[m]you're genious22:44
M-spirit[m]done it22:44
M-spirit[m]:))22:44
EriC^^ok, save it22:45
EriC^^then type "wget -O /tmp/test.kra https://termbin.com/p00c"22:45
EriC^^and try "fidentify /tmp/test.kra" photorec should say "krt" as type, if it does then all good22:45
M-spirit[m]wait22:46
M-spirit[m]i don't know how to save it22:46
EriC^^ctrl+o22:46
M-spirit[m]πŸ˜…πŸ˜…πŸ˜…22:46
M-spirit[m]ok22:47
M-spirit[m]it say22:48
M-spirit[m].zip22:48
M-spirit[m]not .kra22:48
M-spirit[m]o.O22:48
* M-spirit[m] uploaded an image: (34KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/jQAFGOuqhxloqSBogThqUYIR/Istantanea_2022-04-05_00-48-48.png >22:48
EriC^^M-spirit[m]: hmm, type "cat ~/.photorec.sig | nc termbin.com 9999"22:51
M-spirit[m]file or dir not exist22:51
EriC^^M-spirit[m]: type "wget -O ~/.photorec.sig https://termbin.com/ivwc"22:52
EriC^^M-spirit[m]: i read online some guy saying that it's supposed to be picked up kra by zip in photorec, but it wasnt for him, i tested here on a partition also didnt, but this signature he gave he said worked22:52
EriC^^so if anything you'll use both the custom signature and the zip, just in case22:53
M-spirit[m]ok22:53
M-spirit[m]it worked not22:53
M-spirit[m]it answer me with this link22:53
M-spirit[m]https://termbin.com/nv2i22:53
EriC^^try 'cat ~/.photorec.sig' again22:54
M-spirit[m]yes22:54
EriC^^file found and contents are krt 0 0x504B0.... ?22:54
M-spirit[m]it answer me22:54
M-spirit[m]with this22:54
EriC^^ok22:54
M-spirit[m]yes22:54
EriC^^try "fidentify /tmp/test.kra" again22:54
M-spirit[m]zip22:55
M-spirit[m]:'(22:55
EriC^^it might say zip, no worries22:55
M-spirit[m]ok22:55
EriC^^M-spirit[m]: start photorec, sudo photorec /dev/sda122:55
M-spirit[m]:'?)22:55
EriC^^yay the electricity came back here22:55
M-spirit[m]hope you're right22:55
M-spirit[m]ok22:55
M-spirit[m]i'm here22:56
EriC^^go to file opt,22:56
M-spirit[m]ok22:56
M-spirit[m]then22:56
EriC^^press 's' to remove the default selection, then press right arrow key to select the first one "custom signature"22:57
EriC^^also head down to the absolute bottom and choose "zip" with right arrow key too22:57
EriC^^then press "b" to save the settings22:57
EriC^^and "q" to go back to menu22:57
osiris#wunclub22:58
M-spirit[m]wait22:58
M-spirit[m]when i press arrow key22:58
M-spirit[m]it take me back22:58
M-spirit[m]here22:58
* M-spirit[m] uploaded an image: (17KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/pmGZMfVfWwnWxrhtecKQGLlw/Istantanea_2022-04-05_00-59-04.png >22:59
EriC^^hmm it shouldnt, give it another shot22:59
M-spirit[m]aah23:00
M-spirit[m]maybe you say to do that23:00
M-spirit[m]it should appear a cross23:00
EriC^^yeah exactly23:00
M-spirit[m]at left sqare?23:00
M-spirit[m]ok23:00
M-spirit[m]so23:00
EriC^^yup23:00
M-spirit[m]the cross on custom and on zip?23:00
EriC^^yeah23:00
M-spirit[m]then save all?23:00
M-spirit[m]ok23:00
EriC^^right23:00
EriC^^press 'b' to save23:01
M-spirit[m]done it!23:01
EriC^^great, press 'q' to go back to the menu, then hit 'search'23:01
M-spirit[m]ok23:02
M-spirit[m]i'mextrecting on documents23:02
M-spirit[m]so difficult..23:02
M-spirit[m]sigh23:02
M-spirit[m]do you like play some instruments?23:03
EriC^^dont play much anymore, used to play guitar long time ago23:04
EriC^^you?23:04
M-spirit[m]i love guitar23:04
M-spirit[m]😍23:04
M-spirit[m]i play acoustic guitar23:04
M-spirit[m]every day23:04
M-spirit[m]at any time of the day23:04
M-spirit[m]:')23:04
M-spirit[m]and sing too23:04
EriC^^nice, i feel like my fingers would bleed if i played these days, no more dead skin on the fingers you know23:05
M-spirit[m]i'vee become so nuumb i can feel you there it's been more i waste all i wanted to doo is be more like this la la lala23:05
M-spirit[m]linkin park23:05
M-spirit[m]xD23:05
EriC^^lol23:05
=== osiris is now known as K3WHO
EriC^^were you able to get it scanning?23:07
M-spirit[m]yes23:08
M-spirit[m]not file found23:08
M-spirit[m]for this moment23:08
* M-spirit[m] uploaded an image: (24KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/LMHlzeSyioTAIFurwfNlzZDg/Istantanea_2022-04-05_01-08-26.png >23:08
EriC^^aha, might take a while, hopefully it finds something!23:09
M-spirit[m]i hope23:09
M-spirit[m]πŸ˜₯πŸ˜₯23:09
M-spirit[m]anyway if it doesn't work i'll try others ways..23:10
M-spirit[m]is beautiful linux23:10
EriC^^yeah very useful, lots of tools23:10
M-spirit[m]but sometimes is very difficult if you're not ready to solve problems23:10
M-spirit[m]like me23:10
M-spirit[m]for me the machine language.. is like ABC for children23:11
EriC^^got to read up a little, it gets easier the more you know stuff/have experience though23:11
EriC^^im off to bed, goodluck M-spirit[m] !23:12
M-spirit[m]thank you very much Eric, hope you will return you back your generosity i some ways23:13
M-spirit[m]you're a good boy ;)23:13
EriC^^no problem M-spirit[m] , you're very welcome23:13
EriC^^haha, thanks, you as well ;)23:13
M-spirit[m]have a good night!! MAgic dreams 🌈🌈🌝🌟 thank you23:14
EriC^^thanks, you too23:14
=== K3WHO is now known as osiris
=== osiris is now known as _osiris
=== seifeslimene_ is now known as seifeslimene

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