Go to advanced search

by smartpatrol
Tue May 07, 2013 8:16 pm
Forum: Beginners
Topic: Safe SSH access to Pi over internet
Replies: 25
Views: 58248

Re: Safe SSH access to Pi over internet

What i have done is limit root access to private network and only allow my username login from outside my network in the sshd_config. I also extensively use iptables to block all ip addresses from countries that have no business accessing my system created from https://www.countryipblocks.net for go...
by smartpatrol
Tue May 07, 2013 8:06 pm
Forum: Beginners
Topic: Slow files transfer via samba
Replies: 5
Views: 3893

Re: Slow files transfer via samba

you can try tuning the kernel parameters associated with the network interface. Below is what i have in my /etc/sysctl.conf on my pi which should increase transfer rates(results may vary). Tack the below to the bottom of your sysctl.conf and issue a sysctl -p command to reread the kernel settings in...
by smartpatrol
Thu Nov 01, 2012 10:07 pm
Forum: Networking and servers
Topic: Large files fail to copy to smb share!
Replies: 4
Views: 3722

Re: Large files fail to copy to smb share!

If your share is on an SD card try running df -i if it says 100% you are out of inodes.
by smartpatrol
Thu Nov 01, 2012 9:54 pm
Forum: Networking and servers
Topic: Boot from LAN
Replies: 9
Views: 23625

Re: Boot from LAN

Have a look at etherboot
http://etherboot.org/wiki/start
by smartpatrol
Tue Oct 30, 2012 3:55 am
Forum: Beginners
Topic: Rpi constantly freezes up
Replies: 12
Views: 2078

Re: Rpi constantly freezes up

I am pretty sure vi or vim is installed but that may not help since vi is not new user friendly :shock: . Try something like the following: more /var/log/messages space to list a page and enter to list line by line for dmesg try: dmesg | more You are looking for obvious error messages can't say what.
by smartpatrol
Mon Oct 29, 2012 1:37 am
Forum: Networking and servers
Topic: remote access
Replies: 10
Views: 3852

Re: remote access

Thanks everyone :-) 1. On a local lan its fine over low bandwidth its not good I don't understand, why? X Window makes work GUI on Linux, doesn't it? KDE and GNOME are also based on X Window, don't they? if so I think I have understood 3. I would suggest X forwarding over SSH instead of your choice...
by smartpatrol
Mon Oct 29, 2012 1:28 am
Forum: Networking and servers
Topic: Maximum theoretical PPPoE throughput?
Replies: 5
Views: 3076

Re: Maximum theoretical PPPoE throughput?

I plan on using a pi as a firewalling router myself on my 12MB ADSL line. What is your downstream bandwidth? I would imagine that you would get at least 100MB one way no problem. Well, remember that the Ethernet is in fact a Ethernet-USB bridge, so if you could get the full USB bandwith, it would b...
by smartpatrol
Sun Oct 28, 2012 8:12 pm
Forum: Networking and servers
Topic: is it a problem with too many small writes
Replies: 1
Views: 518

Re: is it a problem with too many small writes

To many small writes to what type of drive? If its flash yes i will increase your wear if its plater based storage all you have to worry about worst case is file system inodes(many many small files).
by smartpatrol
Sun Oct 28, 2012 8:04 pm
Forum: Networking and servers
Topic: Maximum theoretical PPPoE throughput?
Replies: 5
Views: 3076

Re: Maximum theoretical PPPoE throughput?

I plan on using a pi as a firewalling router myself on my 12MB ADSL line. What is your downstream bandwidth? I would imagine that you would get at least 100MB one way no problem.
by smartpatrol
Sun Oct 28, 2012 7:55 pm
Forum: Networking and servers
Topic: remote access
Replies: 10
Views: 3852

Re: remote access

Answers:
1. On a local lan its fine over low bandwidth its not good
2. No
3. VNC over an SSH tunnel would be secure.
4. The best remote admin tool is a terminal session using ssh.
5. see 4
6. VNC might work but it depends on the network.
by smartpatrol
Sun Oct 28, 2012 7:48 pm
Forum: Wanted
Topic: PI Heatsinks Wanted.
Replies: 7
Views: 4135

Re: PI Heatsinks Wanted.

Also any kit that is designed to fit Video card memory chips work perfectly such as the zerotherm zh100.
by smartpatrol
Sun Oct 28, 2012 5:28 pm
Forum: Beginners
Topic: Rpi constantly freezes up
Replies: 12
Views: 2078

Re: Rpi constantly freezes up

