Go to advanced search

by rpdom
Fri Jun 21, 2013 1:53 am
Forum: Beginners
Topic: Question about SSH sessions
Replies: 1
Views: 1409

Re: Question about SSH sessions

If you disconnect in any way the command will be terminated. The good thing about rsync is when you run the command again it will skip the files that have already been copied (unless they have changed since) and continue with the rest. Alternatively you could install the "screen" program which can k...
by rpdom
Thu Jun 20, 2013 6:51 pm
Forum: Other projects
Topic: Meet & Pi - Chelmsford Area
Replies: 5
Views: 890

Re: Meet & Pi - Chelmsford Area

makem wrote:Well I for one am one! (Or rather, I will be when my Pi comes next week.)
It is good to know there are other Pimaniacs here ;)
by rpdom
Thu Jun 20, 2013 3:44 pm
Forum: Raspbian
Topic: Raspberry Pi won't overclock (solved)
Replies: 18
Views: 16492

Re: Raspberry Pi won't overclock (solved)

Oh, I didn't realise that about Berryboot. Glad you found the solution and thank you for letting us know :)
by rpdom
Thu Jun 20, 2013 1:52 pm
Forum: General discussion
Topic: Safe voltage?
Replies: 4
Views: 1165

Re: Safe voltage?

I think it's the power supply (since I am sure that both polyfuse and micro usb cable are ok). Where can I find a good EU power supply that can output real 5V to the Pi? Thanks P.S. I found this: http://www.adafruit.com/products/501 , but it's a UK adapter. Is there the possibility that a UK-to-EU ...
by rpdom
Thu Jun 20, 2013 12:07 pm
Forum: General discussion
Topic: Codecs Help
Replies: 4
Views: 1739

Re: Codecs Help

MPEG2 is actually a very common format. It is used for DVB-T among other things. This is why the Foundation worked on a way to unlock the codec for individual Pi's for a very small additional cost.
by rpdom
Thu Jun 20, 2013 8:20 am
Forum: Beginners
Topic: Bash script and for loop counter
Replies: 2
Views: 3350

Re: Bash script and for loop counter

Yes, it won't work like that. The "seq 1 10" command just returns a value of "1 2 3 4 5 6 7 8 9 10" and the "for" command reads each one of those in turn. seq is only executed once, so they can't change. "let" *does* work, but the for command will just read the next number from the sequence anyway. ...
by rpdom
Thu Jun 20, 2013 7:24 am
Forum: General discussion
Topic: Raspberry programmer
Replies: 7
Views: 1544

Re: Raspberry programmer

I use picprog on a Linux PC to program pic chips with a JDM type serial programmer. This would probably work on the Pi with a good USB serial adaptor. Or you could have a look at this thread http://www.raspberrypi.org/phpBB3/viewtopic.php?f=44&t=14689 and build your own (fairly simple) pic programme...
by rpdom
Thu Jun 20, 2013 5:23 am
Forum: General programming discussion
Topic: strange error
Replies: 2
Views: 1377

Re: strange error

Typo.

Code: Select all

#!/user/bin/python
should be

Code: Select all

#!/usr/bin/python
Also, make sure the program has the executable attributes set with

Code: Select all

chmod +x ./flash.py
Have fun coding :-)
by rpdom
Thu Jun 20, 2013 5:19 am
Forum: HATs and other add-ons
Topic: Usb To Ethernet
Replies: 6
Views: 9218

Re: Usb To Ethernet

I haven't found one I can recommend yet, but most will work without any problem. Just steer clear of the cheap ones on ebay and elsewhere, as they use the dm9601 chip which is a 10/100Mb to USB1.1 adaptor. There is a problem with the driver for these chips which causes the Pi to crash when the netwo...
by rpdom
Thu Jun 20, 2013 5:05 am
Forum: Beginners
Topic: what is the command to start X?
Replies: 12
Views: 2558

Re: what is the command to start X?

