Go to advanced search

by rpdom
Sun May 19, 2013 6:52 am
Forum: General discussion
Topic: Raspberry Pi's as electronic encyclopedias?
Replies: 6
Views: 792

Re: Raspberry Pi's as electronic encyclopedias?

I saw somewhere that there is a limit of 1 raspberry pi per person That was in the very early days, when the number of Pis being produced failed to meet the totally unexpected level of demand for them. I have three, an early model B and two model As. Lots of people have more that that and you can o...
by rpdom
Sun May 19, 2013 6:40 am
Forum: Debian
Topic: swap
Replies: 7
Views: 6091

Re: swap

Putting swap on a USB hard disk is a good idea. Putting the root file system on there too is an even better idea, as it is less prone to serious corruption if the power is lost. I've got one of my Pis running on a 80GB disk with a 1GB swap partition. It seems to take a little longer to boot, but is ...
by rpdom
Sun May 19, 2013 6:30 am
Forum: Beginners
Topic: [Tutorial] Show RPI's Temperature with a command.
Replies: 71
Views: 544953

Re: [Tutorial] Show RPI's Temperature with a command.

Just because I was bored... ;-)

Code: Select all

sed "s/\(...\)$/.\1°C/" < /sys/class/thermal/thermal_zone0/temp
by rpdom
Sun May 19, 2013 6:21 am
Forum: Beginners
Topic: 100M Ethernet LED
Replies: 4
Views: 1117

Re: 100M Ethernet LED

Someone else recently reported that R31 (at least I think they said R31, certainly it was one of the LED resistors) was only connected at one end. I wonder if there's a minor quality control issue here?
by rpdom
Sat May 18, 2013 7:14 pm
Forum: Troubleshooting
Topic: Can't boot ;stucked in standalone mode HELP plz
Replies: 6
Views: 1015

Re: Can't boot ;stucked in standalone mode HELP plz

Could you try putting the line

Code: Select all

avoid_safe_mode=1
in the /boot/config.txt file ?

This file should be editable on a windows or osx computer.
by rpdom
Sat May 18, 2013 4:33 pm
Forum: Gentoo
Topic: Boot stops at smsc95xx without error
Replies: 8
Views: 10063

Re: Boot stops at smsc95xx without error

Did you try pressing the Enter key to see if it does anything?
by rpdom
Sat May 18, 2013 4:14 pm
Forum: Troubleshooting
Topic: Can't boot ;stucked in standalone mode HELP plz
Replies: 6
Views: 1015

Re: Can't boot ;stucked in standalone mode HELP plz

I just tried booting a Pi in safe mode (connecting pins 5 and 6 of SP1) and it now comes up with a "standalone mode" message, so I guess the OP is running in safe/recovery mode, and advice to check for anything connected to these pins is good. I also remember a thread somewhere, where a Pi was booti...
by rpdom
Sat May 18, 2013 1:40 pm
Forum: Beginners
Topic: [Solved] Raspberry Pi sd Card Help!
Replies: 6
Views: 1049

Re: Raspberry Pi sd Card Help!

Looking at that screenshot, I'd try the "Initialise" option. I'm guessing that will reset the card to a readable state. Or you could try "Ignore". I think your computer is just saying that it doesn't see a recognisable file system on the card, but it should still be able to write an image to it.
by rpdom
Sat May 18, 2013 12:02 pm
Forum: Beginners
Topic: interface eth0 not configured
Replies: 19
Views: 57065

Re: interface eth0 not configured

Ok, it seems eth0 is partly configured and ifdown is not doing it's job because of that.

Try "ifdown --force -v eth0", and then the rest of the commands again.
by rpdom
Sat May 18, 2013 5:33 am
Forum: Beginners
Topic: [Solved] Raspberry Pi sd Card Help!
Replies: 6
Views: 1049

Re: Raspberry Pi sd Card Help!

debian-6.0.7-amd64-netinst.iso That image file isn't for the Pi. It is for 64-bit PCs using AMD or Intel CPUs. The Pi uses a 32-bit ARMv6 CPU. Raspbian "Wheezy" doesn't have a /boot/boot_enable_ssh.rc anymore. SSH is enabled by default, so you don't need it. You're better off using the latest offic...
by rpdom
Fri May 17, 2013 9:57 pm
Forum: General discussion
Topic: RaspBerry Pi(e) Model C (imaginations & wants)
Replies: 431
Views: 149107

Re: RaspBerry Pi(e) Model C (imaginations & wants)

pygmy_giant wrote:Why not break out both camera connectors instead of just one - the community could do 3D and the foundation would sell more cameras.
Both? There is only one camera connector.
by rpdom
Fri May 17, 2013 8:08 pm
Forum: Bare metal, Assembly language
Topic: Clearing the BSS - Infinite Loop?
Replies: 8
Views: 2039

Re: Clearing the BSS - Infinite Loop?

A quick perusal of the ARM documentation for the stmia instruction indicates that in the reglist only low registers are allowed, Further examination of architecture documents for the processor in the rPI indicates that low registers are r0-r7 my reference is here: http://infocenter.arm.com/help/ind...
by rpdom
Fri May 17, 2013 8:06 pm
Forum: Troubleshooting
Topic: Problems after upgrade
Replies: 4
Views: 3164

