Go to advanced search

by rpdom
Sun Feb 10, 2013 6:05 pm
Forum: Beginners
Topic: apt-get install to usb
Replies: 7
Views: 2281

Re: apt-get install to usb

Doesn't apt-get have an option to put packages in a different directory than where they normally get cached? We certainly can do that in Arch with pacman, it ought to be possible in Raspbian and Debian without moving the whole rootfs. Yes, but that's just the packaged version of the file. It can be...
by rpdom
Sun Feb 10, 2013 9:10 am
Forum: Troubleshooting
Topic: MPEG2 license not working
Replies: 20
Views: 4049

Re: MPEG2 license not working

I have not actually been editing the file from windows. everything has been done via ssh or the XBMC GUI. currently the only line in the config.txt is decode_MPG2=0x365cee1b Even so, please can you show us what Windows sees in the file. It may be important to see what is shown there when not runnin...
by rpdom
Sat Feb 09, 2013 7:01 pm
Forum: Other projects
Topic: Raspberry pi as a Wake on Lan source
Replies: 65
Views: 90243

Re: Raspberry pi as a Wake on Lan source

As long as the Pi has an internet connection it will automatically set its clock from one of the many NTP servers when it boots. If not, it will either use the last date/time it remembers, or default to 00:01 01 Jan 1970. The realtime clock add-on is only really needed if running without an internet...
by rpdom
Sat Feb 09, 2013 3:15 pm
Forum: General discussion
Topic: Red power light dim, pulsing slightly. Model A
Replies: 4
Views: 1066

Re: Red power light dim, pulsing slightly. Model A

The flashing red LED is worrying. It should be steady. It sounds like a power issue somewhere. Please inspect the ciruit board carefully for any bad solder joints or splashes of solder. It sounds like your Pi is drawing too much current and your power supply is partly shutting down. Having said that...
by rpdom
Sat Feb 09, 2013 12:05 pm
Forum: Staffroom, classroom and projects
Topic: kitting out a classroom
Replies: 128
Views: 41783

Re: kitting out a classroom

Continued. Off hand does anyone know if you can have VGA and DVI connected to a monitor at the same time to let pc and rpi share that too. (cant imagine why not) I expect that would depend on the monitor, but most should be ok. My old Dell has DVI and VGA and an input select button to switch betwee...
by rpdom
Sat Feb 09, 2013 5:35 am
Forum: Beginners
Topic: 2 SD cards and 2 OS ?
Replies: 6
Views: 1310

Re: 2 SD cards and 2 OS ?

Having two bootable OS cards can be very handy, especially if you accidentally make one unbootable. You can then plug the "bad" card into your Pi while running from the other card and try and correct the problem. Great if you've made a mistake while editing one of the start up files :)
by rpdom
Sat Feb 09, 2013 5:27 am
Forum: Troubleshooting
Topic: MPEG2 license not working
Replies: 20
Views: 4049

Re: MPEG2 license not working

Ok, just a thought. I'm wondering if RaspBMC does something really clever, like having two "/boot"s - one as the real partition, and one as a "mirror" in the root partition?

What does df -h /boot show?
by rpdom
Fri Feb 08, 2013 7:39 am
Forum: General programming discussion
Topic: Is there any other compilers for the raspberry pi?
Replies: 12
Views: 2507

Re: Is there any other compilers for the raspberry pi?

I like PHP. It's great for building web sites or can be used for stand-alone CLI programs. Being a scripting language (like Python) it doesn't use a compiler. Also, for debugging web pages, the PHP cli interpreter has a built-in mini-webserver which requires only a few command line options to start ...
by rpdom
Fri Feb 08, 2013 7:21 am
Forum: Networking and servers
Topic: Cutting costs for a server only version
Replies: 9
Views: 1654

Re: Cutting costs for a server only version

Austin wrote:It also has very poor power outage support which makes it a pain for server apps.
It doesn't run when the power is off? Who'd a thunk it... :lol:
by rpdom
Fri Feb 08, 2013 7:19 am
Forum: Other projects
Topic: Turn on PC with Pi with a twist
Replies: 13
Views: 14672

Re: Turn on PC with Pi with a twist

Best to use either a relay or an opto-isolator to keep the PCs power and Pi power separate, especially as the PC switches usually use 5V and the GPIO can only handle 3.3V.
by rpdom
Thu Feb 07, 2013 9:24 pm
Forum: Beginners
Topic: Hard drive *not* saving changes
Replies: 7
Views: 5678

Re: Hard drive *not* saving changes

RobHenry wrote:Have you tried sudo sync before shutting down?
You don't need sudo to run sync. Any user can run it as it is totally safe to run.
by rpdom
Thu Feb 07, 2013 4:47 pm
Forum: Automation, sensing and robotics
Topic: Which GPIO I can use?
Replies: 4
Views: 1822

Re: Which GPIO I can use?

For the DS18B20 you should use pin 7 (GPIO 4). It has a special function to support the 1-wire bus that the DS18B20 needs. You can connect more than one device to the pin at the same time, each will show up with a different serial number.
by rpdom
Thu Feb 07, 2013 4:43 pm
Forum: C/C++
Topic: Newbie dumb C graphics question..
Replies: 12
Views: 2713

Re: Newbie dumb C graphics question..

You should be able to compile the hello_triangle example by just entering "make" in the source directory.

