[00:27] <qwebirc7898> Hey volks; im since few days tring to fix  the Errorcode: input not supportet. Installed first the servered and pulled later desktop & now im in troubl with that bad error... i can open grub. When i boot up or shut down i can see there what ubuntu is doing. In else behavior;input not supported. Would be nice to work around together. Greez Manu
[00:32] <qwebirc7898> Hey volks; im since few days tring to fix  the Errorcode: input not supportet. Installed first the servered and pulled later desktop & now im in troubl with that bad error... i can open grub. When i boot up or shut down i can see there what ubuntu is doing. In else behavior;input not supported. Would be nice to work around together. Greez Manu
[00:50] <tomreyn> qwebirc7898: it is not clear what returns this "input not supported" message. it sounds like it could be a messgae provided by a monitor?
[00:53] <tomreyn> qwebirc7898: when exactly is this message shown? which ubuntu version are you running there ( lsb_release -ds ), which kernel version and options ( cat /proc/{version,cmdline} }?
[00:56] <qwebirc7898> Hey volks; im since few days tring to fix  the Errorcode: input not supportet. Installed first the servered and pulled later desktop & now im in troubl with that bad error... i can open grub. When i boot up or shut down i can see there what ubuntu is doing. In else behavior;input not supported. Would be nice to work around together. Greez Manu
[00:57] <tomreyn> qwebirc7898: instead of just repeating your message, you could also read what i posted in response.
[00:59] <tomreyn> qwebirc7898 is you, Manu!
[01:00] <qwebirc7898> @
[01:01] <qwebirc7898> @<tom rain>sorry, oversaw thatits
[01:02] <tomreyn> qwebirc7898: no problem. so run those commands, tell us more.
[01:02] <Tyrandis> whats up peeps
[01:03] <qwebirc7898> I was fine with server 16.04, but mater
[01:04] <qwebirc7898> *later i had to install desktop too
[01:05] <Tyrandis> another dead chat room?
[01:05] <qwebirc7898> Grub shows up, machine is starting but it comes only to the error
[01:06] <tomreyn> Tyrandis: as the topic states, it's for ubuntu support (only), so not a social chat or discussion place. we have #uubntu-offtopic and -discuss for those.
[01:07] <tomreyn> qwebirc7898: so which version of ubuntu desktop did you install? which graphics card do you have, which computer model?
[01:08] <qwebirc7898> 16.04
[01:10] <qwebirc7898> No graphics cards, just an old hp proliant ml370 generationr
[01:10] <qwebirc7898> *rackserver
[01:10] <tomreyn> qwebirc7898: so this is server hardware. its graphics chipset may not be capable of running a graphical desktop.
[01:11] <tomreyn> and that may be the root cause of this issue.
[01:11] <qwebirc7898> Yeary ago i put win7 ultimate on it
[01:12] <qwebirc7898> And it  functioned
[01:12] <tomreyn> qwebirc7898: so, to put it simple: you should just run a standard server on it, no graphical desktop.
[01:14] <tomreyn> and while you're at it, i recommend you install the latest LTS server version, so 18.04.2
[01:15] <qwebirc7898> I know, that way u sayd is right, but i want this for my study prject. Why did with win7 no error on   the screen? :0
[01:16] <qwebirc7898> Oki thanks mate, ill give another try with a newer lts
[01:17] <tomreyn> your other opiton is to install agraphics card.
[01:18] <n-iCe> ok, having an issue, I installed ubuntu in a aspire es 15 laptop, everything in the installation went ok, but now it booted, I can surf the network, wifi is connected
[01:19] <n-iCe> not even ping google.com works
[01:20] <tomreyn> n-iCe: "I can surf the network, wifi is connected" sounds like you should be able to ping your gateway at least. can you?
[01:20] <tomreyn> which ubuntu release did you install there?
[01:22] <n-iCe> tomreyn: i can't sorry
[01:22] <n-iCe> 18.10
[01:22] <n-iCe> internet is not working
[01:22] <n-iCe> but is connected
[01:22] <n-iCe> it's weird
[01:23] <n-iCe> i found something, to move the /etc/resolv.conf to 8.8.8.8
[01:23] <n-iCe> and now internet works
[01:23] <n-iCe> but wifi connection speed is really slow
[01:23] <n-iCe> speedtest does not go up than 5MB when should be 30MB/s
[01:23] <n-iCe> tested in my phone and in my other ubuntu laptop
[01:24] <tomreyn> what's the wireless chipset? can you connect it via ethernet while you work on it?
[01:24] <ryuguns> Hey
[01:25] <ryuguns> Qt apps aren't using the system theme, and apparently qtconfig doesn't ship with Qt anymore
[01:25] <ryuguns> How do I fix it so that Qt apps use system theme?
[01:25] <Guest25017> hello my friends
[01:26] <ryuguns> hi
[01:26] <tomreyn> ryuguns: on your foo version of bar, running on boo?
[01:27] <tomreyn> !details | ryuguns
[01:28] <n-iCe> tomreyn: driver is ath9k
[01:28] <tomreyn> n-iCe: that's a start, but not what i asked.
[01:29] <ryuguns> tomreyn: I'm running Ubuntu 16.04 using Unity. Qt's context menus are greyed out as if they were disabled, in contrast to gnome, for example.
[01:29] <n-iCe> qualcom atheros qca9565 ar9565 wireless network adapter tomreyn
[01:29] <n-iCe> sorry I need to write using the other laptop, since that one has no internet
[01:29] <tomreyn> n-iCe: which is why i'm suggesting you connect it via ethernet for now
[01:31] <tomreyn> ryuguns: try moving ~/.config/Trolltech.conf out of the way, then logout and login, and try again.
[01:32] <n-iCe> tomreyn: can't
[01:32] <n-iCe> tomreyn:  I don't have an ethernet cable
[01:33] <tomreyn> n-iCe: well now you see why having one can be useful. and they are dirt cheap.
[01:34] <n-iCe> tomreyn: solved it
[01:34] <n-iCe> editing /etc/resolv.conf to 8.8.8.8 works
[01:34] <ryuguns> tomreyn: Trying now
[01:35] <tomreyn> n-iCe: this won't increase your bandwidth
[01:37] <tomreyn> n-iCe: you could try the first answer here: https://askubuntu.com/questions/887238/atheros-qca9565-ar9565-unstable-connection-slow-wireless-ubuntu-16-04
[01:39] <tomreyn> this chipset is single band 802.11a/b/g, single antenna.
[01:49] <n-iCe> tomreyn: it does not, but the wifi works
[02:04] <k_sze[work]> wow, Archive Manager is so dumb.
[02:04] <k_sze[work]> Utterly useless.
[02:04] <k_sze[work]> Why does it extract the files without respecting the directory hierarchy in a tar.gz file?
[02:11] <sudo18> gonna see how well wow runs on 18.04 on wine. anyone got experience?
[02:28] <sparrowsword> so... was wondering... i just installed ubuntu-desktop with WSL, and was wondering... how do i start the desktop? i am attempting to run the desktop (more specifically an android emulation suchas anbox) on a virtual display... and was wondering how to start the desktop server?
[02:29] <Bashing-om> sparrowsword: And with WSL - yet another re-direction.
[02:29] <Bashing-om> !wsl | sparrowsword
[02:29] <sparrowsword> ubottu: yes, i am using such
[02:29] <sparrowsword> o
[02:30] <arch1mede> lol
[02:30] <sudo18> heh
[02:33] <sparrowsword> so this does not support running a GUI?
[02:37] <leftyfb> sparrowsword: The quick answer, no, not out of the box. Regardless, as the bot told you, discussion and support for WSL is in #ubuntu-on-windows. Not here.
[02:41] <sparrowsword> that channel is dead...
[02:57] <mallu> I don't have sendmail (MTA) installed on my server. Trying to get cron log to syslog. It seems like cron -s doesn't work. Can someone tell me how I can get cron to log output to syslog
[03:02] <mattfly> how can i see the las updated packages?
[03:03] <mattfly> i upgraded to 18.04.2 from 18.04.1 and hibernation stopped working once again
[03:03] <mallu> I don't have sendmail (MTA) installed on my server. Trying to get cron log to syslog. It seems like cron -s doesn't work. Can someone tell me how I can get cron to log output to syslog?
[03:04] <mattfly> right after the system boots it is fine but after a time using it s2disk hangs saving the image to diks
[03:17] <Oderus> hey guys i am getting these messages here https://pastebin.ubuntu.com/p/SR54VXR5DQ/ at boot time. I know WHY i am geting them but not how to fix it. I had renamed and resized some partitions and, i get these messages.
[03:26] <Ascavasaion> I installed drivers for my Samsung Multifunction printer.  When I print one copy of a one page document it spews out three copies of the one page.  I have definitely chosen one copy... any ideas please?
[03:28] <hbfxc> ls
[03:28] <hbfxc> might be in the wrong channel here.. new to limechat, new to irc, new to ubuntu. new allround
[03:29] <Ascavasaion> hbfxc, Welcome.  Ask a question and someone will get back to you if here is someone who can help.
[03:29] <hbfxc> thanks Ascavasaion
[03:29] <hbfxc> I'm spinning up some ec2 linux instances.. looking for a simple way to configure port 8081 to be visible to the world
[03:30] <hbfxc> got my aws security group config setup - I remember from the apache days configuring ports in a httpd.conf file. Is there a similar config running express in ubuntu?
[04:19] <sudo18> anyone have experience hooking up bluetooth headphones in 18.04?
[04:37] <ChiLLabiS> !build
[05:00] <sudo18> anyone have any wisdom on bluetooth issues in 18.04? im setting devices into discovery mode, but this hoe isn't seeing them
[05:24] <bennylava> hello
[05:24] <bennylava> I'm trying to figure out how to change the Font size in Zorin Linux. Its based on Ubuntu.
[05:29] <guiverc> bennylava, Zorin is not Ubuntu, nor an official flavor thus off-topic here sorry.  You'll have to ask in a zorin chatroom
[05:33] <bennylava> Yeah unfortunately there's nobody in there right now. But I would like to ask you what you mean by "an official flavor". I'm new to linux.
[05:34] <payso> ubuntu supports a few different dists, you can find these here
[05:34] <guiverc> bennylava, you can see flavors with https://www.ubuntu.com/download/flavours - kubuntu, lubuntu, xubuntu, ubuntu-mate, ubuntu-budgie (official flavors are pretty easy to spot)
[05:34] <payso> https://www.ubuntu.com/#download
[05:35] <guiverc> sorry my list was supposed to end with .... (I only listed some - my list was not exhaustive!)
[05:35] <payso> Its all good, you got the majority of them.
[05:35] <bennylava> What about this: Is anyone here familiar with dconf editor? That editing tool. I installed that but I am unsure of how to use it to change the Font and pointer size.
[05:36] <payso> Ive been rocking Linux Mint for years and cant complain
[05:36] <guiverc> key is official flavors are on-topic here.  zorin is not bennylava
[05:40] <bennylava> What about a general linux chatroom? Can anyone recommend one that has a lot of users?
[05:41] <guiverc> ##linux possibly , but i have no idea if they'll know the zorin desktop (which isn't generic i suspect; why not use the desktops tweak tool anyway?)
[05:41] <damdai> i uploaded video called "Playing it Straight Season 1 Episode 1 US reality-tv show"   but  when i type that exactly on youtube search,  my video doesn't come up : why is that
[05:43] <bennylava> They wouldn't let me into ##linux lol. No idea why. Said something about being invite only.
[05:51] <damdai> i uploaded video called "Playing it Straight Season 1 Episode 1 US reality-tv show"   but  when i type that exactly on youtube search,  my video doesn't come up : why is that
[05:52] <guiverc> damdai, I don't see how that relatest to Ubuntu?
[05:52] <damdai> it's not
[05:52] <guiverc> this is a Ubuntu Support room damdai, so please stay on-topic.
[05:52] <damdai> but somebody might know
[05:53] <damdai> what is better channel to ask that in
[05:53] <guiverc> i have no idea damdai , maybe ask freednode as it's not a Ubuntu related question.
[06:14] <Deihmos> join /ubuntu-server
[06:14] <Deihmos> #join /ubuntu-server
[06:14] <guiverc> use /join #room
[06:15] <Deihmos> typo
[06:26] <Bilbo0>  photorec is asking to choose a save location but I just want it to see if it can find it, does it automatically save or can I just first check to see if I can find the lost files?
[06:28] <lotuspsychje> Bilbo0: there's a key to start scanning after you chosen your dir to recover to
[06:29] <lotuspsychje> Bilbo0: note: choose another media to recover to, then your HD you are recovering from
[06:29] <ellyacht> can someone tell me what package it is that shows all the different things running on your pc on your desktop like this one in the photo please? https://imgur.com/WkO6oGY
[06:29] <Bilbo0> lotuspsychje: a key? So if I choose a directory to recover to, does it automatically try to save there or does it ask me first?
[06:31] <lotuspsychje> Bilbo0: press C when the destination is correct
[06:31] <lotuspsychje> Bilbo0: after that, it will start recovering to your chosen dir
[06:31] <lotuspsychje> Bilbo0: default is your /home/user
[06:31] <Bilbo0> lotuspsychje: How do I scan to see what it can recover, without it trying to recover???
[06:32] <lotuspsychje> Bilbo0: photorec doesnt work that way, it will scan your whole partition or disk
[06:32] <lotuspsychje> Bilbo0: all you can do is, select filetypes you wish for
[06:33] <lotuspsychje> !info conky | ellyacht
[06:33] <ellyacht> ubottu: Thank you!!!
[06:34] <Bilbo0> lotuspsychje: Please listen to what I'm asking, I am not talking about the scanning part! So after it scans it automatically starts trying to put it all out on the save location without any choice from me?
[06:34] <lotuspsychje> Bilbo0: i do understand you...
[06:35] <lotuspsychje> Bilbo0: scroll up, i said press C when the destination is correct
[06:35] <lotuspsychje> Bilbo0: what other choice did you want to see?
[06:35] <guiverc> Bilbo0, I don't believe it has a scan only mode
[06:35] <Bilbo0> lotuspsychje: What question does that "answer" answer?
[06:36] <Bilbo0> guiverc: So it automatically starts trying to save everything, including stuff you don't want saved/don't have room to save after it's done scanning?
[06:37] <lotuspsychje> Bilbo0: do you even read what i said..
[06:37] <lotuspsychje> Bilbo0: <lotuspsychje> Bilbo0: all you can do is, select filetypes you wish for
[06:37] <guiverc> no it scans recovered files...  it doesn't have a 'view before you save' - it saves as it proceeds
[06:38] <guiverc> s/scans/saves
[06:39] <Bilbo0> guiverc: Know of any better recovery programs that aren't so stupidly designed?
[06:40] <lotuspsychje> photorec is one of the best programs ever, made me rescue data from far away ages
[06:40] <guiverc> it is one of the better programs, it's targeted at results (who cares about UI)
[06:40] <Bilbo0> guiverc: The result is its useless since I dont have enough space for it to send every bit of crap to another disk just to get one folder and bit of data that went missing
[06:41] <Bilbo0> It sucks not because UI but because of that restriction that makes it useless
[06:41] <guiverc> if you want data back, and need to buy another disk to achieve it - the cost of a drive is minimal compared to the data..  results=recovery of data (data is valuable, drives are cheap)
[06:42] <Bilbo0> guiverc: I have another disk, and enough space for the 500mb or so I need to recover, but I dont have the space for a whole drive to be put on it, also that would take a super long time too
[06:43] <Bilbo0> So you don't know of a data recovery program that isn't so fately flawed?
[06:43] <Bilbo0> I have a folder worth of stuff that just vanished somehow
[06:43] <Bilbo0> I shouldnt need to buy a fourth drive or something just to to see if I can recover it
[06:44] <lotuspsychje> Bilbo0: its logical if one wants to recover, one would need more space then 500mb?
[06:45] <mel> hi i been having an issue with 18.04.2 everytime i click on a icon i get booted back to the login i'm pretty new to ubuntu when it comes to trying to find the log error etc if anyone can help please
[06:45] <Bilbo0> lotuspsychje: It's not logical to need three hundred times more space or whatever than the data I want to recover
[06:46] <Ben64> right that would be silly
[06:46] <Ben64> having 1x the space makes sense
[06:46] <lotuspsychje> Bilbo0: thats why i suggested you selecting filetypes in photorec, to save space
[06:46] <Bilbo0> Oh I need to recover a text file, oh you got to buy a 3gb drive because that text files on a 3gb disk and the data recover file wants to save the whole fcking 3gb somewhere
[06:46] <Bilbo0> What I need is a better data recovery program, so please try and help
[06:47] <lotuspsychje> good luck
[06:48] <mel> @Bilbo0 what about trying parted magic?
[06:51] <mel> @Bilbo0 https://partedmagic.com/
[06:52] <Bilbo0> mel: Thanks, though know of any free options?
[06:53] <mel> @Bilbo0 you can try https://www.r-studio.com/free-linux-recovery/
[06:55] <mel> as for my issue i think it has sometihng to do with mesa shader cache any ideas?
[06:55] <mel> I do have 1 crash log but it is 10mb not sure what to do with it?
[06:56] <Kon-> How safe is it in ext4 to attempt shrinking the second partition on a disk so that I may expand the first partition on the same disk? Is this likely to end in disaster?
[06:57] <mel> it does not happen on 16.04 only on 18.04...
[06:57] <Bilbo0> mel: Thanks. Do you have experience with that you are recommending from or is that just something you found searching?
[06:57] <guiverc> Kon-, i've done it many times without issue, but would never try without backup first
[06:58] <mel> @Bilbo0 I've used partd magic many times with great resaults
[06:58] <mel> as for r-studio it seems to have some of the same tools
[06:59] <Bilbo0> partd is pay though, right
[06:59] <mel> @Bilbo0 Yes for the lastest build
[06:59] <Bilbo0> Is there no way to simply undelete files? I dont understand why this folder disappeared in the first place
[06:59] <mel> you may find an older build for free if you do some searching
[07:00] <mel> @Bilbo0 have you tried to show hidden files? maybe a . got put in front of the folder name
[07:01] <Bilbo0> mel Show hidden is on, I always have it on for me
[07:01] <mel> @Bilbo0 okay
[07:02] <Bilbo0> mel so no way to simply undelete files, like just remark the data as legit instead of delete?
[07:03] <Bilbo0> mel: With something like R-Linux, how can I know its legit and not maleware or something? Do you specifically know this program as legit?
[07:03] <mel> does anyone think my laptop is too old for 18.04 since the error never happens on 16.04?
[07:04] <mel> @Bilbo0 i have used r-studio its safe
[07:04] <Bilbo0> I have a similar question with lots of stuff, they say only install stuff you trust, but not how you're suppose to know what you can trust
[07:04] <Bilbo0> alright, thanks
[07:05] <Bilbo0> mel: So r-studio allows you to target specific things to recover and not the whole disk?
[07:05] <mel> @Bilbo0 give it a try and let it scan the disk if you haven't wrote too much to the disk since you lost the folder you may have a good chance to recover it
[07:07] <mel> @Bilbo0 it will only show you recovered deleted files/folders it won't show you the whole disk
[07:09] <mel> @Bilbo0 it may take a long time depends on the size of the disk one time it took 15 hours for me to recover some files
[07:10] <Bilbo0> mel: But it can allow me to choose which files to recover and not try to recover everything?
[07:11] <mel> @Bilbo0 Well in all the times I used it it scan the whole disk, most important thing is read the commands well or you can null your disk and loose everything
[07:12] <Bilbo0> mel it scans the whole disk, but can I choose to recover only what I want?
[07:12] <mel> @Bilbo0 Yes you can choose what to recover
[07:13] <Bilbo0> mel: But I can't undelete it, I have to save to another location, and that location can't even just be on another partition within the same drive but a completely different drive?
[07:14] <mel> @Bilbo0 I would just use a usb thumb drive
[07:14] <notdaniel> if you are attempting data recovery from a drive you never want to touch anything else on that drive while doing it
[07:14] <notdaniel> i make a clone of a damaged drive before attempting recovery so there's no way to screw it up further
[07:15] <ducasse> !info extundelete | Bilbo0
[07:17] <mel> i been having an issue with 18.04.2 everytime i click on a icon i get booted back to the login
[07:17] <lotuspsychje> mel: graphics drivers install correctly?
[07:18] <mel> I think it has sometihng to do with mesa shader cache
[07:18] <lotuspsychje> mel: check: sudo lshw -C video plz?
[07:20] <mel> @Lotuspsychje https://paste.ubuntu.com/p/x7y3xptG52/
[07:20] <mel> I think it has sometihng to do with mesa shader cache
[07:20] <mel> I think my laptop is too old for 18.04 since the error never happens on 16.04
[07:21] <lotuspsychje> mel: ubuntu-desktop on gnome sucks alot of eyecandy these days indeed
[07:21] <lotuspsychje> mel: did you test this from a liveusb?
[07:22] <mel> this mesa shader cache is something new I've never since it before on any ubuntu istall
[07:22] <mel> I've install 16.04 with no issues
[07:22] <mel> only 18.04 has issues
[07:23] <lotuspsychje> mel: another test could be 18.04 + unity desktop
[07:23] <mel> I have a crash report but it is 10mb not sure what to do with it?
[07:23] <Bilbo0> ducasse: TY! But as usual these Man files give me a headache when I try to understand them. Can you please help me understand how to use extundelete?
[07:25] <ducasse> there are tutorials online, do a search - i'm stepping away right now
[07:26] <mel> @Lotuspsychje how do I run this test 18.04 + unity desktop?
[07:27] <Bilbo0> when something asks for the address of the folder/file etc, and its on another drive, do I include "media" in the address?
[07:27] <Bilbo0> I mean how do I determine exactly the right address it wants?
[07:30] <mel> @Bilbo0 just use lsblk
[07:32] <mel> @Bilbo0 but mostly it would be /media/<name>/<device>
[07:33] <Bilbo0> So exundelete allows me to undelete without saving in a new location?
[07:36] <mel> I think I found the issue https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1741447
[07:38] <mel> but I completely removed the mesa drivers from my system
[07:38] <mel> and the issue still happens repeatly
[07:40] <mel> anyway thank you all I have to log off now
[07:53] <Bilbo0> So exundelete allows me to undelete without saving in a new location?
[08:00] <Bilbo0> Is a drive kept engaged by simply having folds in file manager open?
[08:00] <Bilbo0> to somewhere in that drive
[08:22] <elias_a> Is there a way to "map" the disk space usage of an USB drive connected to 18.04 laptop? In this case the USB drive is an Android phone and I am trying to find out what data exactly fills it.
[08:22] <Bilbo0> Is there a way to do a word search on a terminal?
[08:23] <lotuspsychje> elias_a: try the disk analyzer on ubuntu
[08:28] <elias_a> lotuspsychje: I cannot find it as I am running a localized version on Ubuntu and I don't know the name of the sw. Could you check out what About box tells about the name so I could find out how to start it from the command line?
[08:28] <lotuspsychje> !info baobab | elias_a
[08:30] <elias_a> lotuspsychje: TY
[08:30] <Bilbo0> join #linux
[08:31] <qwebirc16430> I have two weird problems with my Ubuntu install on Dell Vostro 5581 (which is supposedly Ubuntu-compatible and even sold with Ubuntu in some countries)
[08:32] <lotuspsychje> !details | qwebirc16430
[08:32] <qwebirc16430> problem one, right button of the touchpad doesn't work (registers as left-click) - same as with another recent Dell laptop
[08:33] <qwebirc16430> I am able to work around that with accessibility options, but that leaves me unable to do a double click (left+right)
[08:34] <qwebirc16430> the other problem is more annoying: Ubuntu doesn't see my main SSD, which is where my Windows 10 lives. therefore I don't have a Windows option in GRUB
[08:35] <qwebirc16430> the main SSD is NVMe 250 GB by Toshiba, fastboot in Windows 10 is disabled. it's detected fine in BIOS and I can boot into Win 10 if I need to by messing with BIOS boot order. secure boot in BIOS is off
[08:36] <lotuspsychje> qwebirc16430: if ubuntu doesnt see your ssd, where did you install ubuntu now on then?
[08:37] <qwebirc16430> I have two SSD disks, and Ubuntu sees the other (and only the other) - it suits me fine apart from the GRUB problem
[08:37] <lotuspsychje> qwebirc16430: are you gonna dualboot or singleboot?
[08:37] <qwebirc16430> dual boot
[08:38] <lotuspsychje> EriC^: one for you ^
[08:38] <qwebirc16430> if I wanted single boot, I'd have wiped windows from the first ssd (but well, I didn't even have that option in the installer, the installer only saw the second ssd - ADATA SU 800 ultimate 1 tb
[08:39] <qwebirc16430> I need Win 10 very rarely, so doing stuff in bios to boot it is... acceptable but I'd prefer to get grub working
[08:39] <EriC^> qwebirc16430: what does 'sudo parted -ls | nc termbin.com 9999' give?
[08:39] <qwebirc16430> I already tried os-prober (doesn't see Win 10) as well as several disk utilities such as fdisk -l and gparted and they all only see the 1 tb disk
[08:40] <qwebirc16430> EriC^: https://termbin.com/74nu
[08:41] <EriC^> qwebirc16430: anything in dmesg about the nvme?
[08:44] <elias_a> lotuspsychje: Thanks again. Baobab over USB is _really_ slow. How long should it take to map a 16 gb device?
[08:44] <lotuspsychje> elias_a: what kind of usb is it, and usb 1, 2 or 3?
[08:45] <qwebirc16430> EriC^: looks relevant? [    1.402542] ahci 0000:00:17.0: version 3.0 [    1.402671] ahci 0000:00:17.0: Found 1 remapped NVMe devices. [    1.402672] ahci 0000:00:17.0: Switch your BIOS from RAID to AHCI mode to use them.
[08:45] <qwebirc16430> note I am a newbie when it comes to setting up Ubuntu, when I used it at work it came all set up ;)
[08:47] <elias_a> lotuspsychje: USB 2 AFAIK
[08:48] <elias_a> lotuspsychje: Actually baobab stops responding...
[08:48] <lotuspsychje> elias_a: try a tail -f /var/log/syslog and unplug your usb, and replug in while you play with baobab
[08:50] <Tin_man> qwebirc16430, if you have the luxury of having a second computer, I'd suggest running Ubuntu on a separate machine, Dual booting with windows it's self is a in depth challenge.
[08:51] <qwebirc16430> I don't have a second computer and I liked Windows/Ubuntu dual boot at work a lot. apart from this niggle, everything works
[08:52] <elias_a> lotuspsychje: https://paste.ubuntu.com/p/FJQ4BkHN8y/
[08:52] <Tin_man> i'd say not seeing your SSD would be a fairly large niggle..
[08:52] <man139142025> hi how to uninstall an app and dependences not used by other apps
[08:52] <man139142025> comand line
[08:53] <qwebirc16430> that SSD has only Windows 10 on it and nothing else :P and I only kept Win 10 because of one program that doesn't have a Linux equivalent afaik
[08:53] <tarzeau> man139142025: apt-get --purge remove pkg ?
[08:53] <lotuspsychje> elias_a: seems like you have some connecting issues to the phone
[08:53] <Tin_man> man139142025, depends on how you installed it
[08:53] <man139142025> i installed in synaptic
[08:54] <lotuspsychje> elias_a: did you enable DEV mode on your phone?
[08:54] <qwebirc65123> Guys can you check your value of /proc/sys/net/ipv4/tcp_syn_retries?
[08:54] <man139142025> tarzeau: so that will leave the dependences the app has if other apps installed use them
[08:54] <elias_a> lotuspsychje: I agree. However after disconnecting and reconnecting I can now see partial results of the map. I did not enable DEV mode.
[08:55] <lotuspsychje> qwebirc65123: maybe your windows install had both ssd's in a raid or something? try set to AHCI in bios and singleboot ubuntu?
[08:55] <tarzeau> man139142025: apt-get autoclean or aptitude or/and deborphan helps to clean up
[08:55] <lotuspsychje> elias_a: try enabling developer mode on your android first, see if that fixes
[08:56] <man139142025> tarzeau: thanks
[08:56] <lotuspsychje> qwebirc65123: also nvme ssd's might need advanced partitioning on the setup
[08:57] <qwebirc16430> I'm hesitant to set AHCI because it makes Win10 not boot at all, proves that Ubuntu is superior :P (in addition to accessibility stuff - I love visible alerts so much)
[08:57] <qwebirc16430> so I guess I'll live with the current status quo
[08:57] <qwebirc16430> as I'm going to be using Windows once in a blue moon :P
[08:58] <man139142025> so tarzeau i can run "sudo apt-get autoclean" or "sudo aptitude autoclean"
[08:59] <lotuspsychje> qwebirc16430: i wouldnt use raid on a desktop on ssd's..
[08:59] <EriC^> qwebirc16430: switch to ahci
[09:00] <EriC^> in the bios to see the nvme
[09:00] <EriC^> qwebirc16430: reinstall ubuntu in the same mode then
[09:01] <EriC^> or convert it or whatever
[09:01] <EriC^> qwebirc16430: wait a second which mode is windows installed in? it's not making sense
[09:01] <qwebirc16430> windows was installed in whatever the default was, probably raid since switching to ahci makes it not boot
[09:02] <qwebirc16430> and I don't fancy reinstalling windows now that I have ubuntu, since iirc the order should be 1) windows 2) ubuntu
[09:02] <Tin_man> man139142025, you might enjoy this guide >> https://itsfoss.com/remove-install-software-ubuntu/
[09:02] <qwebirc16430> the joys of the computer coming with Win10 preinstalled
[09:03] <qwebirc65123> Guys can you check your value of /proc/sys/net/ipv4/tcp_syn_retries?
[09:04] <lotuspsychje> qwebirc65123: 6
[09:06] <Tin_man> qwebirc65123, same (6)
[09:07] <qwebirc65123> @lotuspsychje thanks
[09:07] <qwebirc65123> Tin_man thanks
[09:09] <Tin_man> np..
[09:09] <qwebirc16430> uff, I think I found some tips on how to get past the Win 10 not booting with ahci problem, thanks so much for all the help
[09:13] <man139142025> Tin_man: what is the difference between apt-get and aptitude???
[09:15] <Tin_man> man139142025, i'll refer you to this link. >>> https://www.tecmint.com/difference-between-apt-and-aptitude/
[09:20] <man139142025> thanks Tin_man
[09:23] <man139142025> thanks Tin_man i see basically they access the same repositories and allow user to install the same packages and apps via comand line
[09:30] <elias_a> lotuspsychje: Dev mode does not solve the problem. Baobab simply freezes at some point around 1-2 minutes after initiating.
[09:42] <elias_a> Let's see what changing protocol to PTP does...
[09:45] <elias_a> baobab does not see the android device at all in PTP mode
[09:49] <sndrtj> hello there
[09:52] <sndrtj> I am having major issues booting on 18.04. I just get a blank purple screen, and that's it. I tried recovery mode, which worked once, and I managed to update some packages. After rebooting there, however, means recovery mode _also_ doesn't work anymore. There it hangs after 'Loading initial ramdisk'
[09:53] <sndrtj> I've tried setting some kernel parameters in grub, to no avail. It seems that both the linux boot and initrd commands finish, but don't actually do anything.
[09:53] <sndrtj> Even when I remove the `quiet` parameter, I'm getting absolutely zero output.
[09:54] <sndrtj> the only output I get is when I manually insert some 'echo's in grub.
[09:54] <sndrtj> any ideas?
[09:54] <BluesKaj> Hiyas all
[09:55] <blackflow> sndrtj: removed "splash" too? that should stop plymouth from displaying that purple screen so you can see actual systemd/kernel output
[10:06] <elias_a> lotuspsychje: Filelight seems to be able to do the job.
[10:06] <lotuspsychje> +1 elias_a
[10:06] <lotuspsychje> elias_a: connection to phone going faster now?
[10:08] <elias_a> lotuspsychje: At least Filelight does not hang.
[10:09] <elias_a> lotuspsychje: Filelight also seems to work flawlessly without dev mode on.
[10:09] <lotuspsychje> interesting, let me test that app
[10:11] <lotuspsychje> looks good elias_a
[10:12] <sndrtj> removing `splash` didn't do anything (still a purple screen) the first few times. Somehow it worked after the umpteenth time, but I'm not sure what changed - now it actually went too fast to read any of the messages! :-)
[10:12] <elias_a> lotuspsychje: Does the mapping slow down a lot for you too? towards the end of the process?
[10:13] <lotuspsychje> elias_a: pretty fast here, but im on an ssd
[10:18] <elias_a> lotuspsychje: Filelight seems not to hang but stops after indexing 1623 files. Odd. Perhaps there is something broken in the USB implementation of this phone....
[10:19] <lotuspsychje> elias_a: for what i understand, connecting phone to a pc needs dev mode enabled to work properly
[10:21] <elias_a> lotuspsychje: It has maybe been so years ago but not anymore.
[10:21] <elias_a> lotuspsychje: Everything actually works usually without the dev mode.
[10:22] <lotuspsychje> elias_a: no harm to try right
[10:22] <elias_a> lotuspsychje: I tried it already.
[10:23] <_doxker_zero> a
[10:24] <_doxker_zero> can we actually follow tcp stream in using tcpdump ? i doubt.. (one of the exercises)
[10:24] <elias_a> lotuspsychje: I'll try one more time and then I'll try to index another phone.
[10:24] <Furai> Hey, is there a way to pass to image viewer search context from nautilus?
[10:25] <Furai> Basically what I want to do is to view all images that are result of a search, but not open them all at once. Just the ability to go prev/next photo in the search context.
[10:25] <blackflow> _doxker_zero: "follow"?
[10:54] <acebrianjuan> Hi
[10:54] <acebrianjuan> How can I send broadcast packets using netcat?
[10:55] <acebrianjuan> So far I've been able to send data to speciffic ip addresses
[10:55] <acebrianjuan> by doing: nc -u 10.10.10.1 1234
[10:56] <lapion> is there any way to do-release-upgrade with download only to do the actual upgrade at a later time ?
[10:56] <lapion> acebrianjuan, try nitpipes
[10:56] <lapion> acebrianjuan, try netpipes
[10:57] <acebrianjuan> lapion: actually I've just tried doing: nc -u 0.0.0.0 1234
[10:57] <acebrianjuan> and it works
[10:59] <lapion> acebrianjuan, yeah netpipes is ever so slightly different..
[11:00] <lapion> acebrianjuan, thank you for giving me an alternative to [shivers] telnet
[11:00] <FreeBoss> Guy, I wrote a script that setups some software. What would be the best command to restart a VM on Azure after the script is complete?
[11:00] <FreeBoss> Guys* :)
[11:01] <acebrianjuan> lapion: bear in mind though, that I have only tested this to connect 2 terminal windows in my computer
[11:01] <blackflow> FreeBoss: systemctl reboot   comes to mind
[11:02] <acebrianjuan> lapion: I don't know if this will work to connect 2 computers within a local area network
[11:02] <FreeBoss> blackflow, what if I just do sudo restart?
[11:02] <acebrianjuan> I've always heard that routers drop broadcast packets
[11:02] <lapion> acebrianjuan, netpipes is better for that I think
[11:02] <blackflow> FreeBoss: whats `restart` ? which package does it come from?
[11:02] <tomreyn> lapion: you can use --data-dir=DATA_DIR to point do-release-upgrade to a previously downloaded copy of the release upgrade data archive, but that's not the upgrades themselves, just a set of scripts and meta information.
[11:03] <blackflow> FreeBoss: if you want to reboot Ubuntu, `systemctl reboot` is the way.
[11:03] <tomreyn> lapion: but you can, of course, always point your apt sources to a local mirror server or proxy cache
[11:18] <FreeBoss> blackflow, any idea how to restart ubuntu properly after simple script is done? sudo restart here doesn't work https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh
[11:19] <blackflow> FreeBoss: I told you twice. `systemctl reboot`
[11:20] <blackflow> FreeBoss: and instead of prefixing every line with sudo, just run that script with sudo or root.
[11:23] <blackflow> FreeBoss: and btw, it appears that what you're doing there is a perfect job for ansible.
[11:24] <FreeBoss> blackflow, interesting.
[11:39] <FreeBoss> blackflow, I updated the script https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh
[11:39] <FreeBoss> It restarts the server now, but reports an error: "Object reference not set to an instance of an object."
[11:39] <FreeBoss> any idea what that is about?
[11:41] <blackflow> FreeBoss: nothing Ubuntu related probably.
[11:41] <blackflow> google suggests it's a .NET error.
[11:42] <enoch> Hi guys, I have a strange issue
[11:42] <blackflow> FreeBoss: btw that script is still using sudo on every invocation. that's wrong, run the script itself with sudo, not each individual line.
[11:42] <enoch> when I try to run bash with a specific user I get: "Killed"
[11:42] <enoch> do you have any idea?
[11:43] <FreeBoss> Bash threatens you
[11:43] <EriC^> enoch: just "Killed" ?
[11:43] <EriC^> no prefix whatsoever?
[11:43] <enoch> yes , only "Killed"
[11:43] <enoch> sh works
[11:43] <enoch> and bash works with other users
[11:43] <blackflow> enoch: like I told you in #debian, check the shell rc files. those sourced from ~/ and in /etc/
[11:43] <EriC^> enoch: maybe it's the script writing that?
[11:44] <EriC^> enoch: type "grep -i killed /path/to/script"
[11:44] <enoch> it is not a script, I'm just running /bin/bash
[11:44] <enoch> blackflow: /etc/ where?
[11:44] <blackflow> enoch: also you said when you LOGIN with that shell. so running scripts vs login is quite a different situation. which one is it, then?
[11:44] <enoch> in ~/ I have nothing
[11:45] <blackflow> enoch: bash(1) manpage, section FILES
[11:45] <EriC^> enoch: check the rc files as blackflow suggested, also try running bash with more verbosity
[11:45] <enoch> blackflow, I can login if I set the default shell to /bin/sh but then if I switch to /bin/bash I get "Killed"
[11:45] <enoch> where are the rc files under /etc/?
[11:45] <EriC^> enoch: try "bash -x"
[11:45] <blackflow> which is why I told you to check the rc files
[11:45] <blackflow> enoch: look at the damn manpage, section FILES
[11:46] <mrpanda> thank god
[11:46] <mrpanda> this seem work
[11:46] <enoch> https://nopaste.xyz/?279e1c0d363179f7#tQeGkOMbmXO55NOQRkmT9QDKYc0rq+RYxemU5jaoQYo=
[11:46] <mrpanda> ubuntu 18.04 hangs sometimes
[11:46] <blackflow> enoch: also, create a new user, with defaults, bash for shell, see if you can log into that.
[11:46] <mrpanda> when try update
[11:46] <enoch> https://nopaste.xyz/?279e1c0d363179f7#tQeGkOMbmXO55NOQRkmT9QDKYc0rq+RYxemU5jaoQYo= <- bash -x
[11:47] <mrpanda> the 16 version was more stable i believe
[11:47] <enoch> blackflow: the new user works
[11:47] <blackflow> enoch: you'll need bash -lx to check the LOGIN context
[11:48] <blackflow> enoch: right, so something in your users home dir, one of hte files sourced by bash, is causing it to go belly up
[11:48] <enoch> mhh maybe something related to the locale?
[11:49] <blackflow> enoch: bash -lx
[11:49] <enoch> https://nopaste.xyz/?900d51abb4d719cb#DLXN6SMmv5/lboAqy5i23SvhrmLtxV4IDi2BTHCm1Qg= <- bash -lx
[11:49] <enoch> yes that's why I asked :D
[11:49] <enoch> see: printf 'WARNING! Your environment specifies an invalid locale.\
[11:50] <EriC^> enoch: see "dmesg"
[11:50] <EriC^> enoch: if bash printed Killed it would have shown in bash -x, so something else is killing it i guess
[11:50] <blackflow> enoch: invalid locale would just complain loudly, but not fail. it defaults to "C" iirc.  but definitely do setup the locale properly to fix that issue anyway.
[11:50] <EriC^> oh nevermind, the old paste was short
[11:51] <FreeBoss> blackflow, so it actually doesn't work. that script didn't work. I'm not running it inside bash, but rather using Azure Custom Script Extension. Documents say that "If you have a script that will cause a reboot, then install applications and run scripts etc. You should schedule the reboot using a Cron job"
[11:51] <FreeBoss> How can I reboot ubuntu in such case with cron job?
[11:51] <blackflow> if new user logs in fine, but your current doesn't, then the problem is  most likely in ~/.bashrc or any other rc the shell is sourcing from there
[11:51] <enoch> I already tried dmesg, but it seems to be fine
[11:52] <EriC^> enoch: the last paste you showed had a lot of locale errors
[11:52] <blackflow> FreeBoss: systemctl reboot.   and it appears your problem is not Ubuntu related, so you should really ask Azure support. "Azure Custom Script Extension" is not supported here.
[11:52] <enoch> I have no  ~/.bashrc so how to check if any other rc is killing it?
[11:53] <blackflow> FreeBoss: also scheduling reboot with cron sounds totally wrong. what is the end goal you're trying to achieve there? Set up your VM, reboot it?
[11:53] <blackflow> enoch: last time. bash(1) manpage, section FILES.  there's more than one file the shell is trying
[11:53] <enoch> ok thanjks
[11:54] <blackflow> enoch: section INVOCATION explains the order checked and what happens in the process
[11:54] <enoch> checking, thanks
[11:55] <mrpanda> these kids of tu delft are messing
[11:55] <mrpanda> i think they wrote the terminal system :D
[11:55] <mrpanda> goodday
[11:55] <EriC^> enoch: try 'dmesg -w' then try 'bash' again
[11:56] <blackflow> (in another terminal)
[11:56] <EriC^> enoch: how are you trying these stuff from where?
, yes setup and reboot
[11:56] <EriC^> enoch: you're logged into the user using sh, and you're running 'bash' as the user?
[11:57] <enoch> EriC^ , yes ( dmesg is not showing anything )
[11:57] <EriC^> enoch: try 'strace -o /tmp/bashlog bash'
[11:57] <EriC^> then upload /tmp/bashlog
[11:57] <blackflow> FreeBoss: okay. so if that's not an Ubuntu linux shell (like bash, sh, etc...) you'll really need to ask that software's support channels. for regular ubuntu stuff, shell and scripting, systemctl reboot is what you need. or just `reboot` but taht's a symlink to systemctl anyway.
[11:58] <armu> searching linux networking and openvpn pro i will pay btc mesg me
[11:58] <FreeBoss> blackflow, yeah it's linux shell, but under different user, I think
[11:58] <FreeBoss> I just need to reboot after that script is done
[11:59] <blackflow> FreeBoss: if that is Ubuntu running, `systemctl reboot` does it. If that's not ubuntu running but some Azure something something, then ask Azure how to do it.
[12:00] <enoch> EriC^ http://paste.debian.net/1072822/
[12:00] <blackflow> FreeBoss: you might also need to force the reboot, if it's failing for whatever reason caused by config change.   `systemctl -f -f reboot`
[12:03] <EriC^> enoch: im able to reproduce your error by doing in "sh" 'ulimit -t 1' then 'bash' then e@e:~$ for i in {1..10000000}; do echo $(($i * $i)); done Killed$
[12:04] <EriC^> enoch: try "ulimit -t" for the affected user see what it says
[12:04] <EriC^> mine says unlimited by default
[12:04] <enoch> unlimited
[12:04] <blackflow> if ulimits were the cause here, why would /bin/sh login work then. unless a bash rc is doing something to set a limit and then breaks itself...
[12:05] <EriC^> something is sending it SIGKILL
[12:05] <blackflow> beacuse logging into another user with bash shell works, as mentioned before. ergo.... the failing user's ~/ does something that breaks bash
[12:06] <EriC^> i'd check the rc files as blackflow said
[12:06] <enoch> blackflow I also tried to change the use home directory
[12:06] <enoch> checking
[12:06] <blackflow> I suppose it doesn't hurt to check /etc/security/limits.conf to see if that particular user (or its group) is limited
[12:06] <blackflow> enoch: and? can you login when you change the homedir?
[12:07] <enoch> no
[12:07] <enoch>  /etc/security/limits.conf is empty
[12:07] <EriC^> you changed the homedir in passwd?
[12:07] <enoch> EriC^ yes
[12:08] <enoch> bash --norc
[12:08] <enoch> bash-4.3$ Killed
[12:08] <enoch> $
[12:08] <EriC^> why does it says bash-4.3
[12:08] <blackflow> the moment of truth
[12:08] <EriC^> oh, with --norc it does that
[12:09] <EriC^> enoch: just to be clear though, this is the standard ubuntu repo bash right? :D
[12:09] <enoch> EriC^ it is debian: Debian GNU/Linux 8 \n \l
[12:09] <blackflow> of course. :)
[12:09] <FreeBoss> Ubuntu question: how can I restart a VM once via cron job?
[12:10] <EriC^> FreeBoss: at a particular time you mean?
[12:10] <j0seph> Hi all. Is there a way to disable Ubuntu telling me that I need to restart my computer to use the software I upgraded after 'apt upgrade'?
[12:10] <FreeBoss> EriC^, no, 5 seconds after a command
[12:10] <FreeBoss> or right now, but via cron job
[12:11] <FreeBoss> I'm performing a simple script using Azure Custom script extension. https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh
[12:11] <enoch> mhhh blackflow EriC^ , you mean this is not a "standard" debian?=
[12:11] <EriC^> FreeBoss: how is the command executed?
[12:11] <FreeBoss> I need to restart VM after the script executed.
[12:11] <FreeBoss> However documentation says that "If you have a script that will cause a reboot, then install applications and run scripts etc. You should schedule the reboot using a Cron job"
[12:11] <FreeBoss> So, my question is how can I edit my script to restart VM via cron job?
[12:12] <tomreyn> enoch: this channel is called #ubuntu
[12:12] <EriC^> FreeBoss: that only makes sense if cron is running the script in the first place
[12:12] <EriC^> FreeBoss: you'd do something like /path/to/script && sleep 5 && reboot
[12:12] <FreeBoss> EriC^, that wouldn't work.
[12:12] <EriC^> if you wanted it only to reboot if the script was successful in its return
[12:12] <blackflow> enoch: Ubuntu != Debian
[12:13] <enoch> yes I know
[12:13] <EriC^> FreeBoss: brb
[12:14] <blackflow> FreeBoss: you can also do this:  https://www.linuxjournal.com/content/rebooting-magic-way
[12:15] <blackflow> FreeBoss: the two echos, to sysrq and sysrq-trigger
[12:15] <tomreyn> enoch: so you knowingly ask volunteers here, who are here to provide support with ubuntu (as the topic also told you), for support with something else? don't you realize how that's wrong?
[12:16] <enoch> tomreyn: really I thought it was a ubuntu machine at the beginning
[12:16] <tomreyn> enoch: then by the time you realized it wasn't, you should have pointed this out and moved to #debian
[12:16] <enoch> I asked here and in #debian becaus it is debian based
[12:16] <enoch> I also asked here
[12:16] <enoch> there*
[12:16] <blackflow> enoch: no you didn't, you asked in #debian first :)  and I answered you there.
[12:17] <j0seph> Ubuntu is debian-based but the two have rather different philosophies anyway
[12:17] <enoch> blackflow yes but really I thought it was an ubuntu machine. Btw I understand guys
[12:18] <tomreyn> next time you're unsure what youR'e running, there is also ##linux
[12:18] <blackflow> enoch: btw, there's no selinux running there, is it?
[12:19] <blackflow> I mean what you listed was happening so far, is really weird. esp where you changed the home dir and had the same outcome, meaning there's somethng else enforcing for that USER in particular, but only if BASH is used...
[12:20] <blackflow> If this is the summary:   user+bash=killed;   user+bin/sh=ok;   anotehr_user+bash=ok;    user+bash+new_homedir= killed
[12:20] <tomreyn> please move over to #debian to continue on this topic
[12:21] <enoch> blackflow EriC^: what about ulimit -a?
[12:21] <FreeBoss> blackflow, do I need to add "done" when doing this magic way? https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh
[12:21] <enoch> https://nopaste.xyz/?e79c592f9382d01d#DbY7wHVYLBwLUi+NZ3fVCNGoipSjxCDBT6qzD/Rvssk=
[12:21] <tomreyn> we're trying to make everyone aware that they should only seek support in their distros' channel, not something based on something which is also similar to something else.
[12:22] <blackflow> FreeBoss: no, "done" is the ending token for the "while" stanza.    while ....; do ....; done
[12:22] <tomreyn> continuing this chat here would undermine this effort, blackflow
, thanks! I'll try now
[12:23] <Beef_wgtn> I'm trying to run rabbitmq, but keep getting a report that "node 'rabbit' not running at all". Even after reinstall
[12:23] <blackflow> FreeBoss: you might want echo s   before that echo b    to sync the filesystems at least
[12:23] <blackflow> FreeBoss: this explains the sysrq letters:   https://en.wikipedia.org/wiki/Magic_SysRq_key
[12:24] <blackflow> tomreyn: agreed
[12:24] <tomreyn> thanks
 uhm? so not
