Go to advanced search

by rpdom
Thu Jul 04, 2013 2:31 pm
Forum: Bare metal, Assembly language
Topic: GPIO Pin Diagrams?
Replies: 19
Views: 8061

Re: GPIO Pin Diagrams?

http://elinux.org/Rpi_Low-level_periphe ... .28GPIO.29

Look out for the differences between early (Rev 1) and current (Rev 2) boards
by rpdom
Thu Jul 04, 2013 9:51 am
Forum: Python
Topic: controlling LED with push button
Replies: 11
Views: 13162

Re: controlling LED with push button

Perhaps that should be "False"? As I said, I don't know Python other than a few examples I've seen people post here. I main work in bash, PHP and assembler with a bit of perl and tiny bit of C.
by rpdom
Thu Jul 04, 2013 9:33 am
Forum: Python
Topic: controlling LED with push button
Replies: 11
Views: 13162

Re: controlling LED with push button

Thanks for all your help guys, i have got it working. it was a wiring problem. Another question. Is there a way to print 'Button Pushed' into this code anywhere. when i inserted it it seems to work but it prints hundreds! Thanks Joe You need to change your program so that it registers a change in t...
by rpdom
Thu Jul 04, 2013 8:17 am
Forum: Python
Topic: how to upgrade to latest Python 3.3.2
Replies: 5
Views: 36705

Re: how to upgrade to latest Python 3.3.2

or you can try to find binary package from other source than raspbian but I'd go with compiling myself from the source option. I'd agree that currently build from source is your best bet. Debian has 3.3.0 in it's experimental repository, but the Debian binaries are not Pi compatible. If you do find...
by rpdom
Thu Jul 04, 2013 7:27 am
Forum: Networking and servers
Topic: Using RPi via Proxy [SOLVED]
Replies: 17
Views: 5677

Re: Using RPi via Proxy

northstar wrote:Pssst : How do I mark this thread as Solved ?
Edit your first post to the thread and add "[solved]" to the subject :)
by rpdom
Thu Jul 04, 2013 7:20 am
Forum: General discussion
Topic: installation issues
Replies: 2
Views: 334

Re: installation issues

