=== PowerTower_121 is now known as PowerTower_120 === specter_ is now known as specter [00:28] Hi is there a way to fix CTRL+SHIFT+v to CTRL+v for terminal in Ubuntu 20.04? [00:30] Maybe. What wm are you using? [00:36] specter: what do you mean by "what are you using?" [00:36] what is wm? [00:36] specter: lrwxrwxrwx 1 mona mona 0 Dec 28 18:22 /proc/19449/exe -> /usr/bin/bash [00:38] /usr/libexec/gnome-terminal-server specter [00:39] gnome-terminal > preferences > shortcuts [00:39] easy to find [00:39] I am looking to remove rsync but when I type apt remove rsync it will also remove ubuntu-standerd [00:39] is that ok? [00:40] !info rsync [00:40] rsync (source: rsync): fast, versatile, remote (and local) file-copying tool. In component main, is standard. Version 3.1.3-8 (focal), package size 314 kB, installed size 680 kB [00:40] yes, it is a core application [00:40] so I cannot remove it [00:40] nope, and it is just a few hundred kb [00:41] then can i disable it? [00:57] oerheks: thanks a lot it worked [00:58] do you know besides #python where would be best to ask a SymPy question? [01:21] Unicode 🥸 is missing in Firefox is that a known bug? [01:21] it is not for me [01:21] I can see that [01:22] Should I change my default font then? [01:22] I'm on 20.04 [01:22] I am not on ubuntu right now [01:22] just so you know [01:23] pillager86: sudo apt install ubuntu-restricted-extras [01:24] Maik, ok cool I will try that [01:24] this will install missing codecs and fonts [02:21] 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. === de-facto_ is now known as de-facto === zbenjamin_ is now known as zbenjamin === nt0_ is now known as nt0 [02:41] does ubuntu 1604 have dns protection software? === NickBusey0 is now known as NickBusey [03:03] can someone tell me how to edit grub 2.04 to return win 10 to the grub menu? [03:03] i'm i nano with grub config loaded [03:05] find the UUID with sudo blkid , and voila https://itectec.com/ubuntu/ubuntu-add-windows-10-to-grub-os-list/ [03:09] i cant make heads or tails out of blkid, i'll try reading the website you posted [03:13] your windows should have ntfs/exfat, easy to spot [03:14] that website reads like greek [03:14] then edit /etc/grub.d/40_custom, [03:16] your still speaking over my head [03:17] there is nothing in "custom" === LabMonkey is now known as Mechanismus === denningsrogue3 is now known as denningsrogue [07:36] Evening all [07:37] So my sound just stopped working. I've followed lots of guides on reinstalling pulse, reinstalling alsamixer, and others. Any suggestions? [07:45] ExcessiveAggro: first thing i'd do is check with alsamixer or pavucontrol of anything is muted [07:46] alsamixer > f6 > choose proper device [07:47] MIF: you *can* remove ubuntu-standard, but you must reinstall it before you try to upgrade in the future === Metamorphosis_ is now known as Metamorphosis === LabMonkey is now known as Mechanismus [08:27] 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! === StathisA_ is now known as StathisA [08:51] thunderhurst Is the DVD drive mounted? [09:16] 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] current version is FF 84? [09:25] !info firefox [09:25] firefox (source: firefox): Safe and easy web browser from Mozilla. In component main, is optional. Version 84.0+build3-0ubuntu0.20.04.1 (focal), package size 54785 kB, installed size 214167 kB [09:25] time to do a proper update, AnimalFarmPig [09:25] apt update && apt dist-upgrade [09:28] oh, good idea [09:37] hmm... still having the same problem on FF84 [09:39] no extensions enabled, btw [09:48] AnimalFarmPig: what that magic site that doesnt load? [09:59] 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] see screenshot above ^ [09:59] works here [09:59] yeah, not a problem with the site, definitely a browser problem [09:59] AnimalFarmPig: can you open FF from a terminal, see if you get any errors there? [10:01] lotuspsychje: nothing [10:01] AnimalFarmPig: how about in journalctl -f ? [10:04] 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] thats an error that shows frequently in the logs [10:05] dont think its related to your FF issue [10:05] AnimalFarmPig: how about you create a testuser on your system and visit your problem site with a vanilla FF [10:06] 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] AnimalFarmPig: maybe its related to your FF profile [10:10] 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] 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] remove the ~/.mozilla folder in your home and restart FF? [10:16] oerheks: this is going to blow away the profile, losing bookmarks, saved passwords, etc., no? [10:17] yes. [10:17] but it is the only way to clear all possible hooks [10:18] 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] one could mv it to an other name .. [10:20] right, move then reimport, meh. I'm going to muck around with files / sqlite databases in the profile instead [10:20] AnimalFarmPig: maybe from the browser settings you can delete individual cache/stored cookies etc [10:21] i think there's a feature to remove individual cookies [10:21] good idea. I'll check [10:23] cookie search tool is pretty slick, but no relevant cookies stored [10:25] AnimalFarmPig: could it be some add-on is blocking it? [10:25] no add-ons running [10:28] AnimalFarmPig: what does "ls -l /etc/resolv.conf" give you? [10:29] EriC^^: lrwxrwxrwx 1 root root 39 Mar 15 2020 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf [10:32] 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] if you want to fix it do "sudo ln -sf /run/resolvconf/resolv.conf /etc/resolv.conf" [10:35] 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] AnimalFarmPig: seems that the site is a bit 'sketchy' google has tried banning it etc [10:40] yeah, news from Iran not that popular [10:40] alright, I seem to have resolved the problem! [10:42] in ~/.mozilla/firefox/ 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] cool [10:42] thanks for troubleshooting help! [10:42] :-) [11:50] Hi [11:51] is there a repository for ubuntu 20.04 for mssql-server-2019 [11:58] 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] ok I tried similar, will try now this one [12:02] 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] deki 01: forget my last comment - it's not mssql I think [12:07] 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] and in the last there is no mssql-server but I can update the repository [12:11] qonzo: it worked now with the 18.04 thanks [14:08] Hi folks === Etua1 is now known as Etua [16:05] * Deano59 waits [16:20] 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] nevermind I think I found the issue. Looks like a kernel problem [16:34] ExcessiveAggro: what version you using? 20.10? [16:35] 20.04 - i found an obscure arch linux post talking about this exact problem with the Gigabyte X570 Aorus integrated audio [16:35] https://unix.stackexchange.com/questions/547746/audio-not-working-on-gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118/569231#569231 [16:36] 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] It's like the motherboard has some memory unless you hard power it [16:44] ExcessiveAggro, have you tried updating your uefi? [16:48] 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] any ideas how to fix this? [16:49] I tried removing ~/.ssh/sockets directory, does not work [16:51] I dont have a ~/.ssh/sockets directory. are the permissions correct for .ssh? sometimes things can get owned by root [16:52] compdoc, I think sockets are created when sshd_config and ~/.ssh/config are configured in a certain way [16:52] drwx------ - for ssh [16:52] owned by user [16:53] found the problem [16:53] mkdir ~/.ssh/sockets - solves it [16:56] can sound be directed both to tthe speakers andn to the ble headset? pulseaudio [16:58] coconut, No I havent. I can look in to how that is done, not sure how to do that [16:59] ExcessiveAggro, depends on the hardware manufacturer, some delivery there own live iso, which i find the most pleasing way. [16:59] guys my night light has stopped working, how can i restart it? [17:01] 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] basenode: there's no lights at night. You have to wait until dawn [17:03] got ourselves a comedian here [17:04] 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] @coconut sorry for the newb question here... When you say UEFI are you talking about updating my bios? [17:05] yes [17:06] i will take a look and see if there is a new one out [17:43] 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] `findmnt` didn't return anything either [18:02] @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] Bummer, though good to have tried imo [18:09] is there a way to make trackpad pinch behave the same as touch screen pinch? [18:12] Agreed coconut [18:22] 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] nelgin: bug 1571579 [18:31] bug 1571579 in ufw "Support for ipset" [Wishlist,Triaged] https://launchpad.net/bugs/1571579 [18:36] Ah thank you. The more I use ufw, the more I think I might just go back to straight iptables. [18:37] i think that's the standard process people go through :) [18:38] is there a way to install the ubuntu server installer on a nuked server? [18:38] some also consider other tools and try firewalld, wasting yet more time [18:39] It means I have to feck around with the fail2ban rules too. [18:40] MIF: what is a 'nuked server'? [18:41] sudo rm -rf --no-reserve-root / [18:41] DO NOT RUN THAT [18:42] I can boot into grub [18:42] and that is it [18:43] I also have a flash drive [18:45] and on that flash drive is the ISO file [18:45] just downloaded to it [18:45] how do you read a dump file? [18:46] https://neo4j.com/docs/operations-manual/current/tools/dump-load/#neo4j-admin-dump-load [18:47] never mind about my question [19:20] 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] 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] 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] how do I make a user that can access his/her home files only and nothing else? [19:54] That wouldn't make much sense. What would they do with those files? [19:54] 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] If a restricted bash shell isn't enough then consider a chroot jail. [19:56] https://www.tecmint.com/restrict-ssh-user-to-directory-using-chrooted-jail/ [19:57] what is a restricted bash shel [19:58] I think i found it [19:58] thank you nelgin [19:58] I had no clue that even existed [20:01] After being a unix admin for 30 years you pick up a tip or two. [20:25] 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] I mean... arrrrrgh ! [20:25] etronik: printers are managed using CUPS; that by default provides a web admin on localhost:631 [20:26] it should , souldn't it ? but it doesn't [20:26] 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] etronik: you're saying no cupsd is running? check for a listening socket with "sudo ss -tnlp sport = 631" [20:29] TJ-, thanks for your tips (though you do prove my point :-) - anyway... what does this output even mean ? [20:29] State Recv-Q Send-Q Local Address:Port Peer Address:Port Process [20:29] LISTEN 0 5 127.0.0.1:631 0.0.0.0:* users:(("cupsd",pid=1026790,fd=7)) [20:29] LISTEN 0 5 [::1]:631 [::]:* users:(("cupsd",pid=1026790,fd=6)) [20:30] etronik: it means the cups admin web interface is listening. Use the local browser and go to http://localhost:631 [20:30] etronik: under Admin there is an option add and discovery printers [20:31] TJ-, but like I said... [20:31] The following error was encountered while trying to retrieve the URL: http://localhost:631/ [20:31] Connection to ::1 failed. [20:31] The system returned: (111) Connection refused [20:31] The remote host or network may be down. Please try the request again. [20:31] etronik: your user will need lpadmin and/or sudo group membership [20:31] etronik: that suggests you've got firewall rules blocking it, since we know the process is bound to port 631 [20:33] 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] TJ-, says... UDP, port 631, address:* appl: cups-browsed [20:34] etronik: it needs to ACCEPT TCP port 631 [20:34] etronik: my guess would be it is configured to default DENY anything not explicitly allowed [20:34] I even turned off the firewall and still no go [20:35] TJ-, though I can try that... [20:35] etronik: can you show us "pastebinit <( sudo iptables-save; ip6tables-save )" [20:35] oops, slight missing sudo typo there [20:35] etronik: can you show us "pastebinit <( sudo iptables-save; sudo ip6tables-save )" [20:35] TJ-, sure one sec [20:37] 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

