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