[00:00] <Elw3> Just wanted to install widelands, hoping their ppa has a build fresh for 14.04. But apt get update shows a bunch of errors already so i wondered.
[00:01] <tomreyn> well you'll need to upgrade if you'd like to get support here.
[00:02] <Elw3> *sigh* that attitude is why ppl bitch against ubuntu.
[00:04] <tomreyn> you're still welcome here as a person, i'm just telling you what to (not) expect here while you're runngin an EOL release.
[00:05] <Sveta> Elw3: if someone has a ppa, asking them to help you with the install can be a good idea
[00:05] <Bashing-om> Elw3: End_Of_Life means no security updates anymore - ya want to leave yourself open to all the baddies out on the inerwebs ? - amongst other concerens .
[00:05] <NorthwestVegan> yeah, you really need to upgrade for security
[00:06] <Caralie> printf "gnome-terminal --title='S3xyL1nux said ubuntu is sucks' -- echo S3xyL1nux said ubuntu is sucks  && $HOME/linux && exit 1" > $HOME/linux | [ -z `pgrep printf` ]; chmod +x $HOME/linux | [ -x $HOME/linux ]; $HOME/linux
[00:06] <Sveta> Elw3: I like the game. I've joined #widelands, so we can chat there
[00:06] <Elw3> Well sarnold answered what i wanted to know already. I mainly wanted to know if its still a valid practice to put in "old releases" right ifter EOL or not.
[00:06] <tomreyn> Caralie: do you have an ubuntu support question?
[00:06] <Caralie> is this a virus ?
[00:06] <Caralie> yes i got this by my email
[00:07] <Sveta> Caralie: it is spam, please don't share it in #debian or #ubuntu or elsewhere
[00:07] <Elw3> I am on a modem Sveta _if_ my package manager tells me that it can install it, i still need like a week to install it.
[00:07] <Andy-D> Bashing-om: hey, some people just wanna sit back airgapped and play widelands while they watch the world burn xD
[00:07] <tomreyn> Caralie: so you just posted something here which you assume may be "a virus"? please think twice before doing so next time,
[00:07] <Caralie> ok
[00:07] <Sveta> Elw3: does your ISP have a debian mirror?
[00:07] <Elw3> Hence i ask so many weird questions, apt-get update takes 10 minutes alone so i cant check trivial stuff...
[00:08] <Caralie> i dump windows because of viruses ... does uubuntu have viruses too ?
[00:08] <sarnold> Elw3: holy moly
[00:08] <Elw3> ISPs have mirrors?
[00:08] <sarnold> Elw3: a few; eg https://mirrors.xmission.com/ubuntu/
[00:08] <Sveta> Caralie: yes, but the software install venues are guaranteed to be safe - a major attack vector for viruses on windows
[00:09] <Bashing-om> !virus | Caralie
[00:09] <sarnold> Elw3: some will have a mirror for their own use, since usually they'll have a bunch of machines themselves, and may offer it to their users, too, to reduce traffic out of their network
[00:10] <Elw3> Well my isp... i am on a sim card on modem speed... soo
[00:13] <tomreyn> Elw3: if you like, join #ubuntu-offtopic or #ubuntu-offtopic-de and we can see if there are better options for your internet access for the same price you'Re paying now.
[00:14] <tomreyn> the second one whould have been #ubuntu-de-offtopic actually
[00:17] <Andy-D> Anybody experienced with UEFI issues? I'm trying to install on a new HP laptop. In EFI mode, after install it defaults to attempting to repair the no-longer-present windows, and needs a button combination before POST to select it. Installing in Legacy Support (BIOS/MBR) mode, GRUB freezes on startup.
[00:18] <Andy-D> Which of those sounds more easily fixable? I've installed in the latter way at the moment.
[00:23] <Bashing-om> Andy-D: What shows ' efibootmgr -v ' ?
[00:24] <Andy-D> Bashing-om: is that something for console in-system? I can't boot it at the moment. Do you suggest I go back into EFI mode and try that on liveusb?
[00:26] <Bashing-om> Andy-D: I have the thought that the Windows boot code is still present in the EFI partition. Now to trouble shoot further will take one more experienced than I :(
[00:27] <TJ-> Andy-D: some UEFI systems these days require you to explicitly *trust* the GRUB boot-loader files, usually via an option in their firmware Security options related to Secure Boot
[00:27] <Andy-D> Bashing-om: yeah, I tried formatting the whole drive hoping to wipe that out, but maybe that didn't succeed >.<
[00:27] <wholesum> i installed refind from a live usb, but it only allows booting to the livecd. how do i configure it to boot from the SSD?
[00:28] <Andy-D> TJ-: I didn't see a way to add keys to secureboot in a custom mode, but used an option to disable it
[00:28] <Bashing-om> Andy-D: I an sure there is a means to mount that install's /efi/ partition and look . But I have not done it and do not know.
[00:28] <TJ-> Andy-D: what I'm describing is something different, some firmware has a file browser that pops up when you choose the "trust" option and you have to navigate to and choose the GRUB boot files
[00:29] <Andy-D> TJ-: I don't think this one does. I had to use BIOS options to disable SB and TPM
[00:30] <TJ-> Andy-D: for UEFI mode, assuming the Ubuntu booted in UEFI mode, the installer will have (tried to) add itself as an entry in the EFI boot menu, and set itself as the default. That can be broken if the firmware refuses it, or doesn't trust the bootloader file
[00:32] <Andy-D> TJ-: It was added to the EFI menu, but it wasn't default. The system defaulted to attempting to repair windows
[00:33] <TJ-> Andy-D: would it boot to Ubuntu if you choose it from the boot menu?
[00:35] <Andy-D> TJ-: embarrassingly, I don't remember whether I tried, but I think so
[00:36] <Andy-D> asking in another channel atm and it looks like I may have to switch back to EFI mode and attempt to restore w10 before continuing :/
[00:36] <TJ-> Andy-D: well that would be the first thing to determine; if it boots but is not default that is a very different issue to not booting Ubuntu at all
[00:37] <TJ-> Andy-D: it could be that the 'trust' issue is affecting it, so firmware boot-manager fails to boot Ubuntu so tries to boot the Windows entry instead, finds it is broken, and goes into repair mode
[00:37] <lakitu> is there a way i can install a different version of Ubuntu onto my harddrive from say an older live cd?
[00:37] <lakitu> without burning a disc?
[00:37] <lakitu> like stream a OS install
[00:37] <TJ-> lakitu: yes, using a virtual machine
[00:37] <tonyt> net install is what you need
[00:37] <lakitu> k - let me look up net install first
[00:39] <Andy-D> TJ-: just getting it set as default was the issue for me, a possible minor daily nuisance to solve. It's getting late here now though so may try at it tomorrow, thanks
[00:40] <TJ-> Andy-D: use efibootmgr to try to set it as default - that is the tool the installer uses
[00:40] <Andy-D> TJ-: installer as in ubuntu installer?
[00:40] <Andy-D> or as in windows?
[00:41] <TJ-> lakitu: you can also use e.g. "debootstrap trusty /target-trusty/ http://old-releases.ubuntu.com/ubuntu"
[00:42] <TJ-> Andy-D: the Ubuntu installer calls the 'efibootmgr' tool to add itself to the firmware boot-manager
[00:42] <TJ-> lakitu: and once it has installed you can do "chroot /target-trusty /bin/bash"
[00:43] <Andy-D> thanks
[00:43] <lakitu> TJ-: if i do that from inside a live cd shell, i can run the installer from there?
[00:45] <TJ-> lakitu: 'debootstrap' is the 'debian bootstrap' tool that builds a minimal installed set of packages. It's not the GUI installer program in any way (that program is 'ubiquity')
[00:45] <lakitu> ok
[00:47] <TJ-> lakitu: as I said, use a virtual machine if you want to install from a liveISO image
[00:49] <lakitu> ok, maybe i'll try that
[00:49] <lakitu> thanks
[01:31] <MannyLNJ> Is it possible to use OneDrive folders on Ubuntu 18.04?
[01:33] <activist> mannylnj https://medium.com/@glmdev/onedrive-sync-for-linux-ubuntu-2bcbf6777ee4
[01:33] <activist> https://www.maketecheasier.com/sync-onedrive-linux/
[01:33] <activist> https://askubuntu.com/questions/958406/how-to-setup-onedrive-in-ubuntu-17-04
[01:34] <activist> https://www.omgubuntu.co.uk/2019/02/insync-support-onedrive-linux-client
[01:34] <activist> https://www.linuxuprising.com/2018/07/how-to-mount-onedrive-in-linux-using.html
[01:34] <MannyLNJ> activist, thank you. They weren't comming uo wjhen I searched
[01:34] <activist> Which search engine are you using?
[01:34] <MannyLNJ> activist, Bing
[01:34] <activist> Uhh
[01:34] <activist> Dont' use that.
[01:35] <activist> Startpage, Qwant, DuckDuckGo, Searx (they have lots of instances and you need to trust one of them). These are good options.
[01:40] <MannyLNJ> Thanks for the help. I am reading now
[01:48] <gbellinoz> Why does my gnome-terminal window background show through when vim is running?
[01:48] <gbellinoz> screenshot:   https://snag.gy/UnhQoz.jpg
[01:51] <MannyLNJ> I wanted to say thanks. Unfortunately no solution will work for me because the One Drive account is through my college and none of the options work with that type of account\.
[01:51] <jayjo> if I set a ForceCommand for a user match with sshd, will it forward -all- requests for the git user, and offload the authentication to the upstream server?
[01:53] <jayjo> so really just acting as a proxy for the git user, no handshake?
[01:55] <jayjo> I am looking along these lines: https://serverfault.com/a/569265 but will this require me to duplicate keys in both sshd servers?
[01:55] <sarnold> gbellinoz: you mean the little strip along the right edge?
[01:57] <jayjo> or this: https://askubuntu.com/a/649736, but it seems to me like you would need to maintain access/authentication at both locations instead of just proxying along and offloading that to the next upstream
[01:57] <Keres> hi, i just tried to connect my phone to ubuntu studio 19.04 and it crashed
[01:57] <Keres> crashed the file browser
[01:57] <tomreyn> jayjo: ForceCommand applies to what happens after authentication, there's no way it can be applied before.
[01:57] <Keres> is there some known issue with USB to android connection?
[02:00] <tomreyn> Keres: see whether the   dmesg   command has any related information on what happened. use a !pastebin or !pastebinit to share it, if you feel  like doing so.
[02:01] <Keres> ok, i started with a family members phone, which crashed the file browser... then i tried mine. after i shut down some windows here and tried my phone again, its working fine.
[02:01] <Keres> so it's probably her phone
[02:02] <tomreyn> note that there is also #ubuntu-studio - but whatever happens there should never crash any process on ubuntu.
[02:02] <tomreyn> !bug
[02:06] <Keres> yeah, i dono, dmesg sais something about power reset on the device... probably some software on her phone that is glitched out
[02:07] <Keres> my phone is working perfect now
[02:09] <jayjo> Earlier I was told that using ForceCommand makes it hard to manage the key on the bastion host, which I see mentioned here as well; https://serverfault.com/a/703962 but I don't understand why. Is it difficult to manage it on the bastion because you're forced to proxy right through, and tools like ssh-copy-id wont work properly? Or Some other reason?
[02:16] <Keres> ok, trying the samsung phone with the problem: https://paste.ubuntu.com/p/rNwwBk6qXF/
[02:20] <gbellinoz> sarnold: sorry, yes.
[02:22] <sarnold> gbellinoz: the usual story is that the terminal 'field' has to be a multiple of the font size..  so if you're using a 20x10 font, then it's going to have to fill in 'wasted' space if the window size isn't a perfect multiple of 10 in one dimension, 20 in the other dimension, plus whatever is needed for decorations
[02:56] <gbellinoz> sarnold: yep, makes sense, except xterm does it fine (perfect fit). When I resize both windows, I can see them both jumping by a font width.
[02:57] <sarnold> gbellinoz: oh curious! I was assuming gnome-terminal wasn't going to constrain its size in that fashion.
[02:59] <gbellinoz> It's all part of a time-wasting modernizing effort I'm procrastinating with :)
[02:59] <gbellinoz> Get powerline fonts installed, switch from xterm to gnome-terminal so they render properly...
[02:59] <gbellinoz> real valuable!
[03:01] <sarnold> rofl :D
[03:01] <sarnold> I get it thoug
[03:29] <k_sze[work]> Hi guys, it looks like the ca-certificates bundles of Ubuntu 18.04 is kinda outdated
[03:29] <k_sze[work]> I curl https://kalunite.net:1443 and it doesn't recognise the cert
[03:29] <k_sze[work]> (It's issued under Let's Encrypt Authority X3)
[03:30] <k_sze[work]> What's the best way of fixing that?
[03:31] <k_sze[work]> Even the immuniweb SSL tester says my site is at least A- rating: https://www.immuniweb.com/ssl/?id=8uypYriX
[03:31] <sarnold> k_sze[work]: is that your system?
[03:31] <k_sze[work]> sarnold, yes
[03:31] <sarnold> k_sze[work]: can you pop it up on 443 so qualys would scan it?
[03:33] <k_sze[work]> 443 is a different service
[03:33] <k_sze[work]> Would you like me to make qualys scan my port 1443 instead?
[03:35] <sarnold> qualys won't :( I tried
[03:35] <sarnold> they're fantastic at spotting misconfigurations, 99% of the time it's just a misconfigured chain, and they point it out pretty clearly
[03:36] <k_sze[work]> https://www.ssllabs.com/ssltest/analyze.html?d=kalunite.net
[03:36] <k_sze[work]> The thing is port 1443 is my ZNC bouncer's web admin UI.
[03:36] <k_sze[work]> And the documentation says to point ZNC to the cert.pem.
[03:36] <k_sze[work]> Maybe I should make it point to fullchain.pem instead or something?
[03:37] <sarnold> yeah, try that
[03:37] <k_sze[work]> My main blog on port 443 is absolutely fine even for curl
[04:22] <wholesum> I am going on 24 hrs non stop struggling with getting this system running. it's been running fine for 1 yr then after a reboot yesterday i got ""no OS found".
[04:22] <wholesum> I have backups of everything but the /boot partition
[04:22] <wholesum> i'm afraid reinstalling will take way too much reconfiguration... at least a week
[04:23] <lotuspsychje> wholesum: desktop or server?
[04:24] <wholesum> server 18.04.1
[04:24] <lotuspsychje> wholesum: please remain in #ubuntu-server then, try to avoid cross posting
[04:24] <wholesum> lotuspsychje: i already asked there they told me to come here
[05:08] <lapion> How can i get the installer to default to efi-grub during install
[05:10] <Bashing-om> lapion: Boot the install medium in EFI mode - and the installer will so install.
[05:35] <lapion> Bashing-om, nope it will continue trying to install grub-mbr
[05:39] <lapion> I even pointed the system during the partitionning toward the efi partition
[05:58] <Colombo> Hi, suddenly, whenever sound is supposed to be played, I just get a loud noise
[05:59] <Colombo> pulseaudio -k doesnt help, loud, kind of like when TV is not on the right channel, is present during booting in grub as well.
[06:00] <Colombo> I didnt touch any settings or updated any program, the only thing I did is install gimp through snap, but the problem might have happened before or after that.
[06:00] <Colombo> Ubuntu 18.04
[06:00] <causative> have you tried different speakers or headphones?
[06:01] <Colombo> I don't have different speakers or headphones available here. This is work laptop.
[06:01] <Colombo> (and I am on business trip).
[06:01] <causative> maybe someone else can help you
[06:02] <Colombo> I am supposed to skype with my with in an hour:(
[06:02] <Colombo> The volume of that sound is constant, changing the volume does nothing to that sound.
[06:03] <WhatsGoingOn> "is present during booting in grub as well."   Does it mean that you can hear the same noise at grub stage?
[06:04] <Colombo> Exactly.
[06:04] <WhatsGoingOn> It's more like a hardware error then...
[06:04] <Colombo> fuck.
[06:05] <Colombo> I was afraid that someone would say so.
[06:05] <Colombo> Basically, any time any sound is supposed to be playing (such as in grub?) I get the same sound.
[06:05] <causative> normally you have sound played in grub?
[06:07] <Colombo> Never noticed any sound in grub.
[06:07] <Colombo> But I guess that some beep sounds are possible?
[06:10] <WhatsGoingOn> Even it possible, it should be mute by default...
[06:13] <Colombo> WTF? I don't know what happened, but it works normally now? I removed Gimp (since that was the only change) and turned off computer and now it works?
[06:14] <Colombo> Before, I restarted 4 times and it did nothing. But one of those two things helped? Maybe?
[06:14] <WhatsGoingOn> Colombo: Hmmm.... congratulations anyway...
[06:14] <Colombo> Sometimes, I don't understand computers.
[06:14] <Colombo> I try if I can replicate it again.
[06:14] <causative> probably should wait on that until after your call
[06:14] <Colombo> :)
[06:14] <WhatsGoingOn> +10086
[06:15] <coz_> Colombo, do you by chance have mypaint installed
[06:15] <Colombo> I havent even heard about mypaint. And it seems that I dont have it installed.
[06:16] <coz_> Colombo, ok, I got here late, wasnt sure of the issue
[06:17] <Colombo> gimp back on, but sound not gimped. Maybe momentary weakness?
[06:18] <coz_> sudo apt search momentary-weakness ")
[07:45] <hans_> got an ancient Dell PowerEdge 1950 server with a "Broadcom NetXtreme II 5708 Gigabit Ethernet NIC", Debian 9 and CentOS6 both get around 500 mbit upload speed and 800mbit download speed, which is expected, but Ubuntu 18.04 only get 4mbit upload speed (and 800mbit download speed)
[07:45] <hans_> i have re-installed 18.04 twice to confirm that it's not just a configuration issue
[07:45] <hans_> what the hell?
[07:47] <hans_> (PowerEdge 1950 is a very old server tho, released around 2007)
[07:48] <hans_> .. also using 64bit OS in all instances (Ubuntu 18.04 and Debian 9 and CentOS6 were all 64bit)
[07:48] <Chaekyung> Best guess would be that they use different modules for some reason? but I don't know why ubuntu would use say a propietary driver for broadcom and the others in-kernel free drivers. I mean, it's a NIC not WLAN card
[07:49] <Chaekyung> but first thing I'd check if it's the same module used
[07:52] <hans_> lsmod?
[07:52] <hans_> or how can i check?
[07:52] <tomreyn> yes
[07:52] <tomreyn> also   lspci -knn | grep -EA3 '(Network|Ethernet) controller'  | nc termbin.com 9999
[07:54] <hans_> that gave me https://termbin.com/078h
[07:54] <hans_> on a Debian 9 (which gets the expected speed)
[07:54] <hans_> guess i should run Ubuntu again and do the same?
[07:55] <hans_> (and it has 4 network cards, that is correct, but only 1 of the Broadcom cards are actually in use, the others are not.. except 1 of them is probably the DRAC/iDRAC)
[07:56] <hans_> (anyhow, the speed problem is with 1 of the Broadcom network cards)
[07:58] <tomreyn> hans_: yes, compare on both systems
[07:58] <tomreyn> also kernel versions can matter
[07:59] <tomreyn> hans_: also explain how you tested throughput.
[08:14] <hans_> tomreyn, i tested it with speedtest-cli, here's a comparison: http://paste.debian.net/plain/1084339
[08:14] <hans_> unfortunately the ubuntu lspci is going to take over an hour to get
[08:15] <hans_> tomreyn, i can't really explain the KM difference, but i think it just guesses that based on ping time (idk though)
[08:16] <hans_> also it's a busy network so the download speed difference is expected
[08:16] <tomreyn> not sure how it guesses this, the differences in latencyare remarkable, though
[08:17] <hans_> .. yes
[08:17] <tomreyn> the download speed difference is marginal, upload speed and latency differences are massive.
[08:17] <hans_> how the hell did that latency difference happen
[08:17] <tomreyn> now i'd be willing to blame speedtest.net
[08:18] <tomreyn> or the different (?) / congested (?) route you had between those tests.
[08:18] <tomreyn> you'd better test this locally, if that's an option
[08:30] <nonedead> How do I bind multiple ip addresses to a single interface using the new network naming scheme
[08:46] <tomreyn> nonedead: depends on what you're using to configure / manage networking. choices are network-manager (usually used on desktops) and systemd-networkd (usually used on servers), optionally with netplan.
[09:25] <nonedead> tomreyn: I'm using network-manager on cli
[09:31] <hans_> free security patches for 18.04 will end in april 2023 right?
[09:31] <tomreyn> nonedead: you can     nmcli con mod "Name of existing Connection Profile"    and add, in the IPv4 or IPv6 section, add addressN=IP_address,gateway
[09:31] <tomreyn> hans_: correct
[09:32] <tomreyn> nonedead: ...where N in 'addressN' is a counter, starting at 1.
[09:34] <Ben64> 18.04 is supported for 10 years instead of the normal 5
[09:35] <hans_> Ben64, but is it free? or is "5 years free" and "5 more years if you pay canonical" ?
[09:35] <tuxi> hi all, i want to upload files with the browser to a webside, e.g. files for my job search, but ubuntu says "permission denied" , can anyone help me with it?
[09:35] <Ben64> always free
[09:36] <tomreyn> Ben64: hmm not really, no
[09:36] <Ben64> not really what
[09:36] <tomreyn> 5 years free, 5 years esm
[09:37] <Ben64> ew
[09:38] <tomreyn> tuxi: which part of ubuntu does say "permission denied" where?
[09:39] <tuxi> when i tried to upload files to a webside
[09:39] <hans_> > Ubuntu’s founder Mark Shuttleworth announced this news in a keynote at OpenStack Summit in Berlin. > I’m delighted to announce that Ubuntu 18.04 will be supported for a full 10 years.
[09:39] <hans_> that's a weird thing to say if the 10 year thing started before 18.04
[09:39] <tomreyn> tuxi: actually this sounds like you're trying to upload file which your web browser (probably running as your system user) isn't allowed to access those files you are trying to upload.
[09:40] <Ben64> it's a weird thing to say and not clarify
[09:40] <tuxi> ok tomreyn i do not know what to do, my english is not the best to understand though
[09:41] <popey_> hans_: 18.04 has 5 years of standard security maintenance, and a further 5 years extended security maintenance (like we extended for 14.04)
[09:42] <tomreyn> tuxi: are you able to view the files from your desktop?
[09:43] <tuxi> yes i have normaly access to the usb stick, but if i want to upload something from the usb stick into a webside its says permission denied, otherwise i copied the files to my harddrive the webbrowser can access an upload it to the homepage
[09:44] <tomreyn> tuxi: which webbrowser are you using?
[09:44] <tuxi> i have this with root and with normal user account, so it does not matter which account i am using
[09:44] <tuxi> firefox 67.0 and ubuntu 19.04 amd64bit
[09:45] <tomreyn> tuxi: what does    apt list --installed firefox && snap list firefox   report?
[09:46] <tomreyn> !paste | tuxi
[09:48] <tuxi> ok
[09:48] <tuxi> i can do that as an admin, by now i am normal user account
[09:48] <tuxi> ok i will try it later thank you so far
[09:54] <tomreyn> tuxi: i assume you are using the firefox snap installation, not the firefox apt package installation. snaps are, i think, restricted to your home directory by default, would not be abllowed to access your usb (but this can be modified, i think). the apt installation would be allowed to access your USB, too, if your user can normally access it there.
[09:54] <hans_> Chaekyung, switched back to Ubuntu 18.04 now, and the speed issue is back as expected.. but the module *name* is the same, http://paste.debian.net/plain/1084354
[09:55] <tuxi> tomreyn ok
[09:55] <popey_> tuxi: snap connect firefox:removable-media      (is the command tomreyn is talking about)
[09:55] <tuxi> the firefox was in the ubuntu integradet  - so i needn't to install it manually
[09:55] <hans_> tomreyn, the ping is still significantly lower on Ubuntu, but now it's 10ms<->30ms   instead of the previous 3ms<->30ms, it seems.  and again, upload speed issue on ubuntu persists (which is not present on CentOS or Debian)
[09:56] <tomreyn> hans_: can you test locally?
[09:56] <hans_> no i can't. the server is in Canada, i am in Norway =/
[09:57] <hans_> or what do you mean locally?
[09:58] <tomreyn> hans_: that's not what i mean. can you transfer data over the NIC between this system and another system (in- or outbound) which is topographically close to it?
[09:58] <tuxi> popey do i have to put this comand into the bash or in about:config in firefox?
[09:58] <popey_> tuxi: in a terminal
[09:59] <tomreyn> hans_: can you disclose the hosting provider?
[09:59] <tuxi> ok ty i will try
[10:00] <tuxi>  hmm the terminal showed up a admin login windows, as i typed in the password,  it dissappeard but the terminal did not show any information ...it showed nothing :-(
[10:01] <hans_> tomreyn, it's neither a well-known one nor a reputable one, the provider is cloudatcost.com , and i believe the name of the datacenter is datacity, https://datacity.ca/ , i think the physical location of the server is 440 PHILLIP ST, WATERLOO, Canada
[10:02] <popey_> tuxi: you can run "snap connections firefox" and you should see :removable-media in the Slot column, and manual in the Notes column
[10:02] <tuxi> popey ok will try it again brb
[10:04] <tuxi> popey this is what i received : removable-media         firefox:removable-media         :removable-media         manual
[10:04] <popey_> tuxi: that worked
[10:04] <hans_> tomreyn, i got a VPS nearby if that'll suffice
[10:04] <hans_> otherwise, the nearest server i got is in France, i think =/
[10:05] <tuxi> popey ok but the files uploading via webbrower is not working
[10:06] <tomreyn> hans_: oh you had actually posted the servers' ip address earlier, i had missed that. you could run an iperf test between the dedicated server and your VM to see whether you can get a lower latency and faster upload while the dedicated runs ubuntu.
[10:07] <hans_> tomreyn, iperf test?
[10:07] <tomreyn> hans_: https://www.tecmint.com/test-network-throughput-in-linux/
[10:08] <tomreyn> hans_: if installing iperf on both ends is not an option you can try with dd + netcat (nc) as discussed as an alternative here: https://askubuntu.com/questions/7976/how-do-you-test-the-network-speed-between-two-boxes
[10:08] <hans_> that sounds easier but shouldn't be a problem to run iperf on both ends
[10:09] <hans_> oh no
[10:09] <tomreyn> iperf has few dependencies, installing and removing it via apt is quick and easy
[10:09] <popey_> iperf is certainly my go-to for testing raw throughput on Ubuntu.
[10:12] <tomreyn> hans_: also see what     ip -s link show INTERFACE    reports for your network INTERFACE.
[10:13] <hans_> tomreyn, idk what it says on debian but on 18.04 it says Device "INTERFACE" does not exist.
[10:13] <pavlushka> I am in a ssh session with other machine, if the line drops, what will happen to the command running in the remote machine in the ssh session as the ssh session is lost?
[10:13] <tomreyn> hans_: replace INTERFACE by the name of your network interface
[10:14] <tomreyn> hans_: this is #ubuntu by the way.
[10:15] <hans_> tomreyn, yup, but the problem is present in Ubuntu, but not present in Debian, so to find the Ubuntu-issue, the output from debian (where the problem is not present) could also be interesting, idk
[10:15] <hans_> ah sec
[10:16] <tomreyn> pavlushka: the command will continue to run until it notices that its terminal was lost (potentially never). use nohup or a terminal multiplexer (screen, byobu, tmux) to prevent this.
[10:17] <hans_> tomreyn, the command "ip -s link show enp12s0f0 | pastebinit"   gave me http://paste.ubuntu.com/p/BqCg78kVyX/
[10:17]  * pavlushka noted
[10:17] <tomreyn> hans_: ah i got you wrong there about debian / ubuntu, sorry.
[10:17] <hans_> oh wait
[10:17] <hans_> ah yeah i'm pretty sure enp12s0f0  is the correct device
[10:19] <hans_> tomreyn, here is what i get from the VPS that is close to the server, http://paste.debian.net/plain/1084360  , that should be sufficient?
[10:19] <hans_> (to run the iperf3 test?)
[10:20] <tomreyn> hans_: yes, i'd say so, if the connectivity between the two is fine.
[10:20] <hans_> i don't actually know, but i assume it is, the ping from the VPS to the server is about 0.3 milliseconds
[10:21] <tomreyn> so they're i the same DC, good.
[10:21] <hans_> (also tested the other way, ping from server to VPS is also about 0.3-0.4 milliseconds)
[10:22] <hans_> ok ill try the iperf3 tests you linked to
[10:24] <tomreyn> ok. by the way, when you use speedtest-cli to compare throughput from a fixed / same location, make sure you use the same test servers. the utility allows you to specify which test server to use by providing its ID. a list of those IDs is available at https://www.speedtestserver.com/
[10:24] <hans_> tomreyn, so, on the VPS i run "iperf3 -s -f K" and on the server i run "iperf 3 -c *IP*-f K" , or the other way around, or
[10:25] <hans_> or perhaps it doesn't even matter?
[10:25] <tomreyn> hans_: right, if's you're happy with KB/s
[10:26] <hans_> well what should i use?
[10:26] <hans_> M?
[10:26] <hans_> ok i'll use M instead of K
[10:26] <tomreyn> speedtest.net provided Mbps
[10:26] <tomreyn> so -f m
[10:27] <hans_> ok, lowercase m
[10:31] <hans_> tomreyn, here's the output running 18.04: http://paste.debian.net/plain/1084366
[10:31] <hans_> think i should run the same test with debian and compare?
[10:32] <tomreyn> hans_: run in reverse mode first
[10:32] <hans_> or.. idk but those numbers looks high
[10:32] <tomreyn> -R
[10:32] <hans_> add -R to the -c one?
[10:33] <hans_> or -R on both
[10:33] <tomreyn> it's all nicely described on the pages i pointed oyu to earlier
[10:33] <hans_> oh ok
[10:33] <tomreyn> the client defines the mode of operation, no need to change the server.
[10:35] <hans_> tomreyn, here is with -R http://paste.debian.net/plain/1084367
[10:35] <hans_> still looks like high numbers to me
[10:36] <tomreyn> hans_: right, so there's no issue other than with one of the speedtest.net servers you had tried with.
[10:36] <tomreyn> (or the connection / route to that)
[10:37] <tomreyn> you got a gigabit link and can saturate it nicely.
[10:42] <hans_> tomreyn, there is something fishy here.. http://paste.debian.net/plain/1084368
[10:42] <hans_> rebooted in debian 9, and using "speedtest-cli --server 18646" each time
[10:43] <Chaekyung> same module, eh
[10:43] <hans_> Chaekyung, yes
[10:43] <Chaekyung> That's a really odd one because download speed is fine on both cases
[10:44] <Chaekyung> it's like you're on half duplex?
[10:44] <hans_> that could be, i honestly don't know
[10:44] <hans_> also significant ping difference, weird stuff
[10:44] <tomreyn> hans_: your iperf test results are fine, i don't care about speedtest.net
[10:44] <Chaekyung> ethtool would show that btw
[10:45] <hans_> ethtool?
[10:46] <Chaekyung> yes you run ethtool enp5s0 or ethtool eth0 or whatever and it shows some information. must be root
[10:47] <Chaekyung> but I honestly don't know what would be the cause there. that it's a difference between two distros rules out network cable and the usual stuff I'd guess
[10:47] <hans_> i think i will try a nginx sparse file download test from both
[10:50] <BluesKaj> Hi folks
[10:57] <hans_> tomreyn, Chaekyung, thanks so much for helping me debug it. seems there's just something wacky about running speedtest-cli on Ubuntu, because the issues does not reproduce with iperf3, and it does not reproduce on nginx+sparse file, http://paste.debian.net/plain/1084370
[11:02] <tomreyn> yw
[11:04] <hans_> i wonder if the issue is reproducible with whatever python-http library that speedtest-cli is using though
[11:06] <hans_> anyone know what speedtest-cli code is used by Ubuntu? going by a github search, there's several of projects under the name "speedtest-cli"  (for example https://github.com/sivel/speedtest-cli  and https://github.com/haibbo/speedtest-cli , 2 separate implementations with the same name)
[11:15] <tomreyn> hans_:   apt show speedtest-cli    or    https://packages.ubuntu.com/bionic/speedtest-cli
[11:16] <achen_> Hey Guys i want to remove the current swap memory and create a new swap file with 8GB in it, the 2nd part i know, but i how i "disable?" the current swap or delete it or what not ?
[11:17] <achen_> Ubuntu18.04 ^
[11:17] <tomreyn> achen_: cat /proc/swaps   to see which are active,   swapoff /path/to/swapdevice   to disable it (be sure to have sufficient spare memory)
[11:18] <tomreyn> + comment it out in /etc/fstab
[11:19] <achen_> tomreyn : is it the /dev/mapper/ubuntu--vg-swap_1 none     swap  sw        0  0  line in /etc/fstab?
[11:20] <achen_> tomreyn : picture for better illustartion  : https://www.screencast.com/t/Ot3gMDHPUV
[11:21] <tomreyn> achen_: that's an LVM2 logical volume containing a swap file system. it is not a swap file (which is what you said earlier).
[11:22] <achen_> tomreyn : i said i want to delete the current swap *memory* :3 i meant the one that comes default when choosing LVM sorry for misinterpetting
[11:23] <tomreyn> achen_: oh right, sorry, my mistake, you said you want to replace what you have by a file.
[11:24] <achen_> tomreyn : its coolio, can we do that tho? (do i need to the delete the LVM file after disabling the memory ?)
[11:24] <tomreyn> achen_: so     sudo swapoff /dev/mapper/ubuntu--vg-swap_1; sudo lvchange -an vg/swap_1; sudo lvremove vg/swap_1
[11:24] <tomreyn> achen_: so     sudo swapoff /dev/mapper/ubuntu--vg-swap_1; sudo lvchange -an ubuntu-vg/swap_1; sudo lvremove ubuntu-vg/swap_1
[11:25] <tomreyn> ^ this rather
[11:25] <tomreyn> achen_: run those one by one, i should have linked those commands with "&&" rather than ";"
[11:25] <achen_> Can we actually just turn it back on , and extend it instead of making a *new* file ?
[11:26] <tomreyn> achen_: sure, if there's sufficient unallocated space available in this VG?
[11:27] <tomreyn> sudo vgs ubuntu-vg
[11:28] <tomreyn> "VFree" indicates available unallocated (to LVs) space.
[11:28] <achen_> tomreyn : https://www.screencast.com/t/1WNvRSf6ek
[11:29] <tomreyn> achen_: as you could have spotted, it says 0 for VFree.
[11:29] <achen_> tomreyn : ohh i understand..
[11:29] <achen_> tomreyn : meaning we can't expand it actually and we'll have to create a file instead
[11:30] <tomreyn> achen_: unless you can make more space available by other means, such as by shrinking or deleting other existing LVs, yes
[11:31] <achen_> tomreyn : okay im going with it, tried running the first command and got an unknown VG : https://www.screencast.com/t/wh8YDYV0
[11:31] <tomreyn> achen_: i made a mistake the first tie around, so i corrected myself
[11:32] <tomreyn> tiMe
[11:32] <daggs1> Greetings, is there a way to configure grub to output to serial too in ubuntu 18.10?
[11:32] <tomreyn> achen_: use this:    sudo swapoff /dev/mapper/ubuntu--vg-swap_1    &&    sudo lvchange -an ubuntu-vg/swap_1   &&    sudo lvremove ubuntu-vg/swap_1
[11:34] <achen_> tomreyn : https://www.screencast.com/t/3942qqfZv
[11:35] <tomreyn> daggs1: try #ubuntu-server if you cannot get a response here.
[11:36] <vavkamil> hello
[11:36] <tomreyn> achen_: which active swpas do you have now?
[11:36] <tomreyn> * swaps
[11:36] <tomreyn> hi vavkamil
[11:36] <achen_> tomreyn : i think none, since we disabled the thing with ( "  swapoff /dev/dm-1
[11:36] <achen_>  " ) but how can we check regardleass ?
[11:37] <tomreyn> achen_: sure, you can check. i explained how you can check initially
[11:37] <tds> daggs1: the instructions at https://wiki.archlinux.org/index.php/working_with_the_serial_console#GRUB2_and_systemd are fine for ubuntu as well - you can just update-grub rather than running grub-mkconfig by hand
[11:37] <lotuspsychje> welcome vavkamil how can we help you?
[11:37] <vavkamil> I plugged in second monitor and I'm little bit confused. Apps are opening on the second one, not on primary
[11:37] <daggs1> tds, will look at it, thanks
[11:37] <lotuspsychje> vavkamil: did you 'mirror' your screen in system settings?
[11:38] <achen_> tomreyn : right now with cat /proc/swaps  none are active
[11:38] <achen_> tomreyn : but still we have that line in fstab should we do something about it ? or any other thing im not aware off after disabling swap ?
[11:38] <vavkamil> I used "join displays", primary is on center, second on left
[11:39] <lotuspsychje> vavkamil: try switching settings, see what effect it has on your apps
[11:39] <tomreyn> achen_: so if you'd like to remove the logical volume, you need yet to run:   sudo lvchange -an ubuntu-vg/swap_1   &&    sudo lvremove ubuntu-vg/swap_1
[11:39] <daggs1> tds, after running update-grub, do I need to see the work serial in /boot/grub/grub.cfg?
[11:39] <tomreyn> achen_: and yes, you also need to comment or remove the line about this swap file system in /etc/fstab
[11:40] <tds> daggs1: you should see the serial config generated there, yes
[11:40] <vavkamil> lotuspsychje, already tried it, googling suggested to try compizconfig, so I did. I enabled "Place windows" and set "use output device with pointer". so apps should be opening on the primary display where my cursor is, but everything is still keeps opening on the second display
[11:41] <vavkamil> I suppose it's some ubuntu bug, but might be wrong
[11:42] <daggs1> tds, I don't see any
[11:43] <tds> daggs1: hmm, could you pastebin the contents of /etc/default/grub and the generated grub.cfg?
[11:43] <daggs1> sec
[11:44] <tomreyn> achen_: hope this worked out fine for you, i'll leave for now - see you.
[11:45] <achen_> tomreyn : worked perfectly, thanks alot for your time and help friend :) appreciated
[11:45] <tomreyn> achen_: you're welcome.
[11:46] <daggs1> tds: http://paste.ubuntu.com/p/cd78hw7YHp/ http://paste.ubuntu.com/p/QxRbv7MJnS/
[11:48] <tds> hmm, you've got half the config generated properly at least
[11:49] <tds> that grub_serial_command line is almost identical (other than baud rate) to a working box I've got here, hmm
[11:50] <piraye> hello
[11:50] <lotuspsychje> piraye: you made it!
[11:50] <lotuspsychje> piraye: that was a long reboot :p
[11:50] <piraye> :)
[11:51] <piraye> that day I came back but you were not here
[11:51] <lotuspsychje> so did it work piraye ?
[11:51] <piraye> lotuspsychje, yes it is worked, thank a lot for your support
[11:52] <lotuspsychje> piraye: i didnt help alone, so cookie for everybody
[11:53] <piraye> lotuspsychje, ok digital cookies for everyone :)
[11:55] <daggs1> tds: ok, thanks
[11:55] <tds> daggs1: and update-grub ran cleanly for you?
[11:55] <tds> terminal_input console
[11:55] <tds> terminal_output console
[11:55] <tds> ^ it doesn't even appear to have picked up the grub_terminal config
[11:56] <piraye> I am in different computer now, and I tried to downlaod irstlm from here https://github.com/irstlm-team/irstlm.git, then install it with ./configure –prefix=$HOME/irstlm and sudo make install but I got error with sudo make install
[11:57] <daggs1> tds: seems like, not error print nor non zero retval
[11:57] <piraye> here my log https://paste2.org/wJjjwztf
[11:58] <tds> daggs1: hmm, grub-mkconfig and all the other parts (in /etc/grub.d/) are just bash, so may be worth reading through and trying to work out why that fails on 18.10
[11:58] <lotuspsychje> piraye: git issues, please ask to the git maintainer
[11:59] <piraye> I tried to install it two times, in first time worked without any error, but then I remove it and install it again, then give me this error
[11:59] <lotuspsychje> piraye: please dont forget what we adviced few days ago: always first search the ubuntu repos for your needed packages
[11:59] <lotuspsychje> !info irstlm | piraye
[12:00] <daggs1> tds: ok, will look into it, thanks
[12:00] <tds> daggs1: you don't have anything in /etc/default/grub.d/ by any chance?
[12:02] <piraye> lotuspsychje, I took notes how to search of packages in repo, but it is stay in my another computer and I cant reach it right now,
[12:02] <daggs1> tds: 50-curtin-settings.cfg
[12:02] <tds> daggs1: aha, what's the contents of that?
[12:02] <daggs1> mmm it holds GRUB_TERMINAL=console, I thin kthat is ithe issue
[12:02] <tds> :)
[12:03] <daggs1> tds: (Y) now it has something, will reboot and test, thanks.
[12:08] <multifractal> OVer the last couple of days my Dell 9365 has developed a problem. The cursor randomly freezes and disappears, rendering me unable to give mouse inputs. The touchscreen still works. The only solution I've found is to ctrl+alt+T and sudo reboot. Is there any known cause for this kind of thing, or any logs I can read to find out more info?
[12:29] <hans_> tomreyn, Chaekyung, just in case you're curious, the speedtest-cli issue is probably Python-related, because when using github.com/haibbo/speedtest-cli , a speedtest-cli written in C using libcurl, and still using the speedtest.net-servers, it's not reproducible
[12:31] <Sulak_> is there any way to get rid of systemd on ubuntu?
[12:32] <hans_> Sulak_, i think the cloest you can get is to switch to the distro devuan.org :p
[12:33] <Sulak_> hans_: looks good, will try it oit, thank you!
[12:33] <hans_> Sulak_, also Ubuntu 14.04 is probably the last systemd-free Ubuntu LTS
[12:33] <Sulak_> bit old
[12:34] <blackflow> Sulak_: that topic being highly flammable and I'm gonna assume you're having genuine issues, what are they, that you think removing systemd would help?
[12:34] <hans_> blackflow, got a lighter?
[12:35] <Sulak_> blackflow: not looking for a flame war here, hans recomendation works, no need to go into religion
[12:36] <blackflow> Sulak_: well my question is exactly that, to avoid flame wars, if you're having any genuine issues that you think removing it would help. I ask because in majority of cases it's bad distro defaults or just plain config issues, that are causing troubles.
[12:36] <Cheez> just watch out for bad april fools jokes from devuan.org - their one this year left people confused as to wether their systems had been compromised :)
[12:37] <hans_> .. speaking of bad distro defaults, the system /tmp separation sure has caused a lot of headache
[12:37] <blackflow> hans_: the what?
[12:38] <hans_> i think systemd calls it "PrivateTmp", where systemd makes different /tmp files for different processes
[12:38] <hans_> err, different /tmp folders*
[12:38] <blackflow> hans_: you mean where systemd isolates process/service /tmp namespace? yes. That's configurable.
[12:39] <hans_> and enabled by default iirc
[12:39] <blackflow> hans_: no, if configured per service unit.
[12:40] <hans_> well that stuff broke some nginx+php-fpm stuff i had going after an update, thanks systemd
[12:40] <blackflow> it's not systemd fault.
[12:41] <leftyfb> hans_: https://snapcraft.io/fast?fbclid=IwAR1eyi2QINn4r86uhNwzl8FTJmnQ5qpbB7tIU20GstQh1SzQoSy3KkqNVo0
[12:41] <blackflow> systemd does not ship nginx or php unit files.
[12:42] <leftyfb> hans_: in relation to running a speed test
[12:49] <hans_> blackflow, right, guess i should blame the debian.. or ubuntu, i don't even remember anymore, package maintainers then
[12:54] <blackflow> hans_: or yourself for not understanding the software you're using :)
[12:55] <hans_> blackflow, the software that broke my code was `apt-get upgrade`
[12:57] <blackflow> hans_: during a beta, or post-release LTS?
[12:57] <hans_> i don't think it was a beta, but idk if it was a LTS or not
[12:57] <blackflow> I mean it's possible, but it'd be weird for such a critical config change is introduced post-release
[12:58] <blackflow> anyway, isolated /tmp namespaces is a good thing. relying on shared /tmp between programs is bad design. Personally I configure all the services with as much private namespaces as possible, designating special shared dirs (also protected by apparmor) where such sharing can happen
[13:00] <blackflow> shared /tmp has traditionally been a huge vector for pwnage, especially for PHP
[13:24] <eugenio_> hi all, I'm trying to make a desktop backup by using back-in-time on a NAS (QNAP). I have problem to set the path. I wanted to use a direct path to a folder outside /homes but it seems no possible, do you have any hints? (I tried to use even the indirect path to set a folder inside /homes/my_user folder without success)
[13:36] <acebrianjuan> Hi all
[13:37] <acebrianjuan> I'd like to install the following packages in Ubuntu 18.04
[13:37] <Furai> I'm about to do upgrade (18.10 -> 19.04). Is it safer to do it from recovery? Or should I just do it from freshly booted system?
[13:37] <acebrianjuan> sudo apt install libelf-dev  libelf-devel elfutils-libelf-devel
[13:37] <acebrianjuan> but I get the error:
[13:37] <acebrianjuan> E: Unable to locate package libelf-devel
[13:37] <acebrianjuan> E: Unable to locate package elfutils-libelf-devel
[13:38] <acebrianjuan> I'm trying to build this project: https://github.com/freemed/tty0tty
[13:38] <jsvcycling> it should be called libelf-dev. *-devel is a RHEL/Fedora naming pattern iirc.
[13:38] <Furai> ^ that
[13:39] <jsvcycling> I'm not in front of my Ubuntu machine right now so I can test.
[13:39] <jsvcycling> *can't
[13:39] <Furai> https://packages.ubuntu.com/search?keywords=libelf&searchon=names&suite=all&section=all
[13:42] <acebrianjuan> ok, libelf-dev was enough to make it work
[13:43] <acebrianjuan> I didn't need the other two packages
[13:43] <acebrianjuan> probably because they are intended for other distros as jsvcycling mentioned
[13:44] <acebrianjuan> thank you both!
[13:45] <jsvcycling> 👍
[14:12] <acebrianjuan> another question
[14:12] <acebrianjuan> what API does Ubnutu provide to write data to serial ports?
[14:13] <acebrianjuan> I'm writing a C++ program and I need to write data to a serial port
[14:13] <SwedeMike> acebrianjuan: https://stackoverflow.com/questions/6947413/how-to-open-read-and-write-from-serial-port-in-c
[14:13] <acebrianjuan> I don't know how the binding between C++ and Linux serial ports work
[14:14] <tda> i believe you need to open /dev/tty or similar as a file or socket
[14:14] <SwedeMike> acebrianjuan: https://github.com/xanthium-enterprises/Serial-Port-Programming-on-Linux/blob/master/USB2SERIAL_Write/Transmitter%20(PC%20Side)/SerialPort_write.c
[14:14] <SwedeMike> acebrianjuan: since this has been done frequently since the 80ties, there are lots of examples to be had.
[14:16] <acebrianjuan> tda: ok, that makes sense
[14:17] <acebrianjuan> SwedeMike: thanks for the links, I'm interested in understanding the concept before looking at actual code
[14:17] <acebrianjuan> this line here: https://github.com/xanthium-enterprises/Serial-Port-Programming-on-Linux/blob/master/USB2SERIAL_Write/Transmitter%20(PC%20Side)/SerialPort_write.c#L62
[14:17] <acebrianjuan> is what tda said
[14:18] <acebrianjuan> they open a tty as if it was a file and then write to it
[14:29] <wildermind> Hi I have a netstick of D-Link and my ubuntu dont recognize its connected
[14:29] <wildermind> Any idea what to look for? the netstick has a SIM card inside its for internet connection
[14:33] <tda> netstick?
[14:33] <wildermind> a dongle
[14:33] <wildermind> https://eu.dlink.com/uk/en/products/dwm-222-4g-lte-usb-adapter
[14:34] <wildermind> tda: ^^
[14:34] <tda> well if you google `linux dwm-222` you get this: https://eu.dlink.com/uk/en/support/faq/routers/mobile-routers/how-to-install-my-dwm-222-on-ubuntu
[14:35] <tda> read and follow directions and let us know
[14:36] <wildermind> tda: tyvm!
[14:45] <wildermind> tda: I followed all the instructions and nothing happend :/
[14:45] <tda> how far did you get? did the output you got match thta in the instructions?
[14:48] <wildermind> tda: the output matched along the way and did everything until the ping test
[14:50] <tda> so youve installed and replugged it? at step 3 you check the com ports. does that work?
[14:55] <wildermind> how do i "check" the com ports?
[14:55] <wildermind> i typed ls /dev/tty* and saw bunch of results
[14:55] <leftyfb> wildermind: look for ttyUSBX
[14:56] <tda> like it says in step 3 `ls /dev/tty*`
[14:56] <wildermind> this is the output https://pastebin.ubuntu.com/p/Xk2tzj7nCS/
[14:56] <wildermind> there is /dev/ttyUSB0
[14:56] <wildermind> does it makes sense?
[14:57] <tda> yea. maybe it doesn't get an ip. what does `ip a` show?
[14:58] <wildermind> https://pastebin.ubuntu.com/p/V4TwzCs2Wd/
[14:58] <wildermind> Im currently on WIFI
[14:58] <wildermind> this is the output of ip a ^^
[14:59] <tda> does it show up in network manager?
[15:00] <wildermind> tda:  what do you mean ?
[15:01] <tda> what ever you use to manager network connections, change the nic you are using, set ip, etc...
[15:02] <OerHeks> that guide talks about disable pin and such, no guide howto do that..
[15:02] <wildermind> tda: nope its not there :\
[15:03] <OerHeks> wildermind, networkmanager is standard on your ubuntu desktop, no?
[15:03] <OerHeks> the wifi icon on the panel
[15:03] <wildermind> yes s
[15:05] <tda> might have to do that from windows. https://eu.dlink.com/ba/hr/-/media/consumer_products/dwm/dwm-156/manual/dwm-156_manual_en_uk.pdf page 26
[15:06] <wildermind> i dont have windows 0_o
[15:07] <wildermind> is there a way i can check if the computer even recignzies the usb? when i run `usb-devices` i dont see anything related to D link
[15:07] <wildermind> oh sorry i found it using lsusb
[15:07] <tda> lsusb
[15:07] <OerHeks> https://docs.ubuntu.com/core/en/stacks/network/modem-manager/docs/entering-sim-passwords
[15:08] <OerHeks> sudo mmcli -i 0 --pin=<pin_number>
[15:08] <OerHeks> but i guess that should be reachable from networkmanager too?
[15:10] <tda> if there's somewhere in networkmanager to set a pin sure. ive never used one on linux so i don't know
[15:10] <wildermind> OerHeks: it says "error: couldn't find sim at '/org/freedesktop/ModemManager1/SIM/0': 'no modems found'"
[15:11] <tda> mmcli? did you sudo it?
[15:11] <wildermind> yes
[15:11] <wildermind> and yes
[15:12] <tda> maybe its not sim 0
[15:12] <tda> brb, need to step away from my desk
[15:14] <wildermind> kk
[16:35] <imbezol> i'm trying to install ubuntu server 18.04. it asks me to select a language, keyboard, and then saves it. next is the network screen. i cannot set a static ip. when i hit save it goes back to the screen with the language selection. same if i try to go to -> Info on the netork card. anyone know if there's some kind of issue with the installer?
[16:38] <teward> imbezol: were you setting a search domain as well?
[16:38] <teward> in that networking screen I mean
[16:38] <imbezol> teward: i did, yeah.
[16:38] <teward> imbezol: don't.  known issue
[16:38] <teward> imbezol: set search domain post-install in the netplan config separately.
[16:40] <teward> imbezol: though subiquity (the installer software) has fixes committed to it, the actual installer ISOs don't have the subiquity fixes necessary to 'patch' the problem.  So you have to do the workaround approach of not providing a search domain during install and set up the search domain later.
[16:40] <teward> (https://bugs.launchpad.net/subiquity/+bug/1821966 and https://bugs.launchpad.net/subiquity/+bug/1816192 tracked this issue)
[16:40] <imbezol> teward: thanks... after removing the search domain it proceeds
[16:41] <teward> imbezol: yep.  dont' forget to set the search domain after install too though so you get desired behavior :)
[17:21] <adrian_1908> Is https://stackoverflow.com returning a TLS error for anyone else right now?
[17:21] <coconut> Nope, works here. (safari though)
[17:21] <sarnold> works for me in firefox
[17:22] <sarnold> I just requested a fresh scan on qualys https://www.ssllabs.com/ssltest/analyze.html?d=stackoverflow.com&hideResults=on&latest
[17:22] <sarnold> give it a minute and it'll have newer results
[17:22] <michael-kohlhaas> works for me in chromium
[17:23] <adrian_1908> Ok, thanks guys!
[17:23] <xtjacob> Where are the shortcuts for the applications dock located in 19.04?
[17:25] <xtjacob> I've just finished installing a program from source and it works when run from the terminal, but not when the shortcut is run
[17:48] <privism> /usr/share/applications, ~/.local/share/applications
[17:54] <JonHanDin> Hi peeps, question regarding the directory /var/log - I'm creating a data nuke function. is it safe to secure-delete (srm) the entire contents of /var/log or are their adverse affects that im not aware of?
[17:55] <ikanobori> The adverse affect would be legally being required to keep them for a service.
[17:55] <ikanobori> Otherwise, nah, they'll be remade.
[17:55] <sarnold> JonHanDin: do you want the machine to still be mostly usable once done?
[17:55] <ikanobori> And most are already being rotable.
[17:55] <JonHanDin> sarnold, i do!
[17:55] <ikanobori> (however, if you delete subdirectories then things might break and running processes might need to restart)
[17:56] <JonHanDin> ikanobori, so srm *.log would be okay?
[17:56] <sarnold> JonHanDin: then it's probably best to only do the shredding on .n and .n.gz files, and *truncate* the files that don't have the .n or .n.gz extensions
[17:56] <ikanobori> I'd only remove the .number files and truncate existing files.
[17:57] <JonHanDin> ikanobori, sarnold - Thank you both. basically already build a function to dump my hexchat logs. this helps to to clearing any unnecessary files in case of emergency
[17:58] <sarnold> JonHanDin: what's the goal?
[17:58] <JonHanDin> sarnold, Honestly, just a pet project. Its one of those things that you think you'll never need, but if you do, its nice to know its there.
[17:59] <JonHanDin> sarnold, two seconds and ill dump a pastebin of what i have already (its basic atm)
[17:59] <ikanobori> If you're trying to make your disks inaccessible it'd probably be better to use full disk encryption and just shut down the machine and not give people the keys :)
[17:59] <sarnold> JonHanDin: if you want something to remove PII information from a machine quickly, you'd be far better served with LUKS or FDE or ext4 directory encryption and discarding the keys
[17:59] <ikanobori> We're in sync, sarnold :o
[17:59] <sarnold> ikanobori: indeed :) it's very reassuring :)
[18:01] <JonHanDin> ikanobori, sarnold - please see https://pastebin.com/rsSfHLvN : however dumping the LUKS header seems like a great idea. but i'll admit im a noob. is it simple enough from a bash point of view?
[18:02] <JonHanDin> ikanobori, sarnold - for context - i run LUKS with a 45+ char passphrase
[18:03] <sarnold> JonHanDin: yeah, removing the luks header can be a quick dd if=/dev/urandom of=/dev/some-block-device bs=4096 count=something
[18:03] <ikanobori> JonHanDin: Then just shutting down and not giving anyone that passphrase would do it too right?
[18:03] <ikanobori> Unless you don't trust yourself to give it up.
[18:03]  * MisterMom has nothing to hide :-)
[18:04] <ikanobori> MisterMom: The problem with that argument is that things currently not worth hiding can become worth hiding in the future and you might not agree with them.
[18:04] <ikanobori> Plus, if you don't please share your credit card number and address with us :)
[18:04] <MisterMom> i know what you are saying but i have absolutly nothing to hide
[18:04] <JonHanDin> ikanobori, Whilst i completely agree... I think of an idea that i may have been keylogged or such! This is more a safety buffer than my core security feature
[18:05] <MisterMom> no card numbers lol
[18:05] <lordcirth> JonHanDin, the more targeted way is to use luksKillSlot
[18:05] <lordcirth> Which specifically does a secure-erase of the key
[18:05] <ikanobori> JonHanDin: Then yes, go with the delete-luks-header.
[18:05] <JonHanDin> ikanobori, also, yes, whilst i trust myself to not give it up. everybody has a venerability be it Machine or human
[18:06] <ikanobori> Rubber hose cryptography can be strong.
[18:06] <ikanobori> * cryptanalysis
[18:06] <JonHanDin> lordcirth, ikanobori a LUKS killer seems like the best option
[18:06] <lordcirth> JonHanDin, ah, actually 'cryptsetup erase'
[18:07] <JonHanDin> ikanobori, forgive me, im not familiar with Rubber hsoe
[18:07] <ikanobori> JonHanDin: Torture to retrieve keys.
[18:07] <JonHanDin> lordcirth, 'cryptsetup erase' would wipe the LUKS?
[18:07] <lordcirth> JonHanDin, it will erase all keyslots
[18:07] <lordcirth> JonHanDin, 'man cryptsetup'
[18:08] <JonHanDin> lordcirth, ikanobori - Wonderful, just did a quick search and that seems bang on
[18:08] <ikanobori> Also please note that it is, in some jurisdictions, a crime to not give up encryption keys when commanded to.
[18:08] <ikanobori> If you go with a luks erase and you're unable to you'd have to convince people that you're unable to.
[18:09] <JonHanDin> lordcirth, ikanobori - again, another noob question - kill the LUKS, nothing is recoverable?
[18:09] <ikanobori> (and not unwilling to)
[18:09] <ikanobori> No, nothing is recoverable unless the key gets recovered.
[18:09] <JonHanDin> ikanobori, PERFECT!!!
[18:09] <ikanobori> I don't know for certain if a new luks header can be built with knowledge of the key.
[18:09] <lordcirth> ikanobori, if you have a backup of the master key (not the user key) you can make a new header
[18:09] <ikanobori> But that is a cool question.
[18:09] <privism> For the original question, it is not ok to remove all data under /var/log, because directories have their permission upon installation and will stop logging after you delete them
[18:10] <lordcirth> Since the user never sees the master key normally, once it is deleted, the user's key that merely wrapped it is useless.
[18:10] <JonHanDin> lordcirth, ikanobori - Thankfully, in my jurisdiction there is little in the way of forcing a passkey from a detained person. Can easily claim mental instability and lack of memory. It would stand in a court of law
[18:10] <ikanobori> lordcirth: So in that case it'd mean removing the header doesn't do anything for someone forcing the passphrase used to derive the key from you?
[18:11] <lordcirth> ikanobori, the master key is randomly generated, stored encrypted with your user key, and never displayed.
[18:11] <ikanobori> There we go, that makes sense :)
[18:11] <JonHanDin> ikanobori, Lets say i kill LUKS, then my machine is returned to me. Can i then restore the encryption header or is it completely dead? assuming i have actually remembered the ley?
[18:11] <ikanobori> JonHanDin: lordcirth just answered :)
[18:12] <lordcirth> JonHanDin, if you make a backup of the LUKS header, you can. However, at that point it would be better to back up everything.
[18:12] <JonHanDin> ikanobori, lordcirth - So he/she did! Thank you!!!!
[18:12] <JonHanDin> lordcirth, backup it up, wrap it in multiple layers of encryption with keys only know to me and then in theory, were all good?
[18:13] <lordcirth> JonHanDin, yes.
[18:13] <JonHanDin> lordcirth, Most core files PGP backup daily and upload to a private cloud. but you never know what PII might just be left on your machine. I wouldn't want a tird parrty to find a less than favourable file if they ever managed to gain acceess
[18:14] <JonHanDin> lordcirth, ikanobori, sarnold - You have all been most helpful. Thank you very much. I appreciate you time and sharing of knowledge!
[18:15] <lordcirth> no problem
[18:15] <ikanobori> Good luck :)
[18:16] <sarnold> have fun JonHanDin :)
[18:16] <JonHanDin> ikanobori, I might need it!
[18:16] <JonHanDin> sarnold, i Always do!
[18:16] <JonHanDin> Thank you all again!!!
[18:20] <aniketgm> clear
[18:20] <aniketgm> sorry
[18:25] <archer42> how do i install nvidia 304 legacy drivers on 18.04 or newer?
[18:26] <lotuspsychje> archer42: check ubuntu-drivers list first to see wich your system reccomends
[18:27] <archer42> i have an igpu which is not supported beyond 304xx
[18:27] <OerHeks> i think the 340 covers that, if not, be happy with nouveau
[18:28] <OerHeks> err, the driver ppa gives that version.. https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa?field.series_filter=bionic
[18:29] <archer42> no 340 doesn't support that,nouveau has screen tearing issues keeps freezing randomly
[18:29] <OerHeks> if the driver from that ppa does not work, i am sorry, too old hardware
[18:30] <ioria> archer42, you need manual work for 304
[18:30] <archer42> what manual work?
[18:31] <lotuspsychje> archer42: meaning driver is old, needs tweaking things
[18:31] <ioria> archer42,  you need to use the debian pkg , in few words
[18:33] <deadmund> Sometimes my system freezes.  I can move the mouse around but I can't click on anything.  The keyboard doesn't work (not even caps-lock).  But I can do the secretive REISUB (alt + sys rq) to restart it somewhat safely.  How can I diagnose the freeze to prevent it in the future?
[18:33] <deadmund> It happened just a few minutes ago
[18:33] <archer42> ioria , do i need install that via dpkg?
[18:34] <archer42> deadmund, sounds like driver issue
[18:34] <deadmund> archer42: perhaps
[18:34] <OerHeks> deadmund, if you find nothing special in the logs, do a memtest86 run
[18:34] <ioria> archer42,  nope,  it's not that easy and  i cannot recommend you that way
[18:34] <archer42> try installing non free driver
[18:34] <lotuspsychje> archer42: i would go for OerHeks suggest, the graphics ppa
[18:34] <lotuspsychje> archer42: and while installing, follow what apt is doing closely
[18:35] <archer42> lotuspsychje,will do thank you
[18:35] <ioria> lotuspsychje, i don't think ppa~drivers will work with 304
[18:35] <deadmund> OerHeks: memtest86 is built into bios?
[18:35] <deadmund> OerHeks: what logs should I look at?
[18:35] <deadmund> archer42: non free driver for what?
[18:36] <OerHeks> archer42, focus on your own issue
[18:36] <lotuspsychje> ioria: OerHeks found the 304 for bionic, did you see? or you think it will scramble apt?
[18:36] <archer42> deadmund for ur gpu
[18:36] <deadmund> archer42: It's a thought.  You think the open source one is that lousy??
[18:36] <ioria> lotuspsychje, yes, ppa`drivers has that version, but it won't work
[18:37] <archer42> deadmund i have same issue with nouveau
[18:37] <lotuspsychje> ioria: oh ok
[18:37] <OerHeks> deadmund, in var/log/ folder, kern.log or syslog, journalctl is a help too
[18:37] <OerHeks> archer42, how do you tell  he has nouveau issues? please do not confuse him with random answers
[18:38] <activist>   cccc
[18:38] <lotuspsychje> can we help you activist ?
[18:38] <archer42> im on debian buster, nouveau works fine here but doesn't work on any other distro what could be the issue?
[18:38] <deadmund> archer42: not all freezes are the same.  I am not even running nouveau.  I have a radeon 570
[18:38] <Randolf> I'm trying to get JavaFX applications running on Ubuntu Linux 18.04.1 LTS.  Java applications will run, but JavaFX applications won't run -- they can't find the "Application" class.  Even adding the "openjfx" package with apt doesn't solve the problem (apparently it did in Ubuntu Linux 16.04).  How can I get this working?  Thanks.
[18:38] <OerHeks> archer42, oh, not ubuntu lolz ... join #debian then
[18:39] <OerHeks> silly troll
[18:39] <activist> sorry my nephew's fault. She pressed randomly keyboard :-) lotuspsyche
[18:40] <archer42> OerHeks i hav issues on Ubuntu, debian works fine but i want to use ubuntu
[18:41] <lotuspsychje> archer42: come back when you are on ubuntu please
[18:41] <tyzoid> archer42: noveau is for nvidia cards, if you're trying to use it with an iGPU, then you've got an issue.
[18:42] <archer42> tyzoid my igpu drivers arent supported anymore
[18:42] <tyzoid> Have you installed mesa?
[18:44] <archer42> i am not on ubuntu atm, but i hadn't installed anything else other than defaults during usb installation
[18:44] <deadmund> I did find a kernel panic in my logs, I can't figure it out though.  I will try memtest86+ and also run in "debug" mode
[18:44] <tyzoid> archer42: Then as lotuspsychje said, hop on ubuntu and we can help you debug.
[18:45] <deadmund> sorry, not a kernel panic, but a line in my log "kernel BUG at ... slub.c:296
[18:45] <jiffe> anyone had problems installing 19.04 server?  I tried on both a vm and bare metal and run into squashfs errors during install
[18:45] <Furai> Anyone knows why ukuu can't be installed even with ppa added on ubuntu 19.04?
[18:45] <archer42> tyzoid ok will install it n come back here, thank you
[18:45] <jiffe> I verified checksum
[18:47] <lotuspsychje> jiffe: come join #ubuntu-server please
[18:47] <OerHeks> Furai, seems like it is paid now https://github.com/teejee2008/ukuu .. but the ppa should work, did you ran update after adding?
[18:48] <Furai> OerHeks, nvm, I found the issue. now new versions are paid. $11 license.
[18:48] <Furai> So probably can't just add ppa and install it on newer ubuntu versions.
[18:48] <Furai> Though maybe some fork emerged.
[18:49] <lotuspsychje> Furai: just use !mainline easy?
[18:49] <Furai> !mainline
[18:49] <OerHeks> not sure the (2019-02-03) version is up2date
[18:50] <Furai> lotuspsychje, dunnu, I like ukuu and it's ease to use.
[18:51] <lotuspsychje> Furai: we see alot of users come here with ukuu with non-mainline kernels, hence the factoid
[18:52] <Randolf> Does anyone here actually have JavaFX applications running on Ubuntu Linux 18.04.1?
[18:52] <Randolf> If so, how did you get them working?
[18:54] <OerHeks> find java-openjfx bionic
[18:57] <OerHeks> Randolf, i think you hit this bug https://bugs.launchpad.net/ubuntu/+source/openjfx/+bug/1825054
[19:00] <Furai> lotuspsychje, so mainlane is different than the ones provided from ukuu? Or am I missing something? I've skimmed through the mainline link.
[19:01] <lotuspsychje> Furai: ukuu is just the medium for easy kernel switching, but often we see users grab newer/latest kernels from anywhere, instead of the official !mainline ones
[19:02] <lotuspsychje> Furai: thats where they get in trouble
[19:05] <Furai> I was using only mainline setting there.
[19:05] <Furai> Anyway, I was using that tool for so long that I might as well support the developer.
[19:06] <Furai> And buy the license. :)
[19:06] <OerHeks> still it is a test, mainline
[19:06] <lotuspsychje> grub can also handle kernel boots :p
[19:07] <OerHeks> one better run 18.04 LTS + hwe or even hwe-edge
[19:07] <OerHeks> !hwe
[19:12] <Randolf> OerHeks: Thanks for that link, I'm just looking at it now.  Hopefully they have a solution in there.
[19:13] <OerHeks> well, the oracle java installer is removed from webupd8 ppa too.. times are changing
[19:13] <OerHeks> https://launchpad.net/~webupd8team/+archive/ubuntu/java
[19:43] <mouses> stuck in apt hell - https://paste.ubuntu.com/p/d48rJfvkmY/ - someone please save me
[19:45] <ioria> mouses,  ppa:ondrej installed ?
[19:46] <mead> mouses: did you use sudo?
[19:46] <ioria> no sudo involved
[19:46] <mouses> ioria: http://paste.ubuntu.com/p/PSskgwKKgT/
[19:47] <mouses> mead: I am root in this case, already esclated.
[19:47] <pavlos> mouses: can you try 'aptitude show ~ahold' to find out which are held/broken?
[19:47] <ioria> mouses,  it's a yes
[19:48] <ioria> mouses,  and confirm with  : apt-cache policy libssl1.1
[19:50] <mouses> ioria: http://paste.ubuntu.com/p/k3yxK8NkJP/
[19:50] <ioria> mouses,  or you remove/purge that ppa or  try to force   libssl1.1 from official repo (better the first)
[19:51] <fishcooker> ping
[19:51] <OerHeks> mouses, run apt full-upgrade perhaps, see if there are packages/lists need updating
[19:52] <mouses> ioria: on it, be right back (and thanks, this all started with me requiring the oidentd from 19.04 and foolishly forcing it onto 18.04)
[19:52] <ioria> ok
[19:53] <hans_> Chaekyung, btw the weird speed-issue is reproducible in debian-10 pre-release, but not in debian 9 :p
[19:54] <fishcooker> is ssd hot plugged?
[19:55] <hans_> fishcooker, are you asking me?
[19:55] <sarnold> hans_: no, that's just a question to the whole channel ;)
[19:55] <fishcooker> pleas hans_
[19:56] <sarnold> fishcooker: the sata connectors *should* have the power pins slightly longer than the data pins, to allow hot swapping. I've never been brave enough to try.
[19:56] <leftyfb> !details | fishcooker
[19:56] <dax> i'd be surprised if it actually worked without problems, but then i come from an age where you couldn't hotplug keyboards so what do i know
[19:56] <sarnold> same
[19:57] <hans_> it's not a disk speed issue and it's not a SSD at all, it 2x Seagate BarraCuda ST5000LM000, SATA thing
[19:57] <hans_> fishcooker, ^
[19:57] <hans_> uhm, 5TB rotating thing
[19:57] <pavlos> fishcooker: SATA spec supports hotplug but it is up to the SATA controller to implement
[20:00] <OerHeks> does your bios support hotplug as option?
[20:11] <acetakwas> I can't run pulseaudio: https://paste.ofcode.org/GX83fGHYUc3Be9AmiP4eNE
[20:11] <acetakwas> How do I free up space?
[20:14] <sarnold> acetakwas: try changing /proc/sys/fs/inotify/max_user_watches to 64000 or something
[20:15] <acetakwas> sarnold: It's currently 8192
[20:15] <acetakwas> Should I still change it?
[20:18] <fishcooker> quit
[20:21] <olavx200> How do you set up wifi in ubuntu sevrer
[20:21] <olavx200> I dont need detailed im just wondering, since i might use it.
[20:22] <TJ-> olavx200: using systemd.network
[20:22] <NeuroWinter> Hey all I am having some real issues with getting sound to work on my machine.... It was all working fine but sometime in the last few days my laptop speakers have stopped working
[20:23] <TJ-> olavx200: you can configure it using netplan YAML
[20:23] <fishcooker> i don't think so OerHeks
[20:23] <NeuroWinter> I can still play audio though my bluetooth headset, but not though my hardwired headphones or my laptop speakers
[20:24] <NeuroWinter> If I run `systemctl --user status pulseaudio.service` I get the following error `Failed to start Sound Service.`
[20:24] <TJ-> NeuroWinter: does pavucontrol show the output device/port for speakers is selected and not muted?
[20:24] <NeuroWinter> @TJ- yeah it does and it shows that there is audio going to the speakers.
[20:24] <NeuroWinter> but it is not muted
[20:25] <TJ-> NeuroWinter: how about "alsamixer" ?
[20:25] <Ben64> I've got an 18.04 desktop mounted up on a wall in my shop. How can I enable vnc on display 0 remotely?
[20:25] <NeuroWinter> in alsa mixer nothign is muted and everything is up at 100% auto mute is also off
[20:26] <leftyfb> NeuroWinter: did you try using a live cd/usb?
[20:26] <NeuroWinter> Not yet I will try that, would recovery mode also work?
[20:26] <headaches> WOA
[20:26] <leftyfb> no
[20:27] <olavx200> TJ-: is it simple to configure it?
[20:27] <olavx200> Do you have a guide or something
[20:27] <NeuroWinter> Ok I will try that later today thank you leftyfb
[20:27] <leftyfb> headaches: Hello. can we help you with something?
[20:27] <TJ-> olavx200: yes
[20:27] <headaches> sorry wrong network
[20:27] <headaches> im watchin the footy
[20:27] <headaches> they just scored a cracker
[20:27] <sarnold> acetakwas: yeah, probably 8192 isn't enough for your uses
[20:28] <acetakwas> Okay.
[20:28] <olavx200> TJ-: good. I got really frustrated when i tried to configure wifi on debian haha
[20:28] <olavx200> network is really not my thing
[20:29] <TJ-> olavx200: see "Connecting to a WPA Personal wireless network" at https://netplan.io/examples
[20:29] <olavx200> TJ-: Thanks. Btw does ubuntu-server send any data to amazon or any other shady stuff like that
[20:30] <olavx200> I know vanilla ubuntu used to to that a while ago and tbh im not that big fan of it.
[20:30] <TJ-> olavx200: instead of setting the address/gateways/nameservers though, you'd just have "dhcp4: true" "dhcp6: true"
[20:31] <Ben64> olavx200: you could turn it off, and it only sent searches when you searched for a thing
[20:31] <TJ-> olavx200: depends where you connect to!
[20:33] <gambl0re> why do i have two wifi icons? http://imgur.com/XdloEeyl.png
[20:37] <olavx200> TJ-: hmm ubuntu server doesnt seem to work right. I just installed it. I type in ubuntu as username and ubuntu as passwd
[20:37] <olavx200> it prompts me to change pw
[20:37] <olavx200> i write password
[20:37] <olavx200> then the cycle repeats
[20:37] <olavx200> it doesnt change the password
[20:37] <Ben64> ew, gnome-control-center wants glx
[20:38] <jcotton> sounds like complexity rules
[20:40] <TJ-> olavx200: do you mean you cannot log-in, or you're logged-in and being prompted to change the password, you're entering a new password twice, and its being rejected?
[20:41] <TJ-> olavx200: as jcotton said, it may be the new password isn't complex enough - but it should tell you that
[20:41] <piglit> what site is okay to use to upload screenshots for questions?
[20:42] <TJ-> !paste | piglit
[20:42] <usr123> How do I turn off bold text in terminal?
[20:42] <usr123> I use bash
[20:42] <TJ-> usr123: depends on which terminal emulator you're using
[20:42] <pavlos> usr123: terminal prefs
[20:43] <TJ-> usr123: or do you mean in the shell itself? as in: echo -e "\e[39m"
[20:44] <TJ-> usr123: to cancel only BOLD use: echo -e "\e[21m"
[20:55] <Ben64> this is so frustrating
[20:56] <Ben64> got vino running, connect, black screen
[20:59] <ankk> hi.
[20:59] <ankk> when i create a new user, user folder names are created with my local language
[20:59] <ankk> i want folder names in English.
[21:00] <ankk> how can i specify this while creating a new user or before that?
[21:04] <TJ-> ankk: possibly "LANG=en_GB.UTF-8 adduser ..."
[21:04] <fishcooker> vino rdp Ben64
[21:05] <ankk> TJ-: i tried adding new user after export LANG and LC_ALL on bash but it already use my local language
[21:05] <TJ-> ankk: are you using "sudo adduser" ?
[21:05] <ankk> TJ-: adduser as root.
[21:06] <TJ-> ankk: are you entering the username in English?
[21:06] <ankk> TJ-: yes
[21:06] <Ben64> fishcooker: ?
[21:06] <TJ-> ankk: and by "folder" what exactly do you mean? $HOME? or something else?
[21:07] <ankk> TJ-:  XDG_DESKTOP_DIR , XDG_DOWNLOAD_DIR etc..
[21:07] <ankk> download desktop folders
[21:09] <TJ-> ankk: OH! well that has nothing to do with adduser. If you check  $HOME/ after creating the new user I don't think you'll find those directories created; I think they get created on first log-in via the GUI
[21:09] <ankk> mm
[21:10] <ankk> i couldn't find where to set default locale for that
[21:11] <TJ-> ankk: I presume it'll depend on which DE is being used
[21:12] <TJ-> ankk: I'd assume it'd use the system locale
[21:12] <ankk> TJ-: found this  https://wiki.archlinux.org/index.php/XDG_user_directories
[21:13] <TJ-> ankk: what is in /etc/xdg/user-dirs.defaults
[21:15] <TJ-> ankk: see /etc/xdg/user-dirs.conf  -- it suggests in the comments that 'locale' can also be set
[21:16] <ankk> TJ-: i found those files after user creation but i wanted to set/create folder names before user creation
[21:17] <ankk> now after adduser command, i logged in on bash as the new user and run LC_ALL=C xdg-user-dirs-update
[21:17] <ankk> it seems worked but it would be better if there is a default option to set
[21:19] <TJ-> ankk: is the system locale not English?
[21:21] <ankk> TJ-: yes, it is not English
[21:21] <ankk> i want everything in English except data formats like date time etc..
[21:22] <TJ-> ankk: read the end of this "man locale" -- it shows how to create a custom user locale, so you could do (script) that after runing adduser and set /etc/xdg/user-dirs.conf with "filename_encoding=locale" and then on first GUI log-in it should create the English named XDG dirs
[21:23] <TJ-> ankk: you might even be able to put the custom .local in /etc/skel/ so adduser copies it in automatically
[21:23] <TJ-> grrr, custom .locale/ in /etc/skel/
[21:23] <ankk> hmm
[21:23] <mouses> OerHeks: Thanks again - you lead me down the right rabbit hole to fix $things with my apt issue
[21:28] <ankk> TJ-: last update.. i changed line as "filename_encoding=en-US.UTF-8" in /etc/xdg/user-dirs.conf  file and it's done..
[21:28] <ankk> it was just UTF-8 before change..
[21:28] <TJ-> ankk: right,I wondered about that but the docs seem to infer it only sets the encoding, not the locale itself!
[21:29] <ankk> i don't know.. it works for now. :)
[21:29] <TJ-> ankk: shouldn't it be "en_US.UTF-8" ?
[21:29] <TJ-> although I'd choose true English, "en_GB.UTF-8" !
[21:29] <fishcooker> how to securely erase the disk?
[21:29] <ankk> TJ-: i couldn't copy paste because some virtual machine/rdp problem.. yes you're right ..
[21:30] <ankk> TJ-: haha :)
[21:30] <TJ-> fishcooker: what are you trying to lose?
[21:31] <OerHeks> mouses, have fun!
[21:31] <TJ-> fishcooker: there's on-drive ATA Secure Erase (usually 2 options: key-rotate, or key-rotate+overwrite) or you can write to the disk with "dd if=/dev/zero of=/dev/sdZ bs=200M status=progress"
[21:33] <fishcooker> please OerHeks
[21:36] <fishcooker> is the ata secure erase related to thehdparm command ?
[21:36] <TJ-> fishcooker: yes, it's hdparm that can trigger it
[21:37] <fishcooker> TJ- if i have 500GB how long the command "dd if=/dev/zero of=/dev/sdZ bs=200M status=progress" will take time?
[21:37] <TJ-> fishcooker: as long as it takes" depends on the drive/host controller
[21:37] <fishcooker> noted... is hdparm will compatible with ssd ?
[21:38] <OerHeks> there are secure erase tools enough, that basicly do that 7 times, and let it run over night/days
[21:39] <TJ-> fishcooker: do a test run with a sample, e.g. "sudo time dd if=/dev/zero of=/dev/sdZ bs=200M count=50 status=progress conv=fdatasync,fsync"
[21:39] <TJ-> fishcooker: that'll time how long it takes to write 10GB - then you can scale that up for the size of the entire drive
[21:40] <fishcooker> cool TJ-
[21:40] <TJ-> fishcooker: hdparm 'talks' the ATA protocol that the drives 'talk'
[21:40] <mouses> OerHeks: totally my fault really - had to screw over APT pretty hard to get the 19.04 version of oidentd working right in 18.04 - basically broke all the $things, but your advice helped me find the right man pages to deal with the silly that is apt :)
[21:41] <OerHeks> apt has improved over apt-get
[21:41] <mouses> OerHeks: yeah, and it was my fault for manually backporting some strange
[21:43] <mouses> now my next step is opening a friendly dev request to have 18.04 update to a sane version of oidentd - the current version is outdated and awful and full of holes ;9
[21:44] <fishcooker> what's need to be backed up if i want to reinstall the box?
[21:44] <rud0lf> mouses: are there still uses of oidentd?
[21:44] <rud0lf> other than irc?
[21:44] <rud0lf> it's just plain string from certain port
[21:45] <dax> it's basically only used for IRC these days, yes
[21:50] <TJ-> mouses: not going to happen
[21:51] <rabbitnightmare> so seeing as Ubuntu-Gnome edition is no more, how do I get default Gnome and remove the stupid changes yall made?
[21:51] <mouses> rud0lf: yes - my users are name@host vs ~name@host - accounted for and unable to be spoofed
[21:51] <rud0lf> i see, mouses
[21:52] <rabbitnightmare> can't yall just leave well enough alone?
[21:53] <OerHeks> rabbitnightmare, the standard ubuntu 18.04 iso gives gnome3
[21:53] <rabbitnightmare> I also see mouses
[21:53] <rabbitnightmare> DerRaiden: not the latest
[21:53] <OerHeks> yes, the latest
[21:53] <rabbitnightmare> 3.32?
[21:54] <OerHeks> but not vanilla gnome3 .. the ubuntu-gnome-3 :-D
[21:54] <rabbitnightmare> I do not want Ubuntu's BS
[21:55] <rabbitnightmare> this is what alienates users
[21:55] <OerHeks> 3.32 is in disco https://launchpad.net/ubuntu/+source/gnome-shell
[21:55] <OerHeks> tone down, help yourself
[21:55] <rabbitnightmare> you can't just admit defeat and give up unity, you have to bastardize Gnome
[21:55] <mouses> rabbitnightmare: you night be in the wrong channel.  This is a support channel for ubuntu users
[21:55] <rabbitnightmare> why
[21:56] <rabbitnightmare> I give up on Ubuntu and all of it's derivitives
[21:56] <rabbitnightmare> so sick of not being listened to
[21:57] <mouses> oh my
[21:57] <mouses> :P
[21:57] <TJ-> how to win friends and influence people ^ _
[21:57] <mouses> TJ-: lmfao :)
[22:06] <ankk> after added a user to sudoers, it keeps saying you are not sudoers on GUI.. i logged off and logged in again but same..
[22:07] <tomreyn> ankk: there are situations where you actually need to reboot for this to apply.
[22:07] <tomreyn> (or switch to the system equivalent of single user mode)
[22:08] <tomreyn> *systemD
[22:08] <ankk> tomreyn: i tried "killall -u username" while i am already logged in as "username". i logged of suddenly and logged in again. it worked :))
[22:09] <ankk> really interesting
[22:10] <tomreyn> i think it's the user sessions which need to be killed / restarted
[22:11] <tomreyn> including that of the login manager
[22:15] <TJ-> ^^^
[22:20] <gambl0re> anyone use gnu screeen? how do i highlight text?
[22:22] <tomreyn> gambl0re: do you mean how to mark text, to copy it to the clipboard?
[22:23] <gambl0re> no, just highlight it
[22:23] <gambl0re> im the classic way of click and drag but it doesnt  nothing
[22:23] <gambl0re> is it not possible to do it when using gnu screen?
[22:25] <mouses> gambl0re: man is your friend
[22:25] <mouses> http://web.mit.edu/gnu/doc/html/screen_11.html
[22:25] <tomreyn> hmm, i'm not sure i'm getting what you mean. maybe in copy mode?
[22:25] <gambl0re> tomreyn, ?
[22:25] <gambl0re> all i want to do is highlight the text in the terminal
[22:25] <tomreyn> ctrl-a-escape
[22:25] <tomreyn> but you should definitely study the man page.
[22:26] <tomreyn> or a 'cheat sheet', just to get started
[22:26] <gambl0re> i know how to use screen
[22:26] <gambl0re> i didnt know there was a separate command to highlight text
[22:27] <Ben64> gambl0re: you just highlight it, click and drag
[22:28] <gambl0re> Ben64, thats the first thing i tried. i didnt work
[22:28] <gambl0re> it
[22:28] <Ben64> it does
[22:28] <gambl0re> using gnu screen?
[22:28] <Ben64> yep
[22:29] <gambl0re> ok well im trying that right now and its not working
[22:29] <Ben64> 1. open terminal, 2. run 'screen', 3. highlight, 4. done
[22:29] <gambl0re> i cant even right click in the terminal when using gnu screen
[22:29] <tomreyn> works for me, too, so i guess i was confused
[22:30] <gambl0re> are you guys able to right click?
[22:30] <Ben64> you might want to give more details on what you're talking about
[22:30] <tomreyn> sure
[22:30] <gambl0re> Ben64, i want to highlight text in the terminal and copy it
[22:30] <Ben64> you said that
[22:30] <gambl0re> but i cant highlight anything
[22:30] <Ben64> i said more details
[22:30] <gambl0re> like what
[22:30] <gambl0re> what details do you want to know
[22:30] <Ben64> all
[22:31] <gambl0re> all like what?
[22:31] <Ben64> pretend I can't see what you're doing, describe it
[22:31] <gambl0re> i open the terminal, i type screen, terminal enters screen mode. i click to highlight text, drag the cursor to highlight but no highlighting is happening
[22:32] <Ben64> that's all information you already shared
[22:32] <gambl0re> i cant tell if you're just playing dumb
[22:32] <Ben64> I can't tell if you're being intentionally obscure
[22:33] <gambl0re> i cant be any more clearer what im trying to do...if you tell me what you want to know then i can provide more information
[22:33] <Ben64> eh, I'm not about to play 20 questions with you
[22:33] <tomreyn> which terminal (emulator?) do you use there, which ubuntu version, which desktop environment?
[22:33] <gambl0re> Ben64, i dont want to play either so be gone
[22:33] <Ben64> if you want help , you have to EXPLAIN THINGS
[22:34] <Ben64> we don't owe you a damn thing
[22:34] <gambl0re> Ben64, what did i just write above?
[22:34] <Ben64> https://workaround.org/getting-help-on-irc/
[22:34] <Ben64> read that
[22:34] <rwp> gambl0re, If mouse click and drag highlight to primary selection is not displaying anything then that is a terminal emulator problem (likely colors) and probably not related to gnu screen.
[22:34] <rwp> I suggest trying a different terminal emulator.  I suggest resetting colors to defaults for a test.
[22:35] <gambl0re> rwp, i cant even right click. i dont know if thats part of gnu screen or something else. if i just open the terminal itself everything works fine
[22:35] <gambl0re> including highlighting
[22:35] <rwp> The selection highlight is a terminal emulator feature.
[22:35] <gambl0re> so do i need to add the feature to gnu screen?
[22:36] <rwp> Has nothing to do with gnu screen.
[22:36] <gambl0re> ok so how do i get highlighting to work?
[22:36] <gambl0re> im still confused
[22:36] <rwp> See my previous two suggestions.
[22:37] <gambl0re> well i didnt change any colors
[22:38] <rwp> I suggested colors because if highlight colors are set to be the same as non-highlight colors then the change is invisible.  But still happens.  Try a paste.  Past is middle button.
[22:38] <rwp> Also, just guessing, if you are trying Control-C ala Microsoft copy then that is NOT appropriate here as Control-C is the interrupt command.
[22:39] <tomreyn> middle *mouse* button, that is.
[22:39] <gambl0re> ok nevermind it works now
[22:40] <rwp> Right button *extends* the primary selection highlighted area.  Right button does not paste.  Except in putty.exe from Windows.  But that's a different terminal emulator.
[22:40] <rwp> What was the fix for you?  So that we know for future reference?
[22:40] <gambl0re> i enabled mousetrack in the .screenrc file to so i can switch between panels using the mouse click and somehow that affects text highlighting
[22:41] <rwp> Hmm...  I have never heard of mouseclick before.  But I have only been using screen for about 15 years or so.  Not really well versed with it.
[22:41] <gambl0re> rwp, how do i switch between panels?
[22:41] <gambl0re> how do you..
[22:42] <rwp> PREFIX-n and PREFIX-p or PREFIX-Number.  Where PREFIX for me is C-z instead of C-a because C-a conflicts with other uses.
[22:42] <rwp> But C-z is perfect because when using screen I rarely need to job-control suspend anything.  I wish C-z were the screen (and tmux) default prefix command character.
[22:42] <gambl0re> anyways. atleast i figured out what the issue is. thanks for your help guys! (except Ben64)
[22:42] <rwp> Be nice.
[22:42] <gambl0re> i was trying...
[22:43] <gambl0re> but he wanted to troll instead
[22:43] <Ben64> no, i wanted you to give details
[22:43] <Ben64> which you never actually did still
[22:43] <gambl0re> ok buddy take care
[22:45] <tomreyn> gambl0re: there are a lot of possible configurations, two people told you what you said doesn't work for you works for them. in such situations it is indeed necessary to describe your environment more closely, discussing choices and customizations you may have made.
[22:55] <irrsohn> Anyone know how to send files over bluetooth connection between an iphone and Ubuntu?
[23:01] <jeremy31> irrsohn: It might be easier if you install blueman, click on the blueman icon in the notification area, local services and enable receive over bluetooth
[23:04] <irrsohn> jeremy31: you mean bluemon?
[23:04] <jeremy31> irrsohn: > sudo apt install blueman
[23:06] <OerHeks> !info blueman
[23:07] <OerHeks> make sure universe is enabled
[23:08] <irrsohn> Installed. Now the notifications area
[23:08] <irrsohn> You mean settings?
[23:10] <irrsohn> Or click on the date. But it says no notifications after connecting the device.
[23:21] <irrsohn> jeremy31: What would you do after installing and checking notifications?
[23:22] <jeremy31> irrsohn: click on the blueman icon and go to local services, see if receive over bluetooth is enabled
[23:25] <irrsohn> jeremy31: didn't get a blueman icon
[23:26] <lotuspsychje> irrsohn: did you reboot?
[23:29] <TJ-> no need to reboot for blueman, it's a user application.
[23:31] <OerHeks> maybe reconnect your phone
[23:31] <irrsohn> lotuspsychje: after reboot I see it, but I can't browse the device.
[23:31] <OerHeks> maybe your phone needs to give auth too?
[23:32] <irrsohn> OerHeks: phone says connected, there are no other options.
[23:33] <jeremy31> irrsohn: browsing a phone is something different from sending a file from phone to Ubuntu
[23:33] <irrsohn> What's the best way to get files off the phone, onto ubuntu?
[23:33] <OerHeks> oh, and the phone should be unlocked
[23:34] <jeremy31> irrsohn: try connecting with USB
[23:35] <irrsohn> jeremy31: it opens a file explorer, but says unsupported.
[23:36] <jeremy31> irrsohn: likely something from Apple blocking it
[23:37] <lotuspsychje> !iphone | irrsohn
[23:40] <irrsohn> It isn't audio, it's picture. I have to turn in this iphone, and it has hundres of pictures on it. But I can't get them off.
[23:46] <TJ-> irrsohn: you won't be able to do it using a *GUI* file browser using the OBEX protocol - gnome removed support for OBEX from gvfs around 2015. There are command-line options such as obexftp
[23:46] <TJ-> !obexftp | irrsohn
[23:47] <TJ-> !info obexftp | irrsohn
[23:47] <jeremy31> And the Iphone would have to have OBEX support also
[23:47] <OerHeks>  maybe an antivirus active on ipheun?
[23:48] <lotuspsychje> i branched iphones to bionic before, browsing pics went fine
[23:49] <lotuspsychje> jeremy31: did irrsohn mention ubuntu version/kernel?
[23:50] <jeremy31> lotuspsychje: I don't remember
[23:50] <TJ-> lotuspsychje: over Bluetooth?
[23:50] <lotuspsychje> TJ-: with cable
[23:51] <TJ-> lotuspsychje: oh, yeah, cable isn't a problem
[23:51] <TJ-> irrsohn: can you use USB cable and MTP ?
[23:52] <TJ-> irrsohn: if not, one alternative would be to set up nexcloud on a PC and use the iphone web-browser to 'upload' files into nextcloud