Anything in /var/log messages or dmesg logs ?
by smartpatrol
Sun Oct 28, 2012 3:10 pm
Forum: Beginners
Topic: Booting to command-line interface
Replies: 4
Views: 58474

Re: Booting to command-line interface

If you can get to a terminal session you can issue an init 3 which will put you at Multi-user with networking run level;shutting off the GUI. You then can make that permanent but changing the default runlevel(Google it) in the /etc/inittab(be careful editing this file is easy to foobar your system w...
by smartpatrol
Sun Oct 28, 2012 3:00 pm
Forum: Beginners
Topic: nohup or screen run programs after disconnect ssh?
Replies: 2
Views: 5187

Re: nohup or screen run programs after disconnect ssh?

Can you provide a little more detail? its typically better to background or daemonize a process that needs to run all the time and interact with that process using tools to control it and monitor its output this is where scripting comes in handy.
by smartpatrol
Sun Oct 28, 2012 2:55 pm
Forum: Beginners
Topic: Raspberry Pi- the saviour of Linux?
Replies: 29
Views: 5877

Re: Raspberry Pi- the saviour of Linux?

I completely understand where you are coming from being new to the scene I have used linux as a hobby and professionally over the last 15 for real work such as edge mail handling 200k messages a day at a mid-sized company filtering spam and viruses or as Oracle Database servers. Most Linux distribut...
by smartpatrol
Sun Oct 28, 2012 2:21 pm
Forum: General discussion
Topic: Exim Security Release Missing
Replies: 2
Views: 807

Re: Exim Security Release Missing

Nice to know lucky enough i specifically compile out DKIM(which appears to be another option for protecting).
by smartpatrol
Sat Oct 27, 2012 7:35 pm
Forum: General discussion
Topic: Tiny Core Linux
Replies: 32
Views: 9120

Re: Tiny Core Linux

I have had a good experience running Gentoo with the raspberry pi kernel from git hub. I prefer monolithic kernels with only the minimal set of drivers compiled in order to avoid modules. One concern was compile time however on the 512mb pi using the ondemand cpu governor and a clock range from 500m...
by smartpatrol
Fri Oct 26, 2012 8:53 pm
Forum: General discussion
Topic: My Raspberry PI with Heatsink and Fan
Replies: 21
Views: 31744

Re: My Raspberry PI with Heatsink and Fan

Not sure if their is any specific benefit for this particular processor but in general as you may already know heat is the enemy of electronics decreasing longevity and more importantly increasing resistance ergo increasing power consumption. For me i like cool running components and its easy to add...
by smartpatrol
Wed Oct 24, 2012 3:30 pm
Forum: General discussion
Topic: My Raspberry PI with Heatsink and Fan
Replies: 21
Views: 31744

Re: My Raspberry PI with Heatsink and Fan

Also for those interested in putting a fan on your Pi mcm electronics sells Miniature 5 volt Blower Fans and a 5 volt Fan 15mm x 15mm x 4mm in size.
by smartpatrol
Wed Oct 24, 2012 3:02 pm
Forum: Gentoo
Topic: vcgencmd on Gentoo
Replies: 4
Views: 5276

vcgencmd on Gentoo

Anyone get vcgencmd to function on Gentoo? i downloaded the binaries from github specifically the /opt directory when executed is complain of file not found which i am assuming has to do with perhaps the libraries or other dependencies being in the path. Just wanted to check if anyone else has gotte...
by smartpatrol
Wed Oct 24, 2012 2:18 pm
Forum: General discussion
Topic: My Raspberry PI with Heatsink and Fan
Replies: 21
Views: 31744

Re: My Raspberry PI with Heatsink and Fan

I used a vga fet heat sink from the ZH100 kit byt Zero therm they are ram chip size and smaller and a nice anodized green color! I figure its better than nothing.
by smartpatrol
Thu Oct 18, 2012 2:55 am
Forum: Networking and servers
Topic: Incremental backup server
Replies: 12
Views: 12228

Re: Incremental backup server

I second rdiff-backup i am currently using it to replace the functionality mozy provided previously using wrapper scripts and some ssh tunnels.
by smartpatrol
Thu Oct 18, 2012 2:37 am
Forum: Beginners
Topic: Bash script help
Replies: 4
Views: 1359

Re: Bash script help

This type of thing is well documented on the internet but to save you some searching a simplified script woudl be

RESULT=`ps aux | grep foo | grep -v grep`

if [ -z "$RESULT" ]; then
do something
else
don't so something
fi

-z is tests for null or in the case empty string

Go to advanced search