Thanks! I'm very new to linux and after trying x Very close there. I've not checked on the Pi (I don't use X on mine), but just X on it's own should work too (one of the few upper-case commands on Linux). Is there a command to stop X? I've already tried stopx. Using the "logout" option from the app...
by rpdom
Wed Jun 19, 2013 8:58 pm
Forum: Raspbian
Topic: Raspbian Reducing the siz e of my SD cards
Replies: 8
Views: 1948

Re: Raspbian Reducing the siz e of my SD cards

Yes. This is normal. Read the FAQ.

[edit]If you want want to clear them for just windows use, you need to redo the partitioning. There have been many posts about this and how to do it. I don't know why it seems so difficult to do under windows :(
by rpdom
Wed Jun 19, 2013 5:11 pm
Forum: Raspbian
Topic: Raspberry Pi won't overclock (solved)
Replies: 18
Views: 16492

Re: Raspberry Pi won't overclock

Everything you've shown so far looks correct and should work. I have a Pi set up in a similar way. I don't run X on it. I log in with ssh. My entire /boot/config.txt is # uncomment if you get no picture on HDMI for a default "safe" mode #hdmi_safe=1 # uncomment this if your display has a black borde...
by rpdom
Wed Jun 19, 2013 4:52 pm
Forum: Graphics programming
Topic: FFMPEG for Raspberry Pi
Replies: 13
Views: 32513

Re: FFMPEG for Raspberry Pi

Those links seem to only give instructions for cross-compiling on another computer for the Raspberry Pi We will describe here the method to cross-compile FFmpeg for Raspbian The instructions are not for how to build FFmpeg on a Pi. You can run them on a Linux PC instead, then copy the finished file ...
by rpdom
Wed Jun 19, 2013 3:10 pm
Forum: Raspbian
Topic: Raspberry Pi won't overclock (solved)
Replies: 18
Views: 16492

Re: Raspberry Pi won't overclock

Definitely not picking up the value from your config.txt file. What program did you use to edit the file? Was it Windows notepad, or something else? If notepad, it would probably have added windows style line terminators (CR+LF) instead of Linux style (LF) and the file might not be read correctly. W...
by rpdom
Wed Jun 19, 2013 2:19 pm
Forum: Raspbian
Topic: Raspberry Pi won't overclock (solved)
Replies: 18
Views: 16492

Re: Raspberry Pi won't overclock

Hmm, that all looks ok, apart from

Code: Select all

...cpufreq: min=700000 max=700000 cur=700000
Which looks like your config.txt isn't being read correctly.

What does "vcgencmd get_config arm_freq" show?
by rpdom
Wed Jun 19, 2013 11:34 am
Forum: Gaming
Topic: Old Style Text Adventure
Replies: 10
Views: 1385

Re: Old Style Text Adventure

mrpi64 wrote:Do i install it as an image file?
Unzip it and have a look at the README file. It tells you how to install and run it :)
by rpdom
Wed Jun 19, 2013 11:31 am
Forum: Raspbian
Topic: twidge package upgrade
Replies: 5
Views: 1466

Re: twidge package upgrade

You'd probably have to compile it from source yourself, unless the nice Raspbian people can look at the Sid version and compile it for Raspbian. Alternatively you could look at ttytter. It has the same API problem, but as it is written in Perl and does not depend on a particular CPU type, you should...
by rpdom
Wed Jun 19, 2013 9:49 am
Forum: General discussion
Topic: Management of Pi's
Replies: 7
Views: 2324

Re: Management of Pi's

Some Debian people have said good things about Puppet http://projects.puppetlabs.com/projects/puppet

It should be available as a standard package for Raspbian.
by rpdom
Wed Jun 19, 2013 9:17 am
Forum: Networking and servers
Topic: [Solved] USB Interface (Android VNC)
Replies: 5
Views: 10044

Re: USB Interface

auto usb0 iface usb0 inet static address 192.168.42.10 netmask 255.255.255.0 ^^ i've modified so that it should come up automatically :) The allow-hotplug should do that anyway. "auto" is mostly used for interfaces that are present when the system is booted up. "allow-" lets things like udev reques...
by rpdom
Wed Jun 19, 2013 5:31 am
Forum: Python
Topic: Pi to Pi communication
Replies: 11
Views: 30751

Re: Pi to Pi communication

There are many ways to do this sort of thing. You could echo a command and character string through ssh to the other pi. You could set up a client/server arrangement using the "sockets" network interface, so one program listens to a port on one Pi and another one connects to that port and sends a me...
by rpdom
Wed Jun 19, 2013 4:20 am
Forum: Raspbian
Topic: netstat gives "InOctets: -1" after 4.2+GB
Replies: 5
Views: 3421

Re: netstat gives "InOctets: -1" after 4.2+GB

And now I wish Raspbian (or Debian?) incorporates this new version of net-tools / netstat into the distribution. It is a known bug, for which a patch is available. However the severity is "normal", so lower importance than all the "release critical" bugs that needed fixing before Debian moved their...
by rpdom
Wed Jun 19, 2013 4:00 am
Forum: Advanced users
Topic: Composite Video Resolution
Replies: 6
Views: 22740

Re: Composite Video Resolution

Because 480 (NTSC) and 576 (PAL) is the number of visible lines defined in the format. The other lines are off the top and bottom of the screen, originally because of timing requirements, and later used to carry other broadcast information in digital form (like teletext, time, PDC, station ID, etc)....
by rpdom
Wed Jun 19, 2013 3:53 am
Forum: Other projects
Topic: Meet & Pi - Chelmsford Area
Replies: 5
Views: 890

Re: Meet & Pi - Chelmsford Area

Wow! New record for waking up old thread :)

Actually, I missed this message the first time around, and would like to know of other Pi users in the Chelmsford area.
by rpdom
Wed Jun 19, 2013 3:43 am
Forum: Networking and servers
Topic: [Solved] USB Interface (Android VNC)
Replies: 5
Views: 10044

Re: USB Interface

An entry in /etc/network/interfaces should do what you want.

Code: Select all

allow-hotplug usb0

iface usb0 inet static
    address 192.168.42.10
    netmask 255.255.255.0
If it doesn't start automatically, after this, then see what "sudo ifup -v usb0" does.

BTW, I like your choice of subnet :-)
by rpdom
Wed Jun 19, 2013 3:38 am
Forum: Beginners
Topic: Mounting a 3tb hard drive
Replies: 2
Views: 629

Re: Mounting a 3tb hard drive

What type of filesystem have you put on the drive? The "unable to read superblock" sometimes means you are trying to mount the drive as something like ext4 when it is VFAT or NTFS. If this drive will only be used for your Pi, it would probably be best to format it as ext4. How are you mounting the d...

Go to advanced search