Re: Problems after upgrade

The first thing I would check is that there is enough free "disk" (SD card) space, using "df -h /". If that shows plenty of free space, I would try reinstalling the packages that apt is complaining about with "sudo apt-get --reinstall install packagename", where packagename is the name of the proble...
by rpdom
Fri May 17, 2013 6:32 pm
Forum: Beginners
Topic: steady red light / no picture
Replies: 3
Views: 930

Re: steady red light / no picture

http://elinux.org/R-Pi_Troubleshooting I notice on that page it says Older images do not load boot code for revB boards with the Hynix chip. Use release 2012-02-09 (?) or later. (I observe a single blip on the green activity LED) For one thing, given the frequency of people getting caught by this, ...
by rpdom
Fri May 17, 2013 5:41 pm
Forum: Beginners
Topic: password??
Replies: 13
Views: 1734

Re: password??

Yes,
WacoJohn wrote:2013-02-09-wheezy-raspbian.zip
is the image that you need.

Earlier ones will not work on most new RPis, giving exactly the symptoms you describe (red light only).
by rpdom
Thu May 16, 2013 1:33 pm
Forum: Off topic discussion
Topic: How useful is pseudocode?
Replies: 18
Views: 5018

Re: How useful is pseudocode?

I sometimes use pseudo-code to sort out the idea of program flow and what I want to do. Then I convert it into actual code. Sometimes I will use pseudo-code for examples of how to do a particular process. In this case writing it out in actual code is forcing the person reading it to use the language...
by rpdom
Thu May 16, 2013 9:11 am
Forum: Beginners
Topic: interface eth0 not configured
Replies: 19
Views: 57065

Re: interface eth0 not configured

For some reason the "gateway 192.168.2.1" statement isn't working. Either that, or something is deconfiguring the gateway. I bet if you tried the "netstat -rn" again, it would only show the one line. The "route add default something" command I gave you before will fix this, but you shouldn't have to...
by rpdom
Wed May 15, 2013 6:03 pm
Forum: General discussion
Topic: Time based work
Replies: 2
Views: 410

Re: Time based work

You can use cron to start a python program at set times.
by rpdom
Wed May 15, 2013 12:50 pm
Forum: Beginners
Topic: interface eth0 not configured
Replies: 19
Views: 57065

Re: interface eth0 not configured

how to set so i dont lose everything on reboot? Well, I tried setting my Pi to use a static IP, just like yours. Edited the /etc/resolv.conf file to include the nameserver line, checked it worked, and then checked it still worked after a reboot. However, when I tried ifdown eth0, then /etc/init.d/n...
by rpdom
Wed May 15, 2013 6:34 am
Forum: Beginners
Topic: interface eth0 not configured
Replies: 19
Views: 57065

Re: interface eth0 not configured

That's looking much better! I still don't know why the "gateway" statement in the interfaces file isn't having any effect though. :( Next step. pi@raspberrypi ~ $ ping www.google.com ping: unknown host www.google.com At present you have don't have any dns servers configured, so your Pi doesn't know ...
by rpdom
Wed May 15, 2013 6:20 am
Forum: Automation, sensing and robotics
Topic: LED with 3.3volts
Replies: 8
Views: 1152

Re: LED with 3.3volts

Yes, the marking on the cable is to show which end should be connected to pin 1. There is often a little arrow on the side of the plug, and sometimes one of the wires in the cable will be coloured red or black. Glad you got it working :) I think everyone has plugged a cable in the wrong way round at...
by rpdom
Wed May 15, 2013 4:44 am
Forum: Automation, sensing and robotics
Topic: LED with 3.3volts
Replies: 8
Views: 1152

Re: LED with 3.3volts

Are you sure that the ribbon cable to your breadboard adapter is aligned and oriented correctly at both ends? An incorrect connection could reflect or permute all the signals. I'd go with this possibility too. If you have a voltmeter/multimeter you could measure the voltages between GND and 3V3, an...
by rpdom
Wed May 15, 2013 4:39 am
Forum: Beginners
Topic: mount FAT32 USB with Permission and execute programs
Replies: 2
Views: 1100

Re: mount FAT32 USB with Permission and execute programs

As the program doesn't say what the problem with renaming was, it is not being very helpful.

All I can suggest is to check that the /media/myUSB/gmail/archive/new directory exists.
by rpdom
Tue May 14, 2013 9:34 pm
Forum: Networking and servers
Topic: Could not execute binary file
Replies: 5
Views: 3529

Re: Could not execute binary file

There are versions of Linux made to run on many different types of computer. The most common is for the common PC that most people have. This does sometimes cause confusion when people are used to, for example, MS Windows, which pretty much will only run on a PC and so if a program says "Windows" it...
by rpdom
Tue May 14, 2013 9:22 pm
Forum: Beginners
Topic: interface eth0 not configured
Replies: 19
Views: 57065

Re: interface eth0 not configured

Thank you for that information. That does help. Your network interface is up and running. It will be fine for use on your local network, but the "gateway" line hasn't worked. This means your Pi doesn't know what the address of your router is and therefore can't get to the internet. I would have expe...

Go to advanced search