Go to advanced search

by sander2
Fri Feb 26, 2016 7:45 pm
Forum: Raspbian
Topic: FYI: Docker 1.10 on Raspbian on Raspi 2
Replies: 1
Views: 2695

FYI: Docker 1.10 on Raspbian on Raspi 2

FYI & FWIW: This is how I installed Docker 1.10 on Raspbian on Raspi 2, which I got working thanks to: http://blog.hypriot.com/downloads/ (for the docker deb) http://bridge360blog.com/2016/02/12/a-first-look-at-bamboo-and-docker/ (to solve the "Failed to restart docker.service: Unit docker.service i...
by sander2
Sun Nov 02, 2014 7:54 pm
Forum: Raspbian
Topic: Docker
Replies: 3
Views: 2583

Re: Docker

FWIW: https://packages.debian.org/jessie/docker.io indeed shows docker (aka docker.io) is included in jessie for the following CPU architectures: amd64 armel armhf i386 But, AFAIK, raspbian jessie is NOT using one-on-ne the debian jessie repository, which means docker.io is NOT automatically in rasp...
by sander2
Sun Oct 19, 2014 9:55 pm
Forum: Networking and servers
Topic: MRTG?
Replies: 21
Views: 19742

Re: MRTG?

loonix wrote: Hi all:

I made a one liner to fix this issue

Code: Select all

sed -i 's|import\ Socket6;|Socket6->import\(qw\(inet_pton\ getaddrinfo\)\);|' /usr/share/perl5/SNMP_Session.pm
Cheers

AR aka. loonix
Wow ... that worked! (With sudo added before the sed)

Thank you.
by sander2
Sat Oct 18, 2014 1:18 pm
Forum: Raspbian
Topic: "RuntimeError: Conflicting edge detection events already"
Replies: 13
Views: 4668

Re: "RuntimeError: Conflicting edge detection events already

I have put my code on github: https://github.com/sanderjo/GPIO-counter Full description: https://github.com/sanderjo/GPIO-counter/blob/master/README.md $ sudo ./gpio-counter.py ./gpio-counter.py <gpio-pin-number> <filename> [debug] Example usage: ./gpio-counter.py 23 /path/to/mylogfile ./gpio-counte...
by sander2
Wed Oct 15, 2014 12:13 pm
Forum: Raspbian
Topic: "RuntimeError: Conflicting edge detection events already"
Replies: 13
Views: 4668

Re: "RuntimeError: Conflicting edge detection events already

Hi Croston, any news on this?

FWIW: I'm just suprised, and I have it working with the extra FALLING, so no big deal if it must stay that way.
by sander2
Mon Oct 13, 2014 7:53 pm
Forum: Raspbian
Topic: "RuntimeError: Conflicting edge detection events already"
Replies: 13
Views: 4668

Re: "RuntimeError: Conflicting edge detection events already

croston wrote:I'll take a look when I get back from the pub!
In the pub? Good for you! But ... no 'phone stacking' in place, I guess? ;)
by sander2
Mon Oct 13, 2014 7:37 pm
Forum: Raspbian
Topic: "RuntimeError: Conflicting edge detection events already"
Replies: 13
Views: 4668

Re: "RuntimeError: Conflicting edge detection events already

Question: why is waiting for GPIO.RISING only (as in the second code snippet) not enough? Only waiting for GPIO.RISING will print an endless of "up" after the first GPIO.RISING trigger. I would expect that print only to happen once at the GPIO.RISING trigger, and then not until the following GPIO.RI...
by sander2
Sun Oct 12, 2014 7:16 pm
Forum: Raspbian
Topic: "RuntimeError: Conflicting edge detection events already"
Replies: 13
Views: 4668

Re: "RuntimeError: Conflicting edge detection events already

Ah ... got it working! There was a 'src' directory owned by root in the working directory. It seemed to contain RPi.GPIO stuff. I removed it, and to be sure, created a dummy working directory: sudo rm -rf src mkdir dummy cd dummy/ sudo pip install 'hg+http://hg.code.sf.net/p/raspberry-gpio-python/co...
by sander2
Sun Oct 12, 2014 7:03 pm
Forum: Raspbian
Topic: "RuntimeError: Conflicting edge detection events already"
Replies: 13
Views: 4668

