=== 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 | ||
karlhewer | need som advise plz | 08:42 |
---|---|---|
karlhewer | Is this the right place to get some advise? | 08:43 |
karlhewer | Just need to chat with a server wiz for 2 mins | 08:44 |
bekks | Starting to ask your actual question would be a good beginning :) | 08:45 |
karlhewer | Ahh | 08:50 |
karlhewer | Rite o | 08:51 |
karlhewer | Just want to know if sharing folders, files from my server to wan pcs | 08:51 |
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:52 |
lordievader | Good morning. | 08:53 |
karlhewer | google has all the answersi know but there is conflicting answers | 08:54 |
bekks | "wan pcs" are Windows clients only? | 08:54 |
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:55 |
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:56 |
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:57 |
bekks | Mainly? | 08:58 |
karlhewer | Smart phones will be local only | 08:58 |
bekks | What are the other WAN clients? | 08:58 |
=== Lcawte|Away is now known as Lcawte | ||
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 | 08:58 |
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:00 |
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:03 |
karlhewer | Ok thats what i was unsure about | 09:04 |
karlhewer | anyone else got any veiws on how i should set this up | 09:10 |
=== bilde2910|away is now known as bilde2910 | ||
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 | 10:58 |
lordievader | I get the feeling it won't work. But please do investigate. | 11:02 |
maxb | I don't see why it couldn't work, but CIFS + WAN == Horribly Slow, usually | 11:04 |
karlhewer | Slow.... how much slower | 11:18 |
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:19 |
maxb | My common practice is to not use Windows :-) | 11:20 |
karlhewer | Ikr | 11:20 |
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:21 |
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:23 |
karlhewer | we all have fibre internet and gigabyte lans | 11:24 |
karlhewer | And small country, new zealand | 11:25 |
=== bilde2910 is now known as bilde2910|away | ||
=== rGalrito is now known as Galrito | ||
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:23 |
lordievader | StathisA: What does the logs say about it? | 13:25 |
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:26 |
lordievader | The file is not created? | 13:27 |
lordievader | Ah, that command misses things ;) | 13:28 |
StathisA | yes | 13:29 |
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:30 |
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:31 |
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:37 |
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:38 |
StathisA | how can this work in shell and not in cron..:-S | 13:39 |
lordievader | Likely different parsings. | 13:40 |
StathisA | CRON[1586]: (root) CMD ( /usr/bin/rsnapshot hourly >> /home/user/detailed_logs/hourly_$(date '+%Y) | 13:45 |
StathisA | thats the syslog with \% | 13:46 |
lordievader | Err, how does the script look like now? | 13:46 |
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:47 |
StathisA | ok i'll try, doh >< | 13:48 |
StathisA | heh, it started now >< | 13:50 |
StathisA | thanks a lot! | 13:50 |
lordievader | ;) | 13:51 |
SuperMX | Hello everyone, I recently have a problem with my ubuntu 14.04 server, now i was able to narrow the problem down | 14:47 |
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:48 |
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:49 |
SuperMX | ok, now i just typed in "poweroff" and then started it again, this doesn't work either | 14:51 |
SuperMX | in then always use a live cd to fsck the /dev/sda | 14:52 |
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 | 15:40 |
=== bilde2910|away is now known as bilde2910 | ||
pmatulis | Overand: tell the user's shell what umask to use | 18:21 |
=== ideopathic_ is now known as ideopathic | ||
=== bilde2910 is now known as bilde2910|away | ||
=== YamakasY is now known as YamakasY_ |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!