Go to advanced search

by sprinkmeier
Wed Jul 03, 2013 1:01 am
Forum: Beginners
Topic: Noob questions - Cheap USB Power
Replies: 5
Views: 961

Re: Noob questions - Cheap USB Power

bad power is the single bigest cuplrit for random crashes and misbehaviours. Do yourself a favour and get a decent powersupply. If your Pi is running well and stable, then play with the cheapies. If it starts to misbehave you'll know why. I've bought dozens of these for class: http://au.element14.co...
by sprinkmeier
Tue Jul 02, 2013 7:46 am
Forum: Other projects
Topic: on off switch
Replies: 65
Views: 143896

Re: on off switch

A switch like this would power off the Pi abrubpty. Eventually you'll nuke your SD card doing that...

Look for some of the projects here using the GPIO pins as power/reset buttons.
Pins 5 and 6 are ideal (one is ground, one is tied high, all you need is a pushbutton switch!)
by sprinkmeier
Tue Jul 02, 2013 7:44 am
Forum: Beginners
Topic: Incoming IP calls rejected
Replies: 2
Views: 596

Re: Incoming IP calls rejected

The hardware wouldn't know the differance between an incoming connection or a reply packet to an outgoing connection.

Did your RasPi's IP address change?
by sprinkmeier
Sat Jun 29, 2013 12:28 pm
Forum: General discussion
Topic: Opencv c++ with raspberry pi
Replies: 8
Views: 10207

Re: Opencv c++ with raspberry pi

try running

Code: Select all

$ sudo apt-get update
first.

If that doesn't work post the output and error messages.
by sprinkmeier
Sat Jun 29, 2013 12:14 pm
Forum: General discussion
Topic: No Display
Replies: 1
Views: 340

Re: No Display

On occasion these options come in handy for making HDMI monitors work:
http://elinux.org/RPi_config.txt#Video_mode_options
by sprinkmeier
Sat Jun 29, 2013 12:06 pm
Forum: C/C++
Topic: Can someone recommend a linux C programming forum?
Replies: 3
Views: 1452

Re: Can someone recommend a linux C programming forum?

I've done the Python version of these, they seemed decent enough:
http://www.learn-c.org/
http://c.learncodethehardway.org/
by sprinkmeier
Sat Jun 29, 2013 12:01 pm
Forum: Networking and servers
Topic: How to Implement Low Speed Data Link?
Replies: 1
Views: 551

Re: How to Implement Low Speed Data Link?

The python-serial package gives you easy access to a serial port from Python.
Something like dyndns should allow the systems to find each other.
by sprinkmeier
Sat Jun 29, 2013 11:44 am
Forum: General discussion
Topic: Opencv c++ with raspberry pi
Replies: 8
Views: 10207

Re: Opencv c++ with raspberry pi

Once it's installed the easiest way to use it is using the pkg-config utility. Check that it's lists: $ pkg-config --list-all | grep cv I don't hace it installed, so I'll use the SQLite3 library as an example: $ pkg-config --list-all | grep sql sqlite3 SQLite - SQL database engine Now I can query th...
by sprinkmeier
Sat Jun 29, 2013 11:09 am
Forum: General discussion
Topic: Opencv c++ with raspberry pi
Replies: 8
Views: 10207

Re: Opencv c++ with raspberry pi

Code: Select all

$ sudo apt-get install libopencv-dev 
If that's not the right package, see

Code: Select all

$ dpkg --search libopencv*
by sprinkmeier
Sat Jun 29, 2013 8:30 am
Forum: Other
Topic: help to boot OS
Replies: 2
Views: 1077

Re: help to boot OS

Unless you specifically want to know about Linux on the Pi why not try Linux from Scratch?
http://www.linuxfromscratch.org/
by sprinkmeier
Tue Jun 25, 2013 8:53 pm
Forum: Networking and servers
Topic: Problems with OpenVPN on RasPi
Replies: 19
Views: 23322

Re: Problems with OpenVPN on RasPi

is the Raspberry Pi set to forward traffic?

in /etc/sysctl.conf un-comment net.ipv4.ip_forward=1 and run sysctl --load
by sprinkmeier
Sun Jun 23, 2013 5:13 am
Forum: Beginners
Topic: unrequired apps & services?
Replies: 9
Views: 1835

Re: unrequired apps & services?

I've read about how to do that. But I've been unable to figure out how to determine if it originated in/outside the network. # allow local net iptables --append INPUT --source 10.2.1.0/24 --jump ACCEPT # allow VPN iptables --append INPUT --source 10.8.0.0/24 --jump ACCEPT # allow OpenVPN iptables -...
by sprinkmeier
Sun Jun 23, 2013 2:05 am
Forum: Beginners
Topic: unrequired apps & services?
Replies: 9
Views: 1835

Re: unrequired apps & services?

Is samba available directory or only through the VPN?
Keeping samba behind OpenVPN will decrease your attack-surface considerably.

