[00:28] <pyeverything> Hi is there a way to fix CTRL+SHIFT+v to CTRL+v for terminal in Ubuntu 20.04?
[00:30] <specter> Maybe. What wm are you using?
[00:36] <pyeverything> specter: what do you mean by "what are you using?"
[00:36] <pyeverything> what is wm?
[00:36] <pyeverything> specter: lrwxrwxrwx 1 mona mona 0 Dec 28 18:22 /proc/19449/exe -> /usr/bin/bash
[00:38] <pyeverything> /usr/libexec/gnome-terminal-server specter
[00:39] <oerheks> gnome-terminal > preferences > shortcuts
[00:39] <oerheks> easy to find
[00:39] <MIF> I am looking to remove rsync but when I type apt remove rsync it will also remove ubuntu-standerd
[00:39] <MIF> is that ok?
[00:40] <oerheks> !info rsync
[00:40] <oerheks> yes, it is a core application
[00:40] <MIF> so I cannot remove it
[00:40] <oerheks> nope, and it is just a few hundred kb
[00:41] <MIF> then can i disable it?
[00:57] <pyeverything> oerheks: thanks a lot it worked
[00:58] <pyeverything> do you know besides #python where would be best to ask a SymPy question?
[01:21] <pillager86> Unicode 🥸 is missing in Firefox is that a known bug?
[01:21] <MIF> it is not for me
[01:21] <MIF> I can see that
[01:22] <pillager86> Should I change my default font then?
[01:22] <pillager86> I'm on 20.04
[01:22] <MIF> I am not on ubuntu right now
[01:22] <MIF> just so you know
[01:23] <Maik> pillager86: sudo apt install ubuntu-restricted-extras
[01:24] <pillager86> Maik, ok cool I will try that
[01:24] <Maik> this will install missing codecs and fonts
[02:21] <theborger> what is the highest you can set "mii-monitor-interval" to?  if I leave it at stock witch is 100.  i get disconnects from ssh,vnc,samba etc.  so just done know if making that number higher will help anympred right now its set at 1000.
[02:41] <rcm888> does ubuntu 1604 have dns protection software?
[03:03] <Blade-Runner> can someone tell me how to edit grub 2.04 to return win 10 to the grub menu?
[03:03] <Blade-Runner> i'm i nano with grub config loaded
[03:05] <oerheks> find the UUID with sudo blkid , and voila https://itectec.com/ubuntu/ubuntu-add-windows-10-to-grub-os-list/
[03:09] <Blade-Runner> i cant make heads or tails out of blkid, i'll try reading the website you posted
[03:13] <oerheks> your windows should have ntfs/exfat, easy to spot
[03:14] <Blade-Runner> that website reads like greek
[03:14] <oerheks> then edit /etc/grub.d/40_custom,
[03:16] <Blade-Runner> your still speaking over my head
[03:17] <Blade-Runner> there is nothing in "custom"
[07:36] <ExcessiveAggro> Evening all
[07:37] <ExcessiveAggro> So my sound just stopped working.  I've followed lots of guides on reinstalling pulse, reinstalling alsamixer, and others.  Any suggestions?
[07:45] <ducasse> ExcessiveAggro: first thing i'd do is check with alsamixer or pavucontrol of anything is muted
[07:46] <oerheks> alsamixer > f6 > choose proper device
[07:47] <ducasse> MIF: you *can* remove ubuntu-standard, but you must reinstall it before you try to upgrade in the future
[08:27] <thunderhurst> Hi everyone! I ran into a weird issue with an old server for my homelab. I've got the PERC set up with a virtual disk for my boot drive, and played around with Proxmox for a bit, but when I went to install Ubuntu, no disk was detected during the install! Any suggestions would be most welcome, it really stumped me!
[08:51] <Speiros> thunderhurst Is the DVD drive mounted?
[09:16] <AnimalFarmPig> I'm having a weird problem with Firefox 82 one of my systems running Ubuntu 20.04. I'm trying to visit a specific website, and the site doesn't load at all. When I look in network console of developer tools, under "transferred" it says "blocked". It works in private window, and it works on other machines. Here's a screenshot of network console: https://backdatassup.com/img/aer2vmkns6n2b43sjrb2tc1o1s6fzx0.png  Anyone have any ideas?
[09:25] <oerheks> current version is FF 84?
[09:25] <oerheks> !info firefox
[09:25] <oerheks> time to do a proper update, AnimalFarmPig
[09:25] <oerheks> apt update && apt dist-upgrade
[09:28] <AnimalFarmPig> oh, good idea
[09:37] <AnimalFarmPig> hmm... still having the same problem on FF84
[09:39] <AnimalFarmPig> no extensions enabled, btw
[09:48] <lotuspsychje> AnimalFarmPig: what that magic site that doesnt load?
[09:59] <AnimalFarmPig> lotuspsychje: www.presstv.com -- again, it loads on other machines, and in private window, but in normal FF the network console shows it as "blocked"
[09:59] <AnimalFarmPig> see screenshot above ^
[09:59] <lotuspsychje> works here
[09:59] <AnimalFarmPig> yeah, not a problem with the site, definitely a browser problem
[09:59] <lotuspsychje> AnimalFarmPig: can you open FF from a terminal, see if you get any errors there?
[10:01] <AnimalFarmPig> lotuspsychje: nothing
[10:01] <lotuspsychje> AnimalFarmPig: how about in journalctl -f ?
[10:04] <AnimalFarmPig> lotuspsychje: aha! That's interesting "Server returned error NXDOMAIN, mitigating potential DNS violation DVE-2018-0001, retrying transaction with reduced feature level UDP."
[10:04] <lotuspsychje> thats an error that shows frequently in the logs
[10:05] <lotuspsychje> dont think its related to your FF issue
[10:05] <lotuspsychje> AnimalFarmPig: how about you create a testuser on your system and visit your problem site with a vanilla FF
[10:06] <AnimalFarmPig> hmm... it did show up immediately after trying to hit the site though. I'll give it a try with a test user
[10:07] <lotuspsychje> AnimalFarmPig: maybe its related to your FF profile
[10:10] <AnimalFarmPig> yep, site loads fine for test user. Looks like this is down to something in my user profile. That the site also works in private mode also hints towards that problem.
[10:11] <AnimalFarmPig> maybe this is a FF specific problem and there are better places to discuss? I popped into #firefox, but not sure if that's a support channel or a dev channel
[10:14] <oerheks> remove the ~/.mozilla folder in your home and restart FF?
[10:16] <AnimalFarmPig> oerheks: this is going to blow away the profile, losing bookmarks, saved passwords, etc., no?
[10:17] <oerheks> yes.
[10:17] <oerheks> but it is the only way to clear all possible hooks
[10:18] <AnimalFarmPig> meh, I would rather live with it and just use private session to watch news, but that gave me the idea to `grep -R` for the domain name in ~/.mozilla maybe I can find some place it's stored that is preventing the site from loading
[10:19] <oerheks> one could mv it to an other name ..
[10:20] <AnimalFarmPig> right, move then reimport, meh. I'm going to muck around with files / sqlite databases in the profile instead
[10:20] <EriC^^> AnimalFarmPig: maybe from the browser settings you can delete individual cache/stored cookies etc
[10:21] <EriC^^> i think there's a feature to remove individual cookies
[10:21] <AnimalFarmPig> good idea. I'll check
[10:23] <AnimalFarmPig> cookie search tool is pretty slick, but no relevant cookies stored
[10:25] <EriC^^> AnimalFarmPig: could it be some add-on is blocking it?
[10:25] <AnimalFarmPig> no add-ons running
[10:28] <EriC^^> AnimalFarmPig: what does "ls -l /etc/resolv.conf" give you?
[10:29] <AnimalFarmPig> EriC^^:  lrwxrwxrwx 1 root root 39 Mar 15  2020 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
[10:32] <EriC^^> AnimalFarmPig: i think it's supposed to point to "/run/resolvconf/resolv.conf" that's what i got when i searched for the DNS error above, but i guess it doesnt explain why the site works for a different user, worth a shot though
[10:33] <EriC^^> if you want to fix it do "sudo ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf"
[10:35] <AnimalFarmPig> I can check that out. I'm a bit suspicious though, because I've got my systems set up to use an http/https proxy server, so name resolution should be happening downstream on another box. The problem seems to be local to my firefox profile itself, especially considering that in the network console of ff developer tools, it shows as "blocked"
[10:38] <EriC^^> AnimalFarmPig: seems that the site is a bit 'sketchy' google has tried banning it etc
[10:40] <AnimalFarmPig> yeah, news from Iran not that popular
[10:40] <AnimalFarmPig> alright, I seem to have resolved the problem!
[10:42] <AnimalFarmPig> in ~/.mozilla/firefox/<profile id> there were files sessionstore.jsonlz4 and sessionstore-backups/previous.jsonlz4 which showed up when I grepped for the site domain name. I catted the files, not much interesting there, so I deleted them, and now it works
[10:42] <EriC^^> cool
[10:42] <AnimalFarmPig> thanks for troubleshooting help!
[10:42] <oerheks> :-)
[11:50] <deki_01> Hi
[11:51] <deki_01> is there a repository for ubuntu 20.04 for mssql-server-2019
[11:58] <gonzo> deki 01: according to https://computingforgeeks.com/how-to-install-ms-sql-on-ubuntu/ -- deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic main
[11:59] <deki_01> ok I tried similar, will try now this one
[12:02] <gonzo> deki 01: seems there's a 20.04 version also might be better for 20.04 : https://packages.microsoft.com/config/ubuntu/20.04/ -- deb [arch=amd64,armhf,arm64] https://packages.microsoft.com/ubuntu/20.04/prod focal main
[12:04] <gonzo> deki 01: forget my last comment - it's not mssql I think
[12:07] <deki_01> I try to implement it to ansible with the last link I can update the pepository but if I use the 18.04 or 19.04 I can't
[12:08] <deki_01> and in the last there is no mssql-server but I can update the repository
[12:11] <deki_01> qonzo: it worked now with the 18.04 thanks
[14:08] <BluesKaj> Hi folks
[16:05]  * Deano59 waits
[16:20] <ExcessiveAggro> morning all - Anyone here know how to troubleshoot a sound problem?  I dual boot in windows and the sound works.  I boot in linux and no go.  It was working and just stopped.  I've tried reinstalling pulse and alsa - no go. Something has to be conflicting but not sure how to look
[16:32] <ExcessiveAggro> nevermind I think I found the issue.  Looks like a kernel problem
[16:34] <Deano59> ExcessiveAggro: what version you using? 20.10?
[16:35] <ExcessiveAggro> 20.04 - i found an obscure arch linux post talking about this exact problem with the Gigabyte X570 Aorus integrated audio
[16:35] <ExcessiveAggro> https://unix.stackexchange.com/questions/547746/audio-not-working-on-gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118/569231#569231
[16:36] <ExcessiveAggro> Also this interesting little guy about cold booting fixing the issue. https://askubuntu.com/questions/1210690/no-sound-from-line-out-in-ubuntu-19-10-on-alc1220/1232053#1232053
[16:37] <ExcessiveAggro> It's like the motherboard has some memory unless you hard power it
[16:44] <coconut> ExcessiveAggro, have you tried updating your uefi?
[16:48] <geosmile> when i ssh to my machine, I get this error: unix_listener: cannont bind to path /home/.../sockets/uname@192.168.1.x.ke...: No such file or directory
[16:49] <geosmile> any ideas how to fix this?
[16:49] <geosmile> I tried removing ~/.ssh/sockets directory, does not work
[16:51] <compdoc> I dont have a ~/.ssh/sockets directory. are the permissions correct for .ssh? sometimes things can get owned by root
[16:52] <geosmile> compdoc, I think sockets are created when sshd_config and ~/.ssh/config are configured in a certain way
[16:52] <geosmile> drwx------ - for ssh
[16:52] <geosmile> owned by user
[16:53] <geosmile> found the problem
[16:53] <geosmile> mkdir ~/.ssh/sockets - solves it
[16:56] <blb4393> can sound be directed both to tthe speakers andn to the ble headset? pulseaudio
[16:58] <ExcessiveAggro> coconut, No I havent.  I can look in to how that is done, not sure how to do that
[16:59] <coconut> ExcessiveAggro, depends on the hardware manufacturer, some delivery there own live iso, which i find the most pleasing way.
[16:59] <basenode> guys my night light has stopped working, how can i restart it?
[17:01] <ExcessiveAggro> Wow that is so weird... cold booting the system makes the sound work again.  If you dual boot in to windows the driver does something to the hardware that prevents it from working once you boot back to linux.
[17:03] <blb4393> basenode: there's no lights at night. You have to wait until dawn
[17:03] <basenode> got ourselves a comedian here
[17:04] <coconut> ExcessiveAggro, i had an non-cold boot issue with my wifi getting detected last month, after updating my uefi it started to work eventually...
[17:05] <ExcessiveAggro> @coconut sorry for the newb question here... When you say UEFI are you talking about updating my bios?
[17:05] <coconut> yes
[17:06] <ExcessiveAggro> i will take a look and see if there is a new one out
[17:43] <thallada> I have a external usb drive that is mounted but I can't figure out how (it's not in /etc/fstab or in `mount -l`). I see the device in `lsblk` and `fdisk -l`. Where else should I look for how this is mounted?
[17:43] <thallada> `findmnt` didn't return anything either
[18:02] <ExcessiveAggro> @coconut - my UEFI was quite outdated so good housekeeping to get it updated.  However the cold boot problem still persists.  Not a big deal since I know how to fix it, but odd nonetheless
[18:06] <coconut> Bummer, though good to have tried imo
[18:09] <prion> is there a way to make trackpad pinch behave the same as touch screen pinch?
[18:12] <ExcessiveAggro> Agreed coconut
[18:22] <nelgin> Hi all. I can't seem to find a ufw command to add ipset rules. Anyone know if this is possible or do I need to do some manual manipulation?
[18:31] <tomreyn> nelgin: bug 1571579
[18:36] <nelgin> Ah thank you. The more I use ufw, the more I think I might just go back to straight iptables.
[18:37] <tomreyn> i think that's the standard process people go through :)
[18:38] <MIF> is there a way to install the ubuntu server installer on a nuked server?
[18:38] <tomreyn> some also consider other tools and try firewalld, wasting yet more time
[18:39] <nelgin> It means I have to feck around with the fail2ban rules too.
[18:40] <tomreyn> MIF: what is a 'nuked server'?
[18:41] <MIF> sudo rm -rf --no-reserve-root /
[18:41] <MIF> DO NOT RUN THAT
[18:42] <MIF> I can boot into grub
[18:42] <MIF> and that is it
[18:43] <MIF> I also have a flash drive
[18:45] <MIF> and on that flash drive is the ISO file
[18:45] <MIF> just downloaded to it
[18:45] <codecutter> how do you read a dump file?
[18:46] <codecutter> https://neo4j.com/docs/operations-manual/current/tools/dump-load/#neo4j-admin-dump-load
[18:47] <MIF> never mind about my question
[19:20] <stefandxm> Since upgrading to 20.10 i got some issues with the nvidia drivers/x11. i got two monitors connected (both same model). however of them keeps getting disabled and each time this happen (after reboot, restart of x11 / relogin, or even after standby / relogin after that) i have to first "enable" it in display configuration, and then "rebake" it in nvidia settings to get it acceled and happy. running nvidias official drivers. ive removed all the ubuntu
[19:20] <stefandxm> os drivers. its like the configuration from nvidia settings does not blend with display configuration and i am not really sure about how to proceed
[19:46] <etronik> Hi all, running Ubuntu 20.04 with KDE - I'm missing the printers from System settings... how do I get it back? or alternatively setup a network printer ?
[19:52] <MIF> how do I make a user that can access his/her home files only and nothing else?
[19:54] <nelgin> That wouldn't make much sense. What would they do with those files?
[19:54] <MIF> I am going to add a user for a service, but I don't want them to have access to any other files but the home directory
[19:56] <nelgin> If a restricted bash shell isn't enough then consider a chroot jail.
[19:56] <nelgin> https://www.tecmint.com/restrict-ssh-user-to-directory-using-chrooted-jail/
[19:57] <MIF> what is a restricted bash shel
[19:58] <MIF> I think i found it
[19:58] <MIF> thank you nelgin
[19:58] <MIF> I had no clue that even existed
[20:01] <nelgin> After being a unix admin for 30 years you pick up a tip or two.
[20:25] <etronik> it's amazing how setting up printing and printers is still so hit & miss after decades of development - have a basic colour laser printer that's doesn't print on KDE 20.04 - printers icons is not shown on the KDE settings screen,  I have to run it from the Software center, and it hangs while fetching printer drivers....
[20:25] <etronik> I mean... arrrrrgh !
[20:25] <TJ-> etronik: printers are managed using CUPS; that by default provides a web admin on localhost:631
[20:26] <etronik> it should , souldn't it ? but it doesn't
[20:26] <TJ-> etronik: printer drivers are 'deprecated' in CUPS -- everything is expected to provide an IPP service; but we still need PPDs for many and other tools for customised media management
[20:28] <TJ-> etronik: you're saying no cupsd is running? check for a listening socket with "sudo ss -tnlp sport = 631"
[20:29] <etronik> TJ-, thanks for your tips (though you do prove my point :-) - anyway... what does this output even mean ?
[20:29] <etronik> State      Recv-Q     Send-Q         Local Address:Port         Peer Address:Port    Process
[20:29] <etronik> LISTEN     0          5                  127.0.0.1:631               0.0.0.0:*        users:(("cupsd",pid=1026790,fd=7))
[20:29] <etronik> LISTEN     0          5                      [::1]:631                  [::]:*        users:(("cupsd",pid=1026790,fd=6))
[20:30] <TJ-> etronik: it means the cups admin web interface is listening. Use the local browser and go to http://localhost:631
[20:30] <TJ-> etronik: under Admin there is an option add and discovery printers
[20:31] <etronik> TJ-, but like I said...
[20:31] <etronik> The following error was encountered while trying to retrieve the URL: http://localhost:631/
[20:31] <etronik>     Connection to ::1 failed.
[20:31] <etronik> The system returned: (111) Connection refused
[20:31] <etronik> The remote host or network may be down. Please try the request again.
[20:31] <TJ-> etronik: your user will need lpadmin and/or sudo group membership
[20:31] <TJ-> etronik: that suggests you've got firewall rules blocking it, since we know the process is bound to port 631
[20:33] <etronik> TJ-, firewall running in "Home" profile, and none rules mentioning port 631...though I have on the "report" tab somrthing mentioning said port
[20:34] <etronik> TJ-, says... UDP, port 631, address:* appl: cups-browsed
[20:34] <TJ-> etronik: it needs to ACCEPT TCP port 631
[20:34] <TJ-> etronik: my guess would be it is configured to default DENY anything not explicitly allowed
[20:34] <etronik> I even turned off the firewall and still no go
[20:35] <etronik> TJ-, though I can try that...
[20:35] <TJ-> etronik: can you show us "pastebinit <( sudo iptables-save; ip6tables-save )"
[20:35] <TJ-> oops, slight missing sudo typo there
[20:35] <TJ-> etronik: can you show us "pastebinit <( sudo iptables-save; sudo ip6tables-save )"
[20:35] <etronik> TJ-, sure one sec
[20:37] <TJ-> etronik: and to ensure it isn't caused by some weird browser issue, try this too: "curl http://localhost:631 | grep h1" and the last line should be HTML with <h1>CUPS vX.Y.Z<h1>
[20:37] <etronik> TJ-, who cool script... :-) https://paste.ubuntu.com/p/YzbFHP88B5/
[20:38] <TJ-> etronik: if curl gets an error, then it is definitely a firewall issue
[20:39] <TJ-> etronik: looking at the host's firewall rules, this one should allow ALL connections to the localhost: "-A ufw-before-input -i lo -j ACCEP"
[20:39] <MIF> would I still be able to download stuff with curl with
[20:39] <MIF> https://www.irccloud.com/pastebin/CbdEI9CR/
[20:40] <TJ-> etronik: you've also got specific ACCEPT rules, e.g. " -A ufw-user-input -p tcp -m tcp --dport 631 -j ACCEPT "
[20:40] <etronik> TJ-, I just added then removed them from firewall
[20:40] <etronik> so my guess, they're there by default or something ?
[20:41] <etronik> ups
[20:41] <etronik> they're still there
[20:42] <TJ-> etronik: it seems very strange; in 16 years managing Debian/Ubuntu I've not seen CUPS on localhost blocked. Let's ensure some basic sanity exists. Maybe "localhost" isn't resolving correctly. Try direct IP address from the browser: http://127.0.0.1:631
[20:44] <etronik> TJ-, same result with 127.0.0.1 though localhost does resolve to 127.0.0.1
[20:44] <etronik> TJ-, does cups rely of apache for it's functionality ?
[20:45] <etronik> TJ-, doesn't look like it as it shows a squid icon so... must not be apache
[20:45] <TJ-> etronik: can you temporarily totally disable UFW and check it is truly disabled with "sudo iptables-save" and ensure the 'filter' table policies are all ACCEPT (e.g. ":INPUT ACCEPT [0:0]"
[20:45] <TJ-> etronik: no - it is a stand-alone HTTP server in cupsd
[20:45] <nelgin> Is anything actually listening on 127.0.0.1:631 ?
[20:45] <TJ-> nelgin: yes
[20:46] <TJ-> 20:29:47          etronik | LISTEN     0          5                  127.0.0.1:631               0.0.0.0:*        users:(("cupsd",pid=1026790,fd=7))
[20:46] <nelgin> Ah, I didn't scroll back far enough :)
[20:46] <etronik> TJ-, how do I do the following ? "sure the 'filter' table policies are all ACCEPT (e.g. ":INPUT ACCEPT [0:0]""
[20:47] <nelgin> What if you telnet 127.0.0.1 631 or use nc or your favorite tool
[20:47] <TJ-> etronik: as I said, temporarily totally disable UFW (I don't use it so can't tell you how!) then run "sudo iptables-save" and look for the info I showed
[20:47] <TJ-> nelgin: we tried curl; apparently no response - etronik  you DID try curl didn't you?
[20:47] <etronik> TJ-, output of the iptables-save shows...
[20:47] <etronik> # Generated by iptables-save v1.8.4 on Tue Dec 29 20:47:10 2020
[20:47] <etronik> *filter
[20:47] <etronik> :INPUT ACCEPT [2295:503446]
[20:47] <etronik> :FORWARD ACCEPT [0:0]
[20:47] <etronik> :OUTPUT ACCEPT [2425:232066]
[20:48] <TJ-> etronik: OK, good, that ACCEPT is the important thing. Now try "curl http://localhost:631" again
[20:48] <etronik> TJ-, weird... I did get source code for HTML page with what appears as valid options
[20:49] <etronik> like these
[20:49] <etronik>         <li><a href="http://www.cups.org/" target="_blank">CUPS.org</a></li>
[20:49] <etronik>         <li><a class="active" href="/">Home</a></li>
[20:49] <etronik>         <li><a href="/admin">Administration</a></li>
[20:49] <etronik>         <li><a href="/classes/">Classes</a></li>
[20:49] <TJ-> etronik: yay! so that seems to prove that the problem IS the firewall
[20:49] <MIF> did etronik get quited?
[20:50] <TJ-> etronik: you need to put output in a pastebin
[20:50] <TJ-> !paste | etronik
[20:50] <dax> as Drone told you
[20:50] <etronik> yeah I only saw that... just now
[20:50] <etronik> sorry
[20:51] <TJ-> weirdly I cannot see why (so far) UFW rules are causing this since you've got a -i lo -j ACCEPT
[20:51] <etronik> TJ-, but wait, the browser still shows me the same error message
[20:52] <TJ-> etronik: oh really!? I wonder if the browser is doing it over IPv6 .. have you re-enabled UFW at this point?
[20:52] <etronik> no
[20:52] <etronik> still off
[20:52] <etronik> how do I check that IP V6 thingy ?
[20:53] <TJ-> etronik: try this then: curl http://[::1]:631 | grep h1
[20:53] <TJ-> etronik: you should get a line similar to " <h1>CUPS 2.3.1</h1>" at the end
[20:53] <etronik> TJ-, yup! exactly what I got
[20:54] <TJ-> etronik: so, cupsd is answering but your browser isn't connecting. Have you got any kind of HTTP proxy configured?
[20:54] <TJ-> etronik: re-enable UFW then re-test those curl commands to ensure it still works
[20:54] <etronik> TJ-, whoa! wait a sec - must be some FF security/privacy plugin duuhhh stupid me !  via chrome I can access it just fine
[20:55] <TJ-> etronik: that means doing "curl http://[::1]:631 | grep h1" and "curl http://127.0.0.1:631 | grep h1"
[20:55] <TJ-> etronik: well duh :D
[20:55]  * etronik slaps himself senseless
[20:55] <TJ-> etronik: so now you can get back to adding/finding printers :)
[20:56] <etronik> TJ-, I still not very hopefull - let me check
[20:56] <TJ-> etronik: network or USB printer(s) ?
[20:56] <etronik> TJ-, network
[20:56] <TJ-> etronik: as long as they advertise using multicast-DNS (mDNS) cups should discover them
[20:56] <etronik> actually I do have my printer setup... it just doesn't print...
[20:57] <etronik> that's all... simple enough
[20:57] <TJ-> etronik: so through the web-admin interface you can do more inspection and alteration of the config
[20:57] <etronik> I'll try removing it and re-adding it again...
[20:58] <TJ-> etronik: I've seen that happen when the printer gets an IP address via DHCP, has been discovered by CUPS and that IP address recorded, and then later the printer has changed its IP address
[20:58] <TJ-> etronik: so CUPS is trying to connect to the original IP address still
[20:59] <etronik> TJ-, oh... that might be possible... how do I check its address in CUPS ?
[21:00] <etronik> TJ-, can't see what IP it's looking at by the connection string here: https://paste.ubuntu.com/p/Qzn3h95N8N/
[21:00] <TJ-> etronik: via the Admin interface. Administration > Manage Printers > "Printer name"
[21:01] <TJ-> etronik: e.g. if you see it using Connection: dnssd (DNS Service Discovery) then it should be always OK since it looks it up every time (e.g. "Connection: dnssd://Kyocera%20TASKalfa%205551ci._ipps._tcp.local/?uuid=4509a320-004c-00a5-00a3-0025074f50b1 ")
[21:02] <TJ-> etronik: but if you see something like "Connection: socket://10.0.40.56" then you've a fixed IP address which may be out of date
[21:02] <etronik> yeah, but the dnssd it ain't working... but I've set a static IP addrs in the printer... not sure if before or after... I'm trying the discovered printer entries CUPS is showing me
[21:04] <TJ-> etronik: OK, so you can manually do discovery using mDNS to see if the printer is advertising itself as you expect. Use "avahi-browse -art"
[21:05] <TJ-> etronik: that reports the mDNS records being advertised. If you get nothing then either the avahi-daemon service isn't running or firewall rules :P
[21:07] <etronik> TJ-, yeah advertising correctly... only thing is Cups is using a different model than what is being advertised... and the list of printers... mine doesn't show... my printer is an AL-3900... models shown by cups goes from Al-3800 directly to AL-4000... dammit
[21:08] <TJ-> etronik: what make is that? usually minor model differences don't cause issues
[21:08] <etronik> but... I've Dl the correct PPD file from Epson, and told cups to use that
[21:09] <etronik> now reporting correct
[21:09] <etronik> lets see how it behaves now... trying printing
[21:12] <etronik> TJ-, cups now shows the connection as: Connection:	lpd://AL-C3900-9F692F/print  - any potential issues with this ?
[21:12] <etronik> oh and printing fails with : Unable to locate printer "AL-C3900-9F692F"
[21:12] <etronik> boy oh boy oh boy oh boy
[21:12] <TJ-> etronik: I *think* lpd == line printer daemon  but I'd have to check
[21:14] <etronik> TJ-, set it back to dnssd thingy
[21:17] <etronik> TJ-, so back at dnssd locator... printing fails with: ""Unable to locate printer.""
[21:17] <TJ-> etronik: datasheet mentions "Network Printing Protocols: TCP/IP: IPP 1.1, LPD, FTP, WSD, Port9100" port 9100 is usually IPPlooks like it does NOT support IPP!
[21:18] <etronik> TJ-, not following sorry.... am I printing via IPP ?
[21:19] <TJ-> etronik: no, looks like no, since IPP uses port 631 (it uses HTTP/S as the transport)
[21:20] <TJ-> etronik: port 9100 is 'raw' - for example if you know the IP address of the printer you can do, from a *bash* shell, " echo 'Hello World!' > /dev/tcp/<ip-address>/9100  "
[21:21] <etronik> TJ-, to add to this tragedy I just messed up something in cups config now can't access it.... via chrome... went into an option to edit configuration and exited by saving without making ANY change.... :-/
[21:21] <etronik> TJ-, ignore last message , it's back up
[21:21] <TJ-> etronik: you likely restarted the CUPS daemon
[21:22] <etronik> TJ-, so back to the issue why cant cups locate my printer ? any ideas ?
[21:22] <TJ-> etronik: sounds like it can BUT some Epson-specific driver interface is needed
[21:24] <TJ-> etronik: the driver files from Epson web-site are dated 2010 -- not a good sign
[21:26] <TJ-> etronik: the PPD file looks sane ; so the issue is the connection over either LPD or Port9100. did you do the manual port 9100 test I gave you?
[21:26] <etronik> TJ-, that's the one I downloaded but it only contains the PPD
[21:26] <etronik> TJ-, don't think so, can you restate it please ?
[21:26] <etronik> TJ-, no need
[21:26] <etronik> its just above
[21:27] <TJ-> etronik: that datasheet also says that model is supposed to support IPP v1.1 .
[21:28] <TJ-> etronik: do an 'nmap <ip-address-of-printer>" see what ports are open
[21:29] <etronik> TJ-, the test for port 9100 printed just fine
[21:30] <TJ-> etronik: good!
[21:30] <etronik> TJ-, still want the nmap output ?
[21:31] <TJ-> etronik: so now I wonder if that nmap shows it listening on port 631
[21:31] <TJ-> etronik: and if so, if it is advertising the IPP port over mDNS SD
[21:31] <TJ-> etronik: yeah
[21:31] <etronik> TJ-, yes, nmap lists as listening on port 631
[21:35] <etronik> TJ-, output of the avahi -art at https://paste.ubuntu.com/p/xWV4KHjYWX/
[21:35] <TJ-> etronik: thanks; interesting reading here yalks about "Sample drivers for ... EPSON ..." https://opensource.apple.com/source/cups/cups-59/doc/ipp.html#1_2
[21:35] <etronik> huh
[21:36] <etronik> ? where ?
[21:37] <TJ-> etronik: end of that para
[21:37] <TJ-> etronik: also, have you accessed the printer's own HTTP server directly in case there's something there to fiddle with? http://AL-C3900-9F692F.local
[21:38] <etronik> never even tried
[21:38] <etronik> This site can’t be reached
[21:38] <TJ-> etronik: use it's IP address then!
[21:38] <etronik> I should probably point to the IP addrss no TJ- ?
[21:39] <TJ-> etronik: http://192.168.1.9
[21:40] <TJ-> etronik: the name should work; assuming the host's /etc/nsswitch.conf has a hosts: line with mdns mentioned
[21:40] <etronik> TJ-, oh it shows yet another web interface with public and admin access - tried admin, saks for pw which I have no idea... so... went for the public
[21:40] <TJ-> etronik: OK - check the user manual for the admin name/password; might be something obvious, or the serial number or MAC for password
[21:41] <etronik> TJ-, ok have to locate and download it
[21:42] <TJ-> etronik: in case there's something to help in getting it to work on Linux, here's the reference guide that describes various methods of configuring ti for CUPS including through the CUPS web admin  https://download.epson-europe.com/pub/download/3274/epson327472eu.pdf
[21:44] <etronik> TJ-, great thanks, I'm having a look now
[21:45] <TJ-> etronik: on page 52, talking about Windows drivers, it specifically confirms IPP can be used
[21:47] <TJ-> etronik: and on page 54 we may have the fault cause; there it says the IPP URL should be of the form http://<ipaddress>:631/ipp yet the nDNS SD advertised no PATH for the IPP (port 631) service record - I'm wondering if you need to manually edit the connection string in CUPS to add the /ipp
[21:49] <etronik> TJ-, you're sharp eyed man! :-) ok might be , so lets give it a try, just right after I find the authenticadion for admin interface
[21:49] <TJ-> etronik: alos page 44 - the printer's physical interface, confirm IPP is enabled!
[21:50] <soulseeker> siemens cable stiff
[21:51] <etronik> TJ-, let me check that
[21:51] <soulseeker> nope! no checking
[21:52] <soulseeker>  can 18.04 lts do timeshift at install?
[21:52] <etronik> TJ-, yep, it's enabled... bu the option above of Dynamic DNS is not... should I enabled it ?
[21:53] <soulseeker> [pokey]tello
[21:53] <TJ-> etronik: no
[21:54] <TJ-> etronik: DDNS is for the printer to register its IP address against a DNS server's A record
[21:54] <soulseeker> working on starlightos for oldlaptop
[21:54] <TJ-> etronik: looking at the separate User Guide; printer control panel has a SYS menu with a lock code, default password for that is "0000" in case that is also for the web interface
[21:55] <soulseeker> consider using 18.04 lts but need timeshift or some great filesystem
[21:55] <soulseeker> join #oldlaptop for not ubuntu reccomends
[21:55] <etronik> TJ-, doesn't work for the web admin ... maybe I can set it somewhere in the printer
[21:56] <TJ-> etronik: that is what I've been looking for
[21:58] <etronik> TJ-, got it on page 71
[21:58] <TJ-> etronik: I think it'll print out the username/password. control panel > PRINT menu > CONFIGURATION PG > PRINT
[21:58] <etronik> TJ-, I'm in pw is "administrator" for the web interface
[21:59] <TJ-> etronik: ha!
[21:59] <etronik> TJ-, I think you might have a point with the IPP URI... let me paste a screenshot for you
[22:00] <TJ-> etronik: OK, so that should make it easier to control the printer directly, but doesn't help with the CUPS connection string (which is, I suspect, the roadblock here) - maybe it gives you that setting in the admin interface somewhere
[22:00] <etronik> where should I post it ? imgur.com ?
[22:00] <TJ-> etronik: sure
[22:01] <etronik> TJ-, https://imgur.com/a/D9wopGp
[22:01] <etronik> TJ-, weird thing about that IPP Authentication no ?
[22:02] <etronik> maybe I select authentication to "none" ?
[22:02] <etronik> the strange thing is... via WIndows I can print without any issues... it's just Ubuntu that locks up...
[22:04] <TJ-> etronik: aha! paths with /ipp !
[22:04] <TJ-> etronik: but the mDNS-SD records didn't add that for the IPP
[22:05] <etronik> TJ-, you mean the Printer URI ? http://192.168.1.9/ipp and such ?
[22:05] <TJ-> etronik: correct
[22:06] <etronik> TJ-, That's what I aluded to on the "you might have a point... " mesg above ;-) so now what's the nest step ?
[22:07] <TJ-> etronik: lines 23-27 of https://paste.ubuntu.com/p/xWV4KHjYWX/
[22:08] <TJ-> etronik: there's no  txt = ["path=/ipp"] in the same way as line 37 for the web interface
[22:08] <etronik> TJ-, yep it sonething like .local instead right ? so how do we go about correcting that ?
[22:09] <etronik> or somewhere else in the key, value section next to it... TJ-
[22:10] <TJ-> etronik: so, I'd delete the CUPS printer, re-discover it, and edit the connection string - I recall doing it once but I think it had to be done int 2 stage. Let the dicovery add the connection as IPP with the broken path then after the printer is added, Manage > Edit and at some point there's an option in a text edit box to alter the URI
[22:10] <etronik> TJ-,  ok let me try that... fingers crossed ;-)
[22:11] <TJ-> etronik: "Modify Printer" I think
[22:11] <etronik> TJ-,  this is... can you errr point out exactly where should I add the /ipp ? please ?
[22:11] <TJ-> etronik: hang on, there may be an easier way. see https://askubuntu.com/questions/913480/how-do-i-modify-a-printers-ip-address-in-cups
[22:12] <etronik> ups... somewhat late as I deleted it , will add it again
[22:12] <TJ-> etronik: about 2/3rds way down that page there's instructions on editing /etc/cups/printers.conf which I was going to suggest earlier
[22:12] <TJ-> etronik: no problem :)
[22:13] <TJ-> etronik: basically, for a printer that exists (in that file) you locate its "DeviceURI" line and edit it (after "sudo systemctl stop cups" )
[22:14] <TJ-> etronik: I think you should be using "ipp://192.168.2.9/ipp"
[22:14] <TJ-> etronik: once you have that working correctly, re-edit to use the printer's mDNS name once you have proved that name can be used to access the printer
[22:15] <TJ-> etronik: but, I think you were onto something about the IPP Authentication as well
[22:16] <etronik> TJ-, didn't affect windows though, that IPP authentication thing...
[22:16] <TJ-> etronik: OK, that is a good test :)
[22:17] <soulseeker> the erector set software
[22:18] <soulseeker> that legend about the cylons
[22:22] <etronik> I'm just getting desperate now... adding printer doesn't accept current name due to character limitations, or doing via other ways asks for a bunch of details it didn't before...   retrying this
[22:22] <TJ-> etronik: Epson have always been a real pain
[22:27] <TJ-> etronik: I've found reference to the C4000 in the openprinting database, which suggests that is very similar to the C3900, and says it (C4000) uses eplaser driver - I found that in the foomatich-db package but not sure if you can use that
[22:27] <TJ-> etronik: == foomatic-db: /usr/share/foomatic/db/source/driver/eplaser.xml
[22:27] <TJ-> !info foomatic-db
[22:28] <etronik> OMG another rabbit-hole ? :-) don't have energy for that now... maybe later is editing the /etc/cups/yada yada doesn't work
[22:29] <pyeverything> hi open-sourcers :) I documented my question here https://askubuntu.com/questions/1303741/forcing-usr-lib-xorg-xorg-to-not-use-the-nvidia-geforce-gpu-in-ubuntu-20-04
[22:29] <TJ-> etronik: definitely a pain!
[22:29] <TJ-> etronik: the C4000 looks like amuch older model. No front panel LCD, has centronics parallel i/f
[22:30] <TJ-> etronik: so maybe not as similar as appears
[22:34] <etronik> TJ-, That's it, gining up for the day (been a long day today) - using DeviceURI ipp://192.168.1.9/ipp - printed a page, printer woke up... went into a processing loop.... then I got a error message, stating service call... it was working perfectly fine up until now...
[22:34] <etronik> so before I smash this to pieces.... I'm going to fume off somewhere else...
[22:35] <TJ-> etronik: before you go ...
[22:35] <TJ-> !info ippsample | etronik
[22:36] <etronik> TJ-,  what would I do with those ?
[22:36] <TJ-> etronik: this package has some test tools and files that you can use to directly (using "ipptool ...") talk to the printer
[22:37] <TJ-> etronik: I'm looking at it now, but basically it looks like "ippsample ipp://192.168.1.9/ipp get-printer-attributes.test "
[22:37] <etronik> I'll consider it... actually just installed it, but right now I'm not in the best frame of mind... on windows it's just plug &print!
[22:37] <TJ-> etronik: see "man ipptool"
[22:38] <basenode> guys my night light has stopped working, how can i restart it?
[22:38] <TJ-> etronik: I know how you feel; I've spent the last 8 months banging my head against crappy 'container' engine implementations that do not/cannot do IPv6
[22:41] <etronik> TJ-, calling it a day for now, can't thank you enough for your patience, will come back to thank you better and in better mood!  I'm hangry :-) 22:40 here and no dinner
[22:41] <TJ-> etronik: same here; UK
[22:42] <etronik> cheers
[22:42] <TJ-> etronik: I'm trying to test ipptool over a wireguard interface to my offices
[22:42] <etronik> thanks again TJ-  bbl
[22:43] <marchesini> Hell guys
[22:44] <marchesini> I mean hello
[23:57] <jayjo-> how can I generate a password that is compatible with the cloud-init autoinstall cypted_pass listed here: https://ubuntu.com/server/docs/install/autoinstall-quickstart the format is like "$6$exDY1mhS4KUYCE/2$zmn9ToZwTKLhCw.b4/b.ZRTIZM30JZ4QrOQ2aOXJ8yk96xpcCof0kxKwuX1kqLG/ygbJ1f8wxED22bTL4F46P0" for the password "ubuntu" - is there a default salt or iterations to get this same hash?