/srv/irclogs.ubuntu.com/2013/07/27/#ubuntu-uk.txt

ali1234madness00:00
AzelphurxD00:00
Azelphurthere's actually no way to run it without the interactive command line00:00
Azelphur(most game servers have an internactive command line, too)00:00
Azelphuram I forgiven for using screen now? :P00:00
ali1234i suppose00:01
Azelphurwoo \o/00:01
ali1234it's still horrible though00:01
Azelphurali1234: I never said the game servers were written well ;)00:01
Azelphurali1234: if you want some real cringe, you know minecraft servers use like 4GB of RAM, right?00:01
ali1234sure, so what?00:01
Azelphurso...terrible00:01
ali1234minecraft is going to be memory hungry by it's nature00:02
Azelphurali1234: someone rewrote the entire minecraft server in python using twisted00:02
Azelphurit used like, <100MB00:02
ali1234not when they loaded the level it didn't00:02
Azelphuryes, it did.00:02
ali1234i don't belieeeeeeeve it00:02
AzelphurI ran it, it was cool00:02
AzelphurI was hoping it'd take over.00:02
ali1234was that minetest?00:03
HoT|2fC^so I have byobu my server is on now, how do I keep it on when I close an terminate the putty00:03
Azelphurali1234: no, it was called bravo, it's an actual rewrite00:03
ali1234minetest was a rewrite00:03
ali1234in C++ though i think00:03
Azelphurlike, you could connect using the standard minecraft client00:03
ali1234oh, nice00:03
Azelphurthe idea was seamless replacement of the server, twisted async processing for everything, distributed chunk processing, run your game server in the cloud00:04
Azelphurquite possibly the most awesome code I've ever seen.00:04
HoT|2fC^Azelphur, me ?00:04
AzelphurHoT|2fC^: sorry, we're on a different subject, I dunno how to use byobu so can't be much help on that00:04
HoT|2fC^I dont host srcds, or anything like minecraft.00:04
HoT|2fC^:( ok ok00:04
AzelphurI could help with screen, but I think ali1234 is helping you with byobu :)00:05
ali1234doom3 is pretty close to srcd00:05
ali1234i don't know byobu either, only screen00:05
ali1234but basically you run byobu00:05
ali1234then you run doom300:05
ali1234then you close putty00:05
ali1234that's it00:05
Azelphurah, might as well use screen then00:05
ali1234byobu used to be screen00:05
ali1234now it is tmux00:05
ali1234they are virtually the same thing to start with00:06
HoT|2fC^ah I seee ok ok00:06
AzelphurHoT|2fC^: screen keeps processes open inside "screens", so you can come back to them later00:06
HoT|2fC^so its that simple ?00:06
ali1234and byobu is as different again anyway00:06
AzelphurHoT|2fC^: just for the sake of argument, if you're running minecraft, you'd do something like00:06
ali1234yes, it is that simple00:06
Azelphurscreen -S minecraft java -jar minecraft.jar00:06
HoT|2fC^ok I will try now :)00:06
HoT|2fC^:o00:06
HoT|2fC^Azelphur do I need to type that?00:06
Azelphurwhich is, create a screen called "minecraft", and inside it run "java -jar minecraft.jar"00:06
AzelphurHoT|2fC^: no, you need to read what I'm saying and try to understand it :)00:07
HoT|2fC^ok :)00:07
ali1234Azelphur: don't you wwant to run it in detatched mode?00:07
Azelphurali1234: we'll get to detaching.00:07
ali1234haha00:07
Azelphurhe's struggling, information overload and all that.00:07
Azelphur:)00:07
ali1234carry on00:07
HoT|2fC^:}00:07
AzelphurHoT|2fC^: what server are you running?00:07
Azelphurali1234: I just looked at the bravo website, they are back zomgwtfbbq http://bravoserver.org/00:09
HoT|2fC^Azelphur, as in OS?00:09
Azelphurali1234: and they are all like hey, we made it 60 times faster, because, we're awesome.00:09
HoT|2fC^Azelphur, I run Ubuntu server 12.04.2 LTS and currently hosting Doom3 dedicated.00:09
AzelphurHoT|2fC^: ah, so doom3 is what you're running00:09
HoT|2fC^1.3.100:09
Azelphurhow do you usually start your doom3 server?00:09
AzelphurI mean, the command00:09
HoT|2fC^I have to do cd /usr/local/games/doom300:10
HoT|2fC^./doom3-dedicated +set fs_game base +exec server.cfg00:10
Azelphurok00:10
HoT|2fC^and it starts! but if I close it..00:10
HoT|2fC^it goes :(00:10
Azelphurso lets run that inside screen00:10
HoT|2fC^ok can I do that now its open already?00:10
Azelphurscreen -S doom3 ./doom3-dedicated +set fs_game base +exec server.cfg00:10
HoT|2fC^I have 4 players on00:10
HoT|2fC^ah ok I see00:10
Azelphurcreates a screen called "doom3" and runs the server in it00:10
HoT|2fC^lets try :)00:11
AzelphurHoT|2fC^: no, you can't, It's kinda difficult to do it with an already running process.00:11
HoT|2fC^ok I will tell them to get lost lol00:11
Azelphurhaha00:11
HoT|2fC^an tell them come back :D00:11
HoT|2fC^they on last game now so should be ok I will wait :)00:11
Azelphurrighto00:11
AzelphurHoT|2fC^: the rest of it is that with a process running in screen, you can just close the terminal and it'll stay running00:11
Azelphurif you ssh back in and want to go back to your doom3 server00:12
Azelphuryou can just go back to your doom3 screen you created with screen -r doom300:12
HoT|2fC^so I just type screen -r doom300:12
Azelphurand, if you want to exit out of a screen back to the command line, hold ctrl, press a then d, release ctrl00:12
Azelphurscreen can do lots of stuff, but that's the 3 minute crash course :P00:12
HoT|2fC^nice :) thanks man :D00:12
HoT|2fC^would I not need to do cd /usr/local/games/doom3 then00:13
HoT|2fC^as the screens remembered it00:13
ali1234so the thing about minecraft memory usage is that each chunk is 16x16x256 = 65536 blocks. each block has at least 2 bytes of data associated with it (type and damage) so that's 128K per chunk. it loads several thousand chunks on a server with more than one player00:13
AzelphurHoT|2fC^: you only need to be in that directory to start the server :)00:13
HoT|2fC^ok :)00:14
ali1234the lower bound for 1 player is something like 256mb, and that's a massively conservative estimate00:14
Azelphurali1234: yea, bravo was sensible, it loaded chunks in a circle rather than a square00:14
ali1234that makes almost no difference at all :P00:14
Azelphurlies?00:15
Azelphuryou're loading significantly less chunks00:15
ali1234difference between area of a circle and area of a square?00:15
Azelphurali1234: when the circle fits inside the square, yes.00:15
diddledanplus I'd expect sphere rather than cube which saves even more00:15
diddledanmore than cube vs cylindar00:16
Azelphurdiddledan: nah, chunks are 16x16x256 so no spheres.00:16
ali1234it's pi*r^2 vs 2^2*r^200:16
diddledanaww00:16
ali1234in other words pi/400:16
Azelphurbut yea, long story short, bravo was pretty crazy00:16
ali1234so you save less than 1/4 memory using a circle instead of a square00:17
* Azelphur shrugs00:17
ali1234using a sphere is impractical if, say, you fall down a hole00:17
ali1234it couldn't load the chunks fast enough00:18
diddledangood point00:18
Azelphuryea00:18
ali1234it would be a far better optimization though00:18
Azelphuryou get this behaviour with jetpack mods00:18
Azelphuryou just fly through nothing as the world loads behind you00:18
diddledanlol00:18
ali1234you get that in second life too :)00:18
ali1234or at least i always did00:18
Azelphuralthough, I remember bravo fixed that too00:18
Azelphurit'd load the chunks in your view range first.00:19
Azelphur;)00:19
ali1234yeah i remember they tried to implement that in minecraft about 3 times00:19
Azelphurby view range I mean field of view.00:19
ali1234i don't know if they ever made it work properly00:19
AzelphurI loved the distributed nature of it though00:19
ali1234minecraft is not a brilliant example of well designed code00:20
Azelphur1000 people on a minecraft server would be epic00:20
ali1234but it's not terrible bad either00:20
ali1234as games go00:20
ali1234and considering what it has to do00:20
Azelphurhehe00:20
ali1234what about that starforge alpha?00:20
HoT|2fC^ahh Azelphur it worked! so now I have left the SSH (Server) an its online with players still so there happy :)00:21
diddledaniphone has loads of imitation minecraft-style apps now00:21
AzelphurHoT|2fC^: yw :)00:21
Azelphurali1234: dunno :P00:21
ali1234starforge has... not blocky grahics though00:21
HoT|2fC^so to SSH back to that screen I do the following, screen -r doom300:22
ali1234like hills are actually smoothed00:22
ali1234but you can still dig them up00:22
HoT|2fC^wow I screened it back in thats awesome Azelphur :D00:23
HoT|2fC^I would like it if I could have my server spawn/startup on system boot!00:24
diddledanyou can cheat that kind of smoothness - make the smoothing entirely client-side but still use cubic blocks server-side00:24
ali1234http://www.youtube.com/watch?feature=player_detailpage&v=pXWEzPULjms&t=29300:25
AzelphurHoT|2fC^: the (ugly) way to do that is with cron00:25
Azelphurali1234: will probably chastise me for this00:25
Azelphurtype crontab -e and add this line00:25
HoT|2fC^Azelphur: is that hard to do ?00:25
HoT|2fC^ok00:25
Azelphur@reboot cd /usr/local/games/doom3 && screen -d -S doom3 ./doom3-dedicated +set fs_game base +exec server.cfg00:26
Azelphurshould do it00:26
AzelphurI'm a good sysadmin, honest :<00:26
ali1234i keep seeing that lately00:26
ali1234i didn't even know cron could do that00:26
HoT|2fC^nice one Azelphur :D00:27
HoT|2fC^I entered that in the line an hit enter... then Ctrl + Z ?00:28
HoT|2fC^or X00:28
HoT|2fC^one of the 200:28
Azelphurctrl + x to save and exit in nano, assuming you're using nano.00:28
HoT|2fC^So it should boot at start up? an if I do screen -d doom3 it will work00:28
Azelphurali1234: yea, it's handy :)00:28
AzelphurHoT|2fC^: screen -r doom3, but yea.00:28
HoT|2fC^yeah -r sorry :)00:28
Azelphur-d means detach :)00:28
HoT|2fC^nice nice00:28
HoT|2fC^-d death :D00:28
HoT|2fC^:D00:29
Azelphurhehe00:30
HoT|2fC^nnnnnnnnn01:07
HoT|2fC^Thanks for help!01:07
diddledanyawn01:24
MartijnVdSMorning everyone!08:14
MartijnVdSA good day to stay inside: http://estofex.org/08:14
brobostigongood morning everyone,08:55
MartijnVdSmorning, brobostigon08:55
brobostigonmorning MartijnVdS08:55
brobostigon31, today, old bastard now, i am, :)08:57
MartijnVdSbrobostigon: congratifications! :)09:00
MartijnVdSbrobostigon: I'll be 33 in a few months, you can't complain :P09:00
brobostigonthank you MartijnVdS :)09:00
neuroshurrup, young types09:01
MartijnVdSneuro: yes mr grampa sir09:01
brobostigonMartijnVdS: very true, yes.09:01
* neuro will be 40 in march :P09:01
neuroMartijnVdS: /me prefers grumpy old man tbh09:02
* neuro is on hold with Yodel09:02
neurobloody delivery guy "attempted delivery" 35 mins ago but no card through the door09:02
neuroso if i wasn't proactively checking the tracking, i wouldn't know they've dinged the delivery to monday09:02
brobostigonthere was a good comedy sketch band, jasper carrott invented, the old farts, very funny.09:03
MartijnVdSneuro: I have the delivery guy's phone number, and he has mine. That helps a LOT ;)09:03
neuroand this 0800 phone call has cost me a quid so far09:03
neurocrap09:08
neurothey don't do redeliveries09:08
neuro"the delivery man has other parcels he has to deliver today"09:08
neurowell woop de doo!09:08
neuroand why didn't he leave a card to say he had been?09:08
neuro"i don't know, sir"09:08
neurogood stuff09:08
neurowell that's my day up the spout09:10
MartijnVdSwow.. it's starting to get dark already09:20
brobostigonclouds, rain clouds. it will rain on my birthday, :(09:22
MartijnVdSbrobostigon: we're going to have an epic thunderstorm here in ~30 minutes09:23
MartijnVdSaccording to the radar09:23
brobostigonoh dear, but will be good, clear the moggy air out abit.09:23
MartijnVdSbrobostigon: http://buienradar.nl/bliksem-1-uur09:26
brobostigonMartijnVdS: oh dear, doesnt look very nice.09:26
MartijnVdSevery yellow "+" is a lightning discharge (either in-cloud or to-ground)09:27
brobostigonah.09:27
MartijnVdSgetting some beautiful photos of the approaching front :)09:30
brobostigon:)09:33
brobostigonmy dad got me a good card, making a joke on me being moody and comparison to gordon ramsey.09:34
MartijnVdSStorm pics! https://plus.google.com/photos/100189567362844794281/albums/590525262964951776111:55
dwatkins_looks pretty epic, MartijnVdS12:12
MartijnVdSdwatkins_: it was a bit underwhelming irl12:13
MartijnVdSdwatkins_: just a lot of rain and 3 thunderclaps12:13
dwatkins_aw shame, we had thunder and lightning on Tuesday here in Edinburgh12:14
=== dwatkins_ is now known as dwatkins
dwatkinsstrange, I'm banned on #openbsd despite not doing anything12:14
dwatkinsperhaps because of that12:14
songtaohi everyone, I just setup openvpn access to my office, but it can not solve the cname, only can access it by ip address, I been told I need to add dns to somewhere. my question, how do I find the dns server ip, and where I add to ? 'resolve.conf' file ?12:15
MartijnVdSsongtao: the OpenVPN server van push that, and if it does, it should work automatically12:19
MartijnVdSsongtao: as long as you're using the "networkmanager openvpn plugin" (network-manager-openvpn-gnome)12:19
MartijnVdSsongtao: you can also add extra DNS servers/search domains on the "IPv4 settings" page12:20
songtaoMartijnVds,  thanks for your reply, I just download the client.ovpn file. it all be configed, I think12:20
MartijnVdS(for that specific VPN connection)12:20
MartijnVdSsongtao: if you're using the Ubuntu desktop, you shuold consider using that plugin12:20
MartijnVdSsongtao: as it integrates a lot better with the rest of the system :)12:20
songtaomartinVds, thanks, I will try it now12:21
MartijnVdSsongtao: you'll have to read client.ovpn and put the settings in manually, unfortunately.. but that's not very hard (hardest bit is copying the certificates to their own files)12:21
MartijnVdSoh wait12:22
MartijnVdSapparently, you can import12:22
MartijnVdSttp://askubuntu.com/questions/187511/how-can-i-use-a-ovpn-file-with-network-manager12:22
songtaoha, already installed12:22
MartijnVdSsongtao: http://askubuntu.com/questions/187511/how-can-i-use-a-ovpn-file-with-network-manager explains everything you need to know12:22
songtaothank you so much, the link is exactly I am looking for12:22
brobostigonoh dear, got new phone today, first thing i installed, ingress, i must be so sad.12:25
MartijnVdSbrobostigon: uh oh, green or blue? :)12:25
brobostigonMartijnVdS: blue.12:26
MartijnVdSbrobostigon: same as my co-workers :)12:26
brobostigonMartijnVdS: :)12:26
* MartijnVdS never played it12:26
brobostigonah.12:26
brobostigoni fully intend to grab the portal over my favorite pub, and link it to my other one.12:27
brobostigonmake a bigger control field.12:28
MartijnVdSbrobostigon: one of my co-workers goes for nightly bike-rides through his town to level up 8-)12:28
brobostigonMartijnVdS: ah. :)12:28
brobostigonin android 4.2, is there a way to completly kill all background data, not just auto-aync and that stuff ?12:29
MartijnVdSbrobostigon: Settings -> Data usage -> Menu -> Limit background data12:31
MartijnVdSbrobostigon: that + disabling sync should kill mobile data unless you're actively looking at the screen12:32
brobostigonMartijnVdS: thank you. :)12:32
brobostigonah12:32
MartijnVdSbrobostigon: which phone did you get?12:32
brobostigonMartijnVdS: my dad surprised me this morning, with a galaxy nexus, didnt even ask or anything, abit older, but runs modern android fine.12:33
MartijnVdSbrobostigon: you can even flash it up to 4.3 if you want12:34
brobostigonMartijnVdS: yep, :)12:34
* MartijnVdS has one too12:34
brobostigonah.12:34
brobostigoni wasnt even really planning a new phone, so, it is ok with me, and a good upgrade up from my htc dream, :)12:35
MartijnVdSYeah, that's a good upgrade :)12:36
MartijnVdSit should feel a lot snappier too12:36
brobostigonyep :)12:36
brobostigonoh yes. by a million miles.12:36
brobostigoni wouldnt have minded a nexus4, but a galaxy nexus is all good with me.12:37
mungbeanhmm. need to remember how to erase parts of a gimp layer to reveal the layer below12:44
MartijnVdSmungbean: using a mask12:44
MartijnVdSmungbean: Shift+Q12:44
MartijnVdS(bottom left of the image -> QuickMask)12:44
MartijnVdSmungbean: paint it with the "invisible" colour12:44
mungbeanso i have 4 layers12:45
mungbeanmy boy jumping on the sofa12:45
mungbeani decide which is the "top layer"12:46
MartijnVdSgo to layers -> add alpha channel?12:46
mungbeanon every layer?12:46
MartijnVdSthen use the eraser tool?12:46
MartijnVdSon every layer you want to be (partially) transparent12:46
mungbeanok cheers12:46
mungbeandone this before, but with gimp i forget between efforts12:47
mungbeando i have to merge the layers down each time i work on a new layer?12:49
MartijnVdSmungbean: no, you can just keep it layered12:49
MartijnVdSmungbean: actions are done on the currently selected layer(s)12:50
mungbeanoh yes, thanks muchly12:50
mungbeanthanks martin, sorted :D13:18
MartijnVdS\o/13:18
mungbeanhttp://i.imgur.com/HWtO4jd.jpg MartijnVdS <<13:25
MartijnVdSClones!13:25
MartijnVdSAttack of the &13:25
brobostigonnext thing on my list for today, booze up tonight, with friends. :)13:26
MartijnVdSmungbean: or quadruplets?13:27
mungbeannormal life with a toddler13:28
MartijnVdSmungbean: ah, slow shutter time? :P13:34
popey Afternoon all!13:41
MartijnVdSpopey: hellos!13:41
daftykinsheya13:45
brobostigonafternoonings popey13:45
daftykinsmy word these newer laptop BIOS's can be slippery13:46
daftykinsjust managed, i think, to convince one to boot win7 in legacy mode despite having all the markings of a UEFI only beast :)13:47
MartijnVdSdaftykins: uh.. yay?13:52
daftykinsyeah, reinstalling a system for a friends gran13:53
daftykins£249.99 Asus X55C laptop13:53
daftykinslets just say legacy mode is easier for me...13:53
popey\o/ no jetlag13:54
MartijnVdSpopey: wow13:54
popeymanaged to get some kip on the plane13:55
MartijnVdSthat's always useful13:55
popeyoddly the same person was sat next to me on the way back as on the way out13:55
MartijnVdSpopey: NSA plant, following you?13:55
popeyhah, she worked for EMC13:55
popeyso maybe13:55
shaunothe shrubbery was the giveaway13:56
MartijnVdSbrobostigon: btw, you can go to the "Data usage" screen and see which app uses/used background data, and disable it specifically for that app14:00
MartijnVdSbrobostigon: if the global setting too, well, global :)14:01
brobostigonMartijnVdS: data isnt the issue, i have no fup unlimited data, bettery usage was more my worry.14:01
MartijnVdSbrobostigon: ah.. that's best on wifi actually (weird but true)14:04
brobostigonMartijnVdS: yep, i have seen various things myself on that one.14:04
brobostigonso just turning off auto-sync will provide sufficant battery saving ?14:07
MartijnVdSbrobostigon: I have auto-sync on, and I can go just over a day with a single charge14:08
MartijnVdSbrobostigon: but I never do, because I charge it almost everywhere (home, car, office)14:08
brobostigonMartijnVdS: wow, ok, thats a huge improvemnt over 2.3 on my dream.14:08
MartijnVdSIf I set it to airplane mode before going to sleep, I can make it 2 "waking" days14:09
brobostigonthats pretty good.14:09
MartijnVdSbrobostigon: I also have this for longer trips: http://www.voltaicsystems.com/fuse4w.shtml14:10
MartijnVdSbrobostigon: but usually I go to hotels, which tend to have proper power :)14:11
brobostigonnice bit of kit, :)14:11
MartijnVdSit's a solar-powered battery ;)14:11
brobostigon:)14:11
MartijnVdSthey also have larger ones to charge laptops14:12
brobostigoncool.14:13
mungbeanedge funding has stalled now > 700 :(15:02
MartijnVdSmungbean: it's also the weekend15:11
brobostigonprey installed on new phone, good. much better now.15:28
MartijnVdSprey?15:29
brobostigonit is tracking software, so if my phone goes missing, i can sms it, and it comes alive, and tells me where it is, and can takes pictures via the cameras and such things.15:30
MartijnVdSah15:30
brobostigonit also disables lock screen, so it cant be uncloked and such thing also.15:30
MartijnVdSdoesn't that need root? and doesn't it eat battery?15:31
brobostigonwhen it runs yes, but not in itself, it is idle, untill i sms it.15:31
mgdmToday's fail: discovering, after going outside, that my new shoes fit almost as well on the wrong feet as they do the correct way15:42
daftykinsXD15:43
daftykinsgood work mgdm15:43
penguin42wth do I have a linkedin connect request from a Vicar16:37
daftykinsso he can judge your every word16:37
shaunobecause you haven't added a procmail rule to make linkedin disappear :)16:38
penguin42well, I might be on the lookout, so ...16:39
MartijnVdShttps://www.youtube.com/watch?v=0AuG9vig38I17:10
brobostigonis there a way of telling android and fixinf which 3g band it uses, which is stronger insted of it contantly searching around ?17:10
MartijnVdSbrobostigon: it automatically picks the stronger one I think17:11
brobostigonMartijnVdS: it isnt doing that, is is switching between 3g and hsdpa all the time, and isnt staying still.17:11
MartijnVdSbrobostigon: that's expected17:12
MartijnVdSbrobostigon: it switches to "H" when there's data traffic, then back to "3G" when it's idle17:12
brobostigonMartijnVdS: i just did a battery test, and it showed 34% within signal,17:12
brobostigonwithout*17:12
MartijnVdSbrobostigon: in the "About phone" pages (Status) you can see what kind of network it's currently connected to17:13
brobostigonyes, hspa.17:13
MartijnVdSIt switches HSPA+/UMTS for me, and the switching up coincides with data traffic17:14
brobostigonhmm,17:14
MartijnVdSI think it's a battery thing17:14
MartijnVdSHSPA costs more battery to run, but you can send shorter bursts (higher speed)17:15
brobostigoni want to stop it from switching, as it is showing 34% without signal. which uses loads of battery,17:15
MartijnVdSbrobostigon: just charge it 100%, then walk around with it disconnected one day, and look in the "Battery" page in the settings17:15
MartijnVdSthat's the most accurate way of telling what's eating your battery17:15
brobostigonMartijnVdS: that test will be tonight.17:15
brobostigonin mobile network setting, i just noticed a "enable always on mobile data"17:16
MartijnVdSbrobostigon: disabling that disables lots of other things17:17
brobostigonMartijnVdS: however ownt it solve the problem ?17:18
MartijnVdSactually, if it's the top option in the menu, it disables *all* mobile data17:18
MartijnVdSso it'll do calls and SMS and wifi, but no 2G/3G data17:18
brobostigondata is enabled at the top of that menu.17:18
MartijnVdSbrobostigon: believe me, the people writing Android know about battery issues, the defaults are quite good17:18
brobostigonMartijnVdS: yes, i would agree. however didnt you say, it will switch back when n odata is being used, now wont keeping data on all the time avoid that problem, therefore avoid that time without signal and the resulting battery uage ?17:20
MartijnVdSkeeping data on is no problem17:20
brobostigonso it wont swtich back and forth anymore?17:20
MartijnVdSof course it will17:21
MartijnVdSif there's data to transfer, it'll scale up17:21
MartijnVdSthen, when the data is done transfering, it scales back to a less battery-hungry state17:21
MartijnVdSlike the CPU in a laptop, basically17:21
brobostigonok, thank you MartijnVdS. need to get moving, meeting my friends for birthday beer. :)17:22
MartijnVdSif you're encoding a video, it spins up to full speed, if you're just IRCing, it's at minimum speed doing almost nothing17:22
brobostigonok, bye bye,17:23
MartijnVdSbye?17:23
brobostigonbirthday beer with friends.17:23
brobostigon7pm, in half an hour.17:23
brobostigonand need to get ready still.17:23
MartijnVdSah, IRL birthday party :)17:24
brobostigonyes, :)17:24
MartijnVdSBye!17:24
brobostigonbye, o/17:24
mgdmhappy birthday brobostigon17:31
Monotokowhat would be writing over 20mb to the HDD per minute, and how do I stop it so I can go back to my work holiday? :( - I don't know if it's possible to expand server partition size?17:32
MartijnVdSMonotoko: iotop will tell you17:32
MartijnVdSMonotoko: maybe logs?17:32
MartijnVdSMonotoko: for some crashing & auto-restarting daemon?17:32
MonotokoMartijnVdS, looks like clamav was writing a lot...17:36
Monotokounder the freshclam process17:36
Monotokokilling that made it stop17:36
MartijnVdSMonotoko: that's virus definitions17:36
Monotoko(and I've removed old rotated logs to clear up space)17:36
MonotokoMartijnVdS, where are those stored? /etc?17:37
MartijnVdS /var somewhere I guess17:37
MartijnVdS/var/lib/clamav is my guess17:37
Monotokoshould probably get /var onto another partition...17:38
=== Hornet- is now known as Hornet
bigcalmGood evening peeps :)19:01
MartijnVdS\o bigcalm19:03
bigcalmWhy can I never remember how to run an ssh tunnel?19:05
penguin42bigcalm: Well, its' -L or -R with a bunch of parameters in some random order19:05
bigcalm:D19:05
shaunoI probably couldn't do it off the top of my head either.  I have the ones I use in my .ssh/config, and there they stay19:06
penguin42on +1 watch out for stuff getting mounted as /media/username/mountpoint rather than /media/mountpoint - it confuses everything but is probably the right thing to do19:06
bigcalmBah19:10
bigcalmEven running a ssh tunnel to a server that I know can access PB still causes my ISP to block the site locally19:10
bigcalmUnless I'm running the command incorrectly19:11
shaunodepends what they're blocking where.  if you, eg, send http traffic over a socks proxy at the other end of the ssh tunnel, but dns requests are going straight out of your network as normal, you're trusting them not to interfere with those dns requests19:12
bigcalmAh19:12
shaunoor it could be something simple like not actually using the socks proxy at the other end of the tunnel :)19:13
shauno(if you google "what's my IP", google actually answers now, which is handy and intuitive.  if that answers with your normal address, it'd be a huge red flag)19:14
bigcalmI was trying to use the ssh tunnel for 1 specific host and port19:14
* bigcalm gives up and goes back to sleep19:15
shaunothere should be other ways to test.  eg, I keep saying socks because that's what I use; my socksd logs connections on the server, so that log would tell me whether I'm even connecting to it or not19:16
MartijnVdShttp://meteox.com/h.aspx?r=&jaar=-3&soort=loop1uur&lightning=119:19
HoT|2fC^Evening all :) hope all is well.20:07
HoT|2fC^I am trying to put files on my Ubuntu Server over WinSCP, but it will not let me copy to /home/username/files/ :(20:08
HoT|2fC^what do I need to type to give me write permissions so I can copy file over.20:08
mgdmare you logging in as the same user?20:09
HoT|2fC^yeah20:09
HoT|2fC^on WInSCP?20:09
mgdmaye20:10
mgdmthat's weird20:10
HoT|2fC^what is ?20:10
mgdmhave you made the directory already? Who is it owned by?20:10
HoT|2fC^:o20:10
HoT|2fC^yeah just made /files/20:11
HoT|2fC^mkdir in ser over ssh20:11
HoT|2fC^in home/user/20:11
mgdmdo 'ls -al' in /home/user and paste it, maybe?20:12
HoT|2fC^owner is root20:12
HoT|2fC^wth20:12
mgdmah, change that - sudo chown -R user:user files20:13
HoT|2fC^n120:13
HoT|2fC^mmm says root still weird20:15
HoT|2fC^ok sorted20:16
mgdmHoT|2fC^: is it behaving now?20:21
HoT|2fC^mgdm: yes thanks its working now :)20:22
HoT|2fC^I have FTP woooo so I can back up off here now ... just need some SCSI drives for the server! :D20:23
HoT|2fC^seen some 146GB ones cheap on ebay and new also with the correct scsi bays ;) by Conpaq20:23
HoT|2fC^Compaq*20:23
mgdmcool20:24
shaunoI'm ditching my SAS drives for ssd in the near future20:25
HoT|2fC^mgdm, should I use SFTP port forwarding ? instead of just FTP!20:25
HoT|2fC^ah nice nice :)20:25
HoT|2fC^I want to access ftp any where an to do so id need to port forward my router!20:26
MartijnVdSHoT|2fC^: just use passive mode?20:26
MartijnVdSsftp uses the ssh protocol20:26
HoT|2fC^true20:26
shaunoif you can get away with using sftp rather than ftp, I would.  it's so much cleaner when it comes to forwarding20:26
MartijnVdSYou don't want to use FTP, as it's insecure and not encrypted.20:27
shauno(besides the obvious advantage of not having cleartext passwords)20:27
MartijnVdSwhich means passwords and data can be sniffed.20:27
HoT|2fC^I have on my router now SFTP20:27
HoT|2fC^117?20:27
HoT|2fC^115 port number sorry20:27
MartijnVdSHoT|2fC^: What do you want to accomplish?20:27
MartijnVdSHoT|2fC^: do you want to upload files to the server?20:27
HoT|2fC^MartijnVdS: yes20:27
MartijnVdSHoT|2fC^: do you want the server to upload files to somewhere else?20:27
MartijnVdSHoT|2fC^: use sftp or scp, port 22 (ssh)20:27
HoT|2fC^MartijnVdS: ok :)20:28
MartijnVdSHoT|2fC^: for security, also install "fail2ban" which blocks the remote host if authentication fails 5 times20:28
MartijnVdSHoT|2fC^: (this blocks password-guessing hack robots)20:28
shauno115 isn't ssh's sftp.  it's another service that's also named sftp, just to make life interesting20:28
HoT|2fC^ooo nice20:28
HoT|2fC^how do I install that MartijnVdS20:28
MartijnVdSHoT|2fC^: apt-get install fail2ban20:28
HoT|2fC^nice20:28
MartijnVdSHoT|2fC^: remember, installing == apt-get install -- man apt-get:)20:29
HoT|2fC^:o20:29
MartijnVdSHoT|2fC^: reading manuals == good practice, helps you remember, because you know why things are the way they are :)20:29
HoT|2fC^how do I configure now ?20:30
HoT|2fC^true :D20:30
MartijnVdSHoT|2fC^: the default installation is already configured20:30
HoT|2fC^So it bans them perm?20:30
MartijnVdSHoT|2fC^: you can tune it with files in /etc/fail2ban -- also read the manpage and /usr/share/doc/fail2ban/*20:30
MartijnVdSHoT|2fC^: The documentation explains it all. Please read it?20:31
HoT|2fC^for now is it ok :o20:31
HoT|2fC^ok20:31
HoT|2fC^do I read it via nano?20:32
HoT|2fC^damn lol20:32
MartijnVdSHoT|2fC^: nah, I'd use "less"20:33
MartijnVdSHoT|2fC^: "man" also uses less20:33
MartijnVdSHoT|2fC^: and, again: man less ;)20:33
HoT|2fC^:}20:34
HoT|2fC^how can I get in FTP now outside the network ?20:41
HoT|2fC^I have portforwarded ftp20:42
daftykins?20:43
daftykinsFTP port 21 tends to be the control port only, you typically need to specify a data range of ports (e.g. 1024 to 1030) then forward them too and specify them in your FTP server20:43
HoT|2fC^mmm20:44
HoT|2fC^I dont get last bit :/20:44
penguin42ftp port forwarding is a pain; you're sure you want ftp....20:44
HoT|2fC^penguin42, why is it ?20:45
daftykinsHoT|2fC^: http://slacksite.com/other/ftp.html20:45
HoT|2fC^I do yeah, but why would it be a pain :/20:45
daftykinsbecause of what i'm telling you, you need to edit your config a lot and add more ports ;D20:45
daftykinsSFTP/SCP on the other hand would be just one port20:45
HoT|2fC^daftykins, wow how many ports I need to open? would I need to custom port opening?20:46
HoT|2fC^or use SFTP/SCP/ Etc..20:46
daftykinssee where i talked about 1024:1030 ?20:47
daftykinsthat's an example.20:47
daftykinswhat are you actually trying to achieve?20:47
daftykinsjust being able to get stuff from home when you're out and about?20:47
HoT|2fC^yes daftykins20:47
HoT|2fC^music etc20:47
daftykinsyeah install openssh-server and forward port 22 then - it'll be encrypted then \o/20:47
HoT|2fC^what you mean ? I have openssh-server on my server20:48
HoT|2fC^and I have port forward 21-22 :D20:48
HoT|2fC^under FTP20:48
daftykins21 is FTP, 22 is SSH20:48
daftykinsso then use an SFTP client instead when you're out and about20:49
HoT|2fC^ah I see I have SSH 22 here20:49
HoT|2fC^and FTP as 21-2220:49
daftykins...20:49
HoT|2fC^ah ok20:49
daftykinsthere's only one 22 available on the internet side of the router :)20:49
HoT|2fC^:o20:50
daftykinsso you can only forward port 22 to *one* destination PC behind your router20:53
HoT|2fC^ah I see20:53
daftykinsso yeah give that a go instead of FTP20:55
daftykinsFTP's too insecure really for over the interwebs20:56
GentileBenSo use SFTP!!21:08
GentileBenOr just VPN in.21:08
ali1234thing is, unix based technologies aren't going to help you much if you're a windows user. not unless you know a great deal about how they both work21:10
ali1234better to find some solution that is windows based, if you use windows21:10
daftykinshttp://i.imgur.com/Lht1eSd.png21:13
daftykins1.6GB/sec sequential reads? yes please21:15
daftykinser 1.8*21:15
penguin42daftykins: Off what?21:55
daftykinsa friends new work server's 6 x 2TB SAS in RAID6, fronted by a pair of Intel cache SSDs21:56
penguin42ok right22:04
daftykins:)22:04
daftykinsah-har, so THATS why the Windows MSRT keeps running twice on peoples systems22:19
daftykinssilly Microsoft22:19
penguin42?22:28
daftykinsduring the monthly patch tuesday updates, the Malicious Software Removal Tool is the monthly one that's basically a big fat script to remove malicious software22:32
daftykinsto try and cull Windows boxes of being part of botnets etc22:32
daftykinsbut for some reason July's ran twice22:32
daftykinsturns out it ran two different versions22:32
penguin42hah I didn't realise they ran a malware remover in the updates22:37
daftykinsyep :)22:37
penguin42frankly it's not a bad move - I mean trying to run a software updater on a system full of malware ain't going to be pretty23:01
daftykinsindeed23:02
daftykinsin fact there was that time when a service pack bricked Windows installs that had a specific malware on them23:02
penguin42yeh I have sympathy with that23:03

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