8) hear a pop That is very worrying! It sounds like something overloaded somewhere :( Is there any sign of overheating or damage on the SD card or on the Pi? Dark marks, deformed parts etc. Look very carefully! Especially look at F3 and D17 on the underside of the Pi near the power connector. What ...
by rpdom
Thu Jul 04, 2013 7:01 am
Forum: Bare metal, Assembly language
Topic: Expansion upon Baking PI?
Replies: 1
Views: 875

Re: Expansion upon Baking PI?

Baking Pi has already shown you how to access RAM. You have stored values in there and read them back with STR and LDR instructions. There are 16 basic registers, not 8. But R13 is usually used for SP, and R14 and R15 are reserved for LR and PC. I started with the Baking Pi tutorials (but never got ...
by rpdom
Thu Jul 04, 2013 6:41 am
Forum: General discussion
Topic: Setting hostname dymanically
Replies: 21
Views: 9868

Re: Setting hostname dymanically

The MAC address is available in /proc/cmdline before the network is brought up, so I'd create an init script that parses that "file" and extracts the MAC from it and writes it (after suitable processing) to /etc/hostname. MAC="$( sed "s/^.*macaddr=\([0-9A-F:]*\) .*$/\1/" /proc/cmdline )" (unless you...
by rpdom
Thu Jul 04, 2013 6:13 am
Forum: Raspbian
Topic: Unable to get RPi to work with old DVI monitor
Replies: 11
Views: 2119

Re: Unable to get RPi to work with old DVI monitor

One important thing to check is what sort of DVI does the monitor support? Is it DVI-A, DVI-D or DVI-I (which supports bot DVI-A and DVI-D)? DVI-A is like analogue VGA through a DVI plug and won't work without an active converter. DVI-D is digital video which is compatible with HDMI and only needs a...
by rpdom
Wed Jul 03, 2013 6:56 pm
Forum: Networking and servers
Topic: Using RPi via Proxy [SOLVED]
Replies: 17
Views: 5677

Re: Using RPi via Proxy

it says ping:unknown host So it looks like your local DNS server is limiting which sites you can get to :( You might be able to override that. First we can test it by editing /etc/resolv.conf and adding nameserver 8.8.8.8 On the end. Then try the ping and apt-get update again. This is just a test, ...
by rpdom
Wed Jul 03, 2013 6:49 pm
Forum: Python
Topic: If - not sure if working.
Replies: 6
Views: 805

Re: If - not sure if working.

Firstly I don't know Python. I do know a bit about debugging code though.

How about a print/display/whatever statement before the "if" to show the values of curtime and ftime?
by rpdom
Wed Jul 03, 2013 6:45 pm
Forum: Staffroom, classroom and projects
Topic: kitting out a classroom
Replies: 128
Views: 39199

Re: kitting out a classroom

rurwin wrote:rsync?

(Don't know; never used it.)
That would be my guess.
(Yes, have used it - a lot! Very useful and powerful)
by rpdom
Wed Jul 03, 2013 5:48 pm
Forum: Networking and servers
Topic: Using RPi via Proxy [SOLVED]
Replies: 17
Views: 5677

Re: Using RPi via Proxy

I tried ping 8.8.8.8 and it worked perfect. And btw, the content in /etc/resolv.conf is : domain Home search Home nameserver 192.168.1.1 That is a local DNS nameserver, which should be ok - as long as it knows about mirrordirector.raspbian.org and the others in your list. It seems ping by address w...
by rpdom
Wed Jul 03, 2013 5:22 pm
Forum: Networking and servers
Topic: Using RPi via Proxy [SOLVED]
Replies: 17
Views: 5677

Re: Using RPi via Proxy

Errors resolving addresses are usually to do with DNS lookup problems. That isn't normally done via a proxy, but a DNS server - either local or external. What is the content of your /etc/resolv.conf file? Do you get a response from "ping -c 1 google.com"? Pings might be blocked on your network, so t...
by rpdom
Wed Jul 03, 2013 3:50 pm
Forum: General discussion
Topic: Adding a USB header
Replies: 15
Views: 4282

Re: Adding a USB header

My opinion is that there won't ever be a "Model C" or "Rev 3" Raspberry Pi. But, somewhere down the road, the entity currently known as the RPF will produce a new model of computer - called something entirely different than the current line. Because, if it was required that every product ever produ...
by rpdom
Wed Jul 03, 2013 3:16 pm
Forum: Gaming
Topic: Rpi project Idea
Replies: 11
Views: 1902

Re: Rpi project Idea

Hey no problem man thanks for the reply, im guessing since its a serial ATA im going to need a serial ata to usb. Also do you have an overclocking on your Rpi, if so how easy is it ive looked into it, I do alot of overclocking on my desktop machine which I custom built. I use a USB to SATA/PATA3.5"...
by rpdom
Wed Jul 03, 2013 9:32 am
Forum: Advanced users
Topic: /=ext HDD; /boot=SD, from rasp.img file
Replies: 15
Views: 2818

Re: /=ext HDD; /boot=SD, from rasp.img file

Something that puzzles me. I understand the whole process of mounting, copying, and then altering the cmdline options on the boot partition. However, I can't help wondering if you would need to change the contents of /etc/fstab on the HDD copy afterwards so it doesn't read: /dev/mmcblk0p2 / ext4 de...
by rpdom
Wed Jul 03, 2013 7:39 am
Forum: Networking and servers
Topic: Using RPi via Proxy [SOLVED]
Replies: 17
Views: 5677

Re: Using RPi via Proxy

The proxy is a university wide proxy. I edited the apt.conf file in my laptop running Ubuntu 12.04 and the changes made me install/update softwares directly from the terminal. Thought Rpi would behave the same way as my Ubuntu, because it is a remix of Debian. But, the configuration is different is...
by rpdom
Wed Jul 03, 2013 6:56 am
Forum: Gaming
Topic: Rpi project Idea
Replies: 11
Views: 1902

Re: Rpi project Idea

I will answer only the part of your post that I can.

Yes, you can use a USB hard disk with external power. I do this, as do many other people. :)

Sorry, I can't help with your other questions :(
by rpdom
Wed Jul 03, 2013 6:51 am
Forum: Networking and servers
Topic: Using RPi via Proxy [SOLVED]
Replies: 17
Views: 5677

Re: Using RPi via Proxy

What did you put in those files?
by rpdom
Wed Jul 03, 2013 6:48 am
Forum: Beginners
Topic: can't resolve github.com
Replies: 4
Views: 13947

Re: can't resolve github.com

Resolving github.com (github.com)... failed: Name or service not known. wget: unable to resolve host address `github.com' Do you have a working internet connection? What you seem to be getting is a DNS error when looking up the IP address for the name "github.com". Does this work? ping -c 1 google....
by rpdom
Wed Jul 03, 2013 6:11 am
Forum: General programming discussion
Topic: Hospital Bed
Replies: 32
Views: 4743

Re: Hospital Bed

It depends on how much current the connections take. I'd assume not a lot as they are just push buttons. In that case I'd go for simple opto-isolators to keep the Pi electronics separate from the bed electronics. You say that connecting the other pins to pin 2 makes the bed function. That doesn't m...
by rpdom
Wed Jul 03, 2013 5:56 am
Forum: General discussion
Topic: Argh!
Replies: 6
Views: 880

Re: Argh!

I got this pc5:~ raspberrypi$ sed -i "2d" /Users/raspberrypi/.ssh/known_hosts sed: -i may not be used with stdin pc5:~ raspberrypi$ Are you using a Mac? It seems the -i option isn't as flexible under OSX. It won't work if the filename doesn't have a ".something" extension on the end. As surfatwork ...
by rpdom
Wed Jul 03, 2013 5:24 am
Forum: Beginners
Topic: Rasperian/Debian apt, scripting, learning, questions
Replies: 3
Views: 1097

Re: Rasperian/Debian apt, scripting, learning, questions

I'm going to learn Raspberian on the Pi and Debian for running on VPS's (x86). I like Debian's minimalism. I have hacked around in various Linux distros a few times but I couldn't install it on my laptop because of lack of a display-port driver. apt packages: My understanding is that I can only run...
by rpdom
Tue Jul 02, 2013 8:50 pm
Forum: Troubleshooting
Topic: Issues w/ running .exe
Replies: 16
Views: 2642

Re: Issues w/ running .exe

LXTerminal throws the "No such file or directory" error every time I attempt to run ./minecraft-pi. Odd... As for the "file minecraft-pi" thing, here is what is displayed in my window: minecraft-pi: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked(uses shared libs), for GNU/Linu...

Go to advanced search