look at the --in-interface and --source parameters for iptables on how to control access base on interface and source address.
by sprinkmeier
Sun Jun 23, 2013 1:43 am
Forum: General discussion
Topic: Management of Pi's
Replies: 7
Views: 2590

Re: Management of Pi's

For talking to a Pi from a windows box I'd suggest PuTTY
http://www.chiark.greenend.org.uk/~sgtatham/putty/
and WinSCP
http://winscp.net/
by sprinkmeier
Sun Jun 23, 2013 12:17 am
Forum: Beginners
Topic: unrequired apps & services?
Replies: 9
Views: 1835

Re: unrequired apps & services?

df --hum / lets you see how much diskspace is used. If you prefer a GUI, sudo apt-get install baobab baobab At around $1/G for a decent SD card it's probably not worth it trying to save a few MB here and there... Don't make the Pi accessible from the internet and 90% of your security worries are so...
by sprinkmeier
Sat Jun 22, 2013 11:10 pm
Forum: Beginners
Topic: unrequired apps & services?
Replies: 9
Views: 1835

Re: unrequired apps & services?

I recommend against un-installing stuff until you're past the Noob phase.
If something goes wrong and you ask for help the less standard your install is the more difficult it will be to remotely debug and help.

If you really want to remove something get rid of nano and install vim (just kidding!)
by sprinkmeier
Fri Jun 21, 2013 8:10 am
Forum: Troubleshooting
Topic: Please help !
Replies: 9
Views: 1175

Re: Please help !

as klricks suggested use a Linux computer to edit the file. If you don't have one just get a live CD/DVD and boot your PC/laptop off it. This will let you mount the SD card's ext4 partition and fix the file. This link shoudl get you an Ubuntu Live DVD: http://www.ubuntu.com/download/desktop There ar...
by sprinkmeier
Thu Jun 20, 2013 12:11 am
Forum: Troubleshooting
Topic: eth0 network problems (Please help)
Replies: 12
Views: 1690

Re: eth0 network problems (Please help)

Can you configure the device manually (i.e. is the problem with the device or with the way it's configured):

Code: Select all

sudo ifconfig eth0 192.168.2.2/24
sudo ip route add default via 192.168.2.1
by sprinkmeier
Wed Jun 19, 2013 11:25 pm
Forum: Troubleshooting
Topic: eth0 network problems (Please help)
Replies: 12
Views: 1690

Re: eth0 network problems (Please help)

Can you post the output of

Code: Select all

sudo dmesg -c
# lots of stuff, probably going back to boot, don't post this bit
sudo service networking restart
sudo dmesg -c
ifconfig
# some stuff that should be relevant to the network bouncing
by sprinkmeier
Wed Jun 19, 2013 10:39 pm
Forum: General discussion
Topic: Management of Pi's
Replies: 7
Views: 2590

Re: Management of Pi's

forgot to mention etckeeper, a wonderful tool for tracking/documenting/undoing changes in /etc
by sprinkmeier
Wed Jun 19, 2013 10:36 pm
Forum: Troubleshooting
Topic: eth0 network problems (Please help)
Replies: 12
Views: 1690

Re: eth0 network problems (Please help)

unix tends to be case sensitive, I wouldn't use Address etc.
auto eth0 seems to be missing
by sprinkmeier
Wed Jun 19, 2013 10:31 pm
Forum: General discussion
Topic: Management of Pi's
Replies: 7
Views: 2590

Re: Management of Pi's

1. How can you centrally manage these devices? for example, if we deployed 100 of these how would we update 100 SD cards remotely to either a new version of the software or to make config changes once we have done the initial deployment and builds? for up to a dozen boxes check out clusterssh . I r...
by sprinkmeier
Wed Jun 19, 2013 10:07 pm
Forum: Troubleshooting
Topic: eth0 network problems (Please help)
Replies: 12
Views: 1690

Re: eth0 network problems (Please help)

post your /etc/network/interfaces Something like this should work: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address 192.168.0.42 netmask 255.255.255.0 gateway 192.168.0.1 Also... install etckeeper . it takes snapshots of your /etc directory allowing you to undo changes. By def...
by sprinkmeier
Tue Jun 18, 2013 11:55 am
Forum: Python
Topic: From Arduino to Raspian via Python... Easyest way ?
Replies: 11
Views: 6463

Re: From Arduino to Raspian via Python... Easyest way ?

#! /usr/bin/python2.7 import serial # memory filesystem, data lost when power goes off, but doesn't wear out your SD card DIR='/dev/shm' # your home directory import os DIR=os.path.expanduser('~') # pretty much anywhere else is going to be readonly to a normal user like "pi" # install apache, let p...
by sprinkmeier
Tue Jun 18, 2013 11:10 am
Forum: Troubleshooting
Topic: Unable To Use AES password
Replies: 3
Views: 535

Re: Unable To Use AES password

Is your WiFi dongle on the verified products list?
http://elinux.org/RPi_VerifiedPeripherals

Go to advanced search