That will follow the instructions in Makefile, which also uses ../Makefile.include and contains all the compiler and linker flags required.
by rpdom
Wed Feb 06, 2013 11:45 pm
Forum: General discussion
Topic: Raspberry Pi Model A now available !
Replies: 28
Views: 5675

Re: Raspberry Pi Model A now available !

maddogdave wrote:Fiberglass strands on the edge of my new Model A PCB. Anyone else have a board with a similar rough edge.
Nowhere near as rough as that, but I did note that the edges of my boards were badly finished.
by rpdom
Wed Feb 06, 2013 1:26 pm
Forum: General discussion
Topic: Order Model A, get a Model B
Replies: 27
Views: 8905

Re: Order Model A, get a Model B

Mine turned up this morning and they have sent the correct model this time. I ordered a second one as well as I want to try and replace the 3.3V linear regulator with an efficient switch-mode supply to see how low I can get the power drain on the model A. Afaict the model A* really only uses the 3....
by rpdom
Wed Feb 06, 2013 11:50 am
Forum: General programming discussion
Topic: Is "bash script" a relevant language?
Replies: 25
Views: 3529

Re: Is "bash script" a relevant language?

Surprised no-ones mentioned the utterly incomprehensible syntax you need for BASH, which in my view is the biggest problem with it (and it's slow of course)! It's great for simple (or complex) 'scripting' like work, but for an application? Nah. Last year, just out of curiosity, I wrote a simple web...
by rpdom
Wed Feb 06, 2013 8:07 am
Forum: General discussion
Topic: Order Model A, get a Model B
Replies: 27
Views: 8905

Re: Order Model A, get a Model B

Same thing happened here. I don't think there's such a thing as a model A box - the only identifying feature on the box I received is a sticker, that seems to have been originally printed as part of the invoice / packing list. I bought two. The boxes are both printed with "Model B uncased version",...
by rpdom
Wed Feb 06, 2013 7:54 am
Forum: Beginners
Topic: New user, have a few questions (From easy to crazy).
Replies: 15
Views: 4317

Re: New user, have a few questions (From easy to crazy).

So, I just bought my Raspberry Pi last night (Model B) 1) It mentions you need an SD card to boot. Will a Micro SDXC card work? No. The Pi does not support SDXC. Only SD or SDHC. Sorry :( Having said that, once you have a suitable card, and your Pi arrives, the world is your [insert bivalve mollusc...
by rpdom
Tue Feb 05, 2013 10:16 pm
Forum: General discussion
Topic: Farnel Delivery????
Replies: 3
Views: 878

Re: Farnel Delivery????

Ordered a model A yesterday and it arrived today, just over 24 hours after I placed the order, so they seem to be delivering stuff. When I look at their website I see a "Contact us" link on the top right, leading to http://uk.farnell.com/jsp/content/freetoair.jsp?content=contact You should be able t...
by rpdom
Tue Feb 05, 2013 6:40 pm
Forum: General discussion
Topic: Raspberry Pi Model A now available !
Replies: 28
Views: 5675

Re: Raspberry Pi Model A now available !

toxibunny wrote:How much cheaper is it then, according to the sellers' sites?
Looking at the Farnell site, the A is £19.13 + £3.83 vat (£22.96) and the B is £26.78 + £5.36 vat (£32.14). a difference of £7.65 (£9.18)
by rpdom
Tue Feb 05, 2013 5:45 pm
Forum: General discussion
Topic: Raspberry Pi Model A now available !
Replies: 28
Views: 5675

Re: Raspberry Pi Model A now available !

2Pi(A)r here :-)
by rpdom
Tue Feb 05, 2013 3:14 pm
Forum: Beginners
Topic: Why is Raspbian in runlevel 2 by default
Replies: 4
Views: 13486

Re: Why is Raspbian in runlevel 2 by default

Debian doesn't use the run levels to the extent that many other *ix systems do. By default it always boots into runlevel 2 (Yes, I am talking about the official Debian systems as well as Raspbian. Raspbian is pretty much a normal Debian system, just compiled to run best on the Raspi and with a few e...
by rpdom
Tue Feb 05, 2013 2:37 pm
Forum: Beginners
Topic: at command missing in Debian ??
Replies: 7
Views: 9248

Re: at command missing in Debian ??

Agree with pjc123, cron is really what you want for running a job on any regular schedule. You don't need to use cron.hourly, do "man 5 crontab" to see how it works. Much more flexible than "at" :) "at" is really for single-shot runs. If you really want it, you need to install the "at" package (sudo...
by rpdom
Tue Feb 05, 2013 7:09 am
Forum: General discussion
Topic: Raspberry Pi Model A now available !
Replies: 28
Views: 5675

Re: Raspberry Pi Model A now available !

Ordered two on Monday afternoon, due for delivery sometime today (Tuesday) :D
by rpdom
Mon Feb 04, 2013 9:43 am
Forum: Other programming languages
Topic: Change the IP of the Rpi through PHP
Replies: 5
Views: 3947

Re: Change the IP of the Rpi through PHP

ifconfig just changes the state of the interface based on the parameters you give it on the command line. It doesn't use the /etc/network/interfaces file. That is why I suggested using /sbin/ifdown and ifup. These do use the interfaces file for their parameters. The steps should be: 1. ifdown eth0 2...

Go to advanced search