[08:42] <karlhewer> need som advise plz
[08:43] <karlhewer> Is this the right place to get some advise?
[08:44] <karlhewer> Just need to chat with a server wiz for 2 mins
[08:45] <bekks> Starting to ask your actual question would be a good beginning :)
[08:50] <karlhewer> Ahh
[08:51] <karlhewer> Rite o
[08:51] <karlhewer> Just want to know if sharing folders, files from my server to wan pcs
[08:52] <karlhewer> Is the best way to go about this with openvpn and samba?
[08:52] <karlhewer> Or is there a standard way that is preferd
[08:52] <bekks> "wan pcs" are Windows clients only?
[08:52] <karlhewer> Sorry
[08:52] <karlhewer> Over the internet
[08:53] <lordievader> Good morning.
[08:54] <karlhewer> google has all the answersi know but there is conflicting answers
[08:54] <bekks> "wan pcs" are Windows clients only?
[08:55] <karlhewer> i want to be able to share my folders n files from my server to friends pc's over the internet
[08:55] <karlhewer> Im doing it localy through samba
[08:56] <lordievader> karlhewer: You'd do good in answering bekks question.
[08:56] <karlhewer> oh thats a question
[08:56] <karlhewer> Lan = local area network, wan = network over the world wide web
[08:57] <karlhewer> I think
[08:57] <bekks> The question mark indicates a question, yes.
[08:57] <bekks> Are the wan computers Windows clients, or smart phones, or whatever?
[08:57] <bekks> I do know what a WAN is.
[08:57] <karlhewer> Oh
[08:57] <lordievader> I don't think the question was about the wan part, but about the Windows part.
[08:57] <karlhewer> Mainly windows clients
[08:58] <bekks> Mainly?
[08:58] <karlhewer> Smart phones will be local only
[08:58] <bekks> What are the other WAN clients?
[08:58] <karlhewer> Most of the clients will be windows at friends houses
[08:58] <bekks> What are the other WAN clients?
[08:58] <karlhewer> Other clients will be android os
[09:00] <karlhewer> Maybe apple phones but i dont care about them as long as windows and android can see my server shares from wan ill be happy
[09:00] <lordievader> I'd say ipsec + samba.
[09:03] <karlhewer> Ok would that still be the best option if i was creating a openvpn anyway
[09:03] <lordievader> Not sure if openvpn supports tunneling samba. Openvpn is application layer.
[09:04] <karlhewer> Ok thats what i was unsure about
[09:10] <karlhewer> anyone else got any veiws on how i should set this up
[10:58] <karlhewer> Would u experts say its ok to run samba through openvpn to wan windows clients
[10:58] <karlhewer> Or is there a much better way
[11:02] <lordievader> I get the feeling it won't work. But please do investigate.
[11:04] <maxb> I don't see why it couldn't work, but CIFS + WAN == Horribly Slow, usually
[11:18] <karlhewer> Slow.... how much slower
[11:19] <karlhewer> what is the common practise to share folders through wan, while still being mounted on the windows network tree at boot
[11:19] <maxb> In my experience it's *highly* dependent on the latency between client and server
[11:20] <maxb> My common practice is to not use Windows :-)
[11:20] <karlhewer> Ikr
[11:21] <karlhewer> I would dedicate my home to linux if the game suport was there.. and my friends are to lazy to learn a new os
[11:23] <maxb> You can probably get CIFS to work OK within a country, provided the client's internet connection isn't too terrible.
[11:23] <maxb> Transatlantic CIFS however, will be nasty
[11:24] <karlhewer> we all have fibre internet and gigabyte lans
[11:25] <karlhewer> And small country, new zealand
[13:23] <StathisA> good evening...this cron job does not start: "/usr/bin/rsnapshot hourly >> /home/user/detailed_logs/hourly_$(date +%Y%m%d_%H%M%S).log 2>&1". I suspect its because the "space" between "date" and "+"...is there another way to do it so that it runs? - this works fin in the cli, but in cron it does not start
[13:25] <lordievader> StathisA: What does the logs say about it?
[13:26] <StathisA> var/log/syslog: CRON[1386]: (root) CMD (   /usr/bin/rsnapshot hourly >> /home/st4t1c/detailed_logs/hourly_$(date +)
[13:26] <StathisA> just that
[13:26] <StathisA> no errors
[13:27] <lordievader> The file is not created?
[13:28] <lordievader> Ah, that command misses things ;)
[13:29] <StathisA> yes
[13:30] <StathisA> the command in the cron job is full and working in the cli
[13:30] <lordievader> StathisA: What I mean is the command in the logs is missing things. That is likely your problem.
[13:30] <StathisA> but somehow when the time comes, cron cannot "read" it fully, and i suspect it "stops" in the "(date +" portion
[13:30] <lordievader> Likely lack of escapes.
[13:31] <lordievader> Try "/usr/bin/rsnapshot hourly >> /home/user/detailed_logs/hourly_$(date '+%Y%m%d_%H%M%S').log 2>&1" as a start.
[13:31] <StathisA> let me try that, thanks
[13:37] <StathisA> " CRON[1554]: (root) CMD (   /usr/bin/rsnapshot hourly >> /home/user/detailed_logs/hourly_$(date '+)"
[13:37] <StathisA> not files yet
[13:37] <StathisA> no*
[13:38] <lordievader> Escape the '%', then.
[13:38] <StathisA> like how?
[13:38] <lordievader> \%
[13:38] <StathisA> hmmm
[13:38] <StathisA> with or without single quotes?
[13:39] <StathisA> how can this work in shell and not in cron..:-S
[13:40] <lordievader> Likely different parsings.
[13:45] <StathisA> CRON[1586]: (root) CMD (   /usr/bin/rsnapshot hourly >> /home/user/detailed_logs/hourly_$(date '+%Y)
[13:46] <StathisA> thats the syslog with \%
[13:46] <lordievader> Err, how does the script look like now?
[13:47] <StathisA> "/usr/bin/rsnapshot daily >> home/user/detailed_logs/daily_$(date '+\%Y%m%d_%H%M%S').log 2>&1"
[13:47] <lordievader> Yeah, I ment escape all the %'s.
[13:48] <StathisA> ok i'll try, doh ><
[13:50] <StathisA> heh, it started now ><
[13:50] <StathisA> thanks a lot!
[13:51] <lordievader> ;)
[14:47] <SuperMX> Hello everyone, I recently have a problem with my ubuntu 14.04 server, now i was able to narrow the problem down
[14:48] <SuperMX> i always shut down the server by just tipping the power off key, but the next time I try to turn it on again there are just points oon the screen and even the bootloader doesn't start
[14:49] <SuperMX> so its it either because there is a problem in the poweroff procedure or it's because of the FAT32 filesystem (it's a quite old computer)
[14:51] <SuperMX> ok, now i just typed in "poweroff" and then started it again, this doesn't work either
[14:52] <SuperMX> in then always use a live cd to fsck the /dev/sda
[15:40] <Overand> Does anyone have ideas on the 'right' way to set the umask for the 'backup' user?  that user uses /var/backups as home, /bin/sh as shell
[18:21] <pmatulis> Overand: tell the user's shell what umask to use