Go to advanced search

by Thijxx
Tue Feb 05, 2013 2:58 pm
Forum: Networking and servers
Topic: PPTP error when using 3G
Replies: 0
Views: 427

PPTP error when using 3G

Hi all, I've got a Pi with the PPTP server running, it works great, local, remote, almost from everywhere. It just doesn't work from iOS when I'm not on the local network. I suspect the router (WRT610N) does something different to incoming PPTP over 3G, I can see the request to connect gets to my PP...
by Thijxx
Mon Feb 04, 2013 3:42 pm
Forum: Networking and servers
Topic: SSH hacking and securing
Replies: 9
Views: 4172

Re: SSH hacking and securing

Hi all, I wanted to ask if anyone knows how the script kids get access to ssh servers? Weak passwords or no passwords at all. Once a port scan is done and it's determine that port 22 is open, they will then do what's called a dictionary attack (try random common words for passwords).Many people wil...
by Thijxx
Sun Feb 03, 2013 5:15 pm
Forum: Networking and servers
Topic: How can I set a VPN up?
Replies: 10
Views: 2324

Re: How can I set a VPN up?

randrade wrote:
Thijxx wrote:
randrade wrote:
My pptpd-options file is never created when I install pptpd. Any ideas why?
Without any error during installation? And are you sure it isn't somewhere else or hidden?
by Thijxx
Sun Feb 03, 2013 12:14 pm
Forum: Networking and servers
Topic: How can I set a VPN up?
Replies: 10
Views: 2324

Re: How can I set a VPN up?

randrade wrote:
That's for connecting to already existing VPNs. I want to create a VPN myself and connect to it.
I always use this as a guide:
http://wellsb.com/post/29412820494/rasp ... vpn-server
by Thijxx
Fri Feb 01, 2013 8:15 pm
Forum: Media centres
Topic: How to disable nightly build Raspbmc
Replies: 7
Views: 5714

Re: How to disable nightly build Raspbmc