CUPS vX.Y.Z

[20:37] TJ-, who cool script... :-) https://paste.ubuntu.com/p/YzbFHP88B5/ [20:38] etronik: if curl gets an error, then it is definitely a firewall issue [20:39] 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] would I still be able to download stuff with curl with [20:39] https://www.irccloud.com/pastebin/CbdEI9CR/ === semeion is now known as mnemonic [20:40] etronik: you've also got specific ACCEPT rules, e.g. " -A ufw-user-input -p tcp -m tcp --dport 631 -j ACCEPT " [20:40] TJ-, I just added then removed them from firewall [20:40] so my guess, they're there by default or something ? [20:41] ups [20:41] they're still there === codebam__ is now known as codebam_ [20:42] 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 === codebam_ is now known as codebamm === codebamm is now known as codebam_ [20:44] TJ-, same result with 127.0.0.1 though localhost does resolve to 127.0.0.1 [20:44] TJ-, does cups rely of apache for it's functionality ? [20:45] TJ-, doesn't look like it as it shows a squid icon so... must not be apache [20:45] 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] etronik: no - it is a stand-alone HTTP server in cupsd [20:45] Is anything actually listening on 127.0.0.1:631 ? [20:45] nelgin: yes [20:46] 20:29:47 etronik | LISTEN 0 5 127.0.0.1:631 0.0.0.0:* users:(("cupsd",pid=1026790,fd=7)) [20:46] Ah, I didn't scroll back far enough :) [20:46] TJ-, how do I do the following ? "sure the 'filter' table policies are all ACCEPT (e.g. ":INPUT ACCEPT [0:0]"" [20:47] What if you telnet 127.0.0.1 631 or use nc or your favorite tool [20:47] 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] nelgin: we tried curl; apparently no response - etronik you DID try curl didn't you? [20:47] TJ-, output of the iptables-save shows... [20:47] # Generated by iptables-save v1.8.4 on Tue Dec 29 20:47:10 2020 [20:47] *filter [20:47] :INPUT ACCEPT [2295:503446] [20:47] :FORWARD ACCEPT [0:0] [20:47] :OUTPUT ACCEPT [2425:232066] [20:48] etronik: OK, good, that ACCEPT is the important thing. Now try "curl http://localhost:631" again [20:48] TJ-, weird... I did get source code for HTML page with what appears as valid options [20:49] like these [20:49]
  • CUPS.org
  • [20:49]
  • Home
  • [20:49]
  • Administration
  • [20:49]
  • Classes
  • [20:49] etronik: yay! so that seems to prove that the problem IS the firewall [20:49] did etronik get quited? [20:50] etronik: you need to put output in a pastebin [20:50] !paste | etronik [20:50] etronik: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [20:50] as Drone told you [20:50] yeah I only saw that... just now [20:50] sorry [20:51] weirdly I cannot see why (so far) UFW rules are causing this since you've got a -i lo -j ACCEPT [20:51] TJ-, but wait, the browser still shows me the same error message [20:52] etronik: oh really!? I wonder if the browser is doing it over IPv6 .. have you re-enabled UFW at this point? [20:52] no [20:52] still off [20:52] how do I check that IP V6 thingy ? [20:53] etronik: try this then: curl http://[::1]:631 | grep h1 [20:53] etronik: you should get a line similar to "

    CUPS 2.3.1

    " at the end [20:53] TJ-, yup! exactly what I got [20:54] etronik: so, cupsd is answering but your browser isn't connecting. Have you got any kind of HTTP proxy configured? [20:54] etronik: re-enable UFW then re-test those curl commands to ensure it still works [20:54] 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] etronik: that means doing "curl http://[::1]:631 | grep h1" and "curl http://127.0.0.1:631 | grep h1" [20:55] etronik: well duh :D [20:55] * etronik slaps himself senseless [20:55] etronik: so now you can get back to adding/finding printers :) [20:56] TJ-, I still not very hopefull - let me check [20:56] etronik: network or USB printer(s) ? [20:56] TJ-, network [20:56] etronik: as long as they advertise using multicast-DNS (mDNS) cups should discover them [20:56] actually I do have my printer setup... it just doesn't print... [20:57] that's all... simple enough [20:57] etronik: so through the web-admin interface you can do more inspection and alteration of the config [20:57] I'll try removing it and re-adding it again... [20:58] 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] etronik: so CUPS is trying to connect to the original IP address still [20:59] TJ-, oh... that might be possible... how do I check its address in CUPS ? [21:00] TJ-, can't see what IP it's looking at by the connection string here: https://paste.ubuntu.com/p/Qzn3h95N8N/ [21:00] etronik: via the Admin interface. Administration > Manage Printers > "Printer name" [21:01] 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] 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] 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] 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] 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] 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] etronik: what make is that? usually minor model differences don't cause issues [21:08] but... I've Dl the correct PPD file from Epson, and told cups to use that [21:09] now reporting correct [21:09] lets see how it behaves now... trying printing [21:12] TJ-, cups now shows the connection as: Connection: lpd://AL-C3900-9F692F/print - any potential issues with this ? [21:12] oh and printing fails with : Unable to locate printer "AL-C3900-9F692F" [21:12] boy oh boy oh boy oh boy [21:12] etronik: I *think* lpd == line printer daemon but I'd have to check [21:14] TJ-, set it back to dnssd thingy [21:17] TJ-, so back at dnssd locator... printing fails with: ""Unable to locate printer."" [21:17] 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] TJ-, not following sorry.... am I printing via IPP ? [21:19] etronik: no, looks like no, since IPP uses port 631 (it uses HTTP/S as the transport) [21:20] 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//9100 " [21:21] 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] TJ-, ignore last message , it's back up [21:21] etronik: you likely restarted the CUPS daemon [21:22] TJ-, so back to the issue why cant cups locate my printer ? any ideas ? [21:22] etronik: sounds like it can BUT some Epson-specific driver interface is needed === kimmykok is now known as kimmyk [21:24] etronik: the driver files from Epson web-site are dated 2010 -- not a good sign [21:26] 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] TJ-, that's the one I downloaded but it only contains the PPD [21:26] TJ-, don't think so, can you restate it please ? [21:26] TJ-, no need [21:26] its just above [21:27] etronik: that datasheet also says that model is supposed to support IPP v1.1 . [21:28] etronik: do an 'nmap " see what ports are open === vlm_ is now known as vlm [21:29] TJ-, the test for port 9100 printed just fine [21:30] etronik: good! [21:30] TJ-, still want the nmap output ? [21:31] etronik: so now I wonder if that nmap shows it listening on port 631 [21:31] etronik: and if so, if it is advertising the IPP port over mDNS SD [21:31] etronik: yeah [21:31] TJ-, yes, nmap lists as listening on port 631 [21:35] TJ-, output of the avahi -art at https://paste.ubuntu.com/p/xWV4KHjYWX/ [21:35] 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] huh [21:36] ? where ? [21:37] etronik: end of that para [21:37] 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] never even tried [21:38] This site can’t be reached [21:38] etronik: use it's IP address then! [21:38] I should probably point to the IP addrss no TJ- ? [21:39] etronik: http://192.168.1.9 [21:40] etronik: the name should work; assuming the host's /etc/nsswitch.conf has a hosts: line with mdns mentioned [21:40] 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] 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] TJ-, ok have to locate and download it [21:42] 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] TJ-, great thanks, I'm having a look now [21:45] etronik: on page 52, talking about Windows drivers, it specifically confirms IPP can be used [21:47] etronik: and on page 54 we may have the fault cause; there it says the IPP URL should be of the form http://: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] 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] etronik: alos page 44 - the printer's physical interface, confirm IPP is enabled! [21:50] siemens cable stiff [21:51] TJ-, let me check that [21:51] nope! no checking [21:52] can 18.04 lts do timeshift at install? [21:52] TJ-, yep, it's enabled... bu the option above of Dynamic DNS is not... should I enabled it ? [21:53] [pokey]tello [21:53] etronik: no [21:54] etronik: DDNS is for the printer to register its IP address against a DNS server's A record [21:54] working on starlightos for oldlaptop [21:54] 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] consider using 18.04 lts but need timeshift or some great filesystem [21:55] join #oldlaptop for not ubuntu reccomends [21:55] TJ-, doesn't work for the web admin ... maybe I can set it somewhere in the printer [21:56] etronik: that is what I've been looking for [21:58] TJ-, got it on page 71 [21:58] etronik: I think it'll print out the username/password. control panel > PRINT menu > CONFIGURATION PG > PRINT [21:58] TJ-, I'm in pw is "administrator" for the web interface [21:59] etronik: ha! [21:59] TJ-, I think you might have a point with the IPP URI... let me paste a screenshot for you [22:00] 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] where should I post it ? imgur.com ? [22:00] etronik: sure [22:01] TJ-, https://imgur.com/a/D9wopGp [22:01] TJ-, weird thing about that IPP Authentication no ? [22:02] maybe I select authentication to "none" ? [22:02] the strange thing is... via WIndows I can print without any issues... it's just Ubuntu that locks up... [22:04] etronik: aha! paths with /ipp ! [22:04] etronik: but the mDNS-SD records didn't add that for the IPP [22:05] TJ-, you mean the Printer URI ? http://192.168.1.9/ipp and such ? [22:05] etronik: correct [22:06] 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] etronik: lines 23-27 of https://paste.ubuntu.com/p/xWV4KHjYWX/ [22:08] etronik: there's no txt = ["path=/ipp"] in the same way as line 37 for the web interface [22:08] TJ-, yep it sonething like .local instead right ? so how do we go about correcting that ? [22:09] or somewhere else in the key, value section next to it... TJ- [22:10] 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] TJ-, ok let me try that... fingers crossed ;-) [22:11] etronik: "Modify Printer" I think [22:11] TJ-, this is... can you errr point out exactly where should I add the /ipp ? please ? [22:11] 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] ups... somewhat late as I deleted it , will add it again [22:12] 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] etronik: no problem :) [22:13] 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] etronik: I think you should be using "ipp://192.168.2.9/ipp" [22:14] 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] etronik: but, I think you were onto something about the IPP Authentication as well [22:16] TJ-, didn't affect windows though, that IPP authentication thing... [22:16] etronik: OK, that is a good test :) [22:17] the erector set software [22:18] that legend about the cylons [22:22] 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] etronik: Epson have always been a real pain [22:27] 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] etronik: == foomatic-db: /usr/share/foomatic/db/source/driver/eplaser.xml [22:27] !info foomatic-db [22:27] foomatic-db (source: foomatic-db): OpenPrinting printer support - database. In component universe, is extra. Version 20200401-1 (focal), package size 571 kB, installed size 12149 kB [22:28] 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] 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] etronik: definitely a pain! [22:29] etronik: the C4000 looks like amuch older model. No front panel LCD, has centronics parallel i/f [22:30] etronik: so maybe not as similar as appears [22:34] 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] so before I smash this to pieces.... I'm going to fume off somewhere else... [22:35] etronik: before you go ... [22:35] !info ippsample | etronik [22:35] etronik: ippsample (source: ippsample): ippsample - Samples/development tools for the IPP. In component universe, is optional. Version 0.0+20180213-0ubuntu1 (focal), package size 7126 kB, installed size 8727 kB [22:36] TJ-, what would I do with those ? [22:36] etronik: this package has some test tools and files that you can use to directly (using "ipptool ...") talk to the printer [22:37] 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] 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] etronik: see "man ipptool" [22:38] guys my night light has stopped working, how can i restart it? [22:38] 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] 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] etronik: same here; UK [22:42] cheers [22:42] etronik: I'm trying to test ipptool over a wireguard interface to my offices [22:42] thanks again TJ- bbl [22:43] Hell guys === Tabstar is now known as Tabmow === carcamovski1 is now known as carcamovski [22:44] I mean hello [23:57] 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?