Re: "RuntimeError: Conflicting edge detection events already

Trying to install, I get: [email protected] ~/pinnetje $ sudo pip install hg+http://hg.code.sf.net/p/raspberry-gpio-python/code#egg=RPi.GPIO Requirement already satisfied (use --upgrade to upgrade): RPi.GPIO from hg+http://hg.code.sf.net/p/raspberry-gpio-python/code in ./src/rpi.gpio Cleaning up... [email protected]...
by sander2
Fri Oct 10, 2014 2:27 pm
Forum: Raspbian
Topic: "RuntimeError: Conflicting edge detection events already"
Replies: 13
Views: 4668

Re: "RuntimeError: Conflicting edge detection events already

Uninstall RPi.GPIO: [email protected] ~/pinnetje $ sudo pip uninstall RPi.GPIO Uninstalling RPi.GPIO: Proceed (y/n)? y Successfully uninstalled RPi.GPIO You have new mail in /var/mail/pi [email protected] ~/pinnetje $ sudo pip-3.2 uninstall RPi.GPIO Uninstalling RPi.GPIO: Proceed (y/n)? y Successfully uni...
by sander2
Fri Oct 10, 2014 2:15 pm
Forum: Raspbian
Topic: "RuntimeError: Conflicting edge detection events already"
Replies: 13
Views: 4668

Re: "RuntimeError: Conflicting edge detection events already

EDIT: Even after the "sudo apt-get remove python-rpi.gpio python3-rpi.gpio" followed by the pip / pip-3.2 install, the program goes into a loop. I will rerun the whole procedure just to be sure Older message: Thanks. I did that; from my history: sudo python pin23-follow-based-on-polling.py sudo apt-...
by sander2
Fri Oct 10, 2014 1:06 pm
Forum: Raspbian
Topic: "RuntimeError: Conflicting edge detection events already"
Replies: 13
Views: 4668

"RuntimeError: Conflicting edge detection events already"

