[00:12] <Oderus> hello. recently i changed my gmail password, and so i went to change it in kmail, and ever since then KMail gives me the error "Could not read password : user rejected waller access". I tried erasing the relevent data from wallet, rebooting, and then giving it my password, but the same thing happens still. How can I resolve this?
[00:15] <usney> are minimum system requirements based on CPU based frequency or the burst frequency?
[00:16] <sarnold> whatever you're willing to tolerate
[00:16] <sarnold> whatever your workload requires
[00:16] <sarnold> minimum memory requirements are going to be a lot more important, probably
[00:18] <supermasterblast> I did an upgrade and my system isn't bootable. I am running a 3 disk raid system. I think it is an issue with grub needing to be reinstalled correctly. I booted with a usb linux system. not sure how to reinstall brug though. i have /dev/sda /dev/sdb /dev/sdc have the raid partitions on them
[00:20] <usney> I mean on the page that says the minimum requirements for running ubuntu
[00:23] <sarnold> usney: if you've got eg a 1ghz processor, transitions in the default window managers may be pretty poor. but lubuntu or xubuntu might work well enough for you to not hate it.
[00:24] <sarnold> usney: but if you've got eg 512M ram, maybe a gui isn't a great idea. (my 512M ram instance on amazon is enough for tmux, mosh, irssi, but not much more)
[00:24] <usney> I have a 1ghz based processor with a 2.1 ghz burst
[00:26] <usney> sarnold CPU max MHz:         2100.0000
[00:26] <usney> is that good enough for latest ubuntu?
[00:26] <usney> it is dual core
[00:27] <sarnold> yeah; I don't know if it'd be a good experience in gnome or not, but certainly you can find *something* on ubuntu that would feel pleasant
[00:28] <netameta> Something in a latest update on ubuntu messes boot in vmware
[00:28] <usney> I setup my friend's laptop with gnome with a newly bought laptop and his max mhz is 2600.0000
[00:28] <netameta> very annoying
[00:28] <usney> runs smoothly
[00:29] <usney> well I'll see if it works ok
[00:29] <usney> I got it on usb drive
[00:29] <netameta> Is already 2 x 18.0.4 that get stuck in boot
[00:29] <netameta> after i update software
[00:29] <netameta> Not sure what i updated either
[00:30] <tomreyn> netameta: i read what you say as "vmware does not support fully updated ubuntu well", i.e. a vmware support question.
[00:30] <Oderus> i relogged to try something if anyone tried to reply to my kmail question
[00:31] <tomreyn> Oderus: try asking in #kubuntu, too, since this is likely kubuntu specific (kmail, kwallet etc.)
[00:31] <netameta> tomreyn, Well it was working perfectly fine, i then updated and now its stuck in boot
[00:32] <tomreyn> netameta: i understood so much. see if you can boot to recovery and continue booting from there.
[00:32] <Oderus> tomreyn: ok will do thanks
[00:33] <tomreyn> supermasterblast: which ubuntu version do you have installed on those disks, which RAID level, and what's the live usb/cdrom system you're trying to recover with?
[00:33] <netameta> yea booting to recover then to normal works
[00:33] <tomreyn> netameta: so !nomodeset is a workaround
[00:34] <netameta> tomreyn, Whats nomodest ?
[00:34] <tomreyn> maybe there's also newer 'vmware-tools' you can install. but it's really an issue in their domain IMO
[00:34] <tomreyn> !nomodeset
[00:35] <tomreyn> imagine it was a windows guest which failed after you installed upgrades. whom would you expect to provide 'the fix'?
[00:39] <netameta> tomreyn, I am on window host yes
[00:39] <netameta> And the upgrade i installed were in linux
[00:39] <netameta> ``` so it may not be needed to make this option permanent, just for one boot until you installed the nvidia drivers.``` cant i just run safemode and install drivers there ?
[00:41] <tomreyn> nomodeset is usually used for nvidia hardware, but your VM only sees the hardware the virtualization provides, which won't be any 'nvidia' or similar, but rather vmwgfx or something.
[00:41] <tomreyn> that's unless you do graphics card passthrough, but you probably do not.
[00:45] <netameta> tomreyn, wait so nomodest isnt the solution for me ?
[00:46] <tomreyn> netameta. it's a workaround to get you non accelerated graphics.
[00:46] <tomreyn> i just learnt that vmwgfx.ko is actually in linux, i wasn't aware of that. so i guess you can file a bug against linux, too
[00:47] <netameta> well first i want to see if nomodeset works
[00:47] <netameta> and BTW i do have nvidia cards so
[00:47] <tomreyn> yes, but not passed through, i assume?
[00:48] <netameta> Will check - i dont think so though
[00:48] <tomreyn> if you don't know then you most likely don't.
[00:49] <tomreyn> to file a bug about vmwgfx you can run: ubuntu-bug linux      # be sure to mention your exact vmware version, where the boot gets stuck, which workaround you tried and which of them worked. and that it refers to to file a bug, you can run: ubuntu-bug linux      # be sure to mention your exact vmware version, which workarounds you tried, which of them worked.
[00:50] <tomreyn> oops copy / paste fail
[00:52] <netameta> tomreyn, I dont see any pass through option
[00:52] <netameta> dont see graphic card options eithjer
[00:52] <tomreyn> netameta: i don'T know whether there is one, i can only support ubuntu
[00:53] <netameta> So i assume its not.
[00:54] <netameta> However it does act weird when i have nomodeset
[01:00] <tomreyn> netameta: you can try vga=791 instead.
[01:01] <netameta> i am not trying to upgrade vmware tools first
[01:02] <netameta> then i will try vga=791
[01:02] <netameta> and lastly i will use nomodeset
[01:06] <netameta> vga=791 didnt work
[01:07] <sarnold> does vga= still work at all?
[01:07] <tomreyn> it does for me
[01:08] <tomreyn> maybe not on a desktop
[01:08] <sarnold> the Documentation/kernel-parameters.txt has "vga=            [BOOT,X86-32] " .. and then says it's for the bootloader, not the kernel. which is quite confusing all around. ;)
[01:09] <netameta> Well only nomodeset works - and screen res is massed and it works very weird and slow
[01:11] <tomreyn> netameta: so which vmware product and version are you using, and have you verified that they state ubuntu 18.04 is supported by it (ignoring the fact that it happened to work previously)?
[01:11] <netameta> vmware workstation 15, and yes about the ubuntu 18.04
[01:12] <netameta> Is there a way to add more resultion options in settings ?
[01:13] <tomreyn> no. your current workaround limits the available resolutions.
[01:15] <tomreyn> well, you could probably add lower resolutions, but not in "settings"
[01:21] <Oderus> recently i changed my gmail password, and so i went to change it in kmail, and ever since then KMail gives me the error "Could not read password : user rejected waller access". I tried erasing the relevent data from wallet, rebooting, and then giving it my password, but the same thing happens still. How can I resolve this? Kubuntu 19.04
[01:22] <Sveta> if you don't get a good response about it here within 30 minutes, I'd suggest to ask #kde about it
[01:25] <df00z> Hey, whereabouts does ubuntu keep it's kernel config file these days?  Finding a lot of wiki pages or other places that reference /boot but I dont see it
[01:28] <df00z> nevermind i am blind it is in /boot
[01:36] <Oderus> Sveta: i have asked there but either everyone is asleep or doesn't know ;p
[01:40] <netameta> tomreyn, my current setting is set to 4k, but ubuntu only see 1176x885
[01:43] <TikityTik> how do i install a newer version of weechat on ubuntu 18.04?
[01:45] <Sveta> TikityTik: do they have a ppa?
[01:45] <TikityTik> Sveta: https://weechat.org/download/debian/
[01:46] <Sveta> TikityTik: you can add `deb https://weechat.org/ubuntu bionic main` to your sources.list, then, I guess
[01:46] <TikityTik> ahh
[01:51] <TikityTik> Sveta: getting an error about how a following signature couldn't be verified
[01:51] <OerHeks> that page gives a clue about the key
[01:53] <TikityTik> so if the public key is not verified that means i have to make this source insecure?
[01:54] <Sveta> TikityTik: you can verify the public key
[01:54] <Sveta> TikityTik: click 'installation instructions' link at the top for instructions
[01:57] <TikityTik> thanks
[02:04] <k_sze> What's the difference between linux-generic and linux-lowlatency?
[02:08] <sarnold> k_sze: http://paste.ubuntu.com/p/P9vN62C6bK/
[02:09] <sarnold> k_sze: that's for bionic's 4.15.0-51.55 linux package, more or less selected as the latest-ish-looking LTS kernel from my big pile of kernel configs
[02:12] <k_sze> So if I understand correctly, the lowlatency is more heavy-handed in terms of preemption.
[02:12] <k_sze> So that no single process can easily make the whole system unresponsive?
[02:13] <Bashing-om> k_sze: See: https://ubuntuforums.org/showthread.php?t=2421161&highlight=latency for latency discussion.
[02:13] <sarnold> in the short-run, perhaps; the idea being that your sound card is less likely to have buffer underruns, or motor controllers get their inputs closer to the times they need them
[02:36] <DouglasK> Question... where does gnome keep the list of apps that come up as apps when you search in Activities?
[02:37] <DouglasK> (Ubuntu 19.04)
[02:50] <Sveta> DouglasK: ~/.local/share/applications or /usr/share/applications ?
[02:51] <DouglasK> Thank you.  So, that just means the one I created isn't working... at least it's one thing off my list.
[02:51] <DouglasK> Thank you, Sveta.
[03:12] <Sveta> DouglasK: you're welcome :-)
[04:18] <cupcake> Hi my ubuntu 18.04 system too slow to boot anyone experiencing same https://pastebin.com/NUmD4edL
[05:22] <ChiLLabiS> exit
[05:34] <TML> Is there a simple way to make the bash completion stuff stop recommending snaps for commands not installed?
[05:37] <stemid> hey after upgrading from 16 to 18.04 I get this error from python code that uses Python-MySQL library. "ImportError: libmariadbclient.so.18: cannot open shared object file: No such file or directory" and this file is nowhere on packages.ubuntu.com
[05:38] <stemid> oh wait, I spoke too soon. I was searching disco but it's in libmariadbclient.so.18
[05:38] <stemid> libmariadbclient18
[05:39] <stemid> now it works
[06:09] <geirha> TML: that's the command_not_found_handle installed by the command-not-found package
[06:11] <geirha> TML: I don't know how to configure it though, if it's configurable at all, I just disable it completely
[06:21] <TML> geirha: thanks
[06:21] <TML> that's at least a thread to tug at :)
[06:22] <TML> I find it convenient when it tells me the correct apt package, but I don't allow snaps on my systems, so I'd rather just mute that
[06:30] <TML> geirha: It's implemented (at least in this particular release) as /usr/lib/python3/dist-packages/CommandNotFound/CommandNotFound.py
[06:56] <mun> hi
[06:56] <mun> anyone know how to delete all files in one folder that exist in another?
[07:04] <blackflow> mun: find /path/to/another/dir/ -maxdepth 1 -type f | xargs -I{} -n1 basename {} | xargs -I{} -n 100 rm /path/to/one/folder/{}       -- note, this ain't recursive, only affects files straight in /another/dir/
[07:06] <geirha> I'd go with the rsync he got in ##linux instead. Also, mun, don't cross post
[07:06] <blackflow> mun: alternatively you can use sed...    find .... | sed 's/another\/path\/prefix/one\/path\/prefix/g' | xargs rm
[07:07] <geirha> dangerous code
[07:07] <mun> geirha i don't know why rsync wouldn't work
[07:08] <geirha> you may need trailing slashes on the directories, otherwise it willl create a new directory instide the destination
[07:11] <geirha> Here's one way to do it with bash (echo added as a dryrun): (cd /dest && for file in *; do if [[ ! -e /src/$file ]]; then echo rm "$file"; fi; done)
[07:13] <mun> geirha i think i know why rsync doesn't work. --delete deletes extra files in dest that exist in source
[07:13] <mun> i mean, that don't exist in source
[07:13] <mun> i'm actually trying to do the opposite, i.e. delete files in dest that exist in source
[07:14] <blackflow> geirha: why would you think my commands are dangerous? there's no shell expansion through variables anywhere. I'm pretty sure even spaces in filenames would be handled correctly by xargs
[07:15] <blackflow> yeah, it would, tested.
[07:16] <blackflow> just needs -n1 for that second xargs
[07:16] <geirha> some of your xargs will handle spaces in filenames, none of them will handle newlines or quotes
[07:16] <blackflow> newlines in filenames? on linux?
[07:17] <geirha> yes, unfortunately linux allows that
[07:17] <blackflow> huh... after 25 years of linuxing.... this is a first one.
[07:18] <o-bit> Hello whats up? I was wondering if it's true ubuntu is dropping 32bit libraries from it's repos?
[07:18] <cfhowlett> yes
[07:18] <geirha> blackflow: also, combining -I and -n doesn't work very well
[07:18] <lotuspsychje> !discuss | o-bit
[07:18] <blackflow> geirha: so what rsync command was given?
[07:19] <o-bit> ubottu: It's about ubuntu, how is that offtopic? It's a very big support question.
[07:19] <geirha> blackflow: <n0a110w> rsync -rvz --delete source dest, will delete the extra files in the dest that are not present in source
[07:19] <lotuspsychje> o-bit: support questions are meant to solve an issue you have
[07:20] <blackflow> geirha: that doesn't sound what the OP asked. they asked the reverse, delete files in dest that DO exist in src.
[07:20] <o-bit> lotuspsychje: What about issues I will have?
[07:20] <mun> geirha that command works, but i had remove the !
[07:20] <blackflow> unless we have an XY problem here and that's not really what OP wanted.
[07:20] <mun> because i'm trying to delete files common to both dest and source
[07:21] <mun> geirha thanks
[07:21] <o-bit> ANyways let me go and ask in #ubuntu-*
[07:22] <geirha> yeah, I think we replaced "exist" with "not exist" in our heads, because that's a much more common task, and so gave wrong answers
[07:22] <mun> yep. all good :D
[07:24] <TJ-> o-bit: see https://discourse.ubuntu.com/t/i386-architecture-will-be-dropped-starting-with-eoan-ubuntu-19-10/11263
[07:26] <blackflow> mun: so your question was actually how to delete files that DON'T exist?
[07:27] <mun> blackflow hmm no, i'm trying to delete files in dest that exist in source
[07:27] <blackflow> mun: ah, k. so geirha's   for loop   solved your problem?
[07:27] <mun> blackflow yep :D
[07:27] <blackflow> nice. :)
[07:27] <mun> blackflow except i had to remove the negation
[07:27] <mun> blackflow thanks for your input though
[07:28] <mun> don't know why rsync wouldn't work either
[07:28] <blackflow> np. my commands would've worked, but geirha is right, they don't solve edge cases with newlines in names and other stupidities.
[07:28] <geirha> like apostrophees
[07:28] <blackflow> mun: rsync deletes files that are NOT present in source. you wanted the opposite
[07:29] <mun> yeah
[07:29] <mun> rsync results in identical directories
[07:30] <mun> IIRC
[07:30] <mun> i was told to just swap source and dest
[07:31] <gofio> while on on board keyboard (I'm in a spanish system so "teclado en pantalla") I can use it in a text document, but not in a url address, or say a google search, or here typing in irc. I've used it before and it worked. Is this something usually happens? if anybody knows
[07:31] <blackflow> mun: that would delete the files in src :)
[07:31] <gofio> ubuntu 18.04 gnome3
[07:59] <mkquist> j #chat.freenode.net
[08:00] <mkquist> \ j #chat.freenode.net
[08:02] <blackflow> mkquist: what are you trying to do. you already are on Freenode. which channel do you want?
[08:21] <ShishKabab> A firmware update that came with Win 10 which I sometimes boot in to, messed up a bunch of things. Aside from Windows not booting, my Ubuntu 18.04 does not login anymore. I enter my password, and it returns to the login screen. When I boot into recovery mode, /var/log/gdm3 is empty. Where can I find out what is going wrong?
[08:21] <cfhowlett> dmesg
[08:22] <yankovic> Want to understand how network is configured in ubuntu 18. Netplan is used in it. I see that configuration for systemd-networkd is generated in /run/systemd/network after every boot. But who generates it? I can't find any .service file with "ExecStart=netplan generate". What is the mechanism to pull the netplan?
[08:23] <ShishKabab> cfhowlett: That will be cleared on reboot, right? I have another issue that doesn't allow me to switch to a TTY with Ctrl+Alt+F2.
[08:23] <ShishKabab> So I have to boot with recovery mode.
[08:23] <cfhowlett> over my level there, ShishKabab but it sounds like a red flag to me
[08:24] <ShishKabab> Yeah, I know. The issue with the TTY is that when I press enter after entering my username, it keeps enter pressed down, so it keeps saying login failed until I Ctrl+C.
[08:25] <cfhowlett> just a thought: update your firmware
[08:26] <ShishKabab> That's what caused the issue, a firmware update yesterday.
[08:26] <cfhowlett> doh!
[08:26] <cfhowlett> so it wasn't a win 10 update?
[08:27] <cfhowlett> i.e firmware comes from the computer manufacturer not from windows
[08:27] <ShishKabab> The firmware update came with the automatic updates.
[08:28] <cfhowlett> ok then.  ask in the channel from time to time.  someone will likely know
[08:28] <ShishKabab> Windows said Update and reboot in the normal shut down menu, next time I boot Windows it reboots and starts reflashing my thing.
[08:28] <ShishKabab> OK, thanks for your time!
[08:38] <ShishKabab> I got further, am able to login with an older kernel on the TTY. When I try to login in graphically, it still goes back to the login screen, and in dmesg I get 'PKCS#7 signature not signed with a trusted key'
[08:39] <cfhowlett> can you get a terminal?
[08:39] <ShishKabab> Yes, finally  :)
[08:44] <blackflow> yankovic: /lib/systemd/system-generators/netplan does (it's an executable)
[08:45] <blackflow> yankovic: netplan uses systemd generators to create the /run(time) networkd configs
[09:34] <yankovic> blackflow: thank you so much
[10:43] <Katnip> 10 more months ! Sigyn
[10:55] <fling> Where to get the proper shiftfs patch for 4.19?
[10:59] <blackflow> fling: the what now?
[11:00] <fling> blackflow: shiftfs patch from 19.04 :P
[11:40] <BluesKaj> Howdy folks
[11:56] <DrJ> any idea why ubuntu would lose internet every single morning from about 6am to 8am local time?
[11:56] <DrJ> while every other computer on network is perfectly fine
[12:00] <DrJ> rebooting fixes it every time... but also waiting until around 8am will also fix it every time
[12:01] <cfhowlett> cron job?
[12:01] <DrJ> nope
[12:01] <DrJ> that was my first thought
[12:04] <DrJ> syslog shows nothing either, rather name ntp failing during that time
[12:05] <blackflow> DrJ: dhcp server having some left-over rule for that IP from earlier?
[12:05] <DrJ> static IP, not DHCP on network
[12:05] <DrJ> *no
[12:06] <blackflow> DrJ: alright, then back to square one. how does it lose connectivity? routing? dns?
[12:06] <cfhowlett> does it do this on all networks or only homebase DrJ?
[12:06] <DrJ> dns still works, but it uses a local DNS server
[12:06] <DrJ> which btw local traffic still works
[12:06] <TJ-> DrJ: there's mouse nibbling at the Ethernet cable but you disturb it at 8am :)
[12:06] <DrJ> TJ- it is an esxi vm, other vms are fine
[12:06] <blackflow> DrJ: that doesn't answer my question :) _how_ is internet "lost"?
[12:07] <blackflow> oh a VM....
[12:07] <TJ-> DrJ: so it loses Internet routing, but not local host routing?
[12:07] <DrJ> can't ping nothing outside of local network
[12:07] <DrJ> yea
[12:07] <DrJ> ping or anything else that is
[12:07] <TJ-> DrJ: does "local network" mean just the ESXI host, or the entire local LAN?
[12:07] <DrJ> entire
[12:08] <DrJ> for example, I can ping other local subnets
[12:08] <TJ-> DrJ: so it essentiall loses its default route?
[12:08] <blackflow> so local LAN is accessible?
[12:08] <DrJ> TJ-, appears so
[12:08] <TJ-> DrJ: is it using IPv6? maybe RAs are getting lost?
[12:08] <DrJ> no ipv6
[12:09] <blackflow> DrJ: can you confirm the status of default route when that happens? is it unset? is it set but unpingable, is it pingable but nothing gets through to WAN?
[12:09] <TJ-> DrJ: the ping tests that fail, you use IPv4 addresses not hostnames?
[12:09] <DrJ> BlackDex: I can't test anything until it happens again tomorrow morning :)
[12:10] <DrJ> and believe me, it will happen again
[12:10] <TJ-> DrJ: because if you use hostnames AND if they resolve to IPv6 AND the IPv6 default route has expired due to missing RAs... this would happen
[12:11] <DrJ> TJ-, pinging IP fails as well
[12:11] <TJ-> DrJ: is it a desktop or server install?
[12:11] <DrJ> server
[12:11] <TJ-> DrJ: so using systemd-networkd network configuration?
[12:11] <DrJ> for example right now ping <IP_ADDRESS> is working
[12:11] <DrJ> 12 minutes agao ping <IP_ADDRESS> was not working
[12:11] <blackflow> "no route to host"?
[12:12] <DrJ> I forget
[12:12] <DrJ> :)
[12:12] <TJ-> DrJ: I've seen this on hosts where the NICs go into low-power mode
[12:12] <DrJ> hmm
[12:12] <blackflow> but every day between 6-8? consistently? I'm still betting on the router having some left over rule for the IP
[12:12] <TJ-> DrJ: not sure if power-saving is implemented in ESX emulation but its something to consider. ethtool can help check on that
[12:12] <blackflow> or the VM host
[12:13] <b1ack0p> hi
[12:13] <b1ack0p> for 2 days i am trying to set grub
[12:13] <TJ-> DrJ: what does this server do? is it passive itself and listening for incoming connections, or is it supposed to be busy 24/7 ?
[12:13] <b1ack0p> i again installed again ubuntu dual boot with windows 10 but grub doesnt exist
[12:14] <b1ack0p> it directly boots to windows
[12:14] <DrJ> TJ- all it does is run a duo auth proxy for our vmware horizon
[12:14] <TJ-> DrJ: I'm wondering if the server is passive from saw midnight and so somrthing kicks in to cause the default route to drop
[12:14] <b1ack0p> i removed windows fast boot option but no luck still
[12:14] <Jonopoly> black0ps: Here's what i did when dual booting... I installed it on a seperate hdd
[12:14] <DrJ> I can say that over night probably no one uses it on most days
[12:14] <Jonopoly> Black0p: just created two partitions "/" and "efi"
[12:14] <blackflow> DrJ: perhaps best wait until it happens again and then run some diagnostics
[12:14] <DrJ> around 8am it does begin to be used quite a bit
[12:14] <b1ack0p> i am using same ssd and similar bios what changed?
[12:15] <TJ-> b1ack0p: If it is EFI, it is possible the motherboard firmware disallows booting from GRUB *Unti* you specifically trust the bootloader via options in the firmware setup menus, that you access at boot-time
[12:15] <b1ack0p> Jonopoly: i created 2 partition
[12:15] <Jonopoly> b1ack0p: What did you set them too?
[12:15] <b1ack0p> TJ-: it is 2008 model lenovo thinkpad t400
[12:15] <b1ack0p> Jonopoly: 1 windows 2 ubuntu
[12:15] <TJ-> b1ack0p: does it use UEFI ?
[12:16] <b1ack0p> no idea
[12:16] <b1ack0p> no
[12:16] <b1ack0p> it uses normal bios mgr
[12:16] <TJ-> DrJ: so the problem could have occured well before 8am but that's when it is first detected
[12:16] <b1ack0p> legacy i guess
[12:16] <b1ack0p> there s no uefi option
[12:16] <DrJ> TJ-, possibly
[12:16] <TJ-> DrJ: I'd strongly expect some clues in the logs
[12:17] <b1ack0p> i am currently on ubuntu live usb
[12:17] <cfhowlett> if it's running win10 I'm pretty sure it has to be UEFI
[12:17] <Jonopoly> B1ack0p, how many hdds you got?
[12:17] <b1ack0p> Jonopoly: just 1 currently ssd
[12:17] <Jonopoly> B1ack0p: are you installing them both on same.. ok you are
[12:17] <b1ack0p> yes
[12:17] <Jonopoly> you shouldn't really need to do partitions..?
[12:17] <b1ack0p> i created 2 partitions for win and ubuntu
[12:18] <b1ack0p> as i always do
[12:18] <Jonopoly> I'm sure when you install you can select an option "Install a long side ..."
[12:18] <b1ack0p> yes but why should i do that?
[12:18] <b1ack0p> then it wouldnt be dual boot
[12:18] <Jonopoly> did you not want it dual boot
[12:18] <b1ack0p> well i need windows
[12:18] <Jonopoly> oh.. if you install it 'along side windows' it would install it
[12:18] <b1ack0p> i would like only ubuntu but i need windows
[12:18] <Jonopoly> next to windows hypothetically
[12:18] <cfhowlett> then you either dual boot or you install ubuntu to a virtual machine
[12:19] <b1ack0p> yes but it might cause conflicts
[12:19] <Jonopoly> I think i'm failing to understand... you want dual boot?
[12:19] <b1ack0p> yes Jonopoly !
[12:19] <cfhowlett> virtual ubuntu will cause no conflicts
[12:19] <b1ack0p> i am doing same as i always do
[12:19] <b1ack0p> for years
[12:19] <b1ack0p> dual boot
[12:19] <TJ-> b1ack0p: can you show us "pastebinit <( journalctl -k )"
[12:19] <b1ack0p> but i dont know what s wrong this time
[12:20] <Jonopoly> I didn't think you needed to create the partition... if you're installing on same SSD..
[12:20] <Jonopoly> Im sure the first option is "Install along side windows"
[12:20] <Jonopoly> (making it dual boot)
[12:20] <b1ack0p> Jonopoly: yes but i want them seperated
[12:20] <Jonopoly> ...
[12:20] <b1ack0p> what s so hard to understand?
[12:20] <cfhowlett> meaning what exactly?
[12:20] <Jonopoly> ON the same harddrive?
[12:20] <b1ack0p> that s what i was doing for years
[12:20] <b1ack0p> yes
[12:20] <b1ack0p> same harddrive!
[12:20] <Jonopoly> Dual boot does make them seperate.....
[12:20] <b1ack0p> r u troll?
[12:21] <Jonopoly> b1ack0p, no just trying to help you
[12:21] <b1ack0p> TJ-: http://paste.ubuntu.com/p/zPDm7MHDRZ/
[12:21] <b1ack0p> Jonopoly: thx but it doesnt help..
[12:21] <cfhowlett> "install next to windows" = dualboot!
[12:21] <b1ack0p> i d like seperate partitions
[12:21] <TJ-> I think everyone is getting confused here. b1ack0p  Ubuntu installer's "Install Alongside.." is the dual-boot installation method
[12:21] <b1ack0p> if i want them together i would use vm
[12:22] <b1ack0p> TJ-: so i am talking something different
[12:22] <b1ack0p> sorry
[12:22] <Jonopoly> b1ack0p, it seems my answer was as helpful as intended
[12:22] <Jonopoly> Install a long side = Dual boot / Seperate
[12:22] <Jonopoly> IT create the partitions for you
[12:22] <b1ack0p> so how do u define installing win and ubuntu to seperate partitions?
[12:22] <Jonopoly> I'd call it dual booting
[12:22] <b1ack0p> +ing
[12:22] <b1ack0p> i see
[12:23] <b1ack0p> ok sounds not much different then
[12:23] <Jonopoly> i think it is the exact same thing
[12:23] <b1ack0p> installing alongside windows looks like installing an app
[12:23] <TJ-> b1ack0p: if you use the installer's "Install alongside" it will, i think suggest shrinking the windows partition if required to make space for Ubuntu, then add additional partitions for Ubuntu and possibly GRUB
[12:23] <Jonopoly> Installing a long side is easiest method...
[12:23] <b1ack0p> TJ-: in past i tried it and it installed ubuntu inside windows
[12:24] <b1ack0p> like an app or software
[12:24] <TJ-> Although I've not done the install alongside so can't be sure it does shrink
[12:24] <Jonopoly> TJ- it asks you how much do you want etc..
[12:24] <b1ack0p> it was version 10-11-12 something i guess
[12:24] <TJ-> b1ack0p: that sounds like the old WUBI installer, which is long gone
[12:24] <b1ack0p> yes
[12:24] <cfhowlett> whoa now!  the ONLY way to install INSIDE windows is either to a vitualbox or the now dead and defunct wubi method
[12:24] <Jonopoly> Like with all installations make sure you back up all windows incase you make a mistake
[12:24] <b1ack0p> i didnt try new versions
[12:25] <Jonopoly> Jusst remove the partition you created, and select install alongside
[12:25] <Jonopoly> thanks me later
[12:25] <TJ-> b1ack0p: anyhow, getting back to your broken install...
[12:25] <b1ack0p> Jonopoly: well last year i did same thing to same ssd on diff. machine without problem
[12:25] <b1ack0p> TJ-: thx
[12:25] <TJ-> b1ack0p: ... from the log I can see you've 5 MBR partitions on a 240G drive
[12:26] <b1ack0p> TJ-: 1 windows system partition 2 ubuntu swap
[12:26] <b1ack0p> 5 ?
[12:26] <b1ack0p> it suppose to be 4
[12:26] <b1ack0p> oh 1 is flash drive
[12:26] <TJ-> b1ack0p: "sda: sda1 sda2 sda3 sda4 < sda5 >"
[12:26] <b1ack0p> ok
[12:27] <b1ack0p> ubuntu@ubuntu:~$ sda: sda1 sda2 sda3 sda4 < sda5 > bash: syntax error near unexpected token `newline'
[12:27] <TJ-> b1ack0p: no worries anyhow; lets collect some information so we know what you have. "pastebinit <( lsblk -f; blkid /dev/sda*; mount )"
[12:27] <b1ack0p> thx
[12:27] <TJ-> b1ack0p:haha sorry, that list of partitions was just me quoting from your kernel log
[12:28] <b1ack0p> it is ok :)
[12:28] <b1ack0p> http://paste.ubuntu.com/p/j7KsdnYVDd/
[12:28] <b1ack0p> this is the result
[12:29] <TJ-> b1ack0p: so you've got Linux in sda3
[12:29] <b1ack0p> yep
[12:29] <TJ-> b1ack0p: shall we create a chroot and go into it to see if it can re-build grub correctly?
[12:29] <b1ack0p> sda1 - windows system reserved sda2-windows sda3-ubuntu sda5-swap
[12:30] <b1ack0p> ok
[12:30] <TJ-> b1ack0p: "sudo -i" to gain root privileges
[12:30] <b1ack0p> ok i am root now
[12:30] <b1ack0p> yesterday i tried boot repair tool
[12:30] <TJ-> b1ack0p: then "mkdir /target ; mount /dev/sda3 /target"
[12:30] <b1ack0p> but it shows both sda1 and sda2 for windows
[12:31] <b1ack0p> TJ-: mkdir /target ; mount /dev/sda3 /target  - done
[12:31] <TJ-> b1ack0p: then "for n in proc sys dev etc/resolv.conf; do mount --rbind /$n /target/$n; done "
[12:31] <cfhowlett> yep.  the windows restore partition and the windows installed OS
[12:31] <TJ-> b1ack0p: that command should complete without printing anything
[12:31] <b1ack0p> for n in proc sys dev etc/resolv.conf; do mount --rbind /$n /target/$n; done  ?
[12:31] <TJ-> b1ack0p: yes, issue that command all in one line
[12:32] <b1ack0p> ok
[12:32] <TJ-> b1ack0p: you can copy and paste all the commands I give you
[12:32] <TJ-> b1ack0p: ok, now you can enter that installation with "chroot /target"
[12:32] <b1ack0p> ok
[12:32] <TJ-> b1ack0p: after that you're now working inside the broken install, NOT the live installer :)
[12:32] <b1ack0p> hmm
[12:32] <TJ-> b1ack0p: first, do "mount -a" to ensure all required file systems are mounted
[12:33] <b1ack0p> done
[12:33] <b1ack0p> mount -a didnt return anythng
[12:33] <b1ack0p> chroot too
[12:34] <TJ-> b1ack0p: now two commands to ensure GRUB boot-loader is installed correctly. Tell us if either reports an error. First "update-grub"  and check you see it include the Windows install in the list of operating systems it finds
[12:34] <b1ack0p> as root?
[12:34] <TJ-> b1ack0p: you're always root in the chroot
[12:34] <b1ack0p> yes!
[12:34] <b1ack0p> Found Windows 10 on /dev/sda1 done root@ubuntu:/#
[12:34] <TJ-> you should see update-grub list the Ubuntu kernels and the Windows install
[12:35] <b1ack0p> yes it showed
[12:35] <b1ack0p> thank you TJ-
[12:35] <TJ-> b1ack0p: right, now do "grub-install /dev/sda"
[12:35] <b1ack0p> oh not finished yet/
[12:35] <b1ack0p> root@ubuntu:/# grub-install /dev/sda Installing for i386-pc platform. Installation finished. No error reported.
[12:36] <TJ-> b1ack0p: after that, in *theory*, the system should boot via GRUB *but* lets first check how GRUB is configured. I think it'd be good to ensure it shows its menu rather than hides it
[12:36] <b1ack0p> yes
[12:36] <TJ-> b1ack0p: you may have to install pastebinit but try this: "pastebinit /etc/default/grub"
[12:37] <b1ack0p> it doesnt let me install as root
[12:37] <b1ack0p> pastebinit
[12:37] <TJ-> b1ack0p: what error does it show?
[12:37] <b1ack0p> apt install pastebinit
[12:37] <b1ack0p> then
[12:37] <b1ack0p> E: Unable to locate package pastebinit
[12:38] <TJ-> b1ack0p: what does "cat /etc/issue" report?
[12:38] <b1ack0p> root@ubuntu:/# cat /etc/issue Ubuntu 18.04.2 LTS \n \l
[12:39] <TJ-> b1ack0p: hmmm, well, pastebinit is in the main archive so should be found. This could point to some other issues so lets follow this up. does "apt-cache search -n pastebinit" report anything?
[12:39] <cfhowlett> more /etc/default/grub | nc termbin.com 9999                  should also work
[12:39] <b1ack0p> nope
[12:39] <b1ack0p> it returns blank
[12:39] <TJ-> cfhowlett: certainly, but it looks like the package repos/dpkg/apt are broken
[12:40] <cfhowlett> reinstall time then, TJ?
[12:40] <b1ack0p> time shows incorrect
[12:40] <b1ack0p> when i install win10+ubuntu it corrupts time always
[12:41] <TJ-> b1ack0p: OK, lets' get more info: "nc termbin.com 9999 < <(cat /etc/default/grub /etc/apt/sources.list )"
[12:41] <b1ack0p> https://termbin.com/g83q
[12:42] <TJ-> b1ack0p: dealing with the apt situation first, it looks like you've got it set to use the Turkey mirror
[12:43] <b1ack0p> yes because i am in Turkey
[12:43] <TJ-> b1ack0p: so lets try to update the package lists: "apt update"
[12:43] <b1ack0p> but i am using system in English so i m ok to change to US
[12:43] <b1ack0p> and main server
[12:43] <TJ-> b1ack0p: that *should* fetch the package lists
[12:44] <TJ-> b1ack0p: the country servers aren't for different languages, they're all the same, but hopefully coutrny mirrors are closer and faster than the main archive :)
[12:44] <b1ack0p> the thing is that i like to use ubuntu in english but while installing it asks me location so when i set location it automatically sets server TR
[12:44] <b1ack0p> i change it later to US and server to main
[12:45] <TJ-> b1ack0p: has apt fetched the package lists now and finished ?
[12:46] <b1ack0p> 83%
[12:46] <b1ack0p> i am using mobile hotspot
[12:46] <TJ-> b1ack0p: good, it's making progress then :)
[12:46] <b1ack0p> didnt connect to actual modem i dont know why
[12:46] <b1ack0p> done now
[12:46] <b1ack0p> Reading state information... Done 373 packages can be upgraded. Run 'apt list --upgradable' to see them.
[12:46] <TJ-> b1ack0p: I was concerned the chroot wouldn't have a network connection (well, problems with name resolution (DNS))
[12:47] <b1ack0p> slow connection currently
[12:47] <TJ-> b1ack0p: well we don't want to upgrade anything right now! but try to install pastebinit again "apt install pastebinit"
[12:47] <b1ack0p> ok
[12:47] <cfhowlett> from turkey to main repos?  slow is expected.
[12:47] <b1ack0p> done
[12:47] <TJ-> whilst you do that I'll figure out the changes to GRUB's config to ensure the menu is shown
[12:47] <b1ack0p> cfhowlett: yes but i ddnt notice slow
[12:48] <b1ack0p> TJ-: pastebinit installed
[12:48] <b1ack0p> as root
[12:49] <TJ-> b1ack0p: And I'm ready :) now lets make GRUB show the menu at startup: "sed -i 's/\(GRUB_TIMEOUT_STYLE=\).*/\1menu/' /etc/default/grub"
[12:49] <b1ack0p> ok
[12:49] <TJ-> b1ack0p: then check that changed it with "grep '=menu' /etc/default/grub"
[12:50] <b1ack0p> root@ubuntu:/# sed -i 's/\(GRUB_TIMEOUT_STYLE=\).*/\1menu/' /etc/default/grub root@ubuntu:/# grep '=menu' /etc/default/grub GRUB_TIMEOUT_STYLE=menu
[12:50] <TJ-> b1ack0p: wonderful :) so now we change the GRUB config it uses, with "update-grub"
[12:50] <b1ack0p> update-grub now?
[12:50] <b1ack0p> ok
[12:51] <b1ack0p> done
[12:51] <TJ-> b1ack0p: and in theory we can leave the chroot and allow you to reboot. so do "exit" and then "sync" and the if you want give it a reboot
[12:51] <b1ack0p> sync how_
[12:51] <TJ-> b1ack0p: it's a command "sync"
[12:51] <TJ-> b1ack0p: that just ensures all memory has been flushed to disk
[12:51] <b1ack0p> root@ubuntu:/# exit exit root@ubuntu:~# sync root@ubuntu:~#
[12:52] <b1ack0p> all done?
[12:52] <b1ack0p> i am rebooting now
[12:52] <TJ-> b1ack0p: you can do "exit" again if you want to get back to the ubuntu prompt , but yes, reboot
[12:52] <b1ack0p> thank you TJ-  /9
[12:52] <b1ack0p> ;(
[12:52] <b1ack0p> :)
[12:53] <b1ack0p> keyboard turkish but set to english
[12:53] <TJ-> b1ack0p: don't say that until we know it works :)
[12:53] <b1ack0p> ok brb then ?p
[12:59] <b1ack0p> TJ-:  thank you :)
[12:59] <b1ack0p> grub working
[13:00] <b1ack0p> it shows windows partition sda1  which system reserved
[13:00] <b1ack0p> actual windows files are in sda2
[13:00] <b1ack0p> is it normal that GRUB shows sda1 not sda2 ?
[13:01] <TJ-> b1ack0p: it's not GRUB that determines that, it's another tool called os-prober, and it can be confused ... I think there are tweaks can be made to correct it
[13:01] <b1ack0p> why grub is giving me problem always :/
[13:03] <TJ-> b1ack0p: it isn't, it's Windows :p
[13:03] <b1ack0p> when ı ask them they say it is ubuntu .p
[13:03] <TJ-> b1ack0p: the os-prober script that tries to identify bootable Windows partitions is /usr/lib/os-probes/mounted/20microsoft
[13:04] <b1ack0p> hmm
[13:04] <b1ack0p> how can i change it to sda2 then?
[13:05] <TJ-> b1ack0p: if you look at that file you'll see how it tries to identify Windows by UTF-16 text strings embedded in the bcd file... so firstly if your system happens not to have those strings, it won't match
[13:05] <TJ-> b1ack0p: is it possible you have a Turkish Language install and those string don't exist?
[13:05] <TJ-> (Turkish language install of Windows)
[13:05] <b1ack0p> why?
[13:05] <TJ-> b1ack0p: because os-prober won't recognise the Windows installation if those strings aren't found
[13:06] <TJ-> b1ack0p: we could mount the sda2 and check for ourselves
[13:06] <b1ack0p> i dont have turkish version currently
[13:06] <b1ack0p> i need to download again
[13:06] <b1ack0p> i can change language but i am ok with english
[13:07] <b1ack0p> in past dealing with grub was not this difficult
[13:07] <TJ-> it's not a problem but I'm explaining why os-prober might not recognise the Windows install
[13:10] <b1ack0p> :/
[13:12] <TJ-> b1ack0p: do you want to test it, to see if we can fix it?
[13:12] <b1ack0p> ok
[13:12] <b1ack0p> for sda2 ?
[13:13] <TJ-> b1ack0p: "sudo mkdir /mnt/windows; sudo mount /dev/sda2 /mnt/windows" then ...
[13:13] <b1ack0p> returned blank
[13:13] <TJ-> b1ack0p: ... " sudo sh -x /usr/lib/os-probes/mounted/20microsoft /dev/sda2 /mnt/windows ntfs |& tee /tmp/probe.log "
[13:14] <b1ack0p> TJ-: https://paste.ubuntu.com/p/qzfbz5SKyR/
[13:16] <TJ-> b1ack0p: according to that there is no Windows install in sda2 :)
[13:16] <TJ-> b1ack0p: show is "pastebinit <( ls -latr /mnt/windows )"
[13:16] <b1ack0p> what?
[13:16] <b1ack0p> how possible
[13:17] <TJ-> b1ack0p: it tests for all the windows boot-loader files and doesn't find them
[13:17] <b1ack0p> http://paste.ubuntu.com/p/QdN3WXsXS2/
[13:17] <b1ack0p> :S
[13:18] <TJ-> b1ack0p: well, looking at that list, I don't see the expected files either. What version of Windows is supposed to be in there?
[13:18] <b1ack0p> 10
[13:18] <b1ack0p> latest version
[13:18] <b1ack0p> 1903 built
[13:18] <TJ-> b1ack0p: I'm not familiar with its layout but I'd exect to see the /boot/ directory and/or the bootmgr/ntldr and similar files.
[13:19] <b1ack0p> hmm
[13:19] <TJ-> Anyone else here got a Windows 10 install they could compare with b1ack0p's file list to tell us what is missing?
[13:19] <TJ-> b1ack0p: the reason os-prober listed sda1 (recovery) is because those files to exist there
[13:20] <b1ack0p> maybe sda1 is the normal to boot?
[13:20] <TJ-> b1ack0p: but it seems like sda2 has got broken somehow. I wonder if you should try booting into the Windows Recovery? but if you do it may well replace the GRUB bootloader (again!) and you'd have to use the live CD to fix it (again!)
[13:20] <b1ack0p> https://www.google.com/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&ved=2ahUKEwjNh4Cwk_jiAhVHUlAKHUftD48Qjxx6BAgBEAI&url=https%3A%2F%2Fwww.itzgeek.com%2Fhow-tos%2Flinux%2Fubuntu-how-tos%2Fhow-to-install-ubuntu-18-04-alongside-with-windows-10-or-8-in-dual-boot.html&psig=AOvVaw2o775-Q5sEv_vbC3qox39d&ust=1561123204506386
[13:21] <b1ack0p> here in the screenshot grub menu shows sda1 also
[13:21] <b1ack0p> if sda2 had boot then it would exist in grub
[13:21] <TJ-> b1ack0p: I don't think so based on earlier output: "/dev/sda1: LABEL="System Reserved" UUID="1098B4BE98B4A39E" TYPE="ntfs" PARTUUID="f8b1ced8-01""
[13:22] <TJ-> b1ack0p: do "sudo umount /mnt/windows" then "sudo mount /dev/sda1 /mnt/windows" and then "pastebinit <( ls -latr /mnt/windows)"
[13:23] <b1ack0p> TJ-: when i check screenshots all written sda1 for windows
[13:24] <b1ack0p> TJ-:  http://paste.ubuntu.com/p/PPSWNBpbXc/
[13:24] <TJ-> b1ack0p: they may all be wrong, then, unless win10 has changed things and has a separate boot partition
[13:25] <TJ-> b1ack0p: I can see that has a /boot/ directory so maybe Win10 does boot from the system-reserved partition. I've not used/installed Windows since 2004 time!
[13:25] <TJ-> b1ack0p: one way to find out though ... try booting into it :)
[13:25] <TJ-> b1ack0p: "sudo umount /mnt/windows"
[13:25] <b1ack0p> wow 15 years no windows
[13:26] <TJ-> b1ack0p: yeah; magical
[13:26] <b1ack0p> i tried yesterday
[13:26] <b1ack0p> i used boot repair tool
[13:26] <b1ack0p> and it restored grub
[13:26] <b1ack0p> but windows showed  both sda1 and sda2
[13:26] <b1ack0p> both was booting to win10
[13:27] <TJ-> b1ack0p: then something may be broken on the Windows side, but I'm not familiar enough with it to be sure
[13:27] <b1ack0p> ok
[13:27] <b1ack0p> let me try this way
[13:27] <b1ack0p> brb
[13:27] <akem> Hey, is "dmesg" output tied to a real file on the filesystem? /var/log/something for ex?
[13:27] <TJ-> b1ack0p: it could be that both actually use the boot-loader files in sda1
[13:27] <b1ack0p> thx again TJ-
[13:27] <b1ack0p> possible
[13:28] <b1ack0p> brb
[13:28] <TJ-> akem: no, dmesg reads /proc/kmsg
[13:28] <akem> TJ-, Ok thanks TJ-.
[13:28] <TJ-> akem: but usually the syslog daemon, or systemd-journald, read that and copy it to files, e.g. syslog will copy to /var/log/dmesg
[13:28] <TJ-> akem: you can view it also using "journalctl -k"
[13:29] <akem> TJ-, Ok thanks for the info, yeah i was looking for a file like this, but couldn't find it.
[13:30] <ace_me> how can I grep in some log files for both ERROR and CRITICAL words please ?
[13:31] <Mudchains> hi all, is there a channel/support for ubuntu landscape?
[13:31] <TJ-> akem: for previous boots "journalctl --list-boots" then "journalctl -b -X" where X is the boot ID
[13:31] <lotus|i5> Mudchains: think you need to contact with canonical directly for that
[13:32] <lotus|i5> !landscape
[13:32] <Mudchains> lotus|i5: also when there is no paid service contract? ( running the free license)
[13:33] <akem> ace_me, grep -E "ERROR|CRITICAL" /var/log/somefile
[13:33] <lotus|i5> Mudchains: you can always try to ask your issue, maybe volunteers might have ideas
[13:34] <akem> TJ-, Ok i don't need all that but thanks :)
[13:34] <Mudchains> Ok :) I have a number of outstanding alerts, but some of them are old. How can I delete/acknowledge them?
[13:35] <Mudchains> without hacking in the postgresql db
[13:35] <Mudchains> The docs/internet says nothing about it
[13:36] <jaydemir> is apt-get down or something? I've tried the main server and the US server, disabled ipv6, and its still miserably slow
[13:37] <lotus|i5> jaydemir: you could ask in #ubuntu-mirrors for known issues on repos
[13:37] <jaydemir> thanks
[13:37] <lotus|i5> jaydemir: you dont have firewall or router that could interfere?
[13:38] <jaydemir> nope
[13:38] <Mudchains> jaydemir: proxy?
[13:38] <jaydemir> just a plain old ISP line to a generic router and switch
[13:39] <jaydemir> and I haven't had issues prior to this morning
[13:39] <Mudchains> jaydemir: are other websites slow as well?
[13:39] <jaydemir> speed tests are all over 40 mbps
[13:39] <ace_me> akem:  is correct if i use cat /var/log/*.log | grep -E "122|234|412" | grep -E "CRITICAL|ERROR" ?
[13:40] <ace_me> in order to find one of the id and error ?
[13:40] <akem> ace_me, Yes i think.
[13:42] <TJ-> ace_me: "grep -rn 'ERROR|CRITICAL' /var/log" is another way
[13:43] <ace_me> and for gz files TJ ?
[13:43] <ace_me> in my case I use zcat
[13:44] <lotus|i5> Mudchains: can this help? https://landscape.canonical.com/static/doc/user-guide/
[13:44] <Mudchains> lotus|i5: already checked :(
[13:44] <TJ-> ace_me: there is  zgrep tool too :)
[13:45] <ace_me> really :) ?
[13:45] <TJ-> ace_me: "man zgrep"
[13:45] <ace_me> an d your way is faster ?
[13:46] <TJ-> ace_me: you'd have to measure it, but it is certainly easier most of the time
[13:46] <TJ-> ace_me: the only time "-r" isn't helpful is if you don't want it to search sub-directories as well
[13:49] <ace_me> thz
[13:49] <ace_me> thx*
[13:53] <ace_me> TJ-:  grep -rn 'ERROR|CRITICAL' /var/log | grep -E "id1|id2" seems to not work... I mean chaining 2 grep
[13:54] <akem> ace_me, add -E to the first grep too.
[13:55] <ace_me> thank you :)
[13:55] <TJ-> ace_me: -E is extended grep; without it you have to escape the OR as in "grep -rn 'ERROR\|CRITICAL' /var/log ...
[13:56] <TJ-> I have grep aliases to egrep for that reason
[14:00] <rypervenche> egrep is deprecated, just FYI. grep -E is the preferred method.
[14:04] <gofio> anybody using "sublime text" here?
[14:04] <akik> rypervenche: what do you mean deprecated? by whom, where?
[14:05] <rypervenche> akik: man grep: In addition, the variant programs egrep and fgrep are the same as grep -E and grep -F, respectively.  These variants are deprecated, but are provided for backward compatibility.
[14:05] <akik> thanks
[14:06] <ace_me> many of us probably gofio
[14:06] <gofio> ace_me: thanks
[14:07] <Mudchains> lotus|i5: The old alerts are gone, don't ask why .. :) just restarted landscape-clients en the server service
[14:08] <Mudchains> maybe a hickup in the communication or something
[14:24] <Oderus> hi all. having an issue with kmail where one of my email accounts (gmail) gets the error that it cannot access wallet. how can i solve this? permission to wallet has been granted, and all my other email accounts work fine
[14:24] <ace_me> can I do a similar search inside redis ? akem ?
[14:26] <islandmonkeee> I have a buggy touchpad that keeps switching itself on and off while my computer runs. BIOS needs a password that I never set, and keyboard with FN buttons to switch it off permanently (well, for the duration of the laptop being switched on) also inoperative. kernel log is being spammed with messages like this over and over again: https://paste.ubuntu.com/p/HVCHSS4gqS/
[14:27] <gofio> i guess I need a ubuntu on board tutorial as somehow it seems not like xubuntu one
[14:28] <ace_me> for what gofio ?
[14:28] <gofio> ace_me: the tutorial?
[14:32] <gofio> ace_me: don't know what you mean
[14:41] <Exagone313> Hi, when I go to a tty it locks the session, and somehow it even logged me out last time (when doing apt dist-upgrade?).  How can I disable this behavior (without disabling lock screen)?  Thanks for your help.
[14:42] <Exagone313> I'm on bionic, with default DE
[15:01] <supermasterblast> running the boot-repair utility, but so far it has not worked. I have a 3 disk raid array and lvm with a seporate boot and root partitions. I have selected in stalling grub to /sda /sdb /sdc, but it just crashes during boot. I never even see the boot loader though I do see a buch of text fly by sometimes before it crashes. Should I install grub to /dev/md1 or /dev/dm-0 or /dev/dm-1 ?   /dev/dm-0 it says is boot, /dev/dm-1 it says is root
[15:02] <supermasterblast> /dev/md1 is obviously the raid array
[15:06] <islandmonkeee> I have a buggy touchpad that keeps switching itself on and off while my computer runs. BIOS needs a password that I never set, and keyboard with FN buttons to switch it off permanently (well, for the duration of the laptop being switched on) also inoperative. kernel log is being spammed with messages like this over and over again: https://paste.ubuntu.com/p/HVCHSS4gqS/
[15:13] <lordcirth> islandmonkeee, what model is your laptop? Sometimes there is a way to bypass BIOS passwords
[15:13] <islandmonkeee> lordcirth: Lenovo Z500
[15:21] <pragmaticenigma> islandmonkeee: without the password to the BIOS I don't believe there is anyway to resolve it through that avenue. Lenovo intentionally designs their laptops such that BIOS passwords cannot be reset or forcefully cleared. I would recommend that check to make sure the cables between the keyboard and mouse haven't come loose and reseat them in their connectors.
[15:21] <lordcirth> islandmonkeee, hmm, I don't see any way to crack that.
[15:22] <islandmonkeee> pragmaticenigma: alright sure, I'll take it apart and see what is happening hardware-wise
[15:23] <pragmaticenigma> islandmonkeee: I know that my laptops have required such an operation after a couple years of being jostled around in transport
[15:23] <pragmaticenigma> hopefully it will help you out as well
[15:27] <m36> hey
[15:27] <m36> I am back as regged
[15:28] <m36> https://launchpad.net/ubuntu/+source/gradle/4.4.1-5ubuntu2~18.04
[15:28] <m36> found the source
[15:28] <m36> alrighty
[15:32] <TopQuark> us.archive.ubuntu.com seems to be slow and intermittently failing to respond.  Where should I report this?  Or is it a known issue?
[16:06] <ash_worksi> why is it that sometimes I get a new instance of something as a duplicate icon on my task bar thing...
[16:06] <ash_worksi> idr what it's called
[16:06] <ash_worksi> launcher bar?
[16:15] <ash_worksi> is there a fairly universal shortcut-key to focus on a search field?
[16:20] <noregret> i'm on 18.04 server, any idea how to stop the docker daemon? a systemd service of it does not exist, so i'm not sure where it is started
[16:22] <eraserpencil2> noregret: sudo systemctl status docker.service dosent work?
[16:23] <noregret> eraserpencil2: no, "Unit docker.service could not be found."
[16:24] <eraserpencil2> what does "ps -aux | grep docker " give
[16:24] <noregret> eraserpencil2: https://bpaste.net/show/767b686d836c
[16:28] <eraserpencil2> you installed docker as a snap?
[16:29] <noregret> eraserpencil2: iirc, i installed during ubuntu's installation
[16:29] <noregret> so whatever option ubunru's installer provided
[16:29] <styledash> you should use dockers ppa
[16:29] <noregret> so I would guess it's a snap
[16:29] <noregret> now i'm not sure how to stop it
[16:30] <noregret> styledash: ubuntu's installer provided the option to install it
[16:30] <styledash> is it listed in snap list?
[16:30] <noregret> I know nothing about snap
[16:30] <styledash> thats fine... just a recommendation for the future that getting the source from docker themselves is preferable
[16:31] <noregret> i only heard about it from checking the docker process, that's all
[16:31] <noregret> how can I check the snap list?
[16:31] <styledash> can you open a terminal and type "snap list" in it
[16:31] <noregret> oh yeah
[16:31] <noregret> it's there in the list
[16:31] <noregret> docker  18.06.1-ce  384   stable    canonical✓  -
[16:31] <styledash> i think you just need to do "snap remove docker" to remove it
[16:31] <eraserpencil2> it's there as a snap then
[16:31] <styledash> prob with sudo
[16:31] <noregret> gotta lookup what snaps are
[16:32] <eraserpencil2> 12:09:37 AM - eraserpencil2: reposting my problems here, hoping someone who might be able to help walked in since.
[16:32] <eraserpencil2> 12:09:37 AM - eraserpencil2: It's either i messed up a downgrade of cuda or a windows update messed something up, i couldnt get my ubuntu 16.04( cant use any other distro for reasons) working the way it used to. Currently, only combi of LX DM + i3 works as expected. other D.Es have weird behavior (ubuntu's unity not having tiling properly, gnome not showing anything). other DMs prevent me from going to tty7 and logging into root/us
[16:32] <noregret> ohh, snap is a package manager
[16:33] <noregret> or app store
[16:33] <styledash> yeah, its a containerized universal package format
[16:33] <styledash> from canonicall
[16:33] <noregret> interesting, never heard of it before
[16:33] <styledash> its an alternative to flatpak and appimage
[16:33] <noregret> and thanks, docker is removed now
[16:33] <styledash> yup no prob
[16:33] <noregret> so for next time, should I just install it from apt
[16:34] <styledash> https://docs.docker.com/install/linux/docker-ce/ubuntu/
[16:34] <styledash> check the docker docs there for instructions
[16:34] <noregret> got it, thanks
[16:35] <styledash> 👍
[16:37] <eraserpencil2> hmmm any way to remove lightdm without installing the suggested gdm3?
[16:42] <tomreyn> eraserpencil2: mayne   apt -o 'APT::Install-Suggests false' purge lightdm
[16:42] <tomreyn> but then  you'd end up without a login manager?
[16:43] <eraserpencil2> i have err weird display bugs, wanna remove all dms and se what i get
[16:44] <eraserpencil2> and i have ~/.xinitrc with a single line that starts a de
[16:45] <eraserpencil2> it still installs gdm3
[16:45] <tomreyn> maybe it's rather a recommends than a suggests?
[16:45] <tomreyn> --no-install-recommends
[16:46] <eraserpencil2> dosent work
[16:48] <tomreyn> you could explicitly list both packages to be purged
[16:48] <tomreyn> so the resolver will consider other options
[16:48] <styledash> i think 'apt install lightdm gdm3-' would work maybe
[16:49] <styledash> to install without a dependency
[16:49] <eraserpencil2> haha apt  now suggests sddm. apt dosent wanna leave me without a dm
[16:50] <tomreyn> see, it identifies your errors and helps you fix them
[16:50] <styledash> oh i gotcha... you want to remove all login managers
[16:50] <styledash> would say just start from the bare ubuntu server install lol
[16:53] <eraserpencil2> hmmm, else could you perhaps spare a few minutes looking at my error i posted earlier? I feel its a bug or a misconfigured file with X/dm/de
[16:53] <styledash> not sure but the 6 vote answer might be what you want:
[16:53] <styledash> https://askubuntu.com/questions/882422/how-can-i-disable-all-display-managers
[16:54] <eraserpencil2> errr...is tty1 the same as having no display manager?
[16:58] <kinghat> any of you americans ever take puter shit to best buy to recycle?
[16:58] <tomreyn> !ot | kinghat
[16:58] <kinghat> ah yes
[16:58] <kinghat> less reach there though
[16:58] <Gallomimia> yikes. system didn't want to boot today...
[16:59] <Gallomimia> this problem needs to get figured out today
[18:04] <AlexPortable> Internet stops working like twice a day, here is the network manager log: https://pastebin.com/PYNgEC0j
[18:17] <Richard_Cavell> Hi everyone. I heard about "snap" packages today, that get installed into /snap.  What is the relationship between a snap package and an apt-style package?  Are they two separate methods of installing software?
[18:18] <sarnold> yes, completely separate systems, though building snap packages can make easy use of debs provided in ubuntu for dependencies (which are copied into the snap package itself)
[18:19] <subcool> weird question. I've been noticing a lot of IO errors coming from an external HDD. Its really been acting up. So, as i try to back it up, it acts up even more. Now its on a completely diffent computer, and acting fine. wtf?
[18:21] <sarnold> it oculd be a bad usb switch, usb cables, controller, maybe power supply..
[18:22] <Richard_Cavell> sarnold, is snap related to ubuntu, or is it something that any Linux distro can use?
[18:22] <sarnold> Richard_Cavell: snap works on a handful of other distributions, but probably works best on ubuntu and derived distributions
[18:22] <subcool> sarnold, plugged directly into my laptop. i considered the cable too, so i switched it with my other drive, same effect.
[18:22] <netameta> Well there's defintely some issue with vmware and ubuntu - it wont boot getting stucked on splash, nomodeset fixes the problem but then i cannot resize the window all the way
[18:23] <subcool> Thats whats odd, i was considering either the wire, or the laptop itself. buti relaly only see errors on the one drive, i think? lol
[18:23] <sarnold> Richard_Cavell: there's some notes on other distros on https://docs.snapcraft.io/installing-snapd
[18:23] <sarnold> subcool: very odd :/
[18:23] <subcool> nvm., just went down.
[18:23] <subcool> lol
[18:23] <subcool> it might be the controller on the drive itself.
[18:23] <subcool> for the enclosure...
[18:24] <subcool> it had ONE error, and disconnected.
[18:25] <subcool> yeah, its seen via lsusb - but not an option as a drive anymore..
[18:30] <supermasterblast> my system is dead after upgrade. The grub boot loader doesn't come up. I have tried the fix boot-fix .iso for ubuntu and it apparently reinstalled grub and so forth, but still no luck booting. the system booted fine before the upgrade, so it seems like the upgrade messed up something. I am not sure what to do to fix the problem
[18:30] <subcool> silence is always a good thing
[18:31] <subcool> HAAHA and it magically came back! -
[18:31] <supermasterblast> anybody know where i can get some advice on this
[18:32] <supermasterblast> I was just looking at the install for ubuntu and it doesn't even seem to support raid, i installed ubuntu originally with raid so i am not sure what changed
[18:33] <supermasterblast> under edit partition i see nothing
[18:41] <subcool> Ok, so im pretty srue this drive should have SMART - how come its not coming up?
[18:44] <tomreyn> subcool: 'tunnelling' SMART requests through USB / USB enclosure controllers does not always work. you could try disassembling it and attach the drive directly.
[18:49] <subcool> tomreyn, considering that as my next thing, but there are a ton of IO errors.
[18:51] <EriC^^> subcool: bad wiring?
[18:51] <subcool> second wire.
[18:52] <subcool> unless they are both bad, but im not getting errors from my second drive.
[18:52] <sarnold> maybe busted port? bad memory on the laptop?
[18:53] <subcool> with all these errors, it has to be a bad disk. Over heating maybe. if i keep my hand on it,, it works.. once it warms up... it stops. but im assume.
[18:53] <subcool> ::sigh:: WD passport.
[18:54] <tomreyn> my sympathies.
[18:55] <subcool> thanks.. oh well.
[18:55] <subcool> i was hoping to crack the case too and maybe it was jsut the usb controller.
[18:56] <tomreyn> https://www.smartmontools.org/wiki/Supported_USB-Devices#idVendor0x1000
[18:58] <tomreyn> maybe try with "-d sat" but i'd think it's normally auto-detect that
[18:59] <subcool> i have brought up two programs with smart, and everythng says it doesnt have it.
[19:00] <subcool> past that, i never mess with it.
[19:01] <EriC^^> subcool: maybe you could lower its rpm enough to get the data off? im not sure how hdds actually work just a thought
[19:02] <EriC^^> or maybe some script that copies the data off in chunks then waits a while to continue using rsync
[19:02] <tomreyn> !ddrescue
[19:03] <subcool> i havent used that in forever..
[19:05] <b1ack0p> i am dragging icon in /usr/shared/applications to put on desktop but it shows like app.desktop
[19:05] <b1ack0p> not clickable
[19:05] <b1ack0p> how can i put shortcut to desktop?
[19:06] <tomreyn> which ubuntu version?
[19:06] <b1ack0p> latest
[19:06] <b1ack0p> 18.04.2
[19:06] <sorin-mihai> anyone here experience installing the nvidia drivers & cuda related tools on 18.04 and at the same time keep using the intel gpu for xorg?
[19:07] <b1ack0p> for example i am trying to drag terminal on desktop but it shows "gnome-terminal.desktop"
[19:07] <EriC^^> b1ack0p: make it +x
[19:07] <b1ack0p> +x how?
[19:07] <EriC^^> chmod +x ~/Desktop/*.desktop
[19:08] <b1ack0p> let me try
[19:08] <b1ack0p> still same
[19:08] <b1ack0p> should i reboot?
[19:09] <b1ack0p> org.gnome.Terminal.desktop
[19:09] <tomreyn> b1ack0p: here's what i get when i drag and drop a .desktop file from /usr/share/applications to my Desktop and double-click it: https://i.imgur.com/v8Qm0Hc.png
[19:10] <b1ack0p> imgur /
[19:10] <tomreyn> (and when i "trust + launch" it it actually runs the application.
[19:10] <b1ack0p> i cant open imgur links
[19:11] <b1ack0p> i did " sudo chmod +x ~/Desktop/*.desktop"
[19:11] <b1ack0p> and "sudo chown username ~/Desktop/*.desktop"
[19:11] <b1ack0p> nothing
[19:11] <EriC^^> b1ack0p: what is the nature of the file on the desktop type "ls -l ~/Desktop/*.desktop"
[19:12] <ioria> blackflow, not with sudo
[19:12] <b1ack0p> ~$ ls -l ~/Desktop/*.desktop
[19:12] <b1ack0p> ls: cannot access '/home/m/Desktop/*.desktop': No such file or directory
[19:12] <b1ack0p> ioria: let me try
[19:12] <EriC^^> what's the first letter in -rwxrwx... l or - ?
[19:12] <blackflow> ioria: hmmm?
[19:12] <AlexPortable> Internet stops working like twice a day, here is the network manager log: https://pastebin.com/PYNgEC0j
[19:13] <b1ack0p> what?
[19:13] <ioria> blackflow, sorry
[19:13] <EriC^^> b1ack0p: what does "ls -l ~/Desktop" give?
[19:13] <ioria> b1ack0p, not with sudo
[19:13] <b1ack0p> ~$ ls -l ~/Desktop
[19:13] <b1ack0p> total 0
[19:13] <blackflow> ioria: np
[19:14] <EriC^^> b1ack0p: hmm and there's a file on the desktop right now?
[19:14] <b1ack0p> as root " chmod +x ~/Desktop/*.desktop"
[19:14] <b1ack0p> chmod +x ~/Desktop/*.desktop
[19:14] <b1ack0p> sorry
[19:14] <b1ack0p> chmod: cannot access '/root/Desktop/*.desktop': No such file or directory
[19:15] <ioria> b1ack0p, what are you doing ?
[19:15] <b1ack0p> EriC^^: when i drag and put on desktop there is a file named "gnome-terminal.desktop
[19:15] <ioria> b1ack0p, exit from root
[19:15] <EriC^^> b1ack0p: ok and it's there right now yeah?
[19:15] <b1ack0p> not at the moment
[19:15] <b1ack0p> just a min
[19:16] <EriC^^> k
[19:16] <b1ack0p> ioria: same chmod: cannot access '/home/m/Desktop/*.desktop': No such file or directory
[19:16] <ioria> b1ack0p, are you root atm ?
[19:16] <tomreyn> b1ack0p: https://tomreyn.megaglest.org/v8Qm0Hc.png
[19:16] <b1ack0p> EriC^^: ~$ ls -l ~/Desktop
[19:16] <b1ack0p> total 4
[19:16] <b1ack0p> -rwxr-xr-x 1 m m 633 May 30  2018 org.gnome.Terminal.desktop
[19:17] <nshirelaptop> how do I terminate a screen session while logged in over ssh? I tried "exit" but it just ended my whole ssh session?
[19:17] <ioria> no sense
[19:17] <ioria> b1ack0p, are you sure you are on 18.04 ?
[19:17] <b1ack0p> tomreyn: lol yeah
[19:17] <b1ack0p> really
[19:17] <EriC^^> b1ack0p: ok type "cat ~/Desktop/org.gnome.Terminal.desktop | nc termbin.com 9999"
[19:17] <b1ack0p> it simply worked
[19:17] <b1ack0p> when i click on it and said trust
[19:18] <b1ack0p> welcome back TJ-  :)
[19:18] <b1ack0p> EriC^^: https://termbin.com/ymjo
[19:19] <b1ack0p> by the way what tomreyn did worked for me
[19:19] <tomreyn> b1ack0p: so you just didn't click on it before?
[19:19] <b1ack0p> nope tomreyn lol
[19:19] <b1ack0p> yea i am silly i know
[19:19] <tomreyn> no comment ;)
[19:19] <b1ack0p> before it didnt need me to click
[19:19] <b1ack0p> i didnt expect that
[19:20] <tomreyn> then how would it have launched, by you looking at the icon?
[19:20] <EriC^^> nshirelaptop: type "screen -ls" to get the sessions, then type "screen -X -S <number> kill"
[19:20] <b1ack0p> no i mean before when i dragged it directly put
[19:20] <b1ack0p> without .desktop
[19:20] <tomreyn> anyways, glad it works now.
[19:20] <b1ack0p> thx
[19:20] <b1ack0p> brb dinner time
[19:21] <b1ack0p> when i am back i have another question .p
[19:21] <AlexPortable> anyone can help me with my internet/network connection?
[19:25] <lordcirth> AlexPortable, does it stop working while you are using it, or when it sleeps?
[19:26] <AlexPortable> i'm not sure, i think when using it
[19:26] <lordcirth> I see "wake requested" in the logs
[19:26] <lordcirth> But I think that might be the connection, not the PC
[19:27] <lordcirth> AlexPortable, how have you been fixing it? Reboot?
[19:28] <lordcirth> AlexPortable, can you also pastebin 'dmesg'?
[19:28] <AlexPortable> i can either reboot, or put the computer to standby and wake it up, that will fix it
[19:28] <AlexPortable> or unplugging the connection for 1-2 minutes and plugging it back in again
[19:29] <AlexPortable> dmesg now or when it breaks again?
[19:29] <AlexPortable> because last time i posted dmesg and someone told me to post the output of network manager
[19:37] <b1ack0p> back
[19:37] <b1ack0p> now another question .p
[19:37] <b1ack0p> how can i add shortcut of folder to desktop?
[19:37] <b1ack0p> actually i wanna put windows drive on desktop for easy access and some folders in there
[19:42] <AlexPortable> lordcirth: ^
[19:43] <AlexPortable> https://pastebin.com/PYNgEC0j
[19:43] <GraysonBriggs> b1ack0p right click a folder, "create shortcut"
[19:44] <b1ack0p> GraysonBriggs: there s no option in right click to create shortcut
[19:44] <b1ack0p> in ubuntu
[19:44] <GraysonBriggs> b1ack0p my bad thought i was in the windows help channel :p
[19:45] <b1ack0p> lol no
[19:45] <b1ack0p> i am dual booting with windows 10 and in ubuntu i can access windows partition
[19:45] <lordcirth> AlexPortable, I meant when it breaks. But probably I can't help much; I'm not familiar with this issue.
[19:45] <b1ack0p> so i can reach windows documents while i am in ubuntu
[19:45] <b1ack0p> i wanna add shortcut in ubuntu desktop
[19:46] <lordcirth> b1ack0p, should be able to drag the drive entry from the left side of Nautilus, onto your desktop. I think.
[19:47] <TJ-> In Gnome? i thought nautilus no longer manages the desktop ?
[19:47] <Thr0r>  b1ack0p: Right click , select "Send To" , Desktop(Create Folder) Works for me...
[19:47] <b1ack0p> Thr0r: let me try
[19:47] <Thr0r>  b1ack0p: ..sorry (Create Link) ..not folder
[19:48] <b1ack0p> drag and drop worked
[19:48] <b1ack0p> but how about mount the windows drive allways on desktop?
[19:48] <b1ack0p> it goes when i reboot
[19:48] <EriC^^> b1ack0p: type "ln -s /path/to/mounted/windows ~/Desktop/Windows"
[19:49] <EriC^^> b1ack0p: it's likely /media/<your username>/<filesystem label or uuid>
[19:49] <b1ack0p> sorry drop and drag copies not creating shortcut
[19:49] <b1ack0p> and "send to" doing something else
[19:50] <EriC^^> b1ack0p: ln creates a softlink, that would work as a shortcut
[19:50] <b1ack0p> EriC^^: thx
[19:50] <EriC^^> b1ack0p: mount windows from nautilus, then type "df" and see where it's mounted (the path) and use that with ln -s
[19:50] <b1ack0p> does it work for any folder i wanna put?
[19:51] <EriC^^> b1ack0p: yes, softlinks work across filesystems, hdd's, etc
[19:51] <EriC^^> b1ack0p: it won't mount windows for you though, you'll still need to manually mount it, or have it automount using fstab when the pc boots
[19:51] <b1ack0p> /media/user/6826BF3126BEFEDE$
[19:52] <b1ack0p> is this the directory?
[19:52] <EriC^^> yeah looks like it
[19:53] <b1ack0p> ln -s /media/user/6826BF3126BEFEDE$ ~/Desktop/Windows
[19:53] <b1ack0p> creates a file on desktop but not working
[19:53] <EriC^^> without the "$"
[19:53] <b1ack0p> ok
[19:54] <b1ack0p> cool
[19:54] <b1ack0p> thank you EriC^^  :)
[19:54] <EriC^^> no problem :)
[19:56] <gabrielc> AlexPortable: dhcp problem?
[19:56] <AlexPortable> gabrielc: only on this computer
[19:56] <AlexPortable> lordcirth: there is the network manager log when it breaks
[19:58] <gabrielc> AlexPortable: Can you setup the interface with static ip/mask/gw/dns? to troubleshooting the issue
[19:58] <AlexPortable> yep, but i'd have to wait 12 to 24h before the problem arises agian
[19:59] <gabrielc> AlexPortable: an ip address outside the dhcp pool
[20:05] <b1ack0p> bbl
[20:05] <TJ-> b1ack0p could have just added an automount  :)
[20:08] <phibs> Using NetworkManager on U18 aarch64, it keeps using <IP_ADDRESS> in resolv.conf instead of the values I provide, any help appreciated.
[20:10] <gabrielc> phibs: chattr +i /etc/resolv.conf ? :)
[20:10] <phibs> thought about it ;)
[20:22] <TJ-> phibs: that is correct, <IP_ADDRESS> is the local systemd-resolved stub resolver
[20:23] <TJ-> phibs: if you want to add your own DNS, add them to the NM connection itself
[20:23] <phibs> TJ-: yeah I did, it would not use them :)
[20:24] <phibs> no worries, I gave up and am using resolved now which is pointing at my configured servers
[20:24] <phibs> which is good enough for gov't work 9tm)
[20:24] <phibs> (tm)
[20:24] <TJ-> phibs, if you've got it using DHCP, then set the method to "DHCP (Addresses Only)
[20:24] <TJ-> oh too late, another broken config!
[20:30] <akem_> I have 2 Wifi nets here, and on that other laptop i just installed Ubuntu, only one Wifi shows up in the list, is it possible because it's using WPA2? cause the only differences between the 2 networks is WPA and WPA2...
[20:31] <akem_> I see other Wifis from the neighboors...
[20:31] <TJ-> akem_: are they in the same frequency band?
[20:32] <akem_> TJ-, Yes 2.4 Ghz.
[20:32] <akem_> TJ-, but not the same channel, one is 11 the other is 13.
[20:33] <akem_> TJ-, It's on a fresh Ubuntu install, i touched nothing yet, just wanted to connect it to the net there.
[20:33] <TJ-> akem_: aha! channel 13 is a Europe regional channel; I bet the PC not seeing it is set to the US region which can only go up to channel 11
[20:34] <TJ-> akem_: what does "iw reg get | grep country" report ?
[20:34] <TJ-> akem_: (on the PC with the problem)
[20:35] <akem_> TJ-, country 00:DFS-UNSET
[20:37] <akem_> I choosed english language when installing with french keymap, the computer was bought in France i think, i'm in France btw.
[20:37] <TJ-> akem_: how about "iw list | grep -A 17 Frequencies" (pastebin the result)
[20:38] <akem_> Just a sec, i'll try to connect it to the working net, it'll be easier.
[20:42] <rgiesige> Hopefully this is the right place to ask this question: I have a internal DNS server that has local FQDN's for inside my house. When I boot up ubuntu it works fine for a little while (10-15 minutes) then after that I can't resolve any of the internal names. But if I do nslookup and connect to the server to do lookups it works fine.
[20:42] <rgiesige> Is there something wrong with the dnsmasq on my laptop?
[20:44] <TJ-> rgiesige: I'm going to guess the system is using systemd-resolved, and you're using NetworkManager to configure the connection. Is that correct?
[20:44] <jeremy31> akem_: What wifi are you using?
[20:45] <akem> TJ-, https://pastebin.com/HtBvF2B4
[20:46] <rgiesige> TJ- Yes that should be correct, this is a brand new install of Ubuntu 19.
[20:46] <TJ-> akem: hmmm, channel 13 is avaiable BUT "(no IR)" means "do not Initiate Radiation"
[20:46] <rgiesige> It looks like the default resolution server is my laptop and that it man in the middle the requests for something
[20:46] <TJ-> akem: if the AP can do band 2 (802.11a 5GHz) I'd use that for starters (less crowded)
[20:47] <TJ-> rgiesige: is your PC using DHCP ?
[20:47] <rgiesige> yes it is
[20:47] <akem> jeremy31, a netgear router(the one i don't see) and a freebox one, the one i'm connected too, the chipset with the issue is Broadcom Limited BCM43225 802.11b/g/n
[20:47] <rgiesige> this is the /etc/resolv.conf
[20:47] <rgiesige> nameserver <IP_ADDRESS> options edns0
[20:47] <TJ-> rgiesige: in the Network Manager Connection Editor for the connection, have you added a manual override for the DNS server?
[20:48] <TJ-> rgiesige: ignore /etc/resolv.conf, advice you've likely read about changing that is so wrong it makes me want to cry!
[20:48] <akem> TJ-, there is a 5Ghz network too but i don't see it either on that laptop, i thought because it was maybe too old that was normal.
[20:48] <jeremy31> akem: So you are using the proprietary Broadcom module?  I haven't seen that work on a 2.4GHz channel over 11 on Linux ever
[20:48] <rgiesige> I can do that right now and test
[20:49] <rgiesige> but why would I need to do that, shouldn't the dynamic connection DNS be fine.
[20:49] <rgiesige> every other system that I have is working fine, just not the ubuntu laptop
[20:49] <TJ-> rgiesige: I'm trying to determine if, in the Network Manager connection, you're using the DHCP assigned DNS server IP, or have over-ridden it with another DNS entry
[20:49] <akem> jeremy31, I'm not sure it is the proprietary but when installing Ubuntu i checked the "install proprietary" box.
[20:49] <rgiesige> no, I'm using the DHCP provided one sorry
[20:50] <TJ-> rgiesige: if this PC is *only* using the network-allocated DHCP values and you haven't over-ridden them locally, then the fault would likely be network connectivity
[20:50] <jeremy31> akem: Best option is to use a channel between 1-11 if you want 2.4 GHz
[20:50] <TJ-> rgiesige: the way it works is this:
[20:50] <rgiesige> That doesn't make sense
[20:50] <rgiesige> if I do nslookup server {server name} and then do lookup it works fine
[20:51] <rgiesige> if I reboot the systemd server for DNS it works fine again for 10-15 minutes
[20:51] <TJ-> rgiesige: systemd-resolved provides a local DNS stub resolver that listens on <IP_ADDRESS> (that's what is in /etc/resolv.conf). It also answers glibc NSS API lookups (the C functions gethostnbyname() etc.)
[20:51] <rgiesige> systemd service*
[20:51] <TJ-> rgiesige: now, the stub resolver will use the upstream DNS server(s) provided by DHCP
[20:51] <akem> jeremy31, Ok, thanks, i'll try to see if i can change the channel on my router.
[20:51] <akem> Thanks TJ- too.
[20:52] <rgiesige> but it's not using my local DNS server, it's failing down the chain for some reason
[20:52] <TJ-> rgiesige: usually systemd-resolved fails *if* the DNS server it is trying to query doesn't respond. If that happens, and there are multiple DNS servers provided by DHCP or manually, it'll move on to another in its list.
[20:53] <rgiesige> I just tried nslookup and it worked when I switched to the server
[20:53] <rgiesige> is there another test I should do?
[20:53] <jeremy31> rgiesige: using wifi or ethernet?
[20:53] <TJ-> rgiesige: that would work; you're going outside the local system.
[20:53] <rgiesige> is it maybe something on the pihole that I blocking that is causing it to fail?
[20:53] <TJ-> rgiesige: show us "resolvectl --status" in a pastebin please
[20:53] <rgiesige> There a specific url it checks to resolve being up?
[20:53] <rgiesige> sorry fqdn that it checks*
[20:55] <rgiesige> https://pastebin.com/82qKUYB0
[20:55] <rgiesige> That's what is happening
[20:58] <OerHeks> yay https://usn.ubuntu.com/3977-3/
[20:58] <OerHeks> intel-microcode libssl1.1 openssl
[20:59] <rgiesige> okay I'm back
[20:59] <OerHeks> brb
[20:59] <rgiesige> I had to disconnect and reconnect but now that I have the server for DNS hardcoded it works fine.
[20:59] <TJ-> rgiesige: show us "resolvectl --status" in a pastebin please
[21:01] <rgiesige> okay should I switch back to the dynamicaly provided DNS from my DHCP server?
[21:03] <akem321> jeremy31, TJ- Ok i changed the channel to 11 and i can connect now.
[21:06] <rgiesige> https://pastebin.com/CRuZBZgY
[21:07] <rgiesige> So I reconnected to my wifi, and had it dynamically assign the DHCP servers. It is working right now but in 10 minutes or so it will stop.
[21:08] <TJ-> rgiesige: right, line 43 onwards shows the problem
[21:08] <TJ-> rgiesige: are all 4 of those DNS servers being passed by DHCP server?
[21:08] <TJ-> sorry, three DNS servers
[21:09] <rgiesige> yes
[21:10] <rgiesige> looking in my pi-hole to see what my IP has requested that has been blocked.
[21:11] <TJ-> right, so my original explanation holds and is confirmed by that
[21:11] <rgiesige> only block that I saw in the last 100 requests was to analytics.google.com
[21:11] <TJ-> you say it is your *internal* names that fail to resolve
[21:11] <rgiesige> That it times out and then disable it for all requests?
[21:12] <rgiesige> yes that makes sense but I'm wanting to figure out "WHY"
[21:12] <rgiesige> none of my other systems ever have this problem
[21:12] <TJ-> rgiesige: I told you why
[21:12] <rgiesige> but why would it do it after 10 minutes
[21:13] <rgiesige> If I can resolve my internal names it should have it in cache for the ttl
[21:13] <TJ-> rgiesige: resolved start off using <IP_ADDRESS>... at some point it fails to get replies from that server, so it switches to <IP_ADDRESS> ... and cloudflare cannot resolve your internal names so those lookups fail
[21:13] <rgiesige> Would there be a log or some debug that I can do.
[21:13] <rgiesige> I have other linux systems and windows systems that never stop resolving these names
[21:14] <jeremy31> rgiesige: It might be a wifi issue
[21:14] <TJ-> rgiesige: so, assuming the failing lookups are UDP (smaller request packets) not TCP, then likely the packets are being dropped by a router under pressure
[21:14] <TJ-> rgiesige: or as jeremy31 says ^^^ wifi
[21:14] <rgiesige> my router is at 8% of use and my wifi is at 20%
[21:14] <rgiesige> I have ubiquiti stuff
[21:14] <rgiesige> so I can look up those stats
[21:14] <gabrielc> rgiesige: tcpdump -nn -i interfacename port 53
[21:15] <jeremy31> rgiesige: good info on preferred wifi settings https://ubuntuforums.org/showthread.php?t=2354328&p=13614520&#post13614520
[21:15] <TJ-> rgiesige: but the problem is, as far as resolved is concerted, <IP_ADDRESS> has stopped responding. Now, I also thing you've got the DNS set up wrong. I'd have the <IP_ADDRESS> set to forward to <IP_ADDRESS>/<IP_ADDRESS> but would NOt have those handed out to clients else you will hit this issue. Clients sohuld only get <IP_ADDRESS>
[21:16] <TJ-> my typing is getting worse!
[21:16] <rgiesige> but if I have to do maintenance on <IP_ADDRESS> then I want systems to continue to be able to get to the internet
[21:16] <rgiesige> so that is why I have them.
[21:16] <TJ-> rgiesige: so have another slave DNS server in your local network.
[21:17] <rgiesige> yeah that's true, I could do that on a docker in my server
[21:17] <rgiesige> docker container*
[21:17] <TJ-> rgiesige: you cannot expect this to work the way you expect; resolved does NOT do round-robin queries of all those DNS server, it just uses the secondaries as backups and switches to them when the primary fails. So once it switches to Cloudflare it won't switch back to your LAN DNS server
[21:18] <rgiesige> yeah I understand that, but I just want to know why it's failing
[21:18] <rgiesige> I want the error message or systemctl log that says it failed
[21:18] <rgiesige> As  I said I don't have problems with any other device on wifi.
[21:18] <TJ-> rgiesige: have you thought about using mDSN localling? hostname.local, I use that quite successfully with avahi-daemon running
[21:19] <TJ-> rgiesige: right, but you *could* if they suffered connectivity problems too
[21:19] <rgiesige> I can boot the same system into Windows and it works fine.
[21:19] <TJ-> rgiesige: which points to a fault with the wifi device/driver combination
[21:19] <TJ-> rgiesige: have you checked the kernel logs for clues when this occurs?
[21:19] <rgiesige> how would I do that?
[21:21] <usney> hello what are the security issues with having a laptop auto login?
[21:22] <usney> I tried to make the password as simple as possible to remember while ubuntu not complaining that it is a weak password and my friend who is much older than me can't input it in the computer.
[21:22] <usney> So I have now just setup his laptop to autologin and have screen lock disabled.
[21:25] <TJ-> rgiesige: when it happens: "journalctl -b --since="5 minutes ago"
[21:27] <rgiesige> should it come from systemd-resolv
[21:27] <rgiesige> so I could filter on that? or should I just look for general errors? -e
[21:32] <TJ-> rgiesige: forget the DNS side, you're looking for signs of network device/connection problems
[21:33] <TJ-> rgiesige: temporary failures would cause resolved to switch to a backup server
[21:33] <TJ-> rgiesige: you could also check the invalid/retries counts of "iwconfig" and see if they increase rapidly or are large (check repeatedly over time)
[21:34] <AlexPortable> gabrielc: tried it with a static ip, the network icon doesn't keep going up and down anymore now, but still no connectivity. ping results 'network unreachable'
[21:34] <cgi> I am running a ssh server on an ubuntu box. Am unable to ssh into the box. ufw is not active.
[21:34] <TJ-> rgiesige: would be good to know what the device is, show us: "pastebinit <( lspci -nnk -d ::280; iwconfig )
[21:34] <cgi> connection timed out is what i am getting
[21:34] <cgi> any thoughts on how to debug this problem. The machine I am trying to ssh into, has a static ip
[21:35] <rgiesige>  Intel Corporation Wireless 7265
[21:36] <ph88> i have a mounted mtp device, but it has as path mtp://  how can i put it in a normal mount path ?
[21:36] <Jonopoly> Those are my temp: https://paste.ubuntu.com/p/hBx5T5mZqH/
[21:36] <Jonopoly> Why are they idle at 60c :(
[21:37] <rgiesige> Also  Iwent thorugh and the only error I have from resolv is the MDNS issue
[21:38] <jeremy31> rgiesige: does iwconfig show power management being on?
[21:48] <TJ-> rgiesige: if we can't see the info we ask for we cannot really help
[21:48] <gabrielc> AlexPortable: when the problem is present run: ethtool interfacename -enter. and check the link status. first check that you have ethtool command
[21:48] <rgiesige> sorry send me the command again
[21:51] <SimonNL> pastebinit <( lspci -nnk -d ::280; iwconfig )
[21:53] <jeremy31> rgiesige: you mean  sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
[21:53] <rgiesige> https://pastebin.com/mnemeP9d
[21:54] <TJ-> I've spent the last 3 hours trying to solve noise on the monitor outputs of the 20 channel hardware mixer of the Ubuntu Studio digital audio workstation here... only to finally discover the first 2 ports are affected where I have the monitors connected, but all the others are fine... as always - just move the darned cables!
[21:54] <TJ-> rgiesige: the retries/invalid counts look OK
[21:56] <rgiesige> okay cool. I'm going to just see if turning off power management on the network card resolves the issue. If it doesn't I'm going to setup the second pi-hole DNS resolver on a docker container
[21:57] <TJ-> rgiesige: and I have the identical device here "02:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)" and don't experience issues with it so it's not a general issue. That makes me consider radio interference, so consider other devices in the same frequency band. If 2.4GHz then that includes bluetooth device
[21:57] <TJ-> rgiesige: I'd set up a connection monitor between two hosts on your network, maybe pings both ways and check if either sees dropped packets
[21:57] <rgiesige> It should be on the 5Ghz network.
[21:58] <TJ-> rgiesige: so it ought to be out the way of microwaves and baby alarms :)
[21:58] <rgiesige> yeah that's very true!
[21:58] <TJ-> rgiesige: it's not... "  Frequency:2.462 GHz"
[21:58] <TJ-> rgiesige: could it be hopping frequencies from 2.4 to 5?
[21:59] <TJ-> rgiesige: I presume you've got a dual-band AP
[21:59] <rgiesige> yeah I do.
[21:59] <jeremy31> rgiesige: another thing to try   echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwl-opt.conf
[21:59] <TJ-> rgiesige: so band hopping is another thing to look for when it occurs. that WILL show up in the logs because NetworkManager/wpa_supplicant will re-associated
[21:59] <jeremy31> That enables aggressive TX
[22:00] <SimonNL> binding the connection  to the AP s  mac maybe
[22:00] <TJ-> I have to focus on editing 3 hours of audio transcription now so shall be away from the PC
[22:01] <SimonNL> the 5Ghz mac that is
[22:01] <jeremy31> SimonNL: Or have the 2.4 and 5.0 GHz have different SSID's
[22:02] <rgiesige> THanks for your help TJ-
[22:02] <SimonNL> there are two options \o/
[22:02] <rgiesige> hehe yeah thanks SimonNL
[22:02] <Jonopoly> Is it possible to control the fan with ubunti?
[22:03] <rgiesige> It should choose the 5Ghz I wonder why it's not
[22:03] <Jonopoly> I've got FN key for fan speed (which works on windows..)
[22:03] <SimonNL> I'd go for the bssid option
[22:04] <SimonNL> rgiesige: maybe you have different AP s set to auto connect
[22:04] <rgiesige> SimonNL: I have one AP in the house and it provides both 2.4GHz and 5GHz
[22:05] <rgiesige> so I'll see what happens and come back later
[22:05] <rgiesige> Thanks for your help guys
[22:05] <SimonNL> ok    and configured connections to both and both set to auto connect ?
[22:06] <SimonNL> ok
[22:07] <jeremy31> simonnl must have noticed what time it is, late for bed again
[22:08] <TJ-> looks like they went together :)
[22:51] <ikantspelwrdz> Hi All! First time on IRC. Can you see me?
[22:51] <gabrielc> yes
[22:51] <raidghost> yes
[22:52] <ikantspelwrdz> Nice! It seems that I have set it up correctly then.
[23:34] <Gallomimia> why is my computer downloading intel microcode updates when i have an AMD cpu and chipset?
[23:36] <sarnold> because the apt package manager doesn't know what you've got installed, it just knows the linux package requires these to be installed
[23:36] <Gallomimia> intel-microcode: microcode will be updated at next boot
[23:36] <Gallomimia> ..... please dont.
[23:37] <Gallomimia> is the boot up installer smart enough to say no?
[23:37] <Gallomimia> and. yes it does know what i have installed.
[23:37] <OerHeks> you would get amd64-microcode, likely
[23:37] <Gallomimia> that update came out couple years ago
[23:38] <Gallomimia> i remember fussing over it then
[23:42] <ryu0> Gallomimia: neither gets used if it's not applicable for some reason.
[23:43] <ryu0> (<= BIOS microcode, wrong CPU, etc)
[23:43] <Gallomimia> well, gotta run anyway. hafta worry about it later
[23:43] <ryu0> it's nothing to worry about really.
[23:43] <ryu0> microcode that does nothing... is... worrisome?
[23:44] <ryu0> o.O
[23:44] <sirnate> thats what she said
[23:44] <sirnate> nate.scot