/srv/irclogs.ubuntu.com/2019/05/29/#ubuntu.txt

Elw3Just 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:00
tomreynwell you'll need to upgrade if you'd like to get support here.00:01
Elw3*sigh* that attitude is why ppl bitch against ubuntu.00:02
tomreynyou'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:04
SvetaElw3: if someone has a ppa, asking them to help you with the install can be a good idea00:05
Bashing-omElw3: 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
NorthwestVeganyeah, you really need to upgrade for security00:05
Caralieprintf "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/linux00:06
SvetaElw3: I like the game. I've joined #widelands, so we can chat there00:06
Elw3Well 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
tomreynCaralie: do you have an ubuntu support question?00:06
Caralieis this a virus ?00:06
Caralieyes i got this by my email00:06
SvetaCaralie: it is spam, please don't share it in #debian or #ubuntu or elsewhere00:07
Elw3I 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-DBashing-om: hey, some people just wanna sit back airgapped and play widelands while they watch the world burn xD00:07
tomreynCaralie: so you just posted something here which you assume may be "a virus"? please think twice before doing so next time,00:07
Caralieok00:07
SvetaElw3: does your ISP have a debian mirror?00:07
Elw3Hence i ask so many weird questions, apt-get update takes 10 minutes alone so i cant check trivial stuff...00:07
Caraliei dump windows because of viruses ... does uubuntu have viruses too ?00:08
sarnoldElw3: holy moly00:08
Elw3ISPs have mirrors?00:08
sarnoldElw3: a few; eg https://mirrors.xmission.com/ubuntu/00:08
SvetaCaralie: yes, but the software install venues are guaranteed to be safe - a major attack vector for viruses on windows00:08
Bashing-om!virus | Caralie00:09
ubottuCaralie: Antivirus is something you don't need on !Linux, except where files are then passed to Windows computers (perhaps using Samba). See https://help.ubuntu.com/community/Antivirus00:09
=== ezri is now known as dax
sarnoldElw3: 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 network00:09
Elw3Well my isp... i am on a sim card on modem speed... soo00:10
tomreynElw3: 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:13
tomreynthe second one whould have been #ubuntu-de-offtopic actually00:14
Andy-DAnybody 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:17
Andy-DWhich of those sounds more easily fixable? I've installed in the latter way at the moment.00:18
Bashing-omAndy-D: What shows ' efibootmgr -v ' ?00:23
Andy-DBashing-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:24
Bashing-omAndy-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:26
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 Boot00:27
Andy-DBashing-om: yeah, I tried formatting the whole drive hoping to wipe that out, but maybe that didn't succeed >.<00:27
wholesumi 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:27
Andy-DTJ-: I didn't see a way to add keys to secureboot in a custom mode, but used an option to disable it00:28
Bashing-omAndy-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 files00:28
Andy-DTJ-: I don't think this one does. I had to use BIOS options to disable SB and TPM00:29
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 file00:30
Andy-DTJ-: It was added to the EFI menu, but it wasn't default. The system defaulted to attempting to repair windows00:32
TJ-Andy-D: would it boot to Ubuntu if you choose it from the boot menu?00:33
Andy-DTJ-: embarrassingly, I don't remember whether I tried, but I think so00:35
Andy-Dasking 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 all00:36
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 mode00:37
lakituis there a way i can install a different version of Ubuntu onto my harddrive from say an older live cd?00:37
lakituwithout burning a disc?00:37
lakitulike stream a OS install00:37
TJ-lakitu: yes, using a virtual machine00:37
tonytnet install is what you need00:37
lakituk - let me look up net install first00:37
Andy-DTJ-: 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, thanks00:39
TJ-Andy-D: use efibootmgr to try to set it as default - that is the tool the installer uses00:40
Andy-DTJ-: installer as in ubuntu installer?00:40
Andy-Dor as in windows?00:40
TJ-lakitu: you can also use e.g. "debootstrap trusty /target-trusty/ http://old-releases.ubuntu.com/ubuntu"00:41
TJ-Andy-D: the Ubuntu installer calls the 'efibootmgr' tool to add itself to the firmware boot-manager00:42
TJ-lakitu: and once it has installed you can do "chroot /target-trusty /bin/bash"00:42
Andy-Dthanks00:43
lakituTJ-: if i do that from inside a live cd shell, i can run the installer from there?00:43
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
lakituok00:45
TJ-lakitu: as I said, use a virtual machine if you want to install from a liveISO image00:47
lakituok, maybe i'll try that00:49
lakituthanks00:49
=== zbenjamin is now known as Guest83239
=== zbenjamin_ is now known as zbenjamin
=== gnomethrower is now known as wings
MannyLNJIs it possible to use OneDrive folders on Ubuntu 18.04?01:31
activistmannylnj https://medium.com/@glmdev/onedrive-sync-for-linux-ubuntu-2bcbf6777ee401:33
activisthttps://www.maketecheasier.com/sync-onedrive-linux/01:33
activisthttps://askubuntu.com/questions/958406/how-to-setup-onedrive-in-ubuntu-17-0401:33
activisthttps://www.omgubuntu.co.uk/2019/02/insync-support-onedrive-linux-client01:34
activisthttps://www.linuxuprising.com/2018/07/how-to-mount-onedrive-in-linux-using.html01:34
MannyLNJactivist, thank you. They weren't comming uo wjhen I searched01:34
activistWhich search engine are you using?01:34
MannyLNJactivist, Bing01:34
activistUhh01:34
activistDont' use that.01:34
activistStartpage, Qwant, DuckDuckGo, Searx (they have lots of instances and you need to trust one of them). These are good options.01:35
MannyLNJThanks for the help. I am reading now01:40
gbellinozWhy does my gnome-terminal window background show through when vim is running?01:48
gbellinozscreenshot:   https://snag.gy/UnhQoz.jpg01:48
MannyLNJI 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
jayjoif 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:51
jayjoso really just acting as a proxy for the git user, no handshake?01:53
jayjoI am looking along these lines: https://serverfault.com/a/569265 but will this require me to duplicate keys in both sshd servers?01:55
sarnoldgbellinoz: you mean the little strip along the right edge?01:55
jayjoor 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 upstream01:57
Kereshi, i just tried to connect my phone to ubuntu studio 19.04 and it crashed01:57
Kerescrashed the file browser01:57
tomreynjayjo: ForceCommand applies to what happens after authentication, there's no way it can be applied before.01:57
Keresis there some known issue with USB to android connection?01:57
tomreynKeres: 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:00
Keresok, 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
Keresso it's probably her phone02:01
tomreynnote that there is also #ubuntu-studio - but whatever happens there should never crash any process on ubuntu.02:02
tomreyn!bug02:02
ubottuIf you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug <package> » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs.02:02
Keresyeah, i dono, dmesg sais something about power reset on the device... probably some software on her phone that is glitched out02:06
Keresmy phone is working perfect now02:07
jayjoEarlier 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:09
Keresok, trying the samsung phone with the problem: https://paste.ubuntu.com/p/rNwwBk6qXF/02:16
gbellinozsarnold: sorry, yes.02:20
sarnoldgbellinoz: 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 decorations02:22
gbellinozsarnold: 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:56
sarnoldgbellinoz: oh curious! I was assuming gnome-terminal wasn't going to constrain its size in that fashion.02:57
gbellinozIt's all part of a time-wasting modernizing effort I'm procrastinating with :)02:59
gbellinozGet powerline fonts installed, switch from xterm to gnome-terminal so they render properly...02:59
gbellinozreal valuable!02:59
sarnoldrofl :D03:01
sarnoldI get it thoug03:01
k_sze[work]Hi guys, it looks like the ca-certificates bundles of Ubuntu 18.04 is kinda outdated03:29
k_sze[work]I curl https://kalunite.net:1443 and it doesn't recognise the cert03:29
k_sze[work](It's issued under Let's Encrypt Authority X3)03:29
k_sze[work]What's the best way of fixing that?03:30
k_sze[work]Even the immuniweb SSL tester says my site is at least A- rating: https://www.immuniweb.com/ssl/?id=8uypYriX03:31
sarnoldk_sze[work]: is that your system?03:31
k_sze[work]sarnold, yes03:31
sarnoldk_sze[work]: can you pop it up on 443 so qualys would scan it?03:31
k_sze[work]443 is a different service03:33
k_sze[work]Would you like me to make qualys scan my port 1443 instead?03:33
sarnoldqualys won't :( I tried03:35
sarnoldthey're fantastic at spotting misconfigurations, 99% of the time it's just a misconfigured chain, and they point it out pretty clearly03:35
k_sze[work]https://www.ssllabs.com/ssltest/analyze.html?d=kalunite.net03: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:36
sarnoldyeah, try that03:37
k_sze[work]My main blog on port 443 is absolutely fine even for curl03:37
wholesumI 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
wholesumI have backups of everything but the /boot partition04:22
wholesumi'm afraid reinstalling will take way too much reconfiguration... at least a week04:22
lotuspsychjewholesum: desktop or server?04:23
wholesumserver 18.04.104:24
lotuspsychjewholesum: please remain in #ubuntu-server then, try to avoid cross posting04:24
wholesumlotuspsychje: i already asked there they told me to come here04:24
lapionHow can i get the installer to default to efi-grub during install05:08
Bashing-omlapion: Boot the install medium in EFI mode - and the installer will so install.05:10
lapionBashing-om, nope it will continue trying to install grub-mbr05:35
lapionI even pointed the system during the partitionning toward the efi partition05:39
=== iMadper is now known as iMadper|AAFFFKKK
=== iMadper|AAFFFKKK is now known as WhatsGoingOn
ColomboHi, suddenly, whenever sound is supposed to be played, I just get a loud noise05:58
Colombopulseaudio -k doesnt help, loud, kind of like when TV is not on the right channel, is present during booting in grub as well.05:59
ColomboI 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
ColomboUbuntu 18.0406:00
causativehave you tried different speakers or headphones?06:00
ColomboI don't have different speakers or headphones available here. This is work laptop.06:01
Colombo(and I am on business trip).06:01
causativemaybe someone else can help you06:01
ColomboI am supposed to skype with my with in an hour:(06:02
ColomboThe volume of that sound is constant, changing the volume does nothing to that sound.06:02
WhatsGoingOn"is present during booting in grub as well."   Does it mean that you can hear the same noise at grub stage?06:03
ColomboExactly.06:04
WhatsGoingOnIt's more like a hardware error then...06:04
Colombofuck.06:04
ColomboI was afraid that someone would say so.06:05
ColomboBasically, any time any sound is supposed to be playing (such as in grub?) I get the same sound.06:05
causativenormally you have sound played in grub?06:05
ColomboNever noticed any sound in grub.06:07
ColomboBut I guess that some beep sounds are possible?06:07
WhatsGoingOnEven it possible, it should be mute by default...06:10
ColomboWTF? 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:13
ColomboBefore, I restarted 4 times and it did nothing. But one of those two things helped? Maybe?06:14
WhatsGoingOnColombo: Hmmm.... congratulations anyway...06:14
ColomboSometimes, I don't understand computers.06:14
ColomboI try if I can replicate it again.06:14
causativeprobably should wait on that until after your call06:14
Colombo:)06:14
WhatsGoingOn+1008606:14
coz_Colombo, do you by chance have mypaint installed06:15
ColomboI havent even heard about mypaint. And it seems that I dont have it installed.06:15
=== sins-_q is now known as sins-
coz_Colombo, ok, I got here late, wasnt sure of the issue06:16
Colombogimp back on, but sound not gimped. Maybe momentary weakness?06:17
coz_sudo apt search momentary-weakness ")06:18
=== neunon_ is now known as neunon
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 issue07:45
hans_what the hell?07:45
hans_(PowerEdge 1950 is a very old server tho, released around 2007)07:47
hans_.. also using 64bit OS in all instances (Ubuntu 18.04 and Debian 9 and CentOS6 were all 64bit)07:48
ChaekyungBest 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 card07:48
Chaekyungbut first thing I'd check if it's the same module used07:49
hans_lsmod?07:52
hans_or how can i check?07:52
tomreynyes07:52
tomreynalso   lspci -knn | grep -EA3 '(Network|Ethernet) controller'  | nc termbin.com 999907:52
hans_that gave me https://termbin.com/078h07: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:54
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:55
hans_(anyhow, the speed problem is with 1 of the Broadcom network cards)07:56
tomreynhans_: yes, compare on both systems07:58
tomreynalso kernel versions can matter07:58
tomreynhans_: also explain how you tested throughput.07:59
hans_tomreyn, i tested it with speedtest-cli, here's a comparison: http://paste.debian.net/plain/108433908:14
=== gislaved73 is now known as gislaved
hans_unfortunately the ubuntu lspci is going to take over an hour to get08:14
hans_tomreyn, i can't really explain the KM difference, but i think it just guesses that based on ping time (idk though)08:15
hans_also it's a busy network so the download speed difference is expected08:16
tomreynnot sure how it guesses this, the differences in latencyare remarkable, though08:16
hans_.. yes08:17
tomreynthe download speed difference is marginal, upload speed and latency differences are massive.08:17
hans_how the hell did that latency difference happen08:17
tomreynnow i'd be willing to blame speedtest.net08:17
tomreynor the different (?) / congested (?) route you had between those tests.08:18
tomreynyou'd better test this locally, if that's an option08:18
nonedeadHow do I bind multiple ip addresses to a single interface using the new network naming scheme08:30
tomreynnonedead: 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.08:46
=== Jonopoly_ is now known as jonopoly
=== jonopoly is now known as dddd
=== dddd is now known as Jonopoly
nonedeadtomreyn: I'm using network-manager on cli09:25
hans_free security patches for 18.04 will end in april 2023 right?09:31
tomreynnonedead: you can     nmcli con mod "Name of existing Connection Profile"    and add, in the IPv4 or IPv6 section, add addressN=IP_address,gateway09:31
tomreynhans_: correct09:31
tomreynnonedead: ...where N in 'addressN' is a counter, starting at 1.09:32
Ben6418.04 is supported for 10 years instead of the normal 509:34
hans_Ben64, but is it free? or is "5 years free" and "5 more years if you pay canonical" ?09:35
tuxihi 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
Ben64always free09:35
tomreynBen64: hmm not really, no09:36
Ben64not really what09:36
tomreyn5 years free, 5 years esm09:36
Ben64ew09:37
tomreyntuxi: which part of ubuntu does say "permission denied" where?09:38
tuxiwhen i tried to upload files to a webside09: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.0409:39
tomreyntuxi: 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:39
Ben64it's a weird thing to say and not clarify09:40
tuxiok tomreyn i do not know what to do, my english is not the best to understand though09:40
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:41
tomreyntuxi: are you able to view the files from your desktop?09:42
tuxiyes 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 homepage09:43
tomreyntuxi: which webbrowser are you using?09:44
tuxii have this with root and with normal user account, so it does not matter which account i am using09:44
tuxifirefox 67.0 and ubuntu 19.04 amd64bit09:44
tomreyntuxi: what does    apt list --installed firefox && snap list firefox   report?09:45
tomreyn!paste | tuxi09:46
ubottutuxi: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.09:46
tuxiok09:48
tuxii can do that as an admin, by now i am normal user account09:48
tuxiok i will try it later thank you so far09:48
tomreyntuxi: 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/108435409:54
tuxitomreyn ok09:55
popey_tuxi: snap connect firefox:removable-media      (is the command tomreyn is talking about)09:55
tuxithe firefox was in the ubuntu integradet  - so i needn't to install it manually09: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:55
tomreynhans_: can you test locally?09:56
hans_no i can't. the server is in Canada, i am in Norway =/09:56
hans_or what do you mean locally?09:57
tomreynhans_: 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
tuxipopey do i have to put this comand into the bash or in about:config in firefox?09:58
popey_tuxi: in a terminal09:58
tomreynhans_: can you disclose the hosting provider?09:59
tuxiok ty i will try09:59
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:00
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, Canada10:01
popey_tuxi: you can run "snap connections firefox" and you should see :removable-media in the Slot column, and manual in the Notes column10:02
tuxipopey ok will try it again brb10:02
tuxipopey this is what i received : removable-media         firefox:removable-media         :removable-media         manual10:04
popey_tuxi: that worked10:04
hans_tomreyn, i got a VPS nearby if that'll suffice10:04
hans_otherwise, the nearest server i got is in France, i think =/10:04
tuxipopey ok but the files uploading via webbrower is not working10:05
tomreynhans_: 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:06
hans_tomreyn, iperf test?10:07
tomreynhans_: https://www.tecmint.com/test-network-throughput-in-linux/10:07
tomreynhans_: 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-boxes10:08
hans_that sounds easier but shouldn't be a problem to run iperf on both ends10:08
hans_oh no10:09
tomreyniperf has few dependencies, installing and removing it via apt is quick and easy10:09
popey_iperf is certainly my go-to for testing raw throughput on Ubuntu.10:09
tomreynhans_: also see what     ip -s link show INTERFACE    reports for your network INTERFACE.10:12
hans_tomreyn, idk what it says on debian but on 18.04 it says Device "INTERFACE" does not exist.10:13
pavlushkaI 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
tomreynhans_: replace INTERFACE by the name of your network interface10:13
tomreynhans_: this is #ubuntu by the way.10:14
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, idk10:15
hans_ah sec10:15
tomreynpavlushka: 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:16
hans_tomreyn, the command "ip -s link show enp12s0f0 | pastebinit"   gave me http://paste.ubuntu.com/p/BqCg78kVyX/10:17
* pavlushka noted10:17
tomreynhans_: ah i got you wrong there about debian / ubuntu, sorry.10:17
hans_oh wait10:17
hans_ah yeah i'm pretty sure enp12s0f0  is the correct device10:17
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:19
tomreynhans_: 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 milliseconds10:20
tomreynso 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:21
hans_ok ill try the iperf3 tests you linked to10:22
tomreynok. 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, or10:24
hans_or perhaps it doesn't even matter?10:25
tomreynhans_: right, if's you're happy with KB/s10:25
hans_well what should i use?10:26
hans_M?10:26
hans_ok i'll use M instead of K10:26
tomreynspeedtest.net provided Mbps10:26
tomreynso -f m10:26
hans_ok, lowercase m10:27
hans_tomreyn, here's the output running 18.04: http://paste.debian.net/plain/108436610:31
hans_think i should run the same test with debian and compare?10:31
tomreynhans_: run in reverse mode first10:32
hans_or.. idk but those numbers looks high10:32
tomreyn-R10:32
hans_add -R to the -c one?10:32
hans_or -R on both10:33
tomreynit's all nicely described on the pages i pointed oyu to earlier10:33
hans_oh ok10:33
tomreynthe client defines the mode of operation, no need to change the server.10:33
hans_tomreyn, here is with -R http://paste.debian.net/plain/108436710:35
hans_still looks like high numbers to me10:35
tomreynhans_: 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:36
tomreynyou got a gigabit link and can saturate it nicely.10:37
hans_tomreyn, there is something fishy here.. http://paste.debian.net/plain/108436810:42
hans_rebooted in debian 9, and using "speedtest-cli --server 18646" each time10:42
Chaekyungsame module, eh10:43
hans_Chaekyung, yes10:43
ChaekyungThat's a really odd one because download speed is fine on both cases10:43
Chaekyungit's like you're on half duplex?10:44
hans_that could be, i honestly don't know10:44
hans_also significant ping difference, weird stuff10:44
tomreynhans_: your iperf test results are fine, i don't care about speedtest.net10:44
Chaekyungethtool would show that btw10:44
hans_ethtool?10:45
Chaekyungyes you run ethtool enp5s0 or ethtool eth0 or whatever and it shows some information. must be root10:46
Chaekyungbut 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 guess10:47
hans_i think i will try a nginx sparse file download test from both10:47
BluesKajHi folks10:50
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/108437010:57
tomreynyw11:02
hans_i wonder if the issue is reproducible with whatever python-http library that speedtest-cli is using though11:04
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:06
tomreynhans_:   apt show speedtest-cli    or    https://packages.ubuntu.com/bionic/speedtest-cli11:15
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:16
achen_Ubuntu18.04 ^11:17
tomreynachen_: cat /proc/swaps   to see which are active,   swapoff /path/to/swapdevice   to disable it (be sure to have sufficient spare memory)11:17
tomreyn+ comment it out in /etc/fstab11:18
achen_tomreyn : is it the /dev/mapper/ubuntu--vg-swap_1 none     swap  sw        0  0  line in /etc/fstab?11:19
achen_tomreyn : picture for better illustartion  : https://www.screencast.com/t/Ot3gMDHPUV11:20
tomreynachen_: that's an LVM2 logical volume containing a swap file system. it is not a swap file (which is what you said earlier).11:21
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 misinterpetting11:22
tomreynachen_: oh right, sorry, my mistake, you said you want to replace what you have by a file.11:23
achen_tomreyn : its coolio, can we do that tho? (do i need to the delete the LVM file after disabling the memory ?)11:24
tomreynachen_: so     sudo swapoff /dev/mapper/ubuntu--vg-swap_1; sudo lvchange -an vg/swap_1; sudo lvremove vg/swap_111:24
tomreynachen_: so     sudo swapoff /dev/mapper/ubuntu--vg-swap_1; sudo lvchange -an ubuntu-vg/swap_1; sudo lvremove ubuntu-vg/swap_111:24
tomreyn^ this rather11:25
tomreynachen_: 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:25
tomreynachen_: sure, if there's sufficient unallocated space available in this VG?11:26
tomreynsudo vgs ubuntu-vg11:27
tomreyn"VFree" indicates available unallocated (to LVs) space.11:28
achen_tomreyn : https://www.screencast.com/t/1WNvRSf6ek11:28
tomreynachen_: 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 instead11:29
tomreynachen_: unless you can make more space available by other means, such as by shrinking or deleting other existing LVs, yes11:30
achen_tomreyn : okay im going with it, tried running the first command and got an unknown VG : https://www.screencast.com/t/wh8YDYV011:31
tomreynachen_: i made a mistake the first tie around, so i corrected myself11:31
tomreyntiMe11:32
daggs1Greetings, is there a way to configure grub to output to serial too in ubuntu 18.10?11:32
tomreynachen_: use this:    sudo swapoff /dev/mapper/ubuntu--vg-swap_1    &&    sudo lvchange -an ubuntu-vg/swap_1   &&    sudo lvremove ubuntu-vg/swap_111:32
achen_tomreyn : https://www.screencast.com/t/3942qqfZv11:34
tomreyndaggs1: try #ubuntu-server if you cannot get a response here.11:35
vavkamilhello11:36
tomreynachen_: which active swpas do you have now?11:36
tomreyn* swaps11:36
tomreynhi vavkamil11:36
achen_tomreyn : i think none, since we disabled the thing with ( "  swapoff /dev/dm-111:36
achen_ " ) but how can we check regardleass ?11:36
tomreynachen_: sure, you can check. i explained how you can check initially11:37
tdsdaggs1: 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 hand11:37
lotuspsychjewelcome vavkamil how can we help you?11:37
vavkamilI plugged in second monitor and I'm little bit confused. Apps are opening on the second one, not on primary11:37
daggs1tds, will look at it, thanks11:37
lotuspsychjevavkamil: did you 'mirror' your screen in system settings?11:37
achen_tomreyn : right now with cat /proc/swaps  none are active11: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
vavkamilI used "join displays", primary is on center, second on left11:38
lotuspsychjevavkamil: try switching settings, see what effect it has on your apps11:39
tomreynachen_: 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_111:39
daggs1tds, after running update-grub, do I need to see the work serial in /boot/grub/grub.cfg?11:39
tomreynachen_: and yes, you also need to comment or remove the line about this swap file system in /etc/fstab11:39
tdsdaggs1: you should see the serial config generated there, yes11:40
vavkamillotuspsychje, 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 display11:40
vavkamilI suppose it's some ubuntu bug, but might be wrong11:41
daggs1tds, I don't see any11:42
tdsdaggs1: hmm, could you pastebin the contents of /etc/default/grub and the generated grub.cfg?11:43
daggs1sec11:43
tomreynachen_: hope this worked out fine for you, i'll leave for now - see you.11:44
achen_tomreyn : worked perfectly, thanks alot for your time and help friend :) appreciated11:45
tomreynachen_: you're welcome.11:45
daggs1tds: http://paste.ubuntu.com/p/cd78hw7YHp/ http://paste.ubuntu.com/p/QxRbv7MJnS/11:46
tdshmm, you've got half the config generated properly at least11:48
tdsthat grub_serial_command line is almost identical (other than baud rate) to a working box I've got here, hmm11:49
pirayehello11:50
lotuspsychjepiraye: you made it!11:50
lotuspsychjepiraye: that was a long reboot :p11:50
piraye:)11:50
pirayethat day I came back but you were not here11:51
lotuspsychjeso did it work piraye ?11:51
pirayelotuspsychje, yes it is worked, thank a lot for your support11:51
lotuspsychjepiraye: i didnt help alone, so cookie for everybody11:52
pirayelotuspsychje, ok digital cookies for everyone :)11:53
daggs1tds: ok, thanks11:55
tdsdaggs1: and update-grub ran cleanly for you?11:55
tdsterminal_input console11:55
tdsterminal_output console11:55
tds^ it doesn't even appear to have picked up the grub_terminal config11:55
pirayeI 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 install11:56
daggs1tds: seems like, not error print nor non zero retval11:57
pirayehere my log https://paste2.org/wJjjwztf11:57
tdsdaggs1: 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.1011:58
lotuspsychjepiraye: git issues, please ask to the git maintainer11:58
pirayeI 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 error11:59
lotuspsychjepiraye: please dont forget what we adviced few days ago: always first search the ubuntu repos for your needed packages11:59
lotuspsychje!info irstlm | piraye11:59
daggs1tds: ok, will look into it, thanks12:00
ubottupiraye: irstlm (source: irstlm): IRST Language Modeling Toolkit. In component universe, is optional. Version 6.00.05-2 (bionic), package size 92 kB, installed size 396 kB12:00
tdsdaggs1: you don't have anything in /etc/default/grub.d/ by any chance?12:00
pirayelotuspsychje, 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
daggs1tds: 50-curtin-settings.cfg12:02
tdsdaggs1: aha, what's the contents of that?12:02
daggs1mmm it holds GRUB_TERMINAL=console, I thin kthat is ithe issue12:02
tds:)12:02
daggs1tds: (Y) now it has something, will reboot and test, thanks.12:03
multifractalOVer 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:08
=== mIk3_09 is now known as mIk3_08
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 reproducible12:29
Sulak_is there any way to get rid of systemd on ubuntu?12:31
hans_Sulak_, i think the cloest you can get is to switch to the distro devuan.org :p12:32
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 LTS12:33
Sulak_bit old12:33
blackflowSulak_: 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:34
Sulak_blackflow: not looking for a flame war here, hans recomendation works, no need to go into religion12:35
blackflowSulak_: 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
Cheezjust 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:36
hans_.. speaking of bad distro defaults, the system /tmp separation sure has caused a lot of headache12:37
blackflowhans_: the what?12:37
hans_i think systemd calls it "PrivateTmp", where systemd makes different /tmp files for different processes12:38
hans_err, different /tmp folders*12:38
blackflowhans_: you mean where systemd isolates process/service /tmp namespace? yes. That's configurable.12:38
hans_and enabled by default iirc12:39
blackflowhans_: no, if configured per service unit.12:39
hans_well that stuff broke some nginx+php-fpm stuff i had going after an update, thanks systemd12:40
blackflowit's not systemd fault.12:40
leftyfbhans_: https://snapcraft.io/fast?fbclid=IwAR1eyi2QINn4r86uhNwzl8FTJmnQ5qpbB7tIU20GstQh1SzQoSy3KkqNVo012:41
blackflowsystemd does not ship nginx or php unit files.12:41
leftyfbhans_: in relation to running a speed test12:42
hans_blackflow, right, guess i should blame the debian.. or ubuntu, i don't even remember anymore, package maintainers then12:49
blackflowhans_: or yourself for not understanding the software you're using :)12:54
hans_blackflow, the software that broke my code was `apt-get upgrade`12:55
blackflowhans_: 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 not12:57
blackflowI mean it's possible, but it'd be weird for such a critical config change is introduced post-release12:57
blackflowanyway, 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 happen12:58
blackflowshared /tmp has traditionally been a huge vector for pwnage, especially for PHP13:00
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:24
acebrianjuanHi all13:36
acebrianjuanI'd like to install the following packages in Ubuntu 18.0413:37
FuraiI'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
acebrianjuansudo apt install libelf-dev  libelf-devel elfutils-libelf-devel13:37
acebrianjuanbut I get the error:13:37
acebrianjuanE: Unable to locate package libelf-devel13:37
acebrianjuanE: Unable to locate package elfutils-libelf-devel13:37
acebrianjuanI'm trying to build this project: https://github.com/freemed/tty0tty13:38
jsvcyclingit should be called libelf-dev. *-devel is a RHEL/Fedora naming pattern iirc.13:38
Furai^ that13:38
jsvcyclingI'm not in front of my Ubuntu machine right now so I can test.13:39
jsvcycling*can't13:39
Furaihttps://packages.ubuntu.com/search?keywords=libelf&searchon=names&suite=all&section=all13:39
acebrianjuanok, libelf-dev was enough to make it work13:42
acebrianjuanI didn't need the other two packages13:43
acebrianjuanprobably because they are intended for other distros as jsvcycling mentioned13:43
acebrianjuanthank you both!13:44
jsvcycling👍13:45
acebrianjuananother question14:12
acebrianjuanwhat API does Ubnutu provide to write data to serial ports?14:12
acebrianjuanI'm writing a C++ program and I need to write data to a serial port14:13
SwedeMikeacebrianjuan: https://stackoverflow.com/questions/6947413/how-to-open-read-and-write-from-serial-port-in-c14:13
acebrianjuanI don't know how the binding between C++ and Linux serial ports work14:13
tdai believe you need to open /dev/tty or similar as a file or socket14:14
SwedeMikeacebrianjuan: https://github.com/xanthium-enterprises/Serial-Port-Programming-on-Linux/blob/master/USB2SERIAL_Write/Transmitter%20(PC%20Side)/SerialPort_write.c14:14
SwedeMikeacebrianjuan: since this has been done frequently since the 80ties, there are lots of examples to be had.14:14
acebrianjuantda: ok, that makes sense14:16
acebrianjuanSwedeMike: thanks for the links, I'm interested in understanding the concept before looking at actual code14:17
acebrianjuanthis line here: https://github.com/xanthium-enterprises/Serial-Port-Programming-on-Linux/blob/master/USB2SERIAL_Write/Transmitter%20(PC%20Side)/SerialPort_write.c#L6214:17
acebrianjuanis what tda said14:17
acebrianjuanthey open a tty as if it was a file and then write to it14:18
wildermindHi I have a netstick of D-Link and my ubuntu dont recognize its connected14:29
wildermindAny idea what to look for? the netstick has a SIM card inside its for internet connection14:29
tdanetstick?14:33
wilderminda dongle14:33
wildermindhttps://eu.dlink.com/uk/en/products/dwm-222-4g-lte-usb-adapter14:33
wildermindtda: ^^14:34
tdawell 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-ubuntu14:34
tdaread and follow directions and let us know14:35
wildermindtda: tyvm!14:36
=== lotuspsychje_ is now known as lotuspsychje
wildermindtda: I followed all the instructions and nothing happend :/14:45
tdahow far did you get? did the output you got match thta in the instructions?14:45
wildermindtda: the output matched along the way and did everything until the ping test14:48
tdaso youve installed and replugged it? at step 3 you check the com ports. does that work?14:50
wildermindhow do i "check" the com ports?14:55
wildermindi typed ls /dev/tty* and saw bunch of results14:55
leftyfbwildermind: look for ttyUSBX14:55
tdalike it says in step 3 `ls /dev/tty*`14:56
wildermindthis is the output https://pastebin.ubuntu.com/p/Xk2tzj7nCS/14:56
wildermindthere is /dev/ttyUSB014:56
wilderminddoes it makes sense?14:56
tdayea. maybe it doesn't get an ip. what does `ip a` show?14:57
wildermindhttps://pastebin.ubuntu.com/p/V4TwzCs2Wd/14:58
wildermindIm currently on WIFI14:58
wildermindthis is the output of ip a ^^14:58
tdadoes it show up in network manager?14:59
wildermindtda:  what do you mean ?15:00
tdawhat ever you use to manager network connections, change the nic you are using, set ip, etc...15:01
OerHeksthat guide talks about disable pin and such, no guide howto do that..15:02
wildermindtda: nope its not there :\15:02
OerHekswildermind, networkmanager is standard on your ubuntu desktop, no?15:03
OerHeksthe wifi icon on the panel15:03
wildermindyes s15:03
tdamight 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 2615:05
wildermindi dont have windows 0_o15:06
wildermindis 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 link15:07
wildermindoh sorry i found it using lsusb15:07
tdalsusb15:07
OerHekshttps://docs.ubuntu.com/core/en/stacks/network/modem-manager/docs/entering-sim-passwords15:07
OerHekssudo mmcli -i 0 --pin=<pin_number>15:08
OerHeksbut i guess that should be reachable from networkmanager too?15:08
tdaif there's somewhere in networkmanager to set a pin sure. ive never used one on linux so i don't know15:10
wildermindOerHeks: it says "error: couldn't find sim at '/org/freedesktop/ModemManager1/SIM/0': 'no modems found'"15:10
tdammcli? did you sudo it?15:11
wildermindyes15:11
wildermindand yes15:11
tdamaybe its not sim 015:12
tdabrb, need to step away from my desk15:12
wildermindkk15:14
=== SimonNL is now known as SimonNL_Afk
imbezoli'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:35
tewardimbezol: were you setting a search domain as well?16:38
tewardin that networking screen I mean16:38
imbezolteward: i did, yeah.16:38
tewardimbezol: don't.  known issue16:38
tewardimbezol: set search domain post-install in the netplan config separately.16:38
tewardimbezol: 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
ubottuLaunchpad bug 1821966 in subiquity "providing a search domain in the installer prompt results in a hard-crash and a restart of the installer progress" [Undecided,Fix released]16:40
ubottuLaunchpad bug 1816192 in subiquity "Installation crashes when setting the IPv4 settings to manual and having a value for search domains" [Undecided,Fix released]16:40
imbezolteward: thanks... after removing the search domain it proceeds16:40
tewardimbezol: yep.  dont' forget to set the search domain after install too though so you get desired behavior :)16:41
=== SimonNL_Afk is now known as SimonNL
adrian_1908Is https://stackoverflow.com returning a TLS error for anyone else right now?17:21
coconutNope, works here. (safari though)17:21
sarnoldworks for me in firefox17:21
sarnoldI just requested a fresh scan on qualys https://www.ssllabs.com/ssltest/analyze.html?d=stackoverflow.com&hideResults=on&latest17:22
=== morten_ is now known as Scytale89
sarnoldgive it a minute and it'll have newer results17:22
michael-kohlhaasworks for me in chromium17:22
adrian_1908Ok, thanks guys!17:23
xtjacobWhere are the shortcuts for the applications dock located in 19.04?17:23
xtjacobI've just finished installing a program from source and it works when run from the terminal, but not when the shortcut is run17:25
privism/usr/share/applications, ~/.local/share/applications17:48
JonHanDinHi 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:54
=== purplepoddd is now known as purplepod
ikanoboriThe adverse affect would be legally being required to keep them for a service.17:55
ikanoboriOtherwise, nah, they'll be remade.17:55
sarnoldJonHanDin: do you want the machine to still be mostly usable once done?17:55
ikanoboriAnd most are already being rotable.17:55
JonHanDinsarnold, i do!17:55
ikanobori(however, if you delete subdirectories then things might break and running processes might need to restart)17:55
JonHanDinikanobori, so srm *.log would be okay?17:56
sarnoldJonHanDin: 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 extensions17:56
ikanoboriI'd only remove the .number files and truncate existing files.17:56
JonHanDinikanobori, 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 emergency17:57
sarnoldJonHanDin: what's the goal?17:58
JonHanDinsarnold, 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:58
JonHanDinsarnold, two seconds and ill dump a pastebin of what i have already (its basic atm)17:59
ikanoboriIf 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
sarnoldJonHanDin: 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 keys17:59
ikanoboriWe're in sync, sarnold :o17:59
sarnoldikanobori: indeed :) it's very reassuring :)17:59
JonHanDinikanobori, 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:01
JonHanDinikanobori, sarnold - for context - i run LUKS with a 45+ char passphrase18:02
sarnoldJonHanDin: yeah, removing the luks header can be a quick dd if=/dev/urandom of=/dev/some-block-device bs=4096 count=something18:03
ikanoboriJonHanDin: Then just shutting down and not giving anyone that passphrase would do it too right?18:03
ikanoboriUnless you don't trust yourself to give it up.18:03
* MisterMom has nothing to hide :-)18:03
ikanoboriMisterMom: 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
ikanoboriPlus, if you don't please share your credit card number and address with us :)18:04
MisterMomi know what you are saying but i have absolutly nothing to hide18:04
JonHanDinikanobori, 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 feature18:04
MisterMomno card numbers lol18:05
lordcirthJonHanDin, the more targeted way is to use luksKillSlot18:05
lordcirthWhich specifically does a secure-erase of the key18:05
ikanoboriJonHanDin: Then yes, go with the delete-luks-header.18:05
JonHanDinikanobori, also, yes, whilst i trust myself to not give it up. everybody has a venerability be it Machine or human18:05
ikanoboriRubber hose cryptography can be strong.18:06
ikanobori* cryptanalysis18:06
JonHanDinlordcirth, ikanobori a LUKS killer seems like the best option18:06
lordcirthJonHanDin, ah, actually 'cryptsetup erase'18:06
JonHanDinikanobori, forgive me, im not familiar with Rubber hsoe18:07
ikanoboriJonHanDin: Torture to retrieve keys.18:07
JonHanDinlordcirth, 'cryptsetup erase' would wipe the LUKS?18:07
lordcirthJonHanDin, it will erase all keyslots18:07
lordcirthJonHanDin, 'man cryptsetup'18:07
JonHanDinlordcirth, ikanobori - Wonderful, just did a quick search and that seems bang on18:08
ikanoboriAlso please note that it is, in some jurisdictions, a crime to not give up encryption keys when commanded to.18:08
ikanoboriIf you go with a luks erase and you're unable to you'd have to convince people that you're unable to.18:08
JonHanDinlordcirth, ikanobori - again, another noob question - kill the LUKS, nothing is recoverable?18:09
ikanobori(and not unwilling to)18:09
ikanoboriNo, nothing is recoverable unless the key gets recovered.18:09
JonHanDinikanobori, PERFECT!!!18:09
ikanoboriI don't know for certain if a new luks header can be built with knowledge of the key.18:09
lordcirthikanobori, if you have a backup of the master key (not the user key) you can make a new header18:09
ikanoboriBut that is a cool question.18:09
privismFor 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 them18:09
lordcirthSince the user never sees the master key normally, once it is deleted, the user's key that merely wrapped it is useless.18:10
JonHanDinlordcirth, 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 law18:10
ikanoborilordcirth: 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:10
lordcirthikanobori, the master key is randomly generated, stored encrypted with your user key, and never displayed.18:11
ikanoboriThere we go, that makes sense :)18:11
JonHanDinikanobori, 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
ikanoboriJonHanDin: lordcirth just answered :)18:11
lordcirthJonHanDin, 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
JonHanDinikanobori, lordcirth - So he/she did! Thank you!!!!18:12
JonHanDinlordcirth, backup it up, wrap it in multiple layers of encryption with keys only know to me and then in theory, were all good?18:12
lordcirthJonHanDin, yes.18:13
JonHanDinlordcirth, 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 acceess18:13
JonHanDinlordcirth, ikanobori, sarnold - You have all been most helpful. Thank you very much. I appreciate you time and sharing of knowledge!18:14
lordcirthno problem18:15
ikanoboriGood luck :)18:15
sarnoldhave fun JonHanDin :)18:16
JonHanDinikanobori, I might need it!18:16
JonHanDinsarnold, i Always do!18:16
JonHanDinThank you all again!!!18:16
aniketgmclear18:20
aniketgmsorry18:20
archer42how do i install nvidia 304 legacy drivers on 18.04 or newer?18:25
lotuspsychjearcher42: check ubuntu-drivers list first to see wich your system reccomends18:26
archer42i have an igpu which is not supported beyond 304xx18:27
OerHeksi think the 340 covers that, if not, be happy with nouveau18:27
OerHekserr, the driver ppa gives that version.. https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa?field.series_filter=bionic18:28
archer42no 340 doesn't support that,nouveau has screen tearing issues keeps freezing randomly18:29
OerHeksif the driver from that ppa does not work, i am sorry, too old hardware18:29
ioriaarcher42, you need manual work for 30418:30
archer42what manual work?18:30
lotuspsychjearcher42: meaning driver is old, needs tweaking things18:31
ioriaarcher42,  you need to use the debian pkg , in few words18:31
deadmundSometimes 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
deadmundIt happened just a few minutes ago18:33
archer42ioria , do i need install that via dpkg?18:33
archer42deadmund, sounds like driver issue18:34
deadmundarcher42: perhaps18:34
OerHeksdeadmund, if you find nothing special in the logs, do a memtest86 run18:34
ioriaarcher42,  nope,  it's not that easy and  i cannot recommend you that way18:34
archer42try installing non free driver18:34
lotuspsychjearcher42: i would go for OerHeks suggest, the graphics ppa18:34
lotuspsychjearcher42: and while installing, follow what apt is doing closely18:34
archer42lotuspsychje,will do thank you18:35
iorialotuspsychje, i don't think ppa~drivers will work with 30418:35
deadmundOerHeks: memtest86 is built into bios?18:35
deadmundOerHeks: what logs should I look at?18:35
deadmundarcher42: non free driver for what?18:35
OerHeksarcher42, focus on your own issue18:36
lotuspsychjeioria: OerHeks found the 304 for bionic, did you see? or you think it will scramble apt?18:36
archer42deadmund for ur gpu18:36
deadmundarcher42: It's a thought.  You think the open source one is that lousy??18:36
iorialotuspsychje, yes, ppa`drivers has that version, but it won't work18:36
archer42deadmund i have same issue with nouveau18:37
lotuspsychjeioria: oh ok18:37
OerHeksdeadmund, in var/log/ folder, kern.log or syslog, journalctl is a help too18:37
OerHeksarcher42, how do you tell  he has nouveau issues? please do not confuse him with random answers18:37
activist  cccc18:38
lotuspsychjecan we help you activist ?18:38
archer42im on debian buster, nouveau works fine here but doesn't work on any other distro what could be the issue?18:38
deadmundarcher42: not all freezes are the same.  I am not even running nouveau.  I have a radeon 57018:38
RandolfI'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
OerHeksarcher42, oh, not ubuntu lolz ... join #debian then18:38
OerHekssilly troll18:39
activistsorry my nephew's fault. She pressed randomly keyboard :-) lotuspsyche18:39
archer42OerHeks i hav issues on Ubuntu, debian works fine but i want to use ubuntu18:40
lotuspsychjearcher42: come back when you are on ubuntu please18:41
tyzoidarcher42: noveau is for nvidia cards, if you're trying to use it with an iGPU, then you've got an issue.18:41
archer42tyzoid my igpu drivers arent supported anymore18:42
tyzoidHave you installed mesa?18:42
archer42i am not on ubuntu atm, but i hadn't installed anything else other than defaults during usb installation18:44
deadmundI did find a kernel panic in my logs, I can't figure it out though.  I will try memtest86+ and also run in "debug" mode18:44
tyzoidarcher42: Then as lotuspsychje said, hop on ubuntu and we can help you debug.18:44
deadmundsorry, not a kernel panic, but a line in my log "kernel BUG at ... slub.c:29618:45
jiffeanyone had problems installing 19.04 server?  I tried on both a vm and bare metal and run into squashfs errors during install18:45
FuraiAnyone knows why ukuu can't be installed even with ppa added on ubuntu 19.04?18:45
archer42tyzoid ok will install it n come back here, thank you18:45
jiffeI verified checksum18:45
lotuspsychjejiffe: come join #ubuntu-server please18:47
OerHeksFurai, seems like it is paid now https://github.com/teejee2008/ukuu .. but the ppa should work, did you ran update after adding?18:47
FuraiOerHeks, nvm, I found the issue. now new versions are paid. $11 license.18:48
FuraiSo probably can't just add ppa and install it on newer ubuntu versions.18:48
FuraiThough maybe some fork emerged.18:48
lotuspsychjeFurai: just use !mainline easy?18:49
Furai!mainline18:49
ubottuThe kernel team supply continuous mainline kernel builds which can be useful for tracking down issues or testing recent changes in the Linux kernel. More information is available at https://wiki.ubuntu.com/Kernel/MainlineBuilds18:49
OerHeksnot sure the (2019-02-03) version is up2date18:49
Furailotuspsychje, dunnu, I like ukuu and it's ease to use.18:50
lotuspsychjeFurai: we see alot of users come here with ukuu with non-mainline kernels, hence the factoid18:51
RandolfDoes anyone here actually have JavaFX applications running on Ubuntu Linux 18.04.1?18:52
RandolfIf so, how did you get them working?18:52
OerHeksfind java-openjfx bionic18:54
OerHeksRandolf, i think you hit this bug https://bugs.launchpad.net/ubuntu/+source/openjfx/+bug/182505418:57
ubottuLaunchpad bug 1825054 in openjfx (Ubuntu) "My JavaFx project stopped compiling " [Undecided,Incomplete]18:57
Furailotuspsychje, so mainlane is different than the ones provided from ukuu? Or am I missing something? I've skimmed through the mainline link.19:00
lotuspsychjeFurai: 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 ones19:01
lotuspsychjeFurai: thats where they get in trouble19:02
FuraiI was using only mainline setting there.19:05
FuraiAnyway, I was using that tool for so long that I might as well support the developer.19:05
FuraiAnd buy the license. :)19:06
OerHeksstill it is a test, mainline19:06
lotuspsychjegrub can also handle kernel boots :p19:06
OerHeksone better run 18.04 LTS + hwe or even hwe-edge19:07
OerHeks!hwe19:07
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack19:07
RandolfOerHeks: Thanks for that link, I'm just looking at it now.  Hopefully they have a solution in there.19:12
OerHekswell, the oracle java installer is removed from webupd8 ppa too.. times are changing19:13
OerHekshttps://launchpad.net/~webupd8team/+archive/ubuntu/java19:13
=== EriC^ is now known as EriC^^
mousesstuck in apt hell - https://paste.ubuntu.com/p/d48rJfvkmY/ - someone please save me19:43
ioriamouses,  ppa:ondrej installed ?19:45
meadmouses: did you use sudo?19:46
ioriano sudo involved19:46
mousesioria: http://paste.ubuntu.com/p/PSskgwKKgT/19:46
mousesmead: I am root in this case, already esclated.19:47
=== ben_r_ is now known as ben_r
pavlosmouses: can you try 'aptitude show ~ahold' to find out which are held/broken?19:47
ioriamouses,  it's a yes19:47
ioriamouses,  and confirm with  : apt-cache policy libssl1.119:48
mousesioria: http://paste.ubuntu.com/p/k3yxK8NkJP/19:50
ioriamouses,  or you remove/purge that ppa or  try to force   libssl1.1 from official repo (better the first)19:50
fishcookerping19:51
OerHeksmouses, run apt full-upgrade perhaps, see if there are packages/lists need updating19:51
mousesioria: 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
ioriaok19:52
hans_Chaekyung, btw the weird speed-issue is reproducible in debian-10 pre-release, but not in debian 9 :p19:53
fishcookeris ssd hot plugged?19:54
hans_fishcooker, are you asking me?19:55
sarnoldhans_: no, that's just a question to the whole channel ;)19:55
fishcookerpleas hans_19:55
sarnoldfishcooker: 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 | fishcooker19:56
ubottufishcooker: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.19:56
daxi'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 know19:56
sarnoldsame19:56
hans_it's not a disk speed issue and it's not a SSD at all, it 2x Seagate BarraCuda ST5000LM000, SATA thing19:57
hans_fishcooker, ^19:57
hans_uhm, 5TB rotating thing19:57
pavlosfishcooker: SATA spec supports hotplug but it is up to the SATA controller to implement19:57
OerHeksdoes your bios support hotplug as option?20:00
acetakwasI can't run pulseaudio: https://paste.ofcode.org/GX83fGHYUc3Be9AmiP4eNE20:11
acetakwasHow do I free up space?20:11
sarnoldacetakwas: try changing /proc/sys/fs/inotify/max_user_watches to 64000 or something20:14
acetakwassarnold: It's currently 819220:15
acetakwasShould I still change it?20:15
fishcookerquit20:18
olavx200How do you set up wifi in ubuntu sevrer20:21
olavx200I dont need detailed im just wondering, since i might use it.20:21
TJ-olavx200: using systemd.network20:22
NeuroWinterHey 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 working20:22
TJ-olavx200: you can configure it using netplan YAML20:23
fishcookeri don't think so OerHeks20:23
NeuroWinterI can still play audio though my bluetooth headset, but not though my hardwired headphones or my laptop speakers20:23
NeuroWinterIf 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
NeuroWinterbut it is not muted20:24
TJ-NeuroWinter: how about "alsamixer" ?20:25
Ben64I'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
NeuroWinterin alsa mixer nothign is muted and everything is up at 100% auto mute is also off20:25
leftyfbNeuroWinter: did you try using a live cd/usb?20:26
NeuroWinterNot yet I will try that, would recovery mode also work?20:26
headachesWOA20:26
leftyfbno20:26
olavx200TJ-: is it simple to configure it?20:27
olavx200Do you have a guide or something20:27
NeuroWinterOk I will try that later today thank you leftyfb20:27
leftyfbheadaches: Hello. can we help you with something?20:27
TJ-olavx200: yes20:27
headachessorry wrong network20:27
headachesim watchin the footy20:27
headachesthey just scored a cracker20:27
sarnoldacetakwas: yeah, probably 8192 isn't enough for your uses20:27
acetakwasOkay.20:28
olavx200TJ-: good. I got really frustrated when i tried to configure wifi on debian haha20:28
olavx200network is really not my thing20:28
TJ-olavx200: see "Connecting to a WPA Personal wireless network" at https://netplan.io/examples20:29
olavx200TJ-: Thanks. Btw does ubuntu-server send any data to amazon or any other shady stuff like that20:29
olavx200I 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:30
Ben64olavx200: you could turn it off, and it only sent searches when you searched for a thing20:31
TJ-olavx200: depends where you connect to!20:31
gambl0rewhy do i have two wifi icons? http://imgur.com/XdloEeyl.png20:33
olavx200TJ-: hmm ubuntu server doesnt seem to work right. I just installed it. I type in ubuntu as username and ubuntu as passwd20:37
olavx200it prompts me to change pw20:37
olavx200i write password20:37
olavx200then the cycle repeats20:37
olavx200it doesnt change the password20:37
Ben64ew, gnome-control-center wants glx20:37
jcottonsounds like complexity rules20:38
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:40
TJ-olavx200: as jcotton said, it may be the new password isn't complex enough - but it should tell you that20:41
piglitwhat site is okay to use to upload screenshots for questions?20:41
TJ-!paste | piglit20:42
ubottupiglit: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.20:42
usr123How do I turn off bold text in terminal?20:42
usr123I use bash20:42
TJ-usr123: depends on which terminal emulator you're using20:42
pavlosusr123: terminal prefs20:42
TJ-usr123: or do you mean in the shell itself? as in: echo -e "\e[39m"20:43
TJ-usr123: to cancel only BOLD use: echo -e "\e[21m"20:44
Ben64this is so frustrating20:55
Ben64got vino running, connect, black screen20:56
ankkhi.20:59
ankkwhen i create a new user, user folder names are created with my local language20:59
ankki want folder names in English.20:59
ankkhow can i specify this while creating a new user or before that?21:00
TJ-ankk: possibly "LANG=en_GB.UTF-8 adduser ..."21:04
fishcookervino rdp Ben6421:04
ankkTJ-: i tried adding new user after export LANG and LC_ALL on bash but it already use my local language21:05
TJ-ankk: are you using "sudo adduser" ?21:05
ankkTJ-: adduser as root.21:05
TJ-ankk: are you entering the username in English?21:06
ankkTJ-: yes21:06
Ben64fishcooker: ?21:06
TJ-ankk: and by "folder" what exactly do you mean? $HOME? or something else?21:06
ankkTJ-:  XDG_DESKTOP_DIR , XDG_DOWNLOAD_DIR etc..21:07
ankkdownload desktop folders21:07
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 GUI21:09
ankkmm21:09
ankki couldn't find where to set default locale for that21:10
TJ-ankk: I presume it'll depend on which DE is being used21:11
TJ-ankk: I'd assume it'd use the system locale21:12
ankkTJ-: found this  https://wiki.archlinux.org/index.php/XDG_user_directories21:12
TJ-ankk: what is in /etc/xdg/user-dirs.defaults21:13
TJ-ankk: see /etc/xdg/user-dirs.conf  -- it suggests in the comments that 'locale' can also be set21:15
ankkTJ-: i found those files after user creation but i wanted to set/create folder names before user creation21:16
ankknow after adduser command, i logged in on bash as the new user and run LC_ALL=C xdg-user-dirs-update21:17
ankkit seems worked but it would be better if there is a default option to set21:17
TJ-ankk: is the system locale not English?21:19
ankkTJ-: yes, it is not English21:21
ankki want everything in English except data formats like date time etc..21:21
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 dirs21:22
TJ-ankk: you might even be able to put the custom .local in /etc/skel/ so adduser copies it in automatically21:23
TJ-grrr, custom .locale/ in /etc/skel/21:23
ankkhmm21:23
mousesOerHeks: Thanks again - you lead me down the right rabbit hole to fix $things with my apt issue21:23
ankkTJ-: 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
ankkit 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:28
ankki 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
fishcookerhow to securely erase the disk?21:29
ankkTJ-: i couldn't copy paste because some virtual machine/rdp problem.. yes you're right ..21:29
ankkTJ-: haha :)21:30
TJ-fishcooker: what are you trying to lose?21:30
OerHeksmouses, 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:31
fishcookerplease OerHeks21:33
fishcookeris the ata secure erase related to thehdparm command ?21:36
TJ-fishcooker: yes, it's hdparm that can trigger it21:36
fishcookerTJ- 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 controller21:37
fishcookernoted... is hdparm will compatible with ssd ?21:37
OerHeksthere are secure erase tools enough, that basicly do that 7 times, and let it run over night/days21:38
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 drive21:39
fishcookercool TJ-21:40
TJ-fishcooker: hdparm 'talks' the ATA protocol that the drives 'talk'21:40
mousesOerHeks: 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:40
OerHeksapt has improved over apt-get21:41
mousesOerHeks: yeah, and it was my fault for manually backporting some strange21:41
=== beaver is now known as i`have`job`girl
mousesnow 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 ;921:43
=== i`have`job`girl is now known as beaver
fishcookerwhat's need to be backed up if i want to reinstall the box?21:44
rud0lfmouses: are there still uses of oidentd?21:44
rud0lfother than irc?21:44
rud0lfit's just plain string from certain port21:44
daxit's basically only used for IRC these days, yes21:45
TJ-mouses: not going to happen21:50
rabbitnightmareso seeing as Ubuntu-Gnome edition is no more, how do I get default Gnome and remove the stupid changes yall made?21:51
mousesrud0lf: yes - my users are name@host vs ~name@host - accounted for and unable to be spoofed21:51
rud0lfi see, mouses21:51
rabbitnightmarecan't yall just leave well enough alone?21:52
OerHeksrabbitnightmare, the standard ubuntu 18.04 iso gives gnome321:53
rabbitnightmareI also see mouses21:53
rabbitnightmareDerRaiden: not the latest21:53
OerHeksyes, the latest21:53
rabbitnightmare3.32?21:53
OerHeksbut not vanilla gnome3 .. the ubuntu-gnome-3 :-D21:54
rabbitnightmareI do not want Ubuntu's BS21:54
rabbitnightmarethis is what alienates users21:55
OerHeks3.32 is in disco https://launchpad.net/ubuntu/+source/gnome-shell21:55
OerHekstone down, help yourself21:55
rabbitnightmareyou can't just admit defeat and give up unity, you have to bastardize Gnome21:55
mousesrabbitnightmare: you night be in the wrong channel.  This is a support channel for ubuntu users21:55
rabbitnightmarewhy21:55
rabbitnightmareI give up on Ubuntu and all of it's derivitives21:56
rabbitnightmareso sick of not being listened to21:56
mousesoh my21:57
mouses:P21:57
TJ-how to win friends and influence people ^ _21:57
mousesTJ-: lmfao :)21:57
=== beaver is now known as chomeur_nolife
ankkafter added a user to sudoers, it keeps saying you are not sudoers on GUI.. i logged off and logged in again but same..22:06
tomreynankk: 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:07
tomreyn*systemD22:08
ankktomreyn: i tried "killall -u username" while i am already logged in as "username". i logged of suddenly and logged in again. it worked :))22:08
ankkreally interesting22:09
tomreyni think it's the user sessions which need to be killed / restarted22:10
tomreynincluding that of the login manager22:11
TJ-^^^22:15
gambl0reanyone use gnu screeen? how do i highlight text?22:20
tomreyngambl0re: do you mean how to mark text, to copy it to the clipboard?22:22
gambl0reno, just highlight it22:23
gambl0reim the classic way of click and drag but it doesnt  nothing22:23
gambl0reis it not possible to do it when using gnu screen?22:23
mousesgambl0re: man is your friend22:25
mouseshttp://web.mit.edu/gnu/doc/html/screen_11.html22:25
tomreynhmm, i'm not sure i'm getting what you mean. maybe in copy mode?22:25
gambl0retomreyn, ?22:25
gambl0reall i want to do is highlight the text in the terminal22:25
tomreynctrl-a-escape22:25
tomreynbut you should definitely study the man page.22:25
tomreynor a 'cheat sheet', just to get started22:26
gambl0rei know how to use screen22:26
gambl0rei didnt know there was a separate command to highlight text22:26
Ben64gambl0re: you just highlight it, click and drag22:27
gambl0reBen64, thats the first thing i tried. i didnt work22:28
gambl0reit22:28
Ben64it does22:28
gambl0reusing gnu screen?22:28
Ben64yep22:28
gambl0reok well im trying that right now and its not working22:29
Ben641. open terminal, 2. run 'screen', 3. highlight, 4. done22:29
gambl0rei cant even right click in the terminal when using gnu screen22:29
tomreynworks for me, too, so i guess i was confused22:29
gambl0reare you guys able to right click?22:30
Ben64you might want to give more details on what you're talking about22:30
tomreynsure22:30
gambl0reBen64, i want to highlight text in the terminal and copy it22:30
Ben64you said that22:30
gambl0rebut i cant highlight anything22:30
Ben64i said more details22:30
gambl0relike what22:30
gambl0rewhat details do you want to know22:30
Ben64all22:30
gambl0reall like what?22:31
Ben64pretend I can't see what you're doing, describe it22:31
gambl0rei open the terminal, i type screen, terminal enters screen mode. i click to highlight text, drag the cursor to highlight but no highlighting is happening22:31
Ben64that's all information you already shared22:32
gambl0rei cant tell if you're just playing dumb22:32
Ben64I can't tell if you're being intentionally obscure22:32
gambl0rei cant be any more clearer what im trying to do...if you tell me what you want to know then i can provide more information22:33
Ben64eh, I'm not about to play 20 questions with you22:33
tomreynwhich terminal (emulator?) do you use there, which ubuntu version, which desktop environment?22:33
gambl0reBen64, i dont want to play either so be gone22:33
Ben64if you want help , you have to EXPLAIN THINGS22:33
Ben64we don't owe you a damn thing22:34
gambl0reBen64, what did i just write above?22:34
Ben64https://workaround.org/getting-help-on-irc/22:34
Ben64read that22:34
rwpgambl0re, 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
rwpI suggest trying a different terminal emulator.  I suggest resetting colors to defaults for a test.22:34
gambl0rerwp, 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 fine22:35
gambl0reincluding highlighting22:35
rwpThe selection highlight is a terminal emulator feature.22:35
gambl0reso do i need to add the feature to gnu screen?22:35
rwpHas nothing to do with gnu screen.22:36
gambl0reok so how do i get highlighting to work?22:36
gambl0reim still confused22:36
rwpSee my previous two suggestions.22:36
gambl0rewell i didnt change any colors22:37
rwpI 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
rwpAlso, 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:38
tomreynmiddle *mouse* button, that is.22:39
gambl0reok nevermind it works now22:39
rwpRight 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
rwpWhat was the fix for you?  So that we know for future reference?22:40
gambl0rei enabled mousetrack in the .screenrc file to so i can switch between panels using the mouse click and somehow that affects text highlighting22:40
rwpHmm...  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
gambl0rerwp, how do i switch between panels?22:41
gambl0rehow do you..22:41
rwpPREFIX-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
rwpBut 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
gambl0reanyways. atleast i figured out what the issue is. thanks for your help guys! (except Ben64)22:42
rwpBe nice.22:42
gambl0rei was trying...22:42
gambl0rebut he wanted to troll instead22:43
Ben64no, i wanted you to give details22:43
Ben64which you never actually did still22:43
gambl0reok buddy take care22:43
tomreyngambl0re: 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:45
irrsohnAnyone know how to send files over bluetooth connection between an iphone and Ubuntu?22:55
jeremy31irrsohn: It might be easier if you install blueman, click on the blueman icon in the notification area, local services and enable receive over bluetooth23:01
irrsohnjeremy31: you mean bluemon?23:04
jeremy31irrsohn: > sudo apt install blueman23:04
OerHeks!info blueman23:06
ubottublueman (source: blueman): Graphical bluetooth manager. In component universe, is optional. Version 2.0.5-1ubuntu1 (bionic), package size 1645 kB, installed size 4904 kB23:06
OerHeksmake sure universe is enabled23:07
irrsohnInstalled. Now the notifications area23:08
irrsohnYou mean settings?23:08
irrsohnOr click on the date. But it says no notifications after connecting the device.23:10
irrsohnjeremy31: What would you do after installing and checking notifications?23:21
jeremy31irrsohn: click on the blueman icon and go to local services, see if receive over bluetooth is enabled23:22
irrsohnjeremy31: didn't get a blueman icon23:25
lotuspsychjeirrsohn: did you reboot?23:26
TJ-no need to reboot for blueman, it's a user application.23:29
OerHeksmaybe reconnect your phone23:31
irrsohnlotuspsychje: after reboot I see it, but I can't browse the device.23:31
OerHeksmaybe your phone needs to give auth too?23:31
irrsohnOerHeks: phone says connected, there are no other options.23:32
jeremy31irrsohn: browsing a phone is something different from sending a file from phone to Ubuntu23:33
irrsohnWhat's the best way to get files off the phone, onto ubuntu?23:33
OerHeksoh, and the phone should be unlocked23:33
jeremy31irrsohn: try connecting with USB23:34
irrsohnjeremy31: it opens a file explorer, but says unsupported.23:35
jeremy31irrsohn: likely something from Apple blocking it23:36
lotuspsychje!iphone | irrsohn23:37
ubottuirrsohn: For information on how to sync and add tracks to your iPod, see the guide at https://help.ubuntu.com/community/IPodHowto - For the iPhone and the iPod Touch, see https://help.ubuntu.com/community/PortableDevices/iPhone - See !RockBox for information on liberating your iPod23:37
irrsohnIt 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:40
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 obexftp23:46
TJ-!obexftp | irrsohn23:46
TJ-!info obexftp | irrsohn23:47
ubottuirrsohn: obexftp (source: obexftp): file transfer utility for devices that use the OBEX protocol. In component universe, is optional. Version 0.24-5build4 (bionic), package size 16 kB, installed size 70 kB23:47
jeremy31And the Iphone would have to have OBEX support also23:47
OerHeks maybe an antivirus active on ipheun?23:47
lotuspsychjei branched iphones to bionic before, browsing pics went fine23:48
lotuspsychjejeremy31: did irrsohn mention ubuntu version/kernel?23:49
jeremy31lotuspsychje: I don't remember23:50
TJ-lotuspsychje: over Bluetooth?23:50
lotuspsychjeTJ-: with cable23:50
TJ-lotuspsychje: oh, yeah, cable isn't a problem23:51
TJ-irrsohn: can you use USB cable and MTP ?23:51
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 nextcloud23:52

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