I get "RuntimeError: Conflicting edge detection events already exists for this GPIO channel" with an easy piece of GPIO code (based on the code on http://makezine.com/projects/tutorial-raspberry-pi-gpio-pins-and-python/ ) import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(23, GPIO.IN, pull_up...
by sander2
Wed Oct 08, 2014 4:30 pm
Forum: Raspbian
Topic: Old Chromium Version
Replies: 9
Views: 4352

Re: Old Chromium Version

emmar wrote:The Chromium version in Raspbian is 22.0.1229.94
Do you mean you actually use Chromium on your Raspi? Does that work reasonably?

In my experience even the most light weight web browser responds too slow with current multi-media websites
by sander2
Sun Sep 14, 2014 9:55 pm
Forum: Beginners
Topic: New releases of NOOBS & Raspbian
Replies: 44
Views: 32089

Re: New releases of NOOBS & Raspbian

... and NOOBS release notes are here: https://github.com/raspberrypi/noobs/releases/tag/v1.3.10 v1.3.10 Release Andrew Scheller lurch released this 3 days ago Minor release NOOBS now only includes Raspbian by default, other distros can be network-installed. This makes NOOBS usable on 4GB cards again...
by sander2
Sun Jun 22, 2014 9:55 pm
Forum: Raspbian
Topic: NTP over USB 3G Modem PPP Connection
Replies: 13
Views: 3415

Re: NTP over USB 3G Modem PPP Connection

DougieLawson wrote:

Code: Select all

 for i in `seq 1 30`; do ping -t$i -n -c1  8.8.8.8 | grep -i from; done
Wow ... beautiful!
by sander2
Fri Jun 20, 2014 8:42 pm
Forum: Raspbian
Topic: NTP over USB 3G Modem PPP Connection
Replies: 13
Views: 3415

Re: NTP over USB 3G Modem PPP Connection

... that leaves a manual hop measurement: First hop, aka default gateway: ping -t1 -n -c1 8.8.8.8 | grep -i from Second hop, usually some public IP address: ping -t2 -n -c1 8.8.8.8 | grep -i from So the OP should be able to do that and see if there is first hop and a second hop. If not, there is Int...
by sander2
Fri Jun 20, 2014 8:07 pm
Forum: Raspbian
Topic: NTP over USB 3G Modem PPP Connection
Replies: 13
Views: 3415

Re: NTP over USB 3G Modem PPP Connection

mtr -nrc2 8.8.8.8 You'll need to install that with apt-get. ... so that could be a chicken-egg-situation? ;) Is 'tracepath' installed by default? Less useful, but OK for a test: $ tracepath -n 8.8.8.8 1: 62.59.54.21 0.230ms pmtu 1500 1: 62.59.54.1 0.448ms 1: 62.59.54.1 0.380ms 2: 62.45.30.129 0.621...
by sander2
Fri Jun 20, 2014 7:20 pm
Forum: Raspbian
Topic: NTP over USB 3G Modem PPP Connection
Replies: 13
Views: 3415

Re: NTP over USB 3G Modem PPP Connection

0.0.0.0 = default, so that's good. Easy next step: check that IP is working: mtr -nrc2 8.8.8.8 Example of good output: $ mtr -nrc2 8.8.8.8 HOST: haring Loss% Snt Last Avg Best Wrst StDev 1.|-- 62.59.54.1 0.0% 2 0.4 0.7 0.4 1.1 0.4 2.|-- 62.59.30.129 0.0% 2 0.6 0.6 0.6 0.6 0.0 3.|-- 62.59.254.162 0.0...
by sander2
Thu Jun 19, 2014 6:07 am
Forum: Raspbian
Topic: NTP over USB 3G Modem PPP Connection
Replies: 13
Views: 3415

Re: NTP over USB 3G Modem PPP Connection

NTP uses port 123 (ntp 123/tcp) ... so: is that port open when 3G is up? Maybe your 3G has closed it?

Furthermore: anything in /var/log/* ?

What is the output of

Code: Select all

ntpdate -d 0.europe.pool.ntp.org
while on normal Internet versus 3G?
by sander2
Sat Jun 07, 2014 5:50 pm
Forum: Raspbian
Topic: How can install package through internet
Replies: 8
Views: 1290

Re: How can install package through internet

But is it working for you? Yes it is. Otherwise (s)he wouldn't get a 403. No? How about being behind a non-functional proxy setup? The proxy will say "403 Forbidden". Easy proof: sudo apt-get -o Acquire::http::Proxy="http://proxy.xs4all.nl:8080" update So checking a functional Internet is a first s...
by sander2
Sat Jun 07, 2014 12:46 pm
Forum: Raspbian
Topic: How can install package through internet
Replies: 8
Views: 1290

Re: How can install package through internet

rameshp wrote:hi,
internet is working.
I know. Internet is always working. But is it working for you? So ... what is the result of "ping 8.8.8.8"
by sander2
Sat Jun 07, 2014 10:21 am
Forum: Raspbian
Topic: How can install package through internet
Replies: 8
Views: 1290

Re: How can install package through internet

Has your raspi Internet access? Check with:

Code: Select all

ping 8.8.8.8

HTH
by sander2
Sun Mar 16, 2014 10:54 pm
Forum: Raspbian
Topic: Can't find the files that fill up my Rasbian SD Card
Replies: 16
Views: 4497

Re: Can't find the files that fill up my Rasbian SD Card

I use 'ncdu' to find what the big directories are:

Code: Select all

sudo apt-get install ncdu
sudo ncdu /
HTH
by sander2
Wed Feb 19, 2014 5:51 am
Forum: Raspbian
Topic: crontab does not perform network check
Replies: 7
Views: 2550

Re: crontab does not perform network check

Whose crontab is this: pi, or sudo's?

So, what is the output of:

Code: Select all

sudo crontab -l
by sander2
Mon Feb 17, 2014 6:41 am
Forum: Raspbian
Topic: Anyone else having problems loading Apache2?
Replies: 9
Views: 12520

Re: Anyone else having problems loading Apache2?

Actually I am having this same problem right out of the box with the current Raspian image off of raspberrypi.org. I ran through the raspi-config and as it drops to shell to run commands I see that these error's are there. I have also been having this problem causing some things I am trying to get ...

Go to advanced search