[12:24] <FreeBoss> echo 1 > /proc/sys/kernel/sysrq
[12:24] <FreeBoss> echo b > /proc/sysrq-trigger
[12:24] <FreeBoss> instead
[12:24] <blackflow> FreeBoss: no that's okay. just add      echo s > /proc/sysrq-trigger     inbetween
[12:25] <FreeBoss> thanks
[12:25] <blackflow> FreeBoss: the first line enables sysrq (which is off by default, though controlled by sysctl.conf), and the other two inject the sysrq "commands"
[12:26] <EriC^> what is the meaning of this? https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh
[12:27] <blackflow> EriC^: some weird Azure Scripting Language aka Not Really Bash or Shell,    used to set up and reboot an Azure VM running (I guess) Ubuntu.
[12:27] <EriC^> it says ".sh" at the end though
[12:27] <blackflow> if I understood correctly, but that totally looks like a valid shell script to me.
[12:27] <blackflow> which is weird why `systemctl reboot` wouldn't work, unless there's no systemd running in that environment.
[12:28] <EriC^> yeah but am i missing something? i dont get the point of it
[12:28] <blackflow> 12:51 < FreeBoss> blackflow, so it actually doesn't work. that script didn't work. I'm not running it inside bash, but rather using Azure Custom Script Extension.
[12:28] <sazawal> Hello, I am using Lubuntu 18.10. When I boot the OS, I get some error messages, one being "brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)". Where is the problem?
[12:29] <blackflow> EriC^: apt update, install clamav, setup config, reboot
[12:29] <EriC^> blackflow: oh i see
[12:29] <EriC^> i meant like the whole while ! echo y | stuff
[12:29] <blackflow> like, a clamav appliance or something. doesn't matter what the context is. the question was "how to reboot at the end  of that script"
[12:29] <lotuspsychje> sazawal: you dont have internet yet?
[12:30] <blackflow> EriC^: honestly I wasn't really trying to parse it in my head, except noting the excessive use of sudos
[12:30] <sazawal> lotuspsychje: No, it seems like the Ethernet card is dead. I am using wifi which works.
[12:30] <EriC^> blackflow: nevermind i get it now, it keeps running apt-get update every 5 seconds til it succeeds, makes sense
[12:30] <lotuspsychje> sazawal: allright an the wifi is a broadcom?
[12:31] <sazawal> lotuspsychje: Yes, this I checked in lspci Network Controller
[12:31] <tomreyn> sazawal: this very message you quoted just seems to state that support for the (optional) "quality of service" feature is not yet implemented in this driver.
[12:31] <EriC^> blackflow: the really redundant part is that they have the command inside the while loop too
[12:32] <EriC^> if it runs right there, it'll have to run again for the while condition, and then exit, and it's totally unnecessary, just sleep 5 would be good
[12:32] <sazawal> tomreyn: But isn't Ethernet and Wifi are from different physical cards? I was supposing my Ethernet Card should show up as Ethernet Controller in lspci output
, that sill doesn't work. How can I create a cronjob that will restart VM 10 seconds after I run this command? That would fix it
[12:33] <EriC^> FreeBoss: cron has no idea when you run commands, unless you run the command using cron, then you can use that relativity to run your reboot
[12:34] <blackflow> FreeBoss: if the script isn't running as root, so you use all those sudos, then those echo's won't work. you'll need to     echo 1 | sudo tee /proc/...       and the same for   s     and    b    in the same form
[12:34] <EriC^> cron is just this 'at this time/interval/something run /path/to/this'
[12:34] <blackflow> FreeBoss: sorry it occurred to me just now that it's probably not running as root
[12:34] <EriC^> FreeBoss: where are you running this command from? the ClamAv.sh ?
[12:35] <EriC^> add to that the 10 secs delay, or integrate it into the script itself at the end put sleep 10 && reboot
[12:35] <blackflow> btw there's no cronjob for ten seconds. minimum resolution is 1 minute, and I totally would NOT use a crontab, it's unnecessrily complex.
[12:36] <FreeBoss> Eric^, blacflow, Azure Custom Script Extension executes this script.
[12:36] <tomreyn> seems like a question for ##azure
[12:36] <leftyfb> FreeBoss: cron has no place in this scenario. Do what you were told and make the reboot part of your screen
[12:36] <leftyfb> script*
[12:36] <EriC^> indeed
[12:37] <EriC^> the cron stuff is jibberish, and the script seems poorly written
[12:37] <blackflow> FreeBoss: I don't know what that means, and we can't support that here. I'm telling you from the standpoint of a shell script. I think you're chasing a red herring there. systemctl reboot   MUST work.    if there's no systemd, then just `reboot`.   or use the sysreq to force the kernel into reboot.
[12:37] <FreeBoss> So it runs the script and waits for "success" then it finishes. So .sh script
, how I can do that?
[12:37] <leftyfb> FreeBoss: at the end of your screen, put a sleep 10 and the command to reboot your VM
[12:37] <leftyfb> damnit
[12:37] <leftyfb> script, not scren
[12:37] <blackflow> heh
[12:37] <leftyfb> just woke up :)
[12:38] <blackflow> I thought you were recommending GNU screen there.
, I did add reboot into it and it failed
[12:38] <leftyfb> FreeBoss: ok, then fix that
[12:38] <blackflow> FreeBoss: failed how, tho?
[12:38] <blackflow> the error you get is crucial
[12:38] <EriC^> FreeBoss: can the user running it usually run 'reboot' ?
[12:38] <FreeBoss> Azure Script Extension wait for script to report success, but script restarts vm so it never reports sucess, hence Azure Custom Script Extension waits forever = fail
[12:39] <blackflow> FreeBoss: oh BTW..... did you run that reboot with sudo?  =)
[12:39] <FreeBoss> yes
[12:39] <FreeBoss> I ran
[12:39] <blackflow> FreeBoss: what's teh exact error you got out?
[12:39] <FreeBoss> sudo systemctl reboot
[12:39] <EriC^> FreeBoss: is sudo passwordless?
[12:39] <FreeBoss> blackflow no error. Azure Script Extension waits for sucess forever
[12:39] <FreeBoss> So timeout
[12:39] <leftyfb> FreeBoss: sounds like an #azure problem
[12:39] <blackflow> FreeBoss: how about just    sudo reboot    ?
[12:39] <FreeBoss> I told you, it didn't work
[12:40] <EriC^> FreeBoss: do you use a password with sudo? cause in the script it wont work in that case
[12:40] <blackflow> FreeBoss: okay then try those echoes but    replace  echo 1 > /proc...     with     echo 1 | sudo tee /proc/....            and use the same from for all three lines
[12:40] <sazawal> lotuspsychje: tomreyn Is this error message somehow related to my non-functional ethernet? I found on searching that it is a wifi problem, although my wifi is working.
[12:41] <FreeBoss> Can you look at this? https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh
[12:41] <EriC^> FreeBoss: try running 'id > /tmp/userid' in the script and paste what's in /tmp/userid
[12:41] <FreeBoss> Third command works
[12:41] <EriC^> so it does reboot now?
[12:42] <lotuspsychje> sazawal: check your driver version please? sudo lshw -C network
[12:42] <leftyfb> those echo's aren't going to work unless you're running this script as root. If you're running as root, you don't need the sudo
[12:42] <blackflow> with     echo b | sudo tee /proc/sysrq-trigger     ?
[12:42] <EriC^> FreeBoss: you can add a "u" (unmount all fs) after the "s" (sync) so it's safer
[12:43] <tomreyn> sazawal: the single log line you shared with us so far is definitely related to a broadcom wireless device. if you're trying to make an ethernet device work, you should focus on that instead.
[12:43] <sazawal> lotuspsychje: description: Wireless interface        product: BCM43224 802.11a/b/g/n        vendor: Broadcom Inc. and subsidiaries        physical id: 0        bus info: pci@0000:01:00.0        logical name: wlp1s0b1        version: 01        serial: 20:10:7a:2e:3c:b4        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
[12:44] <FreeBoss> going to sleep 36 hours up and no solution
[12:44] <FreeBoss> Thanks for heklp guys, I'll make it work tomorrow
[12:44] <sazawal> tomreyn: I see. I already gave up my ethernet device. I have an opinion that it is physically dead. So, as long as my wifi works, this error message shouldn't bother me.
[12:44] <EriC^> that tends to happen with phrases like 'it wont work'
[12:45] <EriC^> FreeBoss: no crystal balls here, you need to give any errors etc so people can help you more effectively
[12:46] <tomreyn> sazawal: i don't think it is an error message.
[12:46] <blackflow> FreeBoss: no solution? did the echo | sudo tee   work or not?   I thought you said "third command works"
[12:46] <tomreyn> sazawal: but i agree that you don't need to worry about it.
[12:46] <lotuspsychje> sazawal: im missing: driver=
[12:47] <tomreyn> !paste | sazawal
[12:48] <sazawal> lotuspsychje: Sorry, here is the complete output https://termbin.com/wd96
[12:49] <lotuspsychje> sazawal: try another driver
[12:50] <lotuspsychje> !broadcom | sazawal
[12:50] <sazawal> tomreyn: Yes. I will get back to it if the wifi has problems in the future.
[12:50] <lotuspsychje> sazawal: bcmwl-kernel-source for example
[12:51] <sazawal> lotuspsychje: This is for the wifi driver right? My wifi is working.
[12:52] <lotuspsychje> sazawal: yeah dont play with working things :p
[12:53] <sazawal> lotuspsychje: :P. Although I am of the opinion to play around with working things, but I have enough games with this laptop.
[12:53] <lotuspsychje> sazawal: its your system, you are the boss
[12:54] <sazawal> lotuspsychje: Yes :D, by the way thanks.
[12:54] <sazawal> I will soon get an ethernet to USB adapter and try to make it work.
[13:18] <mustmodify> I'm using lubuntu-desktop. On startup, I want it to automagically go straight to a desktop, open a web browser to a certain URL, and set it to full screen.
[13:18] <mustmodify> Not sure what to google ... can anyone give me some keyword suggestions or ... just tell me what to do? :)
[13:24] <Southern_Gentlem> mustmodify,  google ubuntu autologin then in your browser set that webpage as the home, set full page and save as your session
[13:25] <mustmodify> save as your session...
[13:25] <mustmodify> ok I'll give it a shot. Thanks Southern_Gentlem
[13:27] <Southern_Gentlem> i have been doing the same for years (except the autologin) for Summer Orientation laptops
[13:27] <blackflow> does FF stay in fullscreen next time you start it?
[13:28] <blackflow> I thought one would need a config change or extension for that
[13:28] <blackflow> (aka kiosk mode)
[13:30] <Southern_Gentlem> blackflow, it works for me for years
[13:31] <blackflow> Southern_Gentlem: good to know
[13:38] <metnel> Hi, I have a problem where a video device appear as on lsusb, but does not show a /dev/video*
[13:38] <metnel> It does appear at first, but after a few moments it disappears. A reboot solve the issue, but I  wonder if there is a permanent solution?
[13:46] <freeone3000> Hi, after upgrading my machine to 4.15.0-46-generic I now have about 80ms of typing lag. Anybody know what could cause this?
[13:47] <leftyfb> freeone3000: what version of ubuntu?
[13:49] <freeone3000> leftyfb: 18.04
[13:49] <leftyfb> freeone3000: try installing linux-image-generic-hwe-18.04
[13:49] <leftyfb> that'll give you the 4.18 hwe kernel
[14:03] <adair> hell
[14:03] <adair> hello
[14:04] <adair> how the ubuntu install chrome
[14:12] <kaniki> Hi, I want to encrypt my ubuntu hard disk (when I start my OS I want to get first password of the hard disk and after that the password of ubuntu )
[14:14] <kaniki> is there a way to encrypt my ubuntu after installation (I know during installation I can do that) but now after the installation I want to encrypt it please if you know something help me
[14:16] <ilias_gr> hi all. Could you please advise me if I choose the option to upgrade 16.04.6 to 18.04.2 will this make any changes on my current system's configuration or the whole configuration will remain the same?
[14:16] <leftyfb> !repeat | kaniki
[14:16] <lotuspsychje> !ltsupgrade | ilias_gr
[14:16] <leftyfb> ilias_gr: it depends on the application/service
[14:16] <leftyfb> kaniki: it will be a lot quicker and easier to encrypt during installation
[14:18] <kaniki> leftyfb thank you for your kind reply, The problem is that I'm going to travel today and I know that they will start touching my stuff here in my country I don't trust them this is why I want to encrypt it
[14:18] <ilias_gr> leftyfb: Could you please explain me this? Will the upgrade affect packages configuration storing on /home?
[14:18] <leftyfb> ilias_gr: again, it depends on the application
[14:18] <pragmaticenigma> ilias_gr: Minimal changes will occur to your configuration. Where a new configuration file needs to be installed, you will be prompted if you wish to keep your own configuration or use the new package mantainers version
[14:20] <ilias_gr> OK. Thank you both. Is it an upgrade recommended best than a clean installation or there no difference?
[14:21] <pragmaticenigma> ilias_gr: I would recommend an upgrade, if you don't like how something behaves, then move to a fresh install
[14:23] <ilias_gr> pragmaticenigma: I have kept back 3 packages to avoid upgrade. Is this the reason that my system asks for a full upgrade of current release to proceed with the upgrade to the new distro?
[14:24] <pragmaticenigma> ilias_gr: Yes
[14:24] <freeone3000> leftyfb: Okay, so nvidia-932 had a slight dkms incompatiblity with the 4.18 kernel, but I shimmed the headers to support the old interface and everything's working fine. Thanks for your help!
[14:26] <ilias_gr> pragmaticenigma: thank you.
[14:28] <ceibal_> hola
[14:28] <ceibal_> q onda
[14:29] <ceibal_> hola
[14:30] <pragmaticenigma> !es | ceibal_
[14:44] <markus__> i am having trouble with ubuntu 16. i have dual booted ubuntu with win7 . the ubuntu generating lot of heat to hdd but there is no heating problem on windows.
[14:45] <markus__> hard disk temp goes upto 55 degree under an hour
[14:45] <OerHeks> such temp sounds normal to me
[14:46] <compdoc> thats warm but not very hot for a drive. sounds like you need better cooling
[14:46] <markus__> but it never goes above 45 in windows
[14:46] <markus__> i have installed tlp
[14:46] <markus__> but no benefit
[14:46] <OerHeks> with specs of that drive, you could check with the vendor
[14:46] <leftyfb> markus__: which version of ubuntu? (there is no "ubuntu 16")
[14:47] <markus__> ubuntu 16.04
[14:48] <markus__> Ubuntu 16.04.6 LTS
[14:51] <markus__> i also have edited tlp conf file refering from this answer:https://askubuntu.com/questions/45493/why-is-the-hard-disk-drive-too-hot
[14:52] <OerHeks> markus__, what hdd exactly? sudo hdparm -I /dev/sda | grep Model  # could tell
[14:52] <markus__> Model Number:       WDC WD10JPVX-22JC3T0
[14:53] <markus__> it's western digital hard drive
[14:55] <Angs> I have a decimal IPv4 addr. 168300806 I use online tools that it converts to 10.8.17.6 which is correct, however str prints 6.17.8.10 when I use this fcn inet_ntop( AF_INET, &uint32_ipv4_addr, str, INET_ADDRSTRLEN ); I have just upgraded my ubuntu 16.04 to 18.04. It was working with on 16.04, now it translate on reverse order. Does anyone know how to fix the order?
[14:55] <OerHeks> markus__, WD blue, i found it, sure the temp is normal between 0-60 'C https://www.wd.com/content/dam/wdc/website/downloadable_assets/eng/spec_data_sheet/2879-771437.pdf
[14:57] <pragmaticenigma> Angs: This is not a development channel, please find a channel specific to the programming language that you are using for assistance
[14:57] <markus__> ok let's see if it goes higer than 60  after working long hours
[14:58] <pragmaticenigma> !alis | Angs: To help you search for a channel try:
[15:12] <amcclure> hello
[15:13] <pragmaticenigma> Hello amcclure
[15:28] <AkJung47> how do i prevent par2 or what is causing my par2 unpacking not allowing the other par2 files not extract?
[15:29] <lotuspsychje> AkJung47: whats happening exactly? it stops unpacking?
[15:29] <AkJung47> i unpack my par2, then comes other par2 files and they won't unpack
[15:30] <AkJung47> just about everygame i download has a par2
[15:30] <Roar> Hello Can somebody help about UFW ?
[15:30] <Pici> AkJung47: game?
[15:30] <AkJung47> and apps
[15:30] <AkJung47> videogames.
[15:31] <OerHeks> AkJung47, seems like a borked illegal newsgroup download, not an ubuntu issue
[15:31] <AkJung47> i want itch.io and that's par2 i have like 5 games that's par2
[15:31] <AkJung47> it's legit...
[15:31] <AkJung47> i do not piracy
[15:32] <AkJung47> i extract the itch app then it extract's files like itch-setup.vol000+08.par2
[15:32] <OerHeks> oh oke, pars are usually newsgroup stuff ..
[15:32] <AkJung47> where do i go?
[15:33] <AkJung47> i been searching forums all day
[15:33] <mustmodify> In /etc/pam.d/lightdm-autologin, what does `session required` do? I'm getting 'No session for pid xxxx" -- I'm not sure why I'd want a session, assuming a session is something that stores where windows are and what's in memory. WHen I start, I just want it to autologin then execute a command to open a browser.
[15:33] <lotuspsychje> AkJung47: i had something pypar to auto repair them
[15:34] <AkJung47> i use that and it gives me files like itch-setup.vol000+08.par2 and they don't extract
[15:34] <mustmodify> sorry, it's `session required blblah" like pam_limits.so, etc
[15:34] <AkJung47> they won't even load..
[15:34] <OerHeks> AkJung47, as itch.io is commercial, seek help with their support? they usually give a .zip file, not par
[15:34] <AkJung47> i have the zip i extract that run the file and it is a par2
[15:35] <lotuspsychje> !info pypar2 xenial | AkJung47
[15:35] <AkJung47> where do i get that?
[15:35] <lotuspsychje> AkJung47: seems not on bionic anymore
[15:36] <AkJung47> i have ubuntu gamepack
[15:38] <AkJung47> do you think it's my OS?
[15:38] <lotuspsychje> AkJung47: think your problem is the corrupt archive needing to be repaired
[15:39] <lotuspsychje> AkJung47: and you need something like pypar2 to repair the archive
[15:39] <Roar> fucking assholes
[15:39] <AkJung47> i read that files get corrupted when downloaded and creates par2 i havn't had this problem until i got this OS
[15:39] <Roar> Hello Can somebody help about UFW ?
[15:39] <leftyfb> !op | Roar
[15:39] <AkJung47> fuck this fucking OS
[15:39] <leftyfb> lol
[15:39] <Zewwy> Can someone tell me what I'm doing wrong? I have an HP Elitebook 8570w, I'm installing Ubuntu Server LTS 18.4 it finds my local disk, I create one large partition, and it installs fine, but then when I reboot, it says no boot device found....
[15:39] <lotuspsychje> ..
[15:39] <Zewwy> I attempted changing my boot options in teh EUFI/BIOS to Legacy but that didn't help either
[15:40] <leftyfb> OerHeks: legit games/software do not use pars. He was clearly dealing with illegal downloads.
[15:40] <Zewwy> Also for some reason I get a lot of pixel oddities on teh screen during boot
[15:40] <Zewwy> thoughts suggestions?
[15:40] <leftyfb> Roar: you just offended everyone here that would have been willing to help you. You can leave now.
[15:41] <leftyfb> Zewwy: try reinstalling after changing to legacy
[15:41] <Zewwy> I did
[15:41] <Zewwy> it did the same thing
[15:41] <lordcirth> Zewwy, when you reboot, is your hard drive the first boot device?
[15:41] <Zewwy> Yes
[15:41] <Zewwy> I double checked my boto orer and everything in teh BIOS/EUFI before and after install
[15:41] <Zewwy> and reinstall
[15:42] <Zewwy> I'm at a loss...
[15:42] <leftyfb> Zewwy: do you have any other bootable drives/media in your machine? Try unplugging them and/or disabling all of them in the BIOS and reinstall.
[15:42] <Zewwy> I did
[15:42] <Zewwy> I have no other bootable devices after install
[15:43] <Zewwy> if I load anyother live linux (like GParted Live) it finds the disc fine just liek the live installer does
[15:43] <codefriar> I have a 18.04 server install, and i'm trying to determine what is setting the network configuration? I have a bond setup that was done during install, and I'm trying to creat a bridge to the one eth device thats not part of the bond. I'm used to /etc/network/interfaces but that says it's managed by netplan now. However, none of the ethernet devices show up in in nm-connection-editor ?
[15:43] <Zewwy> BIOS sees the disc everytime too
[15:43] <lordcirth> codefriar, /etc/netplan/*
[15:43] <leftyfb> codefriar: Ubuntu 18.04 uses netplan.io, not /etc/network/interfaces (ifupdown) on a fresh install
[15:43] <lordcirth> codefriar, netplan is not the same as networkManager. NM is not installed on server by default
[15:44] <Zewwy> netplan uses YAML parser
[15:44] <Zewwy> fun stuff
[15:44] <leftyfb> lordcirth: networkmanager was not mentioned
[15:44] <leftyfb> oh, it was
[15:44] <lordcirth> nm-connection-editor
[15:44] <leftyfb> this isn't a server then
[15:44] <leftyfb> it's a Desktop
[15:44] <lordcirth> It could have been installed
[15:45] <lordcirth> codefriar, are you sure it was the Ubuntu Server, not Desktop, iso that was installed? And was it a fresh install of 18.04, or upgraded from 16.04?
[15:45] <Zewwy> so I"m hooped?
[15:46] <leftyfb> Zewwy: there's got to be something you're missing. What if you pick your boot device at POST, can you pick the hard drive?
[15:46] <Zewwy> I didi that tyoo
[15:46] <Zewwy> same thing no boot
[15:46] <Zewwy> why would ubuntu installer not install the boot partition properlly?
[15:46] <leftyfb> Zewwy: try booting a live cd/usb and reinstalling grub
[15:47] <leftyfb> Zewwy: That's not an appropriate question until we find out what is actually wrong
[15:47] <Zewwy> well clearly the boot partition
[15:47] <leftyfb> no, it's not clearly
[15:48] <leftyfb> especially since by default, Ubuntu 18.04 desktop will not create a separate boot partition
[15:48] <Zewwy> who said desktop
[15:48] <Zewwy> I said server, no desktop
[15:48] <leftyfb> on a laptop?
[15:48] <codefriar> lordcirth it was installed as ubuntu server, and I manually installed budgie-desktop through tasksel
[15:49] <leftyfb> codefriar: can I ask why?
[15:49] <codefriar> leftyfb I'm creating the bridge, so I can use virt-manager.
[15:49] <leftyfb> Zewwy: just to be clear, you installed Ubuntu server on a laptop?
[15:50] <leftyfb> codefriar: it should still be using netplan, not the desktop GUI
[15:51] <pragmaticenigma> leftyfb: I run ubuntu server on laptops as well.... a computer is a computer
[15:51] <_alx_> is there a diff tool for binary files? (i'm looking for differences in the headers of tiff files)
[15:51] <leftyfb> pragmaticenigma: yes, but it's not typical. We should verify it either way.
[15:53] <pragmaticenigma> _alx_: No, you could do a hex dump of the two files and then use a diff tool to compare the output
[15:53] <codefriar> leftyfb i edited the yaml file and restarted the service but br0 doesn't show?
[15:53] <leftyfb> codefriar: did you run netplan apply?
[15:53] <codefriar> yes
[15:53] <leftyfb> codefriar: there's documentation for netaplan that you should be following. Especially if you're complex configs like bonding
[15:54] <_alx_> pragmaticenigma: hexdump it is, thank you!
[15:54] <CarlFK> _alx_: kinda guessing about what you are doing - but I would run a tool that extracts the metadata from the tiffs and diff that
[15:55] <CarlFK> _alx_: here is a nice bash trick: diff  <(pdftotext ndv_19_pytx_v1.pdf -) <(pdftotext ndv_19_pytx_v2.pdf -)
[15:55] <Zewwy> leftyfb: correct, sorry had to help someone
[15:55] <leftyfb> codefriar: https://netplan.io/examples#configuring-network-bridges
[15:55] <pragmaticenigma> CarlFK: They need TIFF support though
[15:56] <CarlFK> _alx_:  once you figure out 2 commands to display something:  diff  <(cmd1) <(cmd2)
[15:56] <lordcirth> codefriar, installing budgie probably pulled in network manager. You should disable it.
[15:56] <leftyfb> Zewwy: ok, by default, Ubuntu server 18.04 does not create a separate /boot partition.
[15:56] <_alx_> CarlFK: it's fine, i'm building a cstruct of the full header :)
[15:56] <codefriar> lordcirth re-running netplan apply seems to have worked.
[15:56] <Zewwy> hmhmmm, I used this same image to pin up a VM and it worked fine?
[15:57] <leftyfb> Zewwy: image?
[15:57] <Zewwy> Also when i went through the installer, when it got to the part on creating the paritions it did show a Grub partition
[15:58] <leftyfb> Zewwy: by default, Ubuntu server 18.04 does not create a separate /boot partition. If you have an EFI system, it will create an EFI partition. But not a "Grub" partition.
[15:58] <Zewwy> go on
[15:58] <Zewwy> cause the VM I installed this image on was setup to use EFI and it worked fine
[15:59] <Zewwy> I'll install this same image on a different laptop using an ssd
[16:01] <leftyfb> Zewwy: on the machine in question, are you choosing the entire drive to install to or are you trying to setup some manual config?
[16:09] <Zewwy> Clean drive (no data or parition data) use entire drive
[16:09] <Zewwy> doing the whole install again on a different laptop with an SSD
[16:09] <Zewwy> not getting the pixle oddities on this one, but install is going through the exact same so far
[16:10] <Zewwy> Ubuntu-Server-18.04.2-live-amd64
[16:11] <Zewwy> same proble,
[16:12] <James_Epp> Hey folks. I'd like some advice. I want to create an ubuntu installation flash drive, but not with a simple dd. I'd like the end result to be an MBR flash drive, with a ~2.5GB partition with the files of the ubuntu live desktop ISO, leaving space for other data partitions. My main hang-up is the bootloader. Are there existing guides on this topic?
[16:13] <leftyfb> James_Epp: why do you care about an MBR?
[16:13] <Zewwy> legacy boot would be my guess
[16:13] <James_Epp> leftyfb: So that both BIOS and EFI systems can be booted
[16:13] <James_Epp> Zewwy is correct.
[16:13] <Zewwy> ooo what ashocker
[16:13] <James_Epp> :^)
[16:13] <Zewwy> i just wish server 18.04 would boot
[16:13] <Zewwy> https://askubuntu.com/questions/1065426/installing-ubuntu-server-18-04-on-old-pc-no-bootable-device
[16:14] <OerHeks> ubuntu iso is hybrid, MBR and EFI compatible.. but you want a persistent part
[16:14] <OerHeks> !persistent
[16:14] <Zewwy> clearly im not the ionly ones whosexperienced it
[16:17] <leftyfb> Zewwy: try 16.04. See if it makes a difference
[16:19] <James_Epp> I forgot about unetbootin honestly. Is this normal? https://i.imgur.com/vztkHmO.png
[16:21] <ioria> James_Epp, sudo QT_X11_NO_MITSHM=1 unetbootin
[16:23] <Zewwy> 90's called they want their issues back
[16:23] <James_Epp> damn, this is way too much work.
[16:24] <Zewwy> I seriously haven't had this many issues booting since EUFI was first introduced, but then I figured it all out, now its all back
[16:24] <James_Epp> Not just that X11 issue, either. New problems.
[16:24] <James_Epp> Zewwy: Same, I'm wondering if it's the fact that now that there's more tools in our belt, we feel the need to take advantage of them, and thus overcomplicate bootup.
[16:24] <Zewwy> leftyfb: even when i go through the guided installation it says it creates a bootloader partition as biod_grub
[16:25] <Zewwy> bios_grub*
[16:25] <ioria> Zewwy, you're trying to use gpt on legacy csm
[16:25] <James_Epp> I also love it when this imaging / crafting software doesn't do synchronous writes.
[16:25] <Zewwy> ioria: My BIOS is set to legacy
[16:26] <ioria> Zewwy, then you nee to wipe the gpt on the disk
[16:26] <James_Epp> You can boot a GPT disk on a BIOS machine just fine. It depends on the motherboard, but it's absolutely do-able.
[16:26] <Zewwy> afaik I can tell even when I was set to EUFI csm it was not booting
[16:27] <Zewwy> ioria: you're telling me the installer doesn't know whichh mode the BIOS is in Legacy/UEFI and parition the disk accordingly?
[16:27] <Zewwy> I have to manually do this, and as far as I can tell going thorugh teh guided installation there no option for me to pick?
[16:27] <ioria> Zewwy,  if you provide some infos ... like sudo parted -l
[16:27] <Zewwy> where in teh installatio ndo I say Legacy partitions or the bootloader? the primary ption is otherwise just ext4
[16:28] <ioria> Zewwy,  paste sudo parted -l
[16:28] <Zewwy> the guided install aagin shows me the bootloader partition is bios_grub
[16:28] <Zewwy> I can't even get in bro
[16:28] <Zewwy> it won't boot
[16:28] <Zewwy> how can I give you that unless I run another linux live and mountt hat disc
[16:29] <James_Epp> brb, rebooting to see if this even works.
[16:29] <ioria> Zewwy,  yep, that way
[16:29] <ioria> Zewwy,  and you don't need to mount
[16:30] <Zewwy> Plewase boot Ubuntu
[16:30] <Zewwy> Please!
[16:30] <Zewwy> cmon this is driving me nuts
[16:31] <Zewwy> https://ubuntuforums.org/showthread.php?t=2397555
[16:31] <Zewwy> "My experience has always been that if you don't boot the live disk in Legacy mode, but in UEFI mode, the installation will fail, since grub will not install, making the system unbootable. That's what I learned from some frustrating installation attempts."
[16:32] <Zewwy> frustrting alright
[16:33] <OerHeks> Zewwy, so that elitebook has UEFI ?
[16:33] <Zewwy> yup
[16:33] <OerHeks> install in uefi mode then ..
[16:33] <Zewwy> both my crappy old laptops do
[16:33] <Zewwy> I did same problem
[16:33] <Zewwy> jesus
[16:34] <OerHeks> some UEFI bios versions require a password set, or a special manuall enable in the bios to trust the ubuntu uefi part
[16:34] <ioria> especially Acer
[16:34] <Zewwy> yeah I wasreading that on that other form a shared
[16:35] <Zewwy> but way more work then I'm willing to go through leegacy should work
[16:35] <Zewwy> I'm HP laptops
[16:35] <Zewwy> acer just happene to be teh ops ssytem
[16:35] <Zewwy> I'm going to try the alternate installer
[16:35] <ioria> http://cdimage.ubuntu.com/releases/18.04/release/
[16:36] <Zewwy> yup
[16:36] <Zewwy> already there :P
[16:36] <Zewwy> I've never had such a hard time installing an OS since liek Windows 95
[16:36] <Zewwy> for reals
[16:37] <leftyfb> Zewwy: we get it. Please keep the conversation to troubleshooting as opposed to ranting.
[16:38] <Zewwy> So why is legacy install not workign for me?
[16:39] <ioria> if you don't provide infos, we cannot know
[16:39] <leftyfb> Zewwy: Maybe try booting a live environment that will allow you to wipe the GPT bit
[16:39] <leftyfb> then try the install again
[16:40] <leftyfb> maybe there's some weird GPT/partition flag that isn't getting cleared with the installer
[16:41] <Zewwy> leftyfb: I did that 100 times I use gParted Live to wipe the partition clean
[16:41] <Zewwy> I'm booting gparted live now and I'll run the requested ingfo
[16:41] <OerHeks>  HP Elitebook 8570w .. all guides say to boot with nomodeset, not sure that applies to server too...
[16:41] <Zewwy> what is that?
[16:41] <leftyfb> OerHeks: irrelevant
[16:42] <leftyfb> OerHeks: it's not even getting to a boot loader
[16:42] <leftyfb> Zewwy: tried straight sfdisk?
[16:42] <Zewwy> alright one sec and th egparted live should be up
[16:42] <OerHeks> oke, than i blame no password on uefi for that elite book
[16:42] <Zewwy> it shoudl work on Legacy!
[16:43] <Zewwy> ignore EUFI
[16:43] <Zewwy> gparted shows /dev/sda1 grub2 core.img
[16:43] <Zewwy> typbios_grub
[16:43] <Zewwy> type grub_bios
[16:43] <leftyfb> core.img?
[16:44] <Dice> I keep trying to remove the password for one of my users on Ubuntu 18.04 with the command "passwd --delete username" and I get the message "passwd: password expiry information changed." but the user still requires a password
[16:44] <Dice> what is the issue?
[16:45] <leftyfb> Dice: local or remove(ssh) login?
[16:45] <Zewwy> pasting parted -l
[16:45] <Dice> ssh login
[16:45] <leftyfb> Dice: use ssh keys
[16:45] <Dice> I don't know what you mean
[16:46] <leftyfb> Dice: DO NOT allow users to login via ssh with no authentication
[16:46] <Dice> oh, I misunderstood your question then
[16:46] <Dice> it's a local user
[16:46] <leftyfb> Dice: you said ssh login
[16:46] <leftyfb> Dice: how are they logging in?
[16:46] <Dice> I know
[16:46] <leftyfb> Dice: ok, then use ssh keys if you don't want to prompt for a password.
[16:46] <Dice> like I said, I misunderstood your question
[16:47] <Dice> it's a local user that does not need ssh login
[16:47] <Zewwy> and wants to login without a passwortd?
[16:47] <leftyfb> Dice: what version of ubuntu?
[16:47] <OerHeks> set that user to autologin?
[16:47] <Dice> 18.04
[16:47] <leftyfb> ^
[16:47] <leftyfb> Dice: server or desktop?
[16:48] <leftyfb> Dice: https://websiteforstudents.com/setup-user-to-automatically-logon-to-ubuntu-18-04-lts-beta-desktop/
[16:48] <leftyfb> for desktop
[16:48] <leftyfb> Dice: for server .... don't
[16:48] <Dice> I want the user to run a software automatically on the machine, so that's why I want to remove the password
[16:49] <leftyfb> Dice: look at the link I gave you
[16:49] <Dice> I only have access to it through ssh
[16:50] <leftyfb> Dice: use X forwarding
[16:50] <leftyfb> run gnome-control-center user-accounts
[16:50] <leftyfb> run: gnome-control-center user-accounts
[16:50] <Dice> will this work if I want to run a certain script as that user?
[16:51] <OerHeks> if that script requires NO sudo ..
[16:55] <Zewwy> k, tried something different in GParted live, i'll see if this works..
[16:55] <abdulhakeem> Trying to access phpmyadmin on my Ubuntnu server, I have php-mbstring installed, yet it keeps telling me mbstring is missing. What am I missing here?
[16:56] <abdulhakeem> if it matters, I'm accessing my server via DDNS domain, I currently have a Wordpress site installed as a virtual host in Apache
[16:56] <abdulhakeem> so if I go to my domain, it loads the Wordpress site, but if I go to mydomain/phpmyadmin, it gives me the missing mbstring error
[16:56] <leftyfb> abdulhakeem: what version of ubuntu?
[16:56] <Zewwy> did you enable the mod in apache?
[16:56] <abdulhakeem> Server 18.04
[16:56] <leftyfb> abdulhakeem: can you pastebin the exact error message?
[16:57] <Zewwy> from what I can tell you installed the packages, but you didnt' enable the mod in ppache?
[16:57] <abdulhakeem> "The mbstring extension is missing. Please check your PHP configuration."
[16:57] <Zewwy> sounds like it hasn't been proerply enabled
[16:57] <Zewwy> or ocnfiguerd
[16:58] <teward> abdulhakeem: apt-get install php-mbstring
[16:58] <Zewwy> he said he did that
[16:58] <teward> abdulhakeem: if you're using Apache, then sudo systemctl restart apache
[16:58] <abdulhakeem> hmm okay I thought I had to manually enable but forum posts implied it would be automatically enabled after restarting apache
[16:58] <abdulhakeem> yeah php-mbstring is installed
[16:58] <Dice> I have this command: "screen -dm -S nameofscreen /path/to/script.sh" that I want to run as a certain user in one line, how would I manage this?
[16:58] <teward> huh ,it should've autoinstalled.
[16:58] <teward> I came in a second too late I guess.
[16:58] <abdulhakeem> how do I manually enable it?
[16:59] <Zewwy> for me I found I usually have to enable extras in apache
[16:59] <Zewwy> a2en mod something
[16:59] <abdulhakeem> sudo a2enmod php-mbstring?
[16:59] <teward> a2enmod won't load PHP subplugins
[16:59] <Zewwy> something like that I can't remember off hand
[16:59] <teward> that's handled at the PHP configuration level IIRC
[16:59] <abdulhakeem> The mbstring extension is missing. Please check your PHP configuration.
[16:59] <abdulhakeem> oops
[16:59] <Zewwy> ohh
[16:59] <abdulhakeem> ERROR: Module php-mbstring does not exist!
[16:59] <abdulhakeem> thats what I meant^
[17:00] <abdulhakeem> do I need to edit something in php.ini perhaps?
[17:00] <teward> abdulhakeem: sudo phpenmod mbstring
[17:00] <teward> ?
[17:00] <Zewwy> again seems liek your just missing a configuration step
[17:00] <teward> then restart Apache again
[17:00] <abdulhakeem> yeah thats what it seems but based on forum posts with the same error, they all said simply installing php-mbstring and restarting apache solved it
[17:00] <abdulhakeem> like the enabling was automatic or something
[17:00] <nacc> abdulhakeem: what version of ubuntu?
[17:00] <abdulhakeem> Server 18.04
[17:01] <nacc> abdulhakeem: apt-cache policy php-mbstring phpmyadmin
[17:01] <nacc> abdulhakeem: in a pastebin
[17:02] <Zewwy> I'd give to server a good ol reboot :P
[17:02] <abdulhakeem> tried that too
[17:02] <Zewwy> oh alrighty then
[17:02] <abdulhakeem> sudo phpenmod mbstring returns this: WARNING: Module mbstring ini file doesn't exist under /etc/php/7.2/mods-available
[17:02] <abdulhakeem> but I'm actually running php7.3 now
[17:02] <nacc> abdulhakeem: then you're not on 18.04
[17:02] <abdulhakeem> also /etc/php/7.2 and 7.1 still exist on my system
[17:02] <Zewwy> the mystery deepens
[17:02] <nacc> abdulhakeem: you've added some external PPAs are not supported h ere
[17:02] <abdulhakeem> definitely am, installed it myself
[17:02] <abdulhakeem> its my home server
[17:03] <nacc> abdulhakeem: 18.04 has 7.2
[17:03] <nacc> abdulhakeem: not 7.3
[17:03] <Zewwy> it would appear your PPA may have upgraded the default php
[17:03] <nacc> more than likely using ondrej
[17:03] <abdulhakeem> hmm I did add a couple PPAs, cant remember what for
[17:04] <abdulhakeem> how do I list PPAs/
[17:04] <Zewwy> sources list
[17:04] <Zewwy> /etc/sources.list IIRC
[17:04] <nacc> abdulhakeem: this is a terrible way to manage a system, btw
[17:04] <nacc> adding PPAs for unknown reasons
[17:04] <abdulhakeem> its my home server its not that serious
[17:04] <nacc> that often leads to totally broken systems
[17:04] <abdulhakeem> its was for installing something I just cant remember what off the top of my head
[17:04] <Zewwy> well if everything was signed and everyone used supported repos I don't think we'd have many apps to work with
[17:05] <Zewwy> The amount of times i find a great open source app and it requries a PPA... almost all the time
[17:05] <ioria> abdulhakeem, ls /etc/apt/sources.list.d
[17:05] <qwebirc76912> Hello
[17:05] <Zewwy> ioria: thanks for correcting me
[17:06] <Zewwy> I wasn't exactly sure :P
[17:06] <Zewwy> sadly even though I setup a msdos initialization on my disk, before runnign ubuntu install I still get boto error on legacy mode
[17:06] <ioria> you can set a ppa in sources.list too
[17:06] <Zewwy> whomp wommm whommomom
[17:07] <gyles19> a rather new ubuntu 18.04 VM self-destructed this morning when unattended-upgrades autoremoved most of the system packages, including the metas.  I've checked the launchpad bug list and don't see anything about this behavior there. Has anyone else experienced this problem recently?
[17:08] <Zewwy> theres unattended upgrades?
[17:09] <abdulhakeem> so the PPAs i added were for cerbot, plex, and ondrej
[17:09] <leftyfb> and people wonder why we don't recommend unattended upgrades
[17:09] <abdulhakeem> but I can't remember what ondrej was for
[17:09] <leftyfb> abdulhakeem: it's for unsupported versions of php
[17:09] <abdulhakeem> hmm so thats probably hte problem
[17:09] <manjaro-user> hi
[17:09] <abdulhakeem> its conflicted between 7.2 and 7.3?
[17:09] <leftyfb> Zewwy: try 16.04
[17:11] <Zewwy> first the alternative insatlelr on a DVD
[17:11] <Zewwy> been using my IODD device, although I don't believe it is teh issue
[17:11] <Zewwy> but try whatever
[17:11] <OerHeks> gyles19, curious, did you have proposed enabled?
[17:12] <gyles19> Let me check.  I didn't build the VM personally but I'm stuck debugging it.
[17:13] <OerHeks> any 3rd party software installed? HWE enabled?
[17:13] <abdulhakeem> oh I think I installed the ondrej ppa because of Nextcloud
[17:13] <abdulhakeem> hmm so what do you do if you have more than one version of php installed
[17:13] <abdulhakeem> sudo apt purge php 7.1* or something
[17:13] <Zewwy> AFAIK you can only run one version
[17:13] <abdulhakeem> I thought it would just update and be fine and dandy
[17:14] <Zewwy> thiongs change in code base all the time
[17:14] <Zewwy> backwards compat is at best
[17:14] <abdulhakeem> one of those tutorial blogs told me to install it
[17:15] <abdulhakeem> damn you Digital ocean
[17:15] <Zewwy> test everything
[17:15] <Zewwy> and have backups
[17:16] <leftyfb> Zewwy: wait, this has been a usb hard drive all along?
[17:16] <Zewwy> no
[17:17] <Zewwy> a USB Virtual CDROM
[17:17] <Zewwy> to install onto regular Sata HDDs on the laptop
[17:17] <BiGSexY> oh thank god
[17:17] <scott_> My printer isn't working with Ubuntu, no idea why, can anyone help?
[17:17] <BiGSexY> this already bodes better than the last server I was in
[17:17] <Zewwy> IODD device lets you add ISO to a fodler and mount them without burning
[17:17] <Zewwy> I saved hundreds of imagine USB times, or burning ISOs thanks to this
[17:18] <scott_> It just says "The printer is not responding" in the printer status page. I'm using IPP and pointed it at the correct IP.
[17:18] <cuso4> hello! I have qutie a big problem
[17:18] <gyles19> OerHeks: proposed is not present in sources.list, but bionic-backports is present, along with the usual -security and -updates repos.  This VM yesterday has salttack.com's repos on it, but it hasn't been connected to our salt environment yet.
[17:19] <gyles19> OerHeks: no HWE on it so far.  Yesterday we installed an eval copy of Redis Enterprise on it.  I looked at the dpkg log on there and didn't see anything unusual there, just installation of some dependency packages.
[17:20] <cuso4> So my archlinux crashed, I therefore needed to make a bootable usb from another computer (running ubuntu on it). When using dd I wrote to the wrote to my main partition instead of the usb....
[17:20] <lordcirth> cuso4, oops :P
[17:20] <cuso4> ooops indeed
[17:20] <lordcirth> Do you have a separate /home ?
[17:21] <cuso4> I do
[17:21] <Zewwy> ben der done dat
[17:21] <Zewwy> loosing data sucks
[17:21] <lordcirth> And do you mean you wrote to the disk (sda) or the partition, sda1?
[17:21] <cuso4> but it seems like it is gone too
[17:21] <cuso4> wrote to sda and it was an partition on sda
[17:21] <cuso4> lordcirth: sda
[17:21] <lordcirth> If you overwrite the first 1GB or so of the disk, the partition table will be gone
[17:21] <Zewwy> if you dont' have backups it maybe gone
[17:22] <lordcirth> The /home filesystem is still intact, you just don't know where it starts
[17:22] <Zewwy> yes photorec
[17:22] <cuso4> exactly
[17:22] <Zewwy> can recover but time consuming
[17:22] <cuso4> it will be worth it
[17:22] <Zewwy> enjoy the 48 hours
[17:22] <cuso4> do you know about any good recovery tools?
[17:22] <lordcirth> cuso4, https://help.ubuntu.com/community/DataRecovery
[17:22] <Airisson> Hello, I used to install rednotebook to take notes. It seems it is no longer included in the official repositories for Ubuntu 18 LTS. Can someone please explain me why / how some packages get maintained or "unmaintained" ? Is it a question of time for the developpers, security? The package is available through a PPA though. So what is the reason it is no longer in the repos? Is this safe to use from ppa?
[17:22] <Zewwy> pretty much photorec
[17:23] <Zewwy> I think it merged with another app/name
[17:23] <lordcirth> photorec shouldn't be needed, as the filesystem is intact
[17:23] <manjaro-user> hi
[17:23] <cuso4> I think I will enjoy that I spent the 48 hours afterwards
[17:23] <manjaro-user> hi
[17:23] <cuso4> thank you lordcirth
[17:23] <lordcirth> manjaro-user, hi
[17:23] <Zewwy> neat
[17:23] <manjaro-user> i am a new one
[17:24] <Zewwy> i am old one
[17:24] <manjaro-user> wanna study something from irc
[17:24] <manjaro-user> or have fun
[17:24] <manjaro-user> thx guys
[17:25] <lordcirth> manjaro-user, you may want #ubuntu-discuss
[17:25] <James_Epp> Basically basically basically it worked but windows sucks at multiple partitions on flash drives, but hey - goal accomplished!
[17:25] <Zewwy> yay
[17:25] <cuso4> lordcirth: what do you suggest instead
[17:25] <gyles19> OerHeks: I've been looking at /var/log/unattended-upgrades, /var/log/apt, and /var/log/dpkg*, and I don't see anything odd in there except for this morning's /var/log/apt/history.log showing that apt-get --assume-yes --purge autoremove blew away about 200 packages, including ubuntu-standard, sudo, all of python, linux* kernels, and packages we manually installed after the installer finished.
[17:25] <JuJUBee> How do I install ubuntu on windows 10 (UEFI)?  I am not getting grub menu for some reason.
[17:25] <lordcirth> cuso4, the parted and testdisk options in the page I sent look promising
[17:26] <lordcirth> JuJUBee, you mean dual boot alongside Win10?
[17:26] <Zewwy> https://askubuntu.com/questions/1050444/a-bootable-device-not-detected-showing-on-first-boot-after-installing-18-04
[17:26] <Zewwy> second answer... wattttt
[17:26] <Zewwy> if this other image works I'mma facepalm
[17:26] <JuJUBee> yes, but I chose the "Something Else" and created /, /home, swap.  Should I install boot manager in different location than /dev/sda ?
[17:27] <lordcirth> Airisson, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=875264
[17:27] <cuso4> lordcirth: reading it right now! thank you for now, will problably be back in couple of minutes or hours, thanks!
[17:28] <JuJUBee> lordcirth, ^^
[17:29] <lordcirth> JuJUBee, if /dev/sda is the drive everything is on, that should work
[17:30] <JuJUBee> lordcirth, hmmm, no grub.  Just win10
[17:30] <gde33> havent used livestreamer in a while, it says this now https://paste.ubuntu.com/p/hc6r29bJHM/
[17:30] <lordcirth> JuJUBee, are you booting with EFI?
[17:30] <JuJUBee> yes
[17:31] <lordcirth> JuJUBee, did you select the EFI partition?
[17:32] <JuJUBee> lordcirth, I think i chose /dev/sda not sda2
[17:32] <JuJUBee> Crud
[17:32] <Airisson> @lordcirth thank you for the information. I see it's been removed > 1 year. Maybe won't come back immediately. Is it safe to use the ppa? Any idea?
[17:32] <lordcirth> JuJUBee, I mean, in the partitioning, you want to use the EFI partition as an EFI partition.
[17:33] <lordcirth> I don't mean to write grub to it in the MBR style, that would break it
[17:33] <Airisson> By the way, how am I supposed to wrt
[17:33] <Airisson> to write to a person, what is the correct syntax (will be searching.... but if someone can tell me in the meantime ;) ... will be great)
[17:34] <Airisson> lordcirth, this way?
[17:34] <lordcirth> Airisson, yes, just including their name highlights them
[17:34] <leftyfb> no
[17:34] <leftyfb> Airisson: type their name (don't space) and hit tab
[17:35] <leftyfb> Airisson: you can even type:  lefty<tab> # and it will complete it for you
[17:35] <Airisson> lordcirth, great thank you. And what about the PPA and future availability of the package? Is there some way to know the planning for a pakage to get included in the repos?
[17:35] <leftyfb> ignore the #
[17:35] <JuJUBee> lordcirth, so just mount the efi as efi and leave grub to /dev/sda ?
[17:35] <Airisson> lordcirth: ah yes, great :)
[17:35] <fleabeard> hello friends! quick question if you don't mind. If I run a small development webserver on my home network behind a router, do I need to worry about installing things like fail2ban and hardening or even disabling ssh at all?
[17:36] <lordcirth> Airisson, if you trust the developers of the software, the PPA should be safe.
[17:36] <cuso4> I don't have an extaernal harddrive, do you think I can write the recovered files directly to my ssh server?
[17:36] <Zewwy> ITS BOOTING
[17:36] <lordcirth> cuso4, yes, if you use sshfs, that should work
[17:36] <lordcirth> fleabeard, do you have any ports forwarded to it? Only port 80/443?
[17:36] <Zewwy> The alternative installer was WAY BETTER
[17:36] <fleabeard> lordcirth, only port 80 on the router
[17:36] <Zewwy> omg finally
[17:37] <Zewwy> i could cry right now
[17:37] <lordcirth> fleabeard, then ssh isn't accessible. Still, it wouldn't hurt. Btw consider using Let's Encrypt to get TLS.
[17:37] <Zewwy> unno whats wrong with the live installer, but it does not install the bootloader to the MBR proeprlly
[17:38] <fleabeard> lordcirth, thanks!
[17:38] <lordcirth> JuJUBee, I don't remember the EFI install prompting for a drive to install grub to. I think that's what /boot/efi is for.
[17:39] <JuJUBee> lordcirth, http://linuxbsdos.com/2016/06/05/dual-boot-ubuntu-16-04-and-windows-10-on-a-pc-with-uefi-firmware/ suggests to install boot loader on efi partition
[17:39] <scott_> Got it working. Had to change from ipp: to socket:
[17:39] <Airisson> lordcirth: OK, thank you. I'm not experimented enough to guess, but I think if the package WAS in an official repo, the dev can be trusted... Right?
[17:39] <legreffier> fleabeard: some sort of auth is a must-have on web-server side is a must, or some IP white-listing...
[17:39] <letterrip> hi all, is there a way to install a package from a previous distro version (cosmic) on a more recent version (disco)
[17:40] <letterrip> or have apt allow that
[17:40] <Zewwy> letterrip: try backport repo?
[17:40] <lordcirth> Airisson, PPAs are hosted by Canonical, but they are not vetted
[17:40] <letterrip> Zewwy - i think you misunderstood the direction i want to go :)
[17:40] <legreffier> letterrip: which package ?
[17:40] <lordcirth> Zewwy, aren't they asking for the opposite?
[17:41] <Airisson> lordcirth: OK, understood. Thanks for your answers. :)
[17:41] <lordcirth> JuJUBee, so it does. Give it a try. Sorry, I haven't done a lot with EFI.
[17:41] <fleabeard> legreffier, not sure I understand. I'm running a small dev wordpress site on my home network and using no-ip dns to make it accessible outside my network.
[17:41] <letterrip> legreffier, http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu
[17:41] <letterrip> but i'm interested in the general principle
[17:41] <Zewwy> unno, from what I know backport repos held old packages for newer distros
[17:41] <letterrip> I have installed it using the software snap interface
[17:41] <Zewwy> but clearly I don't know crap
[17:42] <letterrip> but prefer from a repository
[17:42] <lordcirth> Zewwy, no, backports = newer packages for older distros
[17:42] <Zewwy> weird nice to know
[17:42] <lordcirth> The package is ported backwards, you see
[17:42] <JuJUBee> lordcirth, me either.  I just re-ran the installer and selected "Something Else" again.  I don't see an efi partition here.  msinfo32 under win 10 shows uefi bios
[17:42] <JuJUBee> Im confused.... :(
[17:42] <lordcirth> JuJUBee, what partitions do you see?
[17:43] <JuJUBee> lordcirth, I see a 100MB fat32 and the ntfs along with the new ones I just created.
[17:43] <JuJUBee> SO this suggests a legacy install, /dev/sda should have worked then.?
[17:43] <lordcirth> JuJUBee, the 100MB fat32 coud be an EFI partition. Is there any other info about it?
[17:44] <JuJUBee> lordcirth, no
[17:44] <JuJUBee> lordcirth, im gonna reboot into win and check the parts...
[17:44] <lordcirth> Yeah, do that
[17:45] <Zewwy> interesting MS EUFI bootloader deos use fat32
[17:45] <Zewwy> how strange
[17:46] <lordcirth> Zewwy, all EFI partitions are fat32?
[17:46] <lordcirth> It's part of the spec afaik
[17:46] <OerHeks> that is normal
[17:46] <OerHeks> !uefi
[17:47] <legreffier> letterrip: for android studio you should definitely use the upstream version available here : https://developer.android.com/studio
[17:49] <legreffier> just unzip it somewhere in your $HOME and run it from the folder you picked (using bin/studio.sh)
[17:50] <legreffier> letterrip: it has many self-upgrading and plugins feature, so you want it to be able to write stuffs in the install directory without getting admin. (you don't want to run anything java-ish as root. ever.)
[17:51] <letterrip> legreffier, well I'm mostly interested in the general principle of allowing apt to install from a prior release version
[17:52] <OerHeks> there is a snap version too
[17:52] <OerHeks> that would give you updates
[17:52] <letterrip> OerHeks, yes I've installed the snap version
[17:52] <letterrip> OerHeks, but again I prefer managing via apt where possible, and again general principle - not android studio specific
[17:54] <legreffier> i get your point , but these cross-platform java blobs are the exceptions :]
[17:55] <JuJUBee> lordcirth, so I do have efi part and I reinstalled ubuntu 18 selecting sda2 as the boot loader and still boots directly into wind10
[17:56] <lordcirth> JuJUBee, and the EFI is set to boot from what?
[17:56] <JuJUBee> lordcirth, what do you mean?
[17:56] <letterrip> legreffier, so with the exception of android studio :)
[17:57] <Zewwy> JuJUBee: wouldn't you have to allow the installer to overwrite the MS bootlader info with grubs?
[17:57] <lordcirth> JuJUBee, the EFI on the motherboard, what is it's boot order?
[17:57] <letterrip> legreffier, would i simply use pinning?
[17:57] <JuJUBee> lordcirth, ah, let me check
[17:57] <Zewwy> lordcirth: I'm going to assume there's only one bootable hdd in the machine?
[17:57] <letterrip> (read about it but haven'y played with it)
[17:57] <lordcirth> Zewwy, JuJUBee EFI can set to boot from specific files in the EFI partition
[17:58] <lordcirth> So you can install grub to /boot/efi, and make it default, but the motherboard can still boot windows directly.
[17:58] <Zewwy> yeah
[17:58] <legreffier> letterrip: just use the .tar.gz from their site :)
[17:58] <legreffier> that's how I did it...
[17:58] <Zewwy> lordcirth: but once you select Windows from grub, right?
[17:58] <Zewwy> not just skipping grub
[17:58] <lordcirth> Zewwy, no, the motherboard loads the windows bootmgr directly, no grub
[17:59] <JuJUBee> lordcirth, in bios, UEFI has Windows Boot Manager first, but only other choices are usb cd and usb hd
[17:59] <letterrip> legreffier, no - not for android studio, I mean generally stuff managed by apt - where the package manager hasn't built for disco
[17:59] <letterrip> or whatever bleeding edge
[17:59] <lordcirth> JuJUBee, ok, so that's the problem
[17:59] <Zewwy> lordcirth: wouldn't you have to overwrite that with grub, and then write an entry in grub that points to the windows bootmanager/ partition?
[18:00] <lordcirth> Zewwy, I'm talking about settings stored in the motherboard's NVRAM
[18:00] <Zewwy> or does windoes bootmgr allow booting linux now?
[18:00] <lordcirth> Zewwy, actually you can do that, but that's not what I'm talking about
[18:00] <JuJUBee> Zewwy, missed your input, sorry.
[18:01] <lordcirth> I was saying that his motherboard could be set to load bootmgr directly, not just whatever is in the EFI partition
[18:01] <Zewwy> yeah so you can do that, but that's not what you are talking = I'm totally lost now lol
[18:01] <Zewwy> but how to you even change that in the EUFI/BIOS?
[18:01] <Zewwy> I've never seen options to set anythign liek that
[18:01] <JuJUBee> Zewwy, I have a uefi installed windows 10.  I wanted to install ubuntu 18 as dual boot.
[18:02] <Zewwy> JuJUBee: I know, I just don't get what the problem is right now
[18:02] <lordcirth> Zewwy, it's usually just a drop down menu, just like selecting boot device was in BIOS
[18:02] <Zewwy> lordcirth: weird I've never seen that before
[18:02] <JuJUBee> I tried installing boot manager on /dev/sda (no grub boot menu) and /dev/sda2 (also no grub boot menu)
[18:02] <Zewwy> I didn't think the mobo firmware was aware of what was inside an HDD
[18:02] <legreffier> letterrip: frankly I have no definitive rule for this... if the ppa is well maintained it'll usually have a well-tested package available when I upgrade my distro. snap is getting better and better. and on some case... i'll just build it from source (but i won't install it... just running it from the src folder), if install is mandatory checkinstall is good stuff to make a quick&dirty (but easy to
[18:02] <JuJUBee> Zewwy, sda2 is my efi partition
[18:03] <legreffier> remove) .deb package
[18:03] <lordcirth> Zewwy, in EFI it can be, yeah. It's stored as partUUID/bootfilename
[18:03] <Zewwy> interesting..
[18:03] <letterrip> legreffier, ok, thanks for the hints
[18:03] <legreffier> But i won't usually need the very bleeding edge...
[18:03] <lordcirth> Which is neat because you can move your boot drive to a different slot and it still works
[18:03] <lordcirth> Or even image it to a new drive
[18:03] <Zewwy> how does JuJUBee set this?
[18:04] <letterrip> legreffier, yeah i generally avoid source building unless i'm contributing or need the true bleeding edge
[18:04] <lordcirth> Well, apparently only Windows is showing up, which is odd
[18:04] <Zewwy> well yeah, how does the installer add that entry to the EUFI?
[18:04] <Zewwy> some magic api?
[18:04] <JuJUBee> Zewwy, lordcirth I don't see anything in bios that allows me to select anything other than Windows Boot Manager under EFI
[18:05] <lordcirth> Zewwy, yes, there are tools to change that from inside the OS
[18:06] <lordcirth> Troubleshooting over IRC is hard, though...
[18:06] <Zewwy> intersting....
[18:06] <Zewwy> I did not know that
[18:07] <Zewwy> so can JuJUBee manually create such an entry in teh EUFI?
[18:07] <Zewwy> I mean I'd imgine troubleshooting a failed api call from an instalelr would be
[18:07] <Zewwy> tough?
[18:07] <Zewwy> UEFI*
[18:07] <Zewwy> I keep screwing that up
[18:08] <Zewwy> or would my option to replace it all togetehr and let grub manage it be better suited?
[18:14] <JuJUBee> Zewwy, lordcirth is it possible my ubuntu installer is not an efi installer?
[18:23] <lordcirth> JuJUBee, the normal Ubuntu iso supports booting both ways. However, it's possible that it's booting in BIOS mode.
[18:25] <Zewwy> well i dont like the live installer
[18:25] <Zewwy> it was causing boot issues (legacy) till i booted and ran the alternative installer
[18:26] <Zewwy> for my needs was way better and the guided was much better at prompting specific parts
[18:27] <Zewwy> also it was offline install capable, bonus
[18:27] <JuJUBee> lordcirth, how do I know which way it booted?
[18:28] <Zewwy> thats what id like to know... when i boot linux version like fedora i can insantly tell which version its loading Bios or Uefi
[18:28] <lordcirth> JuJUBee, well, if you boot into the liveCD, and press Ctrl-Alt-F2, you will get a tty. Then 'ls /sys/firmware/efi'
[18:28] <lordcirth> If it exists, you're in EFI mode
[18:29] <lordcirth> Pretty sure that works in the livecd...
[18:29] <Zewwy> JuJUBee: let me know wbich you are in, and how to change
[18:29] <Noisette> iche
[18:29] <Zewwy> if that suggestion does work for you
[18:31] <Zewwy> Im on lunch but ill try that on my laptop with the live installer to see which it runs
[18:32] <letterrip> hi, when I try and upgrade to the latest libsnmp30 it says https://pastebin.ubuntu.com/p/bx2Vq9JNGD/
[18:33] <lordcirth> letterrip, what Ubuntu version, and have you done an 'apt update && apt upgrade' recently?
[18:33] <letterrip> if i then check the current version it is https://pastebin.ubuntu.com/p/5yYGQFVWqs/
[18:33] <letterrip> lordcirth, disco
[18:34] <letterrip> lordcirth, from the dpkg it looks like the stuff installed meets the requirements
[18:34] <letterrip> or am i misreading?
[18:34] <lordcirth> letterrip, disco isn't released yet. go to #ubuntu+1
[18:34] <letterrip> lordcirth,
[18:34] <letterrip> ok
[18:35] <JuJUBee> Zewwy, lordcirth rebooted from live via bios boot menu.  This time I made sure to select UEFI verison of my usb stick.  Got error /boot does not exist.  Finished booting anyway and /sys/firmware/efi does exist.
[18:35] <lordcirth> JuJUBee, ah, good. Try running through the installer again. Make sure to select the efi partition as /boot/efi.
[18:36] <JuJUBee> lordcirth, what about location for boot manager?  /dev/sda or sda2 (the efi part)
[18:36] <letterrip> lordcirth, thanks for the pointer
[18:36] <lordcirth> JuJUBee, as per that guide, sda2, it seems
[18:45] <JuJUBee> thanks lordcirth & Zewwy we have liftoff.
[18:45] <lordcirth> JuJUBee, awesome!
[18:45] <JuJUBee> Must have been that the usb was not booting in efi mode.
[18:46] <JuJUBee> Of course, now I have to reinstall windows since I must have checked off format when I opted to mount that on /WINDOWS.  DOH!
[18:47] <lordcirth> lol oops
[18:50] <qwebirc77827> Anyone able to help a linux noob before he puts his head through the desk
[18:50] <qwebirc77827> Woke up this morning and tried to bring my computer out of sleep
[18:51] <JuJUBee> lordcirth, no biggie, just a lab machine.  Nothing important
[18:51] <qwebirc77827> When nothing responded I hit the reset button and made some coffee
[18:51] <qwebirc77827> Came back and the screen was black
[18:51] <qwebirc77827> Reset again, and selected advanced options
[18:52] <blackflow> ur dun goof'd
[18:52] <qwebirc77827> none of the kernels all of the kernels locked up right after Loading initial ram disk
[18:52] <qwebirc77827> When I choose recovery mode it takes me into the initramfs cmd pmt
[18:53] <leftyfb> qwebirc77827: boot a live cd and check for drive errors with the disk util
[18:54] <qwebirc77827> with the error Alert! /dev/mapper/xubuntu--vg-root does not exist
[18:55] <lordcirth> Yup, livecd and check that your hard drive is still working
[18:55] <qwebirc77827> blkid shows my listed as sdc2
[18:55] <lordcirth> If it is, try to load the lvm lv
[18:55] <leftyfb> qwebirc77827: is this thing on?
[18:56] <qwebirc77827> I was in the livecd earlier and managed to chroot into the drive with out any issues and ran an update
[18:56] <Zewwy> JuJUBee: what did you do differently? theres different boot options on the live installer?
[18:57] <leftyfb> qwebirc77827: run a check using the drive util application
[18:57] <qwebirc77827> okay will do thx
[18:57] <qwebirc77827> anything special since its an ssd?
[18:57] <leftyfb> no
[18:57] <leftyfb> it'll go quicker
[18:57] <qwebirc77827> kk thx you
[18:58] <lordcirth> Zewwy, If I understand correctly, JuJUBee selected the EFI mode boot in the EFI boot menu
[18:59] <Zewwy> i dont get it, for.instance if i boot fedora and have legacy selected in my bios i get a bios boot version of fedora, if i pick UEFI i get aUEFI boot thpe from fedora
[18:59] <Zewwy> i never have to pick, it knows which to. oot
[18:59] <Zewwy> boot
[18:59] <JuJUBee> Zewwy, I made sure to do a boot menu (HP = F9) during boot and selected the UEFI -> USB not the Legacy -> USB
[19:00] <JuJUBee> For some reason I was not getting uefi even though my bios was set to uefi
[19:00] <Zewwy> JuJUBee:on my machine i cant pick unless i change my boot allowed UEFi with CSM orlegacy
[19:01] <lordcirth> Zewwy, many default to EFI with legacy compat
[19:01] <Zewwy> if its UEFI and i put in a bootable device it wont boot unless it supports UEFI
[19:02] <lordcirth> Yeah, many have an EFI program that emulates BIOS
[19:02] <lordcirth> Which often causes more confusion than it does convenience.
[19:02] <Zewwy> well unno why i couldnt boot in UEFI but alternate installer on legacy work d for.me
[19:03] <Zewwy> we all have inning in different ways
[19:03] <Zewwy> winning*
[19:05] <sIbOk> Hi, running apt-get upgrade directly from ssh i got a sshd broken pipe so apt processes got paused on background https://pastebin.com/LLWTKJFq I'm wondering if anyone knows how could i bring to foreground or to continue the updating process, I saw a ncurses screen waiting for my input before sshd got the broken pipe. Thanks :)
[19:07] <blackflow> sIbOk: you can't. you must kill the process and start again, but this time (and every other time you do something over ssh) run in tmux or gnu/screen
[19:07] <sIbOk> blackflow i use to run on screen but this time... thx :)
[19:07] <JuJUBee> gotta run, thanks Zewwy & lordcirth
[19:08] <sIbOk> blackflow do you know a way to kill child process from dpkg? like post-install scripts, ncurses dialogs, etc?
[19:08] <lordcirth> JuJUBee, you're welcome
[19:08] <blackflow> sIbOk: nah just kill them by pid
[19:08] <sIbOk> ok
[19:16] <Zewwy> lordcirth: you think it might be cause of my IODD Device?
[19:16] <qwebirc36487> New Linux user - installed Ubuntu, installed Nvidia drivers, now, I can't see the GUI - I can log in via the startup console and switch to Ctrl Alt F7, but it's just an empty console. I have reinstalled ubuntu-desktop and unity, updated, and configured dpkg to use lightdm
[19:16] <qwebirc36487>  Any ideas?
[19:17] <lordcirth> Zewwy, no idea
[19:17] <Zewwy> lordcirth: when you create a USb or DVD bootable image from the source you dont' have to select UEFI boot or BIOS boot when creating the botoable image do you?
[19:17] <lordcirth> Zewwy, no, it works for both
[19:17] <Zewwy> that's what i figured
[19:17] <lordcirth> qwebirc36487, what Ubuntu version?
[19:17] <qwebirc36487> 10.04
[19:18] <lordcirth> qwebirc36487, you sure about that?
[19:18] <qwebirc36487> 18.04* whoops
[19:18] <lordcirth> lol ok.
[19:19] <qwebirc36487> Just checked: 18.04.2 LTS
[19:19] <lordcirth> qwebirc36487, what GPU do you have, and how did you install the nvidia drivers?
[19:20] <Zewwy> lordcirth: it must have been my BIOS settings
[19:20] <qwebirc36487> 1070, hmm, I used the recommended (418) from ubuntu-drivers devices. I then installed that driver directly + and dependency is said was not yet met. (Purged all Nvidia drivers first)
[19:20] <Zewwy> I set them back to facotry reset, and when i booted the live installer it was different
[19:21] <Zewwy> like how fedora shows differently for UEFIO and BIOS
[19:21] <Zewwy> I'm gonn arun the installer again, I think this time it will boot
[19:21] <Zewwy> using th elive installer
[19:21] <Zewwy> and EUFI
[19:24] <lordcirth> qwebirc36487, directly, as in you downloaded the .run from nvidia?
[19:26] <qwebirc36487> Sudo apt-get install nvidia-[something]-418 + whatever dependencies it failed because of
[19:27] <lordcirth> qwebirc36487, ok. And it failed to install?
[19:27] <Zewwy> lordcirth: well sort of, I got a boot loop now hahah
[19:27] <Zewwy> I'll just stick with alternate installer and legacy
[19:27] <qwebirc36487> The 418, yes, but it asked for xserver the xcore (not 100% of the names), so I installed those and then reinstalled the 418 package.
[19:28] <lordcirth> qwebirc36487, /var/log/apt/term.log will tell you what you did
[19:29] <qwebirc36487> Interesting, I booted into recovery and if I enter my password (GUI is showing), it accepts it, then restarts me at entering my password again.
[19:29] <qwebirc36487> I can check
[19:29] <lordcirth> Yeah, that means X is crashing. /var/log/Xorg.0.log
[19:29] <qwebirc77827> leftyfb: ran the Disks utility first time it came back, needing repair, ran the repair and got udisks-error-quark 0 a quick google serach + ssd lead me to this site https://askubuntu.com/questions/924910/errors-when-attempting-to-format-and-partition-ssd/924940 which suggests creating a new partition table with Gparted. WHen doing so it the program tells me I need to unmount the drive before I can continue, but when I run umount 
[19:30] <leftyfb> qwebirc77827: that tells me you could potentially have a bad SSD, or on it's way out
[19:30] <yesh> hey! the guy with the partition problem here, just from a live usb this time, i would like to get my plan approved, since I only has one shot
[19:31] <qwebirc77827> fuck a duck in his sidways cunt
[19:31] <qwebirc36487> Lefty, runs windows without any issues. Wouldn't I have experienced issues before trying to install ubuntu today?
[19:31] <qwebirc77827> that means the whole system is going to have to be tossed
[19:32] <qwebirc77827> 3 ssd I've lost now in as many months
[19:32] <qwebirc36487> Oh, not me, my bad.
[19:32] <Zewwy> lordcirth: update, it would state "Seystem BootOrder not found, Inializing Default. Reset System" wash rinse repeat, but I'f i smashed F9 for boot order, ubuntu did show as an option and selecting it does boot ubuntu
[19:32] <Zewwy> thoughts?
[19:32] <Zewwy> qwebirc36487: lanuage man
[19:33] <yesh> I use dd if=/dev/sda | gzip -1 - | ssh user@hostname dd of=image.gz to send the whole disk to my ssh server, then I I download the disk to my working computer and restore the files I can. and then simply reinstall ubuntu on my broken computer
[19:33] <yesh> or does anyone has a better suggestion?
[19:33] <qwebirc36487> Lordcirth, looking for errors in X
[19:34] <Zewwy> yesh: if you got another USB sisc of larger size just dd your disc to an image file dd if=/dev/sda of=/run/media/live/USB/somefile.img
[19:34] <ogrgkyle> I want a bash one-liner to echo all the *.txt files in a directory.  Something like this: for *.txt in "/myfolder" do echo $filename
[19:35] <yesh> Zewwy: but I don't
[19:35] <Zewwy> shrug, try that I've never done a pipe to gzip pipe to ssh
[19:35] <yesh> Zewwy: otherwise that would ofcourse be the better alternative
[19:35] <lordcirth> ogrgkyle, 'ls *.txt' ?
[19:35] <lordcirth> yesh, use pigz instead of gzip, faster
[19:35] <yesh> Zewwy: https://www.pantz.org/software/dd/drivecopywithsshanddd.html
[19:35] <yesh> got it from this link
[19:35] <qwebirc36487> Is there an issue with running Linux not on an SSD?
[19:36] <Zewwy> well if it works let me know, be a kool trick to add to my collection
[19:36] <lordcirth> qwebirc36487, no, lots of people still run Linux on hard drives
[19:36] <Zewwy> qwebirc36487: no?
[19:36] <ogrgkyle> lordcirth: actually i want to run an ffmpeg command on a folder of videos, without a bash script.  i just want a one liner
[19:36] <lordcirth> Zewwy, you can pipe anything through ssh
[19:36] <qwebirc36487> ... My SSD is close to full, so couldn't use it. Saw some things online related to SSDs
[19:36] <Zewwy> I know I've done SMB shares over SSH :P
[19:36] <yesh> if I understood it correctly I can run testdisk on my copied image later then, right?
[19:37] <Zewwy> if you mount it first
[19:37] <Zewwy> sure why not
[19:37] <lordcirth> ogrgkyle, ls *.txt | xargs -I{} -n1 ffmpeg <options> {}
[19:37] <ogrgkyle> lordcirth: in windows i would do this: for %a in (*.AVI) do (ffmpeg -i "%a" -c:v libx264 -c:a libfdk_aac "%~na.mp4")
[19:37] <leftyfb> qwebirc36487: linux obviously has no issues running on mechanical or solid state hard drives.
[19:37] <Guest86857> Why my name is guest86857, not irina?
[19:37] <leftyfb> !register | Guest86857
[19:37] <Zewwy> ^^
[19:38] <yesh> Zewwy: Is this the preferable way to do it, or would you suggest otherwise?
[19:38] <Zewwy> dd your disc for safe keeping torubleshooting later is a great idea
[19:38] <Zewwy> if you got the time
[19:38] <Zewwy> over ssh it will depend on your bandwiidhth
[19:39] <Guest86857> Ok, sorry, see you
[19:39] <lordcirth> yesh, that is still going to take a while
[19:39] <yesh> lordcirth: I got all night :D
[19:40] <Zewwy> yeap unless its for some reason a really small disc
[19:40] <yesh> wish my luck then!
[19:40] <ogrgkyle> lordcirth: thanks. how do i get the filename variable (without the path)?
[19:40]  * Zewwy knocks on wood
[19:40] <yesh> naah 120 gig
[19:40] <Zewwy> that'll still take a while
[19:40] <lordcirth> ogrgkyle, that's what the {} is
[19:40] <yesh> Counting on a couple of hours, just not sure if it is a wise idea to do it school network
[19:41] <yesh> might be unstable
[19:41] <Zewwy> lol, YOLO
[19:41] <lordcirth> yesh, ssh is encrypted and over tcp, so if it does fail, you will know
[19:41] <Zewwy> lordcirth: I think he's maybe worried about suckign up all the bandwidth
[19:41] <Zewwy> weak IT everywhere
[19:41] <Zewwy> QOS isnt' default
[19:41] <lordcirth> Well, for that you can use trickle
[19:42] <lordcirth> Oh, and using 'buffer' on both ends might help
[19:42] <Zewwy> I like buff
[19:43] <lordcirth> dd if=/dev/sda | gzip -1 - | buffer | trickle <args> ssh user@hostname buffer | dd of=image.img
[19:43] <lordcirth> Something like that
[19:43] <Zewwy> delicious
[19:43] <lordcirth> trickle will cap bandwidth, and buffer will smooth out hiccups
[19:43] <Zewwy> lordcirth: how do I get my boot to work without me pressing f9 and selceting ubuntu
[19:43] <qwebirc36487> Should I just reinstall w/o install nvidia drivers? All I want to do is do a bit of web dev on ubuntu with two external monitors and my laptop in clamshell
[19:44] <yesh> well, I am going to reboot into my other computer
[19:44] <lordcirth> Zewwy, change your default boot in your EFI settings
[19:44] <lordcirth> qwebirc36487, that might be simpler, if you don't actually need the performance. But you should be able to get nvidia working.
[19:44] <ogrgkyle> lordcirth: working, thanks
[19:45] <lordcirth> ogrgkyle, no problem. xargs is great. ffmpeg is already multithreaded, iirc, but for programs that aren't, gnu parallel is also great.
[19:45] <ogrgkyle> okay
[19:45] <Zewwy> lordcirth: there's no option to pick the same stuff like i see when i smash f9
[19:45] <lordcirth> Zewwy, that's odd.
[19:46] <Zewwy> in the UEFI/BIOS I can select devices, not items in a devices EFI bbootloader
[19:46] <qwebirc36487> Well, this is rather annoying. I guess I'll reinstall and try again and hope for the best with no customization.
[19:46] <Zewwy> and that HDD is already top boot device
[19:46] <lordcirth> Zewwy, you may be able to use 'efibootmgr' in Ubuntu to see and edit the boot order.
[19:47] <Zewwy> mhmmm is that avaialble on server (no desktop)?
[19:47] <lordcirth> Zewwy, you may need to install it, but yes
[19:47] <Zewwy> kk thx
[19:50] <Zewwy> UEFI is pretty... pretty... pretty painful when it doesn't work right
[19:51] <Zewwy> https://askubuntu.com/questions/1042747/system-bootorder-not-found
[19:54] <Zewwy> ok mhmmm if I smash f9 I see ubuntu and a select EFI file, and if I hit select EFI file and then the disc, it does eventually see a grub based efi file
[19:54] <Zewwy> and loading that does show me a list of ubuntu and other alternative boot options after
[19:54] <Zewwy> but I can't see them in the dang BIOS
[19:55] <Zewwy> arrrgggg
[19:55] <Zewwy> this HP BIOS is be the death of me
[20:01] <Zewwy> https://josheli.com/knob/2016/11/22/install-ubuntu-on-hp-laptop-with-uefi-and-new-ssd-hard-drive/
[20:01] <Zewwy> first line of this guys blog
[20:01] <Zewwy> It shouldn’t be this hard.
[20:02] <Zewwy> If those tutorials don’t use an HP laptop, they’re useless because HP Bios and firmware is a special kind of hell.
[20:02] <Zewwy> lol
[20:03] <Zewwy> this is my life saver, hes goign over all the same problems I went hrough lol
[20:06] <Zewwy> well pooop
[20:06] <Zewwy> all he does is install from a live desktop version
[20:12] <Zewwy> https://superuser.com/questions/1284392/what-exactly-is-uefi-with-csm-boot-mode
[20:12] <Zewwy> OOOO
[20:13] <Zewwy> so as soon as I factory reset, it went to without CSM so pure UEFI which is why the installer now booted differently
[20:13] <Zewwy> now I think I just have to dink with clearing the secure boot stuff
[20:13] <Zewwy> I feel im so close
[20:14] <Zewwy> That was it!
[20:15] <Zewwy> it booted into Ubuntu itself and its still on UEFI native mode
[20:15] <Zewwy> Time to write up a real blogg explaingn everything
[20:17] <sudo18> ok so i have a problem. i just tried to install the latest drivers for my vid card, which is an amd radeon 7450 on a 4k tv. before the install, i got full resolution, but now i'm stuck in 800 x 600. how do i revert back to what i had before i attempted the driver install?
[20:18] <lordcirth> sudo18, well, what did you do to install the drivers?
[20:19] <sudo18> lordcirth: i installed them via a bash script included in the tarball from the manufacturer
[20:20] <sudo18> as they direct
[20:20] <lordcirth> sudo18, and why did you do that? That's usually not a good idea.
[20:21] <sudo18> lordcirth: because those were the instructions on the manf. site for ubuntu 18.04
[20:21] <ioria> sudo18, please, provide the source
[20:22] <sudo18> https://www.amd.com/en/support/kb/release-notes/AMDGPU-INSTALLATION
[20:22] <sudo18> https://www.amd.com/en/support/kb/release-notes/rn-prorad-lin-18-20
[20:22] <ioria> idt that card is supported from amdgpu-pro
[20:23] <lordcirth> sudo18, well, they mention running 'amdgpu-pro-uninstall'
[20:23] <lordcirth> sudo18, also, their site has a .deb: https://www.amd.com/en/support/graphics/amd-radeon-hd/amd-radeon-hd-7000-series/amd-radeon-hd-7450
[20:23] <sudo18> which i did. to no effect
[20:23] <ioria> only new cards are supported by that
[20:24] <lordcirth> Well, that's why you don't run install scripts if you don't have to. You have no idea what they'll do or how to undo it.
[20:29] <ioria> lordcirth, catalyst won't work on ubuntu 16.04+
[20:31] <Zewwy> condolenses, I always say have a backup, and test on another machine you aren't worries about loosing
[20:34] <Zewwy> VMs use snapshots, and backups, for physical do a dd of yoru drive to an img file
[20:34] <jcotton> you use dd for physical backups?
[20:34] <jcotton> why not tar?
[20:34] <Zewwy> space is not an issue for me
[20:35] <Zewwy> save the cycles, use the space
[20:36] <Zewwy> doesn't mean there aren't other options :D
[20:36] <Zewwy> I was also going to say if you are OK with agents use Veeam free backup
[20:36] <Zewwy> or something for physical but bleh
[20:37] <Zewwy> I don't like agents, and i don't liek vendor lock ins
[20:38] <lordcirth> borgbackup is pretty great
[20:40] <leftyfb> I used rsync and cp -L to build deltas
[20:41] <Zewwy> leftyfb:  nice
[20:42] <leftyfb> I use the same script on 23 machines every night from 2 separate offsite locations. Been running that for over 15 years now
[20:42] <Zewwy> nice! :D
[20:43] <Zewwy> theres a ubuntu social channel?
[20:43] <jeremy31> Zewwy: #ubuntu-offtopic
[20:43] <Zewwy> perfect thx
[20:52] <Zewwy> lame channel
[20:55] <timbozeman> Can I install this package? https://launchpad.net/ubuntu/+source/guake/3.4.0-1 it looks like only 3.0.5 is available in apt
[20:56] <Seveas> that version is for Ubuntu 19.04. You could try installing it on an older version, but it may not work.
[20:56] <lordcirth> timbozeman, do you really need 3.4?
[20:57] <timbozeman> Probably not, but 3.2 has UI  stuff that would be nice
[20:57] <Bashing-om> !latest | timbozeman
[20:57] <lordcirth> timbozeman, well, cosmic / 18.10 has 3.3, so you could upgrade to that.
[20:59] <timbozeman> <3
[21:00] <golanir> hello everyone
[21:00] <gyles19> Does mixing aptitude and apt/apt-get risk leaving the meta packages in weird states?
[21:01] <jcotton> isn't aptitude just another apt frontend?
[21:01] <lordcirth> gyles19, no. It will result in leaving logs in different places, but there shouldn't be any other problems.
[21:03] <gyles19> Hrm.  The VM that I was asking about this morning has been reverted to a post-install snapshot, and that snapshow already has apt-get autoremove prepaired to gut the system, including the ubuntu-server, ubuntu-standard, and ubuntu-minimal meta packages.  It's ready to self-destruct at the first unattended upgrade (using 18.04's defaults for that package.)
[21:04] <golanir> new user in ubuntu, using 18.10 with nvidia 970, in several programs, vlc is one of them the icons are double the size, couldn't find anything on it. anyone can help?
[21:04] <Zewwy> one last thing thats bugging, why is it when I'm at the terminal/console
[21:04] <Zewwy> there's green dots over eveything?
[21:04] <jcotton> screenshot please
[21:04] <lordcirth> gyles19, sounds like something was in flight when the VM was snapshotted.
[21:05] <Zewwy> one sex
[21:05] <Zewwy> sec*
[21:05] <Zewwy> ugh
[21:05] <golanir> i'm on irssi, i don't know how to send image here
[21:06] <jcotton> i meant for Zewwy
[21:06] <bittin> golanir: upload it at http://imgur.com
[21:06] <jcotton> but you could post the  image to imgur and then put the link here
[21:06] <Bashing-om> !oaste | golanir
[21:06] <jcotton> !paste | golanir
[21:06] <Bashing-om> !paste | golanir
[21:06] <Zewwy> https://i.imgur.com/o7UPnsy.png
[21:06] <Zewwy> a liil blurrry
[21:06] <Zewwy> but like that
[21:07] <lordcirth> That's very blurry
[21:07] <gyles19> GOod catch.  My new-hire ignored my instructions regarding snapshots and made this with the VM running.   At this point he gets to delete this VM and start over.
[21:07] <jcotton> yeah uh
[21:07] <jcotton> i can't make anything out
[21:07] <Zewwy> one sec
[21:08] <Zewwy> https://i.imgur.com/Zc6N6tR.jpg
[21:08] <Zewwy> clear enough?
[21:08] <jcotton> yes
[21:08] <jcotton> also that's very ood
[21:08] <jcotton> *odd
[21:08] <Zewwy> so is my life
[21:08] <jcotton> is this just in text mode, or do graphics do this too?
[21:08] <Zewwy> I only have console
[21:08] <Zewwy> no desktop
[21:08] <Zewwy> and its like this right from boot
[21:08] <Zewwy> even the installer was liek this
[21:09] <Zewwy> was painful
[21:09] <lordcirth> Zewwy, I see an IO error there. Are you getting more than one of those?
[21:09] <Zewwy> I was hoping after install it just go away
[21:09] <golanir> here is the screenshot for vlc - https://imgur.com/wchiJno
[21:09] <OerHeks> bad videocard, or cable
[21:09] <Zewwy> Its a laptop
[21:09] <jcotton> doesn't rule out either of those
[21:09] <Zewwy> all other OS boto and show fine
[21:09] <Zewwy> like if I booted legacy
[21:09] <Zewwy> no problems
[21:09] <Zewwy> only in UEFI mode did it do this
[21:10] <lordcirth> Zewwy, anything in dmesg?
[21:10] <OerHeks> "all other os" ?
[21:11] <Bashing-om> Zewwy: ^^ and nother thought - gpu manager reports all happy : /var/log/gpu-manager.log ?
[21:11] <Zewwy> lordcirth: there a lot of output
[21:11] <Zewwy> Bashing-om: let me check
[21:11] <Zewwy> OerHeks: Debian, Windows, etc
[21:11] <Zewwy> GParted Live
[21:12] <Zewwy> Ubuntu Legacy mode
[21:12] <Zewwy> only Ubuntu Server in UEFI is doing this
[21:13] <ogrgkyle> The folder "myfolder" has multiple videos.  Why does this command only encode the first video? ls "/myfolder" | xargs -I{} -n1 ffmpeg -n -i "/myfolder/{}" -vf "format=yuv420p,yadif=0:1:0,scale=640:480:flags=bicubic" -c:v libx264 -crf 20 -tune film -preset slow -c:a aac -b:a 192k "/home/User/Desktop/new/{}"
[21:13] <Zewwy> Bashing-om: such a log file doesn't exists
[21:13] <Zewwy> cause i'm runnign teminal only?
[21:13] <ogrgkyle> This isn't an ffmpeg question; it's a general bash question.
[21:13] <Zewwy> No Desktop
[21:15] <Bashing-om> Zewwy: Got me on that one .. I have yet to look for that file on other than a Desktop system.
[21:15] <Zewwy> sweet prob doesn't exist when I ssh in
[21:16] <Zewwy> screw it
[21:16] <Zewwy> I'll be using it via SSH mostly anyway
[21:16] <Zewwy> thanks guys anyway :P
[21:17] <Bashing-om> Zewwy: :) .. maybe as this is UEFI that "secure boot" plays a part ?
[21:17] <Zewwy> Bashing-om: I don't think so for this one :P
[21:18] <Zewwy> cable or connection is liekly but since its not consistent between OS's I'm going to assume some driver oddity
[21:18] <Bashing-om> Zewwy: Only if proprietary drivers are installed.
[21:18] <Zewwy> nah, all native, but cearly something is going funky only with UEFI Ubuntu server all other instances did not have this oddity
[21:18] <Zewwy> so I'll just keep assuming some driver oddity
[21:22] <ogrgkyle> never mind on the other question
[21:22] <ogrgkyle> why doesn't this echo all AVIs in this folder?
[21:22] <ogrgkyle> for i in "/media/tapes/*.avi"; do echo "$i"; done
[21:23] <leftyfb> ogrgkyle: give an example of a filename that it doesn't echo. Also, what's wrong with ls?
[21:25] <ogrgkyle> leftyfb: that folder contains avi files, and none of them are echoed
[21:25] <leftyfb> for i in "ls /media/tapes/*.avi"; do echo "$i"; done
[21:25] <Zewwy> ^^
[21:26] <Zewwy> syntax makes all the difference
[21:26] <leftyfb> that won't work either
[21:26] <leftyfb> for i in $(ls /media/tapes/*.avi); do echo "$i"; done
[21:26] <Zewwy> ahh yes
[21:26] <leftyfb> or
[21:27] <leftyfb> for i in /media/tapes/*.avi; do echo "$i"; done
[21:28] <ogrgkyle> leftyfb: the second last one, the one with $(ls... , works.  However, every space in a filename is replaced with a new line
[21:28] <ogrgkyle> So the filename "My first encoding test.avi" echoes as three lines
[21:29] <ogrgkyle> four lines
[21:29] <leftyfb> ogrgkyle: IFS=$(echo -en "\n\b") ; for i in $(ls /media/tapes/*.avi); do echo "$i"; done
[21:29] <leftyfb> or, you could just run "ls /media/tapes/*.avi"
[21:30] <ogrgkyle> that works to list the files.  now i'd like to run an ffmpeg command on each file
[21:31] <Zewwy> I think the for loop is to use the file name and path for other purposes ina script?
[21:31] <Zewwy> ah there it is :P
[21:32] <ogrgkyle> I'd like a one-liner as simple as what I use in Windows: for %a in ("myfolder/*.avi") do (ffmpeg -i "%a" -c:v copy -c:a copy "%~na.mp4"))
[21:33] <leftyfb> ogrgkyle: ls /media/tapes/*.avi | xargs -d '\n' ffmpeg -i "%a" -c:v copy -c:a copy "%~na.mp4
[21:33] <Zewwy> so you're trying to convert a bunch of avi's into mp4s?
[21:34] <ogrgkyle> yes
[21:34] <Zewwy> Ah I'd use handbrake personally, but for aonliner
[21:34] <Zewwy> ^^ leftyfb got you covered
[21:35] <ikanobori> Probably something close to `find myfolder -name '*.avi' -exec ffmpeg -i {} ...;` or xargs. Whichever one prefers.
[21:35] <Zewwy> ikanobori: another option indeed
[21:35] <ikanobori> I don't know what %~na does on Windows in combination with for %a in ...
[21:35] <Zewwy> pwd IIRC
[21:35] <leftyfb> find might be better since it's only calling 1 shell process
[21:36] <ikanobori> Ah, thank you.
[21:36] <ogrgkyle> leftyfb: thanks.  why does this not work with a path that contains spaces and parentheses?
[21:36] <leftyfb> ogrgkyle: what I gave you does
[21:36] <leftyfb> ogrgkyle: also, this might be better in #bash. They're smart in there, but verymuch not nice people. So be ready to ignore personal attacks
[21:37] <leftyfb> ^^ and this is putting it lightly
[21:37] <ogrgkyle> ls /media/user/34982BF034CA1FF3/Videos (only on this cpu)/My tapes/*.avi
[21:37] <ogrgkyle> This doesn't work
[21:37] <leftyfb> ah
[21:37] <leftyfb> well, for that just escape the space
[21:37] <ogrgkyle> how?
[21:38] <leftyfb> My\ tapes/
[21:38] <gyles19> Leftyfb: because unix shells in general explode when you embed spaces in filenames. their parsing doesn't expect it.
[21:38] <leftyfb> gyles19: I didn't ask a question to your answer. Also, not really.
[21:38] <Zewwy> leftyfb: What? people are hostle to ignorance... no way lol :P
[21:39] <ogrgkyle> leftyfb: bash: syntax error near unexpected token `('
[21:39] <leftyfb> Zewwy: in there more than I've ever seen. And I've been on IRC since 1993
[21:39] <Zewwy> good to know
[21:39] <leftyfb> ogrgkyle: when trying what command?
[21:39]  * Zewwy hops on bash :D
[21:39] <Bashing-om> ogrgkyle: Remember in linux s space is a delimiter .. such that "only on this cpu" is seen as 4 distict entities unless told otherwise :)
[21:40] <leftyfb> oh, oops, I misread
[21:40] <leftyfb> ls /media/user/34982BF034CA1FF3/Videos\ (only on this cpu)/My\ tapes/*.avi
[21:40] <leftyfb> ok, I'm clocking out for the day
[21:41] <ogrgkyle> leftyfb: thanks
[21:41] <Zewwy> ttyl
[21:42] <gyles19> Sorry, I meant to respond to ogrgkyle.
[21:47] <Br4wdSw0rd> anyone familiar with making bootable windows images from a linux install? i am trying woeusb rn but it is not working... after all the files are coppied it hangs on 'Installing for i386-pc platcorm'
[21:49] <jcotton> might hop over to ##windows, since they frequently reccomend WoeUSB
[21:50] <Jack-JAck> !chan
[21:50] <Jack-JAck> !list
[21:51] <Br4wdSw0rd> OH SHIT IT JUST WORKED!
[21:51] <jcotton> lmao
[21:51] <Br4wdSw0rd> sorry for yelling, idk why or how
[21:52] <Br4wdSw0rd> lesson learned, never use the gui version....
[22:24] <Roey> hi
[22:24] <Roey> I try "pavucontrol" and I see no sound devices
[22:24] <Roey> aside from my monitor's speakers
[22:25] <Roey> (hdmi connection there)
[22:25] <Roey> I want to be able to hear from my headphones.
[22:25] <Roey> I don't get why the system is not finding hte onboard sound device..
[22:25] <Roey> this used to work until I upgraded from 18.04 -> 18.10
[22:25] <Roey> andp robably let it overwrite some config file
[22:25] <Roey> maybe?
[22:27] <Roey> how do I diagnose the cause?
[22:28] <tomreyn> read logs, systemctl -b
[22:28] <tomreyn> sorry i mean journalctl -b
[22:29] <Roey> ahhhh ok, I was looking at the systemctl manpage
[22:29] <Roey> haha
[22:29] <Roey> tomreyn: thanks, doing..
[22:29] <Roey> oh! ok
[22:29] <Roey> one sec
[22:31] <Roey> er.
[22:31] <Roey> I need to reboot
[22:31] <Roey> this list of events since boot is exceedingly long.
[22:31] <Roey> I'll be back
[22:43] <FreeBoss> Hey guys, I need to write a command that will schedule a reboot only once, but 10 seconds after it's rebooted, and I need to use Cron job. Could you help me to find such command, please?
[22:45] <ikonia> just do it as a script, that has an if statement in
[22:45] <Roey> hi again
[22:46] <Roey> ok so I ran it and now I have a 262k log file
[22:46] <Roey> of sytemd
[22:46] <Roey> is there anything you'd like me to search for in this?
[22:46] <rneese> hey guys who do we talktoabout pkg updatesfor arduinoide
[22:47] <rneese> sorry spacebar is dying
[22:47] <ikonia> rneese: what do you mean "update" ?
[22:47] <rneese> they are upto 1.8.8 anditseems1.0.5isallthats in pkgs
[22:47] <ikonia> so you want to do a version bump ?
, I'm linux noob. Could you provide an example of such command?
[22:48] <rneese> need the pkg updated for arm64
[22:48] <ikonia> FreeBoss: why do you need to do this
[22:48] <ikonia> rneese: I'd suggest you log a bug request for the next release
[22:48] <ikonia> rneese: keep in mind though it will have to go through debian then filter down to ubuntu
[22:48] <rneese> ok
[22:48] <FreeBoss> ikonia, I'm performing a simple script using Azure Custom script extension. https://raw.githubusercontent.com/azuretestrepo/UbuntuClamAV/master/ClamAv.sh
[22:48] <ikonia> rneese: once you log the bug, work with the maintainers to explain why it's important to update the package and help them get it done
[22:49] <FreeBoss> I need to restart VM after the script executed.
[22:49] <FreeBoss> However documentation says that "If you have a script that will cause a reboot, then install applications and run scripts etc. You should schedule the reboot using a Cron job"
[22:49] <rneese> ok
[22:49] <ikonia> nothing in that script shows the need for a reboot
[22:49] <FreeBoss> Yes
[22:49] <FreeBoss> So, my question is what would be the command to schedule a cron job to restart VM, but only once, 10 second after such command is executed.
[22:50] <ikonia> FreeBoss: you dont need to reboot
[22:50] <FreeBoss> I do
[22:50] <ikonia> FreeBoss: nothing in that script warrents a reboot
[22:50] <FreeBoss> echo "TCPSocket 3310" | sudo tee -a /etc/clamav/clamd.conf requires a reboot
[22:50] <ikonia> no it doesn't
[22:50] <FreeBoss> for changes to take effect
[22:50] <ikonia> no
[22:50] <ikonia> it requires clamav to restart
[22:51] <ikonia> that script is "bad"
[22:51] <FreeBoss> yes
[22:51] <FreeBoss> How can I restart clamav?
[22:51] <ikonia> just use systemd to restart the service
[22:52] <FreeBoss> How?
[22:52] <ikonia> systmctl restart $service_name
[22:52] <ikonia> systemctl sorry
[22:52] <FreeBoss> Thanks, I'll try
[22:53] <FreeBoss> Is it clamav, clamd, or clamav-daemon? Maybe I have more than 2 services
[22:55] <FreeBoss> Why can't I just restart whole VM instead?
[23:00] <FreeBoss> A simple restart would solve all my problems. What is a command to schedule a cron job to restart VM, but only once, 10 second after such command is executed?
[23:02] <tomreyn> FreeBoss: sleep 10; reboot
[23:03] <tomreyn> FreeBoss: what's different about your taks this time than it was 7 hours ago when you seemingly asked the same here?
[23:03] <ikonia> FreeBoss: because it's bad to reboot the box for this
[23:03] <ikonia> it takes 2 seconds to restart the service and requires no logic
[23:04] <FreeBoss> takes 3 seconds to restart the server
[23:04] <tomreyn> also the 10 seconds sounds like introducing a race condition
[23:04] <FreeBoss> And the logic here that I don't know what service
[23:04] <ikonia> FreeBoss: then you really shouldn't be doing this
[23:04] <FreeBoss> How do I find out? is it clamav, clamd? clamav-daemon?
[23:04] <ikonia> how are you getting the service names
[23:05] <FreeBoss> I don't. I don't know how to do it
[23:05] <FreeBoss> I just do:
[23:05] <FreeBoss> sudo apt-get install clamav clamav-daemon -y
[23:05] <ikonia> then how do you know there are 3 service names
[23:05] <FreeBoss> echo "TCPSocket 3310" | sudo tee -a /etc/clamav/clamd.conf
[23:05] <FreeBoss> then I need to restart VM
[23:06] <FreeBoss> you tell me not to restart VM
[23:06] <ikonia> you don't need to restart the vm
[23:06] <FreeBoss> how do I find out what I need to restart?
[23:06] <ikonia> systemctl list-unit-files --type=service
[23:06] <ikonia> look for the clam service
[23:06] <FreeBoss> ok, I need 10 minutes to redeploy
[23:06] <ikonia> but it sounds like this isn't something you should be doing
[23:07] <FreeBoss> why not?
[23:07] <FreeBoss> I told you, simple restart of VM solves all my problems
[23:08] <ikonia> because you don't seem to understand the basics of what you are doing
[23:08] <FreeBoss> Yes, I don't
[23:08] <ikonia> so that's why this dosn't sounds like something you should be doing
[23:08] <FreeBoss> But this is do once in 2 years situation, that doesn't put anyone at risk. It's not worth spending 320 hours to find out. I'd rather ask here
[23:09] <ikonia> you still need to know the basics to deal with this
[23:09] <ikonia> and you certainly shouldn't be blindly copying other peoples scripts
[23:09] <ikonia> but that's up to you
[23:09] <FreeBoss> The basics: I install some software, I don't need with how many services, after I restart VM everything works. You tell me to fuck off with restart and you won't help me, I then ask< how do I find out what service, do I restart
[23:10] <ikonia> please don't swear
[23:10] <FreeBoss> sorry
[23:10] <ikonia> there is no need to - and lets be honest, it's a lie, no-one told you to "go away
[23:10] <FreeBoss> I don't *know (not need)
[23:10] <ikonia> I advised you that was a bad way
[23:10] <ikonia> that's pretty different than being told to go away
[23:10] <FreeBoss> Spending 20 hours on learning basics that I would never use again would be worse
[23:11] <ikonia> wasting our time on something that is done badly rather than do it right, is worse
[23:11] <FreeBoss> I see. Sorry
[23:11] <ikonia> I'm goint to leave you to it, as I don't like people who just lie
[23:12] <FreeBoss> You see, I don't agree that it's done badly. I think it's done great
[23:12] <ikonia> but you also admitted you don't know what you're doing
[23:12] <FreeBoss> Leaving me with it is OK, and I'm greatfule for input you did. But I never lied
[23:12] <ikonia> so it's not really a valid view point
[23:12] <ikonia> you did - you said people told you to "go away"
[23:12] <ikonia> and no-one said anything of the sort, people just tried to advise you
[23:13] <FreeBoss> People keep telling me it's bad but not telling why
[23:13] <FreeBoss> I think it's a good solution
[23:13] <ikonia> but you don't know what you're doing
[23:13] <ikonia> and you never asked "why"
[23:13] <ikonia> do what you want, build some dumb logic to do a one time restart with cron
[23:14] <ikonia> I suspect people will not want to help you with that, as you've already been told in ##linux too
[23:14] <FreeBoss> Why people wouldn't want to help me? Why is it bad?
[23:14] <ikonia> because cron is not meant to be used that way, and it's overkill for what is needed
[23:16] <tomreyn> reboot isn't how you responsibly manage services, you introduce a service interruption to all services when you really only need to restart a single service.
[23:18] <FreeBoss> Very well, I accept that reboot is bad. Thanks to you I found a command "systemctl list-unit-files --type=service". I'm very grateful for the help.
[23:18] <tomreyn> on the other hand, i do understand the intent of seeking a simple and deterministic solution for a system you do not understand.
[23:18] <FreeBoss> I did: systemctl list-unit-files --type=service. And found:
[23:18] <FreeBoss> clamav-daemon.service enabled
[23:18] <FreeBoss> clamav-freshclam.service enabled
[23:18] <FreeBoss> what would be the best way to restart those services?
[23:18] <ikonia> it's the first one
[23:19] <ikonia> I gave you the command earlier
[23:19] <leftyfb> FreeBoss: you do understand that clamav is useless to find any malware that would affect linux right?
[23:19] <FreeBoss> yes :)
[23:20] <leftyfb> then why bother?
[23:20] <jcotton> leftyfb: how so?
[23:20] <FreeBoss> sudo systemctl clamav-daemon
[23:20] <FreeBoss> Unknown operation clamav-daemon
[23:20] <ikonia> no
[23:21] <Guest92> hi all, where's the best place to go to ask for help building snaps? #snapcraft?
[23:21] <leftyfb> Guest92: #snappy
[23:21] <Guest92> thanks &_&
[23:22] <leftyfb> jcotton: please find me a virus/malware for linux that clamav will catch that anyone would stumble upon?
[23:22] <FreeBoss> Is
[23:22] <FreeBoss> sudo service clamav-daemon restart
[23:22] <FreeBoss> bad?
[23:22] <ikonia> incorrect
[23:22] <ikonia> look at the syntax I gave you earlier
[23:23] <leftyfb> FreeBoss: no, it's the old way of doing it. But it'll be deprecated at some point in the near future so just stick with systemctl
[23:23] <FreeBoss> ikonia, oh right, I missed restart
[23:24] <FreeBoss> Is there a difference between?
[23:24] <FreeBoss> sudo systemctl restart clamav-daemon
[23:24] <FreeBoss> sudo systemctl restart clamav-daemon.service
[23:24] <ikonia> no
[23:25] <FreeBoss> Is "sudo systemctl restart clamav-daemon" a good way to restart the service?
[23:25] <ikonia> it is the correct way as I gave you 10-ish minutes ago
[23:25] <leftyfb> FreeBoss: can I ask why you're installing clamav and why you need to restart it's services?
[23:25] <tomreyn> preferrably, use full paths when scripting, though: /bin/systemctl
[23:25] <ikonia> very good call
[23:26] <ikonia> take no $PATH for granted
[23:26] <tomreyn>  /usr/bin/sudo
[23:27] <FreeBoss> I'm a windows guy. My friend asked me to deploy Ubuntu that will configure ClamAv, he needs it for some plugin that will scan files on his site
[23:27] <ikonia> why not make it in the image
[23:27] <ikonia> rather than deploy to a vanilla image
[23:28] <FreeBoss> Because image is harder to make, need to host it (pay money). And it will be outdated in the future.
[23:28] <leftyfb> https://hub.docker.com/r/mkodockx/docker-clamav/
[23:28] <leftyfb> one of the many
[23:28] <ikonia> you've just said this is a once every 2 year thing
[23:28] <ikonia> so you'll either need to maintain an image once for 2 years, or do this step every two years
[23:28] <ikonia> it's the same proces
[23:28] <ikonia> process
[23:29] <NoTuRmoMAsbO> hello
[23:29] <FreeBoss> ikonia, it's set up once, use forever
[23:29] <tomreyn> hi NoTuRmoMAsbO
[23:29] <leftyfb> heh, yeah, cuz that's how technology works
[23:29] <blackflow> and update never, get pwnd sooner.
[23:29] <FreeBoss> leftyfb, and who is that mkodockx guy. Maybe he will change that image in the future
[23:29] <blackflow> can I haz ur machinez, I needs botses, ktnxbai.
[23:29] <leftyfb> "my clamav server got hacked"
[23:29] <NoTuRmoMAsbO> how does all of this work?
[23:29] <ikonia> FreeBoss: why are you doing this as a script if it's one time thing
[23:29] <ikonia> FreeBoss: just setup the box and hand it over, why use scrtips
[23:30] <FreeBoss> he will be redeploying it
[23:30] <ikonia> just login type apt-get install clamav, edit the files, restart and you're done
[23:30] <ikonia> why script something that's 3 commands and a one time setup
[23:30] <FreeBoss> That's exactly what I'm doing
[23:30] <blackflow> "And then they realized clamav didn't really do what they expected. That's when the fight started."
[23:30] <FreeBoss> Except login is done automatically
[23:30] <ikonia> FreeBoss: no you're not, you're using a script
[23:30] <leftyfb> clamav really isn't worth this much effort
[23:30] <FreeBoss> I tell Azure Custom Script Extension to execute ClamAv.sh
[23:30] <ikonia> this just seems silly on so many levels
[23:31] <leftyfb> ugh, this again
[23:31] <ikonia> FreeBoss: why make it hard, just login and do it
[23:31] <ikonia> and hand it over
[23:31] <FreeBoss> tomreyn, so sudo /bin/systemctl restart clamav-daemon ?
[23:31] <blackflow> srsly. if you need an antivirus for probably email scanning, dunno why else would you setup a clamav appliance on azure, then forget clamav. use a professional AV tool, linux/server edition.
  /usr/bin/sudo
[23:32] <leftyfb> FreeBoss: so your friend is hosting server that hosts files that he's concerned about, yes doesn't know how to login and run "sudo apt install clamav" and read documentation to make sure the definitions are kept up to date?
[23:32] <FreeBoss> yup
[23:33] <leftyfb> FreeBoss: care to share this site? I'd like to steer people clear of it and put it on my watch list
[23:33] <FreeBoss> :)
[23:33] <FreeBoss> your hack list?)
[23:33] <leftyfb> hacked
[23:34] <leftyfb> though, I wasn't joking. This site needs to be monitored and reported when it's exploited
[23:34] <blackflow> just permaban entire Azure range at the firewall level, like I do.
[23:35] <FreeBoss> racism detecred
[23:35] <leftyfb> blackflow: unfortunately, there's some dumb people making bad decisions at good companies that host on azure
[23:35] <blackflow> unfortunately.
[23:36] <FreeBoss> I'm pretty sure, such people also host on AWS, Linode, Digital Ocean
[23:36] <FreeBoss> too
[23:37] <FreeBoss> No offense, but if you asked me a Windows or Azure question, I wouldn't make fun on how your licensing is wrong, or how your Active Directory is overkill for your use case.
[23:38] <blackflow> we used to use Nod32 Linux edition for email scanning. the little what clamav could detect, was usually weeks old.
[23:38] <ikonia> no-one is making fun of you
[23:38] <ikonia> again stop telling lies
[23:38] <ikonia> people are trying to guide you to actual good solutions
[23:38] <leftyfb> FreeBoss: the part that I'm offended about is people hosting public services on the internet when they really aren't up to the task or interested in doing it properly
[23:39] <leftyfb> it just contributes to the garbage on the internet
[23:39] <leftyfb> FreeBoss: btw, that wasn't directed at you, but your friend
[23:39] <blackflow> leftyfb: +1
[23:39] <blackflow> leftyfb: those machines get pwned fast, and that's why we can't have nice things. oh well. back to 'buntu I guess.
[23:39] <FreeBoss> And I'm offended when people are browsing internet not on their second computer clean of personal data at all
[23:40] <FreeBoss> That gets wiped every day
[23:40] <ikonia> that has nothing to do with this discusssion though
[23:40] <ikonia> people are avising you of the problem your specific setup is causing
[23:40] <leftyfb> FreeBoss: if your friend is running a public service, he/she should learn how to do so properly. "set it and forget it" is NOT how you run a publicly available server
[23:41] <FreeBoss> maybe his site is secure? I don't know. I'm pretty sure I set up a secure ubuntu VM
[23:41] <ikonia> pretty sure you didn't
[23:41] <leftyfb> It's not
[23:41] <ikonia> as you've already told us you don't know what you are doing
[23:41] <leftyfb> and have no interest is administering it going forward
[23:41] <FreeBoss> How is it not secure?
[23:41] <FreeBoss> leftyfb, indeed, I'm not.
[23:42] <ikonia> FreeBoss: so to secure a box normally you have to have a reasonable level of knowledge
[23:42] <leftyfb> FreeBoss: because you feel clamav is adequate. Because you think just handing it to your friend who doesn't know how to manage it is adequate
[23:42] <ikonia> so as you've told you you don't know what you're doing (which is fine) the odds are stronger that you won't have made a secure build
[23:42] <blackflow> FreeBoss: this is how:  https://people.canonical.com/~ubuntu-security/cve/main.html
[23:42] <FreeBoss> It only has port 22 open. And the password is like hGLAiYjG6wVv8VxpFRQN
[23:42] <blackflow> there is no such thing as secure software these days. only levels of "effort needed" to pwn something.
[23:42] <ikonia> FreeBoss: no it doesn't
[23:43] <leftyfb> FreeBoss: got iptables setup? remote ssh? what ports are open? What version of php? apache modules? got that mysql db sanitation down?
[23:43] <ikonia> FreeBoss: it has the websever open, it has clamd listening on a port
[23:43] <ikonia> and you've already pasted the port into a logged channel
[23:43] <ikonia> so we already know that's not th ecase
[23:43] <blackflow> and by default, linux distros are not geared toward "secure" but toward "usable". the two are OPPOSITE on the scale.
[23:44] <leftyfb> FreeBoss: and this is just coming from me, who doesn't do security for a living and not at all experiences with any sort of exploitation.
[23:44] <blackflow> (though, in all fairness, Ubuntu is very fast with patching for known vulnerabilities -- my comment was about modern software in general)
[23:44] <FreeBoss> Just freshest image of Ubuntu and open port 22 with password strongest password. No php, no apache, just ClamAv
[23:44] <leftyfb> blackflow: only if someone is updating packages on the server regularly
[23:44] <blackflow> true
[23:44] <leftyfb> FreeBoss: turn off password authentication. Close port 22 and run it on a different port
[23:45] <leftyfb> FreeBoss: Have you verified that no other users on the system have a shell?
[23:45] <blackflow> FreeBoss: problem wiht ClamAV is that it _has_ had in the past, vulnerabilities. you scan the email rigged for a clamav zeroday and pfft bye machine.
[23:45] <ikonia> can't be bothered the attitude is poor,
[23:45] <ikonia> enjoy guys
[23:45] <leftyfb> yeah, I'm done.
[23:45] <blackflow> which means to say not that clamav is unsecure no, but it is a vector of attack, in itself. so don't think you have that port 22 as the only vector. you've got several vectors there.
[23:45] <leftyfb> FreeBoss: good luck. Please share the URL here for the benefit of the internet
[23:46] <leftyfb> toodles
[23:47] <adv_> is there a way to get access to firefox clipboard? it crashed and i had written a long reply in a forum (without sending submit), can i somehow recover it? it was a textarea . i had ctrl-c before the crash
[23:47] <tomreyn> Plumette: you need three nicks here?
[23:47] <leftyfb> adv_: it's gone
[23:48] <blackflow> adv_: if it's not in the Ctrl+V buffer, try Shift+Ins or middle mouse click;if it's not there, then it's gone.
[23:48] <leftyfb> adv_: unless you can ctrl+v it elsewere
[23:48] <arooni> can i prevent seeing the clock after 10 minutes or so
[23:48] <tomreyn> don't look at the clock
[23:48] <leftyfb> arooni: huh?
[23:49] <adv_> leftyfb, :((
[23:49] <arooni> err let me try to rephrase that
[23:49] <adv_> blackflow, no it's not
[23:49] <Zewwy> hey
[23:49] <blackflow> adv_: well then, I can only say:  been there, done that, lost long forum posts :)   then I started using an editor to write out stuff first, copypaste into ff.
[23:50] <adv_> i was ready to paste damn it
[23:50] <blackflow> (but back then FF was very crashy and this was regular occurence)
[23:50] <Zewwy> lordcirth: http://zewwy.ca/index.php/2019/03/12/ubuntu-no-boot-device-found/
[23:50] <adv_> into the editor
[23:50] <arooni> i turned off lock screen on ubuntu 18.04;  but i still see the clock / lock screen (without a password) .. how can i prevent ubuntu from showing me that lock/notification screen
[23:50] <cuso4> Hey! if you are interested in an update I am currently sendind the disk image via ssh to my server and everything seems to be working fine
[23:50] <Zewwy> nice
[23:50] <Zewwy> does it tell you how much its done? progress?
[23:51] <leftyfb> arooni: go into power settings and tell it not to blank the screen
[23:51] <qwebirc49163> Does anyone know if nvidia-prime works with amd cpu? why are the only options to switch between nvidia and intel?
[23:52] <cuso4> did some stats (looking at file size), sending about 3.5 mb/s. looking at compression ratio averages for gzip it should take about 3.5 hours, worst case senario it is 7 hours left
[23:52] <leftyfb> qwebirc49163: that is meant for GPU, not CPU.
[23:52] <Zewwy> thats what I was thinking
[23:52] <leftyfb> qwebirc49163: if you have an AMD/ATI GPU, then obviously "NVIDIA"-prime isn't going to work
[23:52] <qwebirc49163> leftyfb, I know that... but you can switch between cpu and gpu
[23:52] <qwebirc49163> I have amd cpu and nvidia gpu
[23:53] <cuso4> Zewwy: At least I am having  pretty fun
[23:53] <leftyfb> qwebirc49163: nvidia-prime switches between Nvidia GPU and Intel GPU. Not CPU
[23:53] <qwebirc49163> ah, yeah. just thinking of integrated cpu/gpu as one thing...
[23:54] <leftyfb> not in terms of GPU management
[23:54] <qwebirc49163> so in my case i have amd cpu using the amd gpu and I am unable to switch to the nvidia gpu
[23:54] <leftyfb> qwebirc49163: you might be thinking SoC stuff. Like Atom, which doesn't have Nvidia GPU's
[23:55] <leftyfb> qwebirc49163: you do not have a motherboard with both AMD and Nvidia GPU's on it
[23:55] <Zewwy> the best fun to have; pretty
[23:56] <Zewwy> leftyfb: you can
[23:56] <Zewwy> you got enough slots you can do anything
[23:56] <leftyfb> Zewwy: There is not motherboard on the market with both Nvidia GPU and AMD GPU built in
[23:56] <leftyfb> not/no
[23:57] <Zewwy> intel onboard, amd GPU #1, NVIDIA GPU #2
[23:57] <qwebirc49163> leftyfb: I have an asus laptop that comes with ryzen5 and nvidia gtx1050. Current gpu in use is: radeon vega mobile gfx × 8. But i cant get nvidia one working
[23:57] <Zewwy> mot built in
[23:57] <Zewwy> not*
[23:57] <leftyfb> qwebirc49163: what model laptop?
[23:57] <qwebirc49163> Asus K570ZD
[23:58] <Zewwy> one will be on the PCIe bus
[23:58] <Zewwy> not integrated
[23:58] <Zewwy> that probably be the NVIDIA card
[23:58] <Zewwy> while the radeon probably be integrated
[23:59] <qwebirc49163> i guess i should call the ryzen an apu instead of cpu