[05:06] good morning [05:43] Morning all [06:37] hi magespawn,mazal [06:39] Hey theblazehen [06:46] How can I wake up an external drive in a script ? [06:46] My external is one of those that powers down when not busy , so in a script that copy to it , how can I wake it up before the copy start ? [06:47] Would touch work ? touch /media/username/drivename ? [07:37] mazal: are you just trying to wake it up? does it not wake up when there is a request for it? [07:38] magespawn, it does , but takes a few seconds to wake up. I'm just worried that the copy process itself might loose data , I dunno if the cp process waits till it fully started up before starting to copy [07:38] morning all [07:38] Môre oom [07:38] hi Kilos [07:39] mazal how do i find the brightness control on kde [07:39] magespawn, so I was thinking wake it up sleep 40 , start copy [07:39] i think it should, the wake up might make the copy quicker though [07:39] Kilos, I dunno sorry [07:39] power just came on and screen so dark i cant see much [07:40] Laptop ? [07:40] yes [07:40] you would have to run the script or auto run before every copy though [07:40] Isn't that under power savings somewhere ? [07:40] used to be [07:40] there is usually physical keys on the keyboard for that [07:41] magespawn, currently it's a backup script that starts with cron , so to that same script I just anted to add something that wakes up the drive [07:42] yay ty, was in startup and shutdown [07:42] power thing was unticked [07:42] That's a strange place to put that [07:42] bad things happen when power dies and i havent shutdown before battery dies [07:43] battery last 2 mins hehe [07:43] Kilos, my new install is finished btw [07:43] and? [07:43] Have none of the bugs I had on KDE. Unity has a big system breaking bug though [07:43] report it [07:44] After pc is on for a while nautilus stops working completely. Yet another very basic thing not working [07:44] Google was no help with that one [07:44] I am forced to use a different file manager :( [07:45] learn how to use the syslogs and see if you can find what happens when it stopped [07:45] When running it from cli it gives bunch of errors , but I don't understand them [07:47] i gotta go let sheep out [07:47] https://bin.snyman.info/mmmy8tf6 [07:48] let one one the clever guys see that and theyll tell you what to do [07:48] did you use tail and cat [07:48] nope [07:48] i forget which does what [07:48] try them [07:49] you can teach me [07:49] Can also not remember how to use it hehehehe [07:49] tail /var/log/syslog [07:49] and cat it too [07:49] Maaz seen thatgraemeguy [07:49] Kilos: thatgraemeguy was last seen 15 days, 46 minutes and 42 seconds ago in #ubuntu-za on freenode [2016-05-23 00:03:15 PDT], and has been offline on freenode since 2016-05-23 09:30:57 PDT [07:50] Simple thing like a file manager really does not need this issues [07:50] Loosing a lot of faith in Ubuntu [07:50] dont start [07:50] use plan c [07:51] *sigh* [07:51] i must go lewt sheep out man [07:51] only thing I could find re this issue is that 16.04 shipped with an old version of nautilus due to bugs [07:51] do an aptitude reinstall nautilus and see if it fetches a patch [07:52] It didn't help though , is still broken [07:52] Go to sheep oom :) [07:52] We talk later ;) [07:52] ok [07:52] wbb [07:52] Bring iets lekker saam [08:23] mazal: Check out hdparm [08:23] Can disable power down there I think [08:29] theblazehen: will that stop the hard drive powering down? [08:29] Yes. Set timeout period really high or something. Don't remember exact command, but have done it before [08:30] Or just disbable [08:40] mazal baie bokdrolletjies maar nie daai wat beacon maak nie [08:44] Wow, accidentally used spice rather than vnc, it's actually fast with centos 7 vm [08:44] Got a 1 mbit connection to the host [08:44] vnc is faster with rhel5 and windows [08:49] theblazehen: spice? [08:50] magespawn: http://www.linux-kvm.org/page/SPICE - supposed to be faster [08:50] ty [08:50] Was *way* slower with win server 2012. I'm talking 10-20 second display latency [08:51] Down to ~0.5 s with vnc [08:51] Getting ~0.2 maybe with spice on centos 7 [08:51] Actually less than that. Maybe 50 ms [09:06] theblazehen, it looks like hdparm -S0 /dev/sdx [09:07] But I am unsure if that is correct [09:07] mazal: That looks familiar, yes [09:07] That's from reading man , something I am not good with [09:12] What's the worst that can happen? [09:13] I break the drive lol [09:15] Except, you know "his is EXTREMELY DANGEROUS and will very likely cause massive loss of data. DO NOT USE THIS COMMAND." or "VERY DANGEROUS, DON'T EVEN THINK ABOUT USING IT" or "VERY DANGEROUS, DO NOT USE!!" or "This command is EXTREMELY DANGEROUS" or "EXCEPTIONALLY DANGEROUS. DO NOT USE THIS OPTION!!" or "VERY DANGEROUS" or "EXCEPTIONALLY DANGEROUS. DO NOT USE THIS OPTION!!" or "USE AT YOUR OWN RISK." or "THIS FEATURE [09:15] IS EXPERIMENTAL AND NOT WELL TESTED. USE AT YOUR OWN RISK." [09:15] Oh oom Kilos I forgot to tell you. I tried that aptitude reinstall nautilus [09:15] yes mazal ? [09:15] It dl'ed 2 small files to quick for me too see what it was [09:16] did it fetch anything [09:16] yeah , 2 small files [09:16] and you have a pause button [09:17] i dont know what cli shows after [09:17] Will see in time if nautilus freeze up again [09:17] somewhere must be a record of what it did [09:17] oh is it working now [09:17] For now yes. But is always working after reboot , and then after a while stops working [09:18] ok lets hope its been patched [09:18] Will see in about 2 hours if it still responds [09:18] I have a question though [09:19] Why did aptitude pull in more files after I already did an update ? Does uptitude fetch updates that normal apt update doesn't fetch ? [09:19] i have found that update/upgrade leaves out many updates [09:19] why ? [09:19] pro and fly argue with me [09:20] i think they not classed as important enough to add in to auto update [09:21] but a reinstall of many packages fetches new stuff [09:22] right back in 10.10 i said if i use synaptic and right click reinstall everything thats already installed then it fetches lotsa data [09:24] hmmm [09:25] Must be a reason for that [09:28] I hate openshit [09:29] Kilos, if you don't disable the automatic cleaning of the apt-cache then it will have to fetch data again as auto cleaning would have deleted a lot of packages [09:29] theblazehen, hey ? [09:29] i have save all packages ticked [09:30] Install issues, networking issues, too much docker for my liking ... [09:30] i dont often clean [09:32] Kilos does that tick you mentioned modify /etc/apt/apt.conf.d/20archive though ? [09:32] i have no idea [09:32] That's the config file that normally determines the auto cleaning [09:35] dont ask me such involved questions [09:36] hehehehe [09:39] Maaz coffee on [09:39] * Maaz flips the salt-timer [09:43] Coffee's ready for Kilos! [09:43] Maaz danke [09:43] Bitteschön [09:58] * mazal fiddles [10:34] Kilos, nautilus still working. By now it usually frozen [10:35] I wonder though , hmm , lemme test something [10:45] https://www.quora.com/What-is-the-most-complex-line-of-C-code-you-have-created-or-encountered [10:57] superfly: Didn't check the link. Have you seen the Underhanded C contest? Or or ioccc? [10:58] I wonder what happens if your swap partition just vanishes.. I probably shouldn't add a sd card as swap, even if it *does* have okay iops [11:01] depends if it is in use at the time or not :) [11:02] MaNI: Well, because it'll sometimes evict ram to use more ram as disk cache, it will normally always have a bit used [11:02] Oh well. `sudo swapon /dev/mmcblk0` [11:02] Lets find out [11:03] Or if I use it as a bcache writeback cache.. [11:03] well that depends on how much ram you have - my box only touches swap in very rare circumstances - if programs were using the swap then I'd expect them to segfault (crash) when they try to access any memory that was swapped [11:04] 8 GB on laptop. Used to run a bunch of VMs, but now run it on vm host at home [11:05] Currently using 4.5 GB [11:05] Using 12/18 GB on desktop [11:05] and 1.7/32 GB on VM host [11:06] s/GB/GiB/ [11:08] zram can be a good option for that [11:08] if using lots of VMs then enabling KSM is also a huge plus [11:14] Yeah. Well, I do everything on vm host now. I used to use zram with my netbook. 512 MB normal memory, 1536 MB (I think) for the compressed swap [11:15] 2 GB swap on usb hdd [11:15] another 2 gb on internal hdd [11:15] s/usb hdd/flash disk/ [11:15] Running vms were slow without VT-x :( [11:15] And dual monitor was painful [11:16] I'd idle at ~30% cpu load (both hyperthreaded cores) on the xfce desktop with pulseaudio and conky running [11:16] Around 80-90% with chromium (firefox was too slow :() [11:20] ai! [11:20] power again [11:22] cable theft or maintenance? [11:22] 4.9 MB swap used. Lets find out what happens at the end of day [11:22] Oom Kilos , I *think* I found what is making nautilus crash [11:23] must be repairs, because they not supposed to steal aluminium cables [11:23] what is it mazal [11:23] Kilos, I retraced everything I did this morning and did the same [11:23] all stayed stable , until I wrote an iso to usb stick [11:23] Boom nautilus broken [11:23] wow [11:24] Particularly though , it was systamback writing [11:24] what are you using to do that [11:24] aha [11:24] systemback * [11:24] It mos has a build-in app [11:25] yes [11:25] So tomorrow , I will test iso writing with different app and see if it's that specific app [11:25] is there a systemback group on irc [11:25] ask them [11:25] I see though that boot disc creator has also been removed from Ubuntu , so will try unetbootin [11:26] `dd if=/dev/zero of=/dev/null status=progress bs=1M` 16 GB/s on vm host. How much do you guys get? [11:26] Wonder why they removed it ? [11:27] nvm found it " startup disk creator " [11:28] Will test now , too curious to wait for tomorrow [11:28] lol [11:29] 3060251230208 bytes (3.1 TB, 2.8 TiB) copied, 191.489 s, 16.0 GB/s [11:29] nice [11:30] !sudo nice -n -20 !!` gives extra 300 MB/s [11:39] Kilos, written with startup disk creator done. Nautilus still stable [11:40] so you have the culprit [11:40] mine worked ok whe n i did it i think [11:40] will try again sometime [11:42] So that's 1 bug squashed [11:42] lol [11:42] Won't use systemback to write [11:43] Now this install has only 1 other bug...so far [11:44] Software centre won't open [11:45] use synaptic [11:45] i dont like software centre at the best of times [11:46] wbb [11:46] Yeah I never use it , wanted to go in just to check it out and saw it doesn't launch [12:52] hmm... [15:52] * Kilos reboots to get sound working again [16:06] home time chat later all === urbanslug is now known as zipper [17:25] hmm... [17:41] ..mmh [17:44] inetpro wb [17:45] you didnt fixit yet [17:45] you broke it? [17:47] yes [17:47] hehe [17:47] weird prob [17:48] sound intermittently disappears [17:48] and i dunno how to see where what switches off [17:49] seems to be a common thing on t410 but this one was fine till a couple of weeks ago [17:49] just leave it off [17:50] it doesnt show its muted [17:50] nono man [17:50] i need to hear things happen [17:50] you can learn to go without sound [17:50] no [17:51] i even looked at man sox [17:51] but thats a major man page [17:51] a reboot fixes the sound [17:53] and [17:53] when sound goes its only from internal speakers [17:53] headfones still work [17:54] now dont say wear headfones [17:54] thats not an option [18:00] gremble still studying? [18:01] have you worked out where you went wrong last time? [18:21] good evening [18:22] hi magespawn [18:22] hey Kilos, so whats up? [18:23] definitely not the temperatures [18:23] gonna be cold the weekend if the coming cold front doesnt go down south more [18:23] never that at this time of year [18:24] looks like snow coming on the mountain rangres [18:24] ranges [18:24] so get a heater [18:25] i think i should be able to manage [18:25] there is a panel heater in the flat i rent [18:25] sjoe tough guy hey [18:25] ah that can help [18:26] im very sad [18:27] mr fixit wont help me fix my sound, says i must get used to having no sound [18:27] who is mr fixit? [18:28] i have been abandoned in the desert [18:28] the pro [18:28] have you forgotten [18:28] oh my [18:28] and what is wrong with your sound? [18:29] works from booting and then randomly disappears [18:29] common t410 prob i see [18:29] ahh well, is there a bug for it? [18:29] Hey Kilos It is my life for the next two week [18:29] hey gremble [18:30] good man gremble , get all your ducks inna row [18:30] then one shot kills many [18:30] there have been a few unsuccessful ones magespawn since 12.04 [18:31] Hey magespawn [18:31] lenovo have even replaced some motherboards [18:31] wow, i thought maybe is was a software problem [18:32] yeah the guys trying to help have tried lots of things [18:32] so, gremble, what is your life for the next two weeks? [18:32] some commands restart it [18:32] then other times no luck [18:32] studies!!!!!! [18:37] Exams started. So This week study, and the week after I am writing all of them [18:37] ah well, that usually leads to better things [18:37] like the end of the exams [18:42] night all. i got soak inna hot tub then crash [18:42] see you tomorrow [18:42] good night Kilos [18:49] i am also off, good night all [19:11] Hello [19:15] Is there a support channel for ...Cape Town users ! [19:30] Is there a support channel for ...Cape Town users ! [19:33] Hi all [19:34] Anyone home ! [19:34] Hey Felconian [19:35] hi ..i am looking for a support group for Ubuntu 16.04 ... not sure if i am at the right place [19:35] We can try help. A couple of us are running 16.04 [19:35] What issues are you having? [19:36] i am new to Linux ..so forgive my ignorance if i miss small things [19:36] Welcome to the true OS :) [19:37] I have been battling to setup my box as a Gateway firewall [19:37] What's the issue you're having with that? [19:37] I have gone through alot of how too on the net and i still am haveing issues with getting traffic (internet) to pass through the box [19:37] gremble: I write my last exam tomorrow!! [19:38] good luck padd [19:38] Felconian: As far as I'm aware you need two nicks and to place it into the lan before switches, etc [19:38] Thanks [19:39] Router <-> Firewall <-> Switch [19:39] i have them installed .. [19:39] That way you can use IP tables on passthrough traffic to manage your rules [19:40] Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 10.0.0.2 0.0.0.0 UG 100 0 0 enp3s0 10.0.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp3s0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 enp3s0 [19:40] well that did not work ? [19:40] With it setup can you connect to the internet? [19:41] Can you pastbin/similar that? Formatting on IRC messages sucks [19:41] i can ping both NIC's in the UBUNTU box from the switch .... side [19:42] Hmm... [19:43] theblazehen: inetpro Got any suggestions? [19:46] i am just creating an account on past bin [19:46] You can use gist.github.com if you want to do it annonomously [19:47] s/annonomously/annonomously [19:51] Ip forwarding is enabled right? [19:51] Can't really think now [19:51] Maaz coffee on [19:51] * Maaz washes some mugs [19:52] http://pastebin.com/EHZVW0Dz [19:52] thats a bit of stuff from 3 locations [19:53] sorry the other NIC was not plugged in ... so i am doing now and running the route -n [19:54] Maaz: coffee please [19:54] paddatrapper: Done [19:55] http://pastebin.com/WWfzj13D [19:55] Coffee's ready for theblazehen and paddatrapper! [19:55] Maaz: thanks [19:55] paddatrapper: Okay :-) [19:55] funny thing is i can ping all the IP's ... on both sides of the box [19:56] Pretty sure the point is for that not to be possible [19:56] From the So i can ping the Router ... through the Ubuntu 16.04 box .... from the internal network [19:57] Is there anyhting elso i can show you [19:57] Felconian: Can you get a tcpdump on the firewall, both nics, and from the internal network, upload to pixeldra.in? I;ll see if I see anything tomorrow. Otherwise hopefully someone else here can help [19:57] How ? [20:00] We got hacked ... our telkom router ... from somone is the US ... they planted ... ransom ware on 2 PC's but could not get to the AD server ... they had the audsity to call us as well [20:01] I keep backups of everyhting so i lost 2 days work ... [20:01] so now i am taking internet security ... seriousely [20:03] Is anyone in Cape T?own [20:03] Is anyone in Cape Town ? [20:05] Felconian: I am [20:06] i am willing pay you to show me how to setthis up correctly ! [20:07] Can bring the Box to you if you like ! [20:07] Unfortunately I've never really done it before, but I'd be happy to give it a try [20:09] I'd be happy to take a look at it next week and try get it up and running. It'd be fun to work with I reckon [20:09] Thing is i have gone through every possible tutorial ..even reinstalled Ubuntu 16.04 ..and started from scrath ... I tried Bridging ... the two NIC's that did not work ... and once that happens ..the Linux BOX ...stops connectecting to the internet [20:11] Step by Step ... so i am sure i am missing somthing realy simple ..because of my inexperience [20:11] maaz seen andrewlsd [20:11] theblazehen: andrewlsd was last seen 12 days, 12 hours, 39 minutes and 59 seconds ago in #ubuntu-za on freenode [2016-05-26 00:31:53 PDT], and has been offline on freenode since 2016-05-26 01:59:37 PDT [20:15] Felconian: Well let's see what the tcpdumps have to say and we can take it from there [20:15] How do i dump that info ? [20:15] https://danielmiessler.com/study/tcpdump/ [20:17] WoW ..this is epic! [20:18] just reading that first page is INSPARATIONAL ! [20:22] do i specify the IP address or the adpter ? [20:23] Felconian: adaptor [20:23] I'd say the interface you are wanting to monitor [20:24] yeah [20:25] https://pixeldra.in/u/y1qD35 [20:27] Felconian: do `-w somefile.pcap` to save to a file, that way it can be opened in wireshark [20:27] Alright I'm off. Night everyone [20:27] nn [20:27] night paddatrapper [20:27] Thnaks [20:28] Felconian: Have you looked at something like pfSense, or shorewall or ipcop? [20:28] Running pfSense myself [20:29] nope ... [20:30] I have only been using Linux for 72 hours [20:30] Check pfsense out. Has the wonderful pf firewall :) And gui config [20:30] Based on freebsd [20:30] Easy setup [20:30] Everything i know is what i read ... good or bad ? [20:31] Very good IMO [20:31] looking at it now [20:32] Felconian: http://i.imgur.com/bvnlCjA.png [20:32] My rules, pretty simple [20:33] are you running this on your own box ...or theres? [20:34] Own box [20:34] Felconian: http://i.imgur.com/HDnsvMm.png main interface :) [20:35] i dont see any prices for the software ? [20:35] It's free [20:35] But optional paid support afaik? [20:36] thats ok [20:36] Better than bying an Window 2012R server licnece for the firewall ... pc [20:37] because thats where i was going ... ! [20:37] if this did not work out! [20:37] i will try this ... Thank you ... [20:38] Cool! Let me know if you have issues [20:38] This runs on basically any hardware too. Used to run on an old 600MHz celeron with 128 MB RAM [20:40] Also, just to note, make sure that if you use a usb to install get the usb image. Unlike linux isos, pfsense iso's can't be dd'd to a usb directly. They give an img.bz2 or something like that [20:41] cool thanks ... its going on a AMD 965 Phoem II .... 4G Ram [20:42] Yeah, more than good enough. I'm now on a Petnium something with 2 GB RAM [20:42] With that much ram look into snort as an IDS, and perhaps a transparent squid proxy for bandwidht saving [20:43] Can't type any more :/ And just treated a line conatining ` lol [20:43] I guess it's time for bed [20:43] Night [20:43] Thank you [20:43] I am going to pay Total war .... WARHAMMER [20:44] i need to kill some ORCS [21:34] paddatrapper: I usually just install BIND for dns forwarding (I know, people will kill me, but it's what I know and it's easy to set up compared to other stuff out there), dhcp-server and arno's ip tables firewall, and that's usually your firewall done.