Go to advanced search

by rpdom
Thu Jul 04, 2013 8:17 am
Forum: Python
Topic: how to upgrade to latest Python 3.3.2
Replies: 5
Views: 36612

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: 5654

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: 329

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: 859

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: 9717

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: 2106

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: 5654

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: 793

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: 38992

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: 5654

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: 5654

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: 4195

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: 1887

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: 2788

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: 5654

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: 1887

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: 5654

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: 13729

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: 4680

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: 864

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: 1088

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: 2605

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...
by rpdom
Tue Jul 02, 2013 8:38 pm
Forum: General discussion
Topic: Argh!
Replies: 6
Views: 864

Re: Argh!

You need to delete the old entry from the .ssh/known_hosts file. "Offending RSA key in /Users/raspberrypi/.ssh/known_hosts:2" This is telling you that the old key is on line 2 of the file. There are many ways to do that, but a quick one is with sed -i "2d" /Users/raspberrypi/.ssh/known_hosts (-i is ...
by rpdom
Tue Jul 02, 2013 7:30 pm
Forum: Advanced users
Topic: mount raspbian.img, offset works, but why?
Replies: 15
Views: 5039

Re: mount raspbian.img, offset works, but why?

if there are multiple partitions can tell mount where to start, but how does it know where the partition ends? so If I have five partitions and I mount partition 3 and it starts at [arbitrary number] 3000 and it 5000. How does mount know where it ends? If offset=<start position> what about where it...
by rpdom
Tue Jul 02, 2013 6:33 pm
Forum: General discussion
Topic: Simple question about resistors
Replies: 1
Views: 572

Re: Simple question about resistors

The second formula is correct. The voltage across the resistor is the supply voltage minus the voltage across the LED. So V in your V = IR should be (Vsupply - Vled). Using a 5V supply (do remember that the Pi uses 3.3V for the GPIOs, not 5V!) and a 20mA 2V red LED as an example. Vsupply = 5 Vled = ...

Go to advanced search