Been there, done that. :( The solution is on the front page at http://www.raspbmc.com: "If you have any issues, such as a ‘relax’ loop, you can revert this via SSH or keyboard with the following command rm /home/pi/.xbmc-current ". Thanks for the quick reply! The file is not there. Also no SSH poss...
by Thijxx
Fri Feb 01, 2013 7:55 pm
Forum: Media centres
Topic: How to disable nightly build Raspbmc
Replies: 7
Views: 5714

Re: How to disable nightly build Raspbmc

Been there, done that. :( The solution is on the front page at http://www.raspbmc.com: "If you have any issues, such as a ‘relax’ loop, you can revert this via SSH or keyboard with the following command rm /home/pi/.xbmc-current ". Thanks for the quick reply! The file is not there. Also no SSH poss...
by Thijxx
Fri Feb 01, 2013 7:07 pm
Forum: Media centres
Topic: How to disable nightly build Raspbmc
Replies: 7
Views: 5714

How to disable nightly build Raspbmc

Hi all, XBMC (Raspbmc) suddenly didn't scrape for movie/tv information anymore. After a lot of Googling I tried to install a Nightly Build, big mistake. The Pi is in a boot loop now, I only see the extremely annoying "Relax, ..." message. I'm looking for a way to disable the nightly build, I know th...
by Thijxx
Sat Jan 26, 2013 8:22 pm
Forum: Networking and servers
Topic: OwnCloud tutorial
Replies: 2
Views: 6981

OwnCloud tutorial

Pie should be shared! So sometimes I give someone a Pi as a present, packed with Raspbmc and ready to go. I manage them using SSH over VPN. To learn more about my way with the Pi and VPN, check my post about it; http://www.raspberrypi.org/phpBB3/viewtopic.php?f=36&t=20916&p=201431#p201431 I have thi...
by Thijxx
Wed Jan 23, 2013 10:24 am
Forum: Networking and servers
Topic: meshed-PI network to syncronize folders over the internet
Replies: 8
Views: 2902

Re: meshed-PI network to syncronize folders over the interne

Maybe you can use OwnCloud?
OwnCloud & Raspberry: http://www.instructables.com/id/Raspber ... box-clone/

OwnCloud info: http://owncloud.org/

It's a Dropbox alternative and self-hosted..
by Thijxx
Fri Jan 18, 2013 2:10 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

I got it to work on a fresh Raspbian installation only, it's possible to arrange somewhat of the same functionality yourself. You need to create a RAM-disc, change the LOG-file paths and create a script for the regular copy from RAM to disc.

If you try this 'manual' approach, I'll be happy to help :)
by Thijxx
Wed Dec 26, 2012 11:29 am
Forum: Networking and servers
Topic: Unable to write to USB disk
Replies: 11
Views: 6633

Re: Unable to write to USB disk

pabile wrote:
I add "umask=0" and removed the "default" as per the Raspi wiki.
could you post the wiki link you mentioned here please. i could not seem to find it.

wanted to try:

Code: Select all

sudo apt-get install usbmount
but gives me a 404 error :(
You may want to try

Code: Select all

sudo apt-get update
and then try again
by Thijxx
Tue Dec 25, 2012 3:01 pm
Forum: Networking and servers
Topic: File sharing with OSX
Replies: 41
Views: 144681

File sharing with OSX

I never really enjoy Samba (who does?) and I do not have Windows machines but I do want easy file sharing with my Mac running OSX Lion. TimeMachine setup is included. The distribution I used this for is Raspbmc, it should work fine on Raspbian but mind the /media directory notes later on. Updated: 2...
by Thijxx
Fri Dec 21, 2012 10:30 am
Forum: General discussion
Topic: Making a NAS with R.Pi
Replies: 20
Views: 23340

Re: Making a NAS with R.Pi

alexeames wrote:
Mr.Dave wrote:*This is my 777 th post. Does that mean I can read, write and execute now? Who shall I execute?
:lol:
by Thijxx
Sun Dec 09, 2012 1:50 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

These are the configs at the Pi my Ramlog is working. If I copy them to the other Pi it still won't work but these are the right configs.. /etc/init.d/ramlog #!/bin/sh # # ramlog daemon script that moves moves /var/log into ramdisk # (c) 2001,2010 Jan Andrejkovic, Licence GNU 3 or any newer GNU lice...
by Thijxx
Sat Dec 08, 2012 7:24 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

For the config to kick in, reboot twice. Never change the /etc/init.d/ config file. Must be some kind of boot dependency but I can't figure it out.. Feel free to post here when you find it :mrgreen:
by Thijxx
Fri Dec 07, 2012 2:31 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

Hey McGyver, Make sure you reboot TWICE after each change. I had a lot of the same problems you encounter, but when I installed it on a clean version of Raspbian it's all working fine without any extra configuration. You should edit the Ramlog configuration here: /etc/default/ramlog so not in /etc/i...
by Thijxx
Thu Nov 22, 2012 1:15 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

Ramlog is now logging everything to RAM and just deleting/dumping the data when it reboots, it's a monster! :evil: I do not have this line: /dev/root 7.4G 1.6G 5.5G 23% /var/log.hdd That's the place it should write the log to but it never created the mount point, hmm.. Also, when I reboot, it only r...
by Thijxx
Thu Nov 22, 2012 10:37 am
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

OK. Completely started all-over again. Installed using sudo and rebooted 3 times after each change. It's working now; df -h ramlog-tmpfs 30M 1012K 30M 4% /var/log Nonetheless, when I run /etc/init.d/ramlog status it reports ramlog stopped :x Maybe that's because it runs no daemon or anything and I j...
by Thijxx
Wed Nov 21, 2012 6:02 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

I did the install using sudo. If I set the memory size, the whole thing stops working. Tried it 3 times and booted 3 times between every try ;) This is my /etc/default/ramlog #Ramlog service configuration RAMDISKTYPE=0 #0 = tmpfs (can be swapped) #1 = ramfs (no max size in older kernels, cannot be s...
by Thijxx
Wed Nov 21, 2012 9:16 am
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

When I set this setting in the right configuration file ramlog stops working. So I add the 10m or 20m or 10% to /etc/default/ramlog , then I reboot, then I notice the ramdisk is gone (df -h) and ramlog didn't start. This is crazy but the best part is this; when I remove the setting it still won't st...
by Thijxx
Tue Nov 20, 2012 2:15 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

Check it out, I got a tmpfs :) future readers: check out my previous post for how I cleaned my system from all ramlog files and settings. The virtual ram drive is 220M, that's just crazy, although it's not all allocated because HTOP shows only 40MB MEM used :? Two issues: When I ask ramlog for the s...
by Thijxx
Tue Nov 20, 2012 12:47 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

I've done a couple of things to remove ramlog from my Pi: apt-get remove ramlog apt-get purge ramlog apt-get clean Reboot grep "ramlog" * in the /etc/init.d/ removed ramlog from all daemon config files updatedb locate ramlog The locate only finds the installation .deb file. I guess it's really gone ...
by Thijxx
Tue Nov 20, 2012 8:24 am
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

I like your drastic approach :) but I need some time to test it this way. Maybe I'll wait till my other Pi's are delivered, I have to make three different setups then and they will all run Ramlog.

Thanks so far, to be continued!
by Thijxx
Mon Nov 19, 2012 2:15 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

I've added the 'ramlog' to #Required-Start & #Required-Stop fields for a lot of daemons and with no succes at this point. This is the output when starting manually. root@raspberrypi:~# /etc/init.d/ramlog start [FAIL Error: /var/log is in use... failed! The list of open files: (You need to close belo...
by Thijxx
Mon Nov 19, 2012 12:13 pm
Forum: Networking and servers
Topic: using logrotate and ramlog
Replies: 64
Views: 28636

Re: using logrotate and ramlog

Thanks for your reply.

I've changed the config, after a couple of reboots, nothing has changed.

What I did find is that when I start Ramlog manually, it can't find the /log mount it should have created (at boot-time?) so maybe it's an issue with credentials.

Go to advanced search