Go to advanced search

by penguintutor
Tue Jul 16, 2013 10:17 pm
Forum: Beginners
Topic: Raspbian vs Wheezy
Replies: 2
Views: 2365

Re: Raspbian vs Wheezy

As far as I'm aware they are both at the same version.

If not then:

Code: Select all

sudo apt-get update
sudo apt-get dist-upgrade 
should ensure you have the latest version whether it's from the NOOBS or the standard Raspbian image.
by penguintutor
Tue Jul 16, 2013 10:09 pm
Forum: Beginners
Topic: basic necessities
Replies: 6
Views: 1698

Re: basic necessities

there needs to be a good programming guide right here on the pi site. Have I missed this? Not sure exactly what you want. There is a guide to getting up and running (as you would get with any computer), but it's then down to what you want to do with it. There is such a wide scope of things that you...
by penguintutor
Tue Jul 16, 2013 10:42 am
Forum: Beginners
Topic: Web page display rotator?
Replies: 2
Views: 4743

Re: Web page display rotator?

I haven't tried it, but it may be worth investigating the Midori -e options. If you run midori --help-execute it provides a list of ways that you can interact with the browser from the command line. It includes: going to a specific location; moving tabs backwards and forwards; reloading a page and s...
by penguintutor
Mon Jul 15, 2013 2:05 pm
Forum: Beginners
Topic: SSH Reboot and launch XBMC
Replies: 2
Views: 1819

Re: SSH Reboot and launch XBMC

Difficult to see how you would achieve this from a PC batch file - other than perhaps adding a time delay between issuing a reboot and running xbmc. I would recommend instead learning some basic shell programming to achieve this on the Pi. Difficultly is how to communicate with the Pi during the reb...
by penguintutor
Mon Jul 15, 2013 1:26 pm
Forum: Beginners
Topic: Auto open LXTerminal on login
Replies: 3
Views: 3078

Re: Auto open LXTerminal on login

You need to create a .desktop file in ~/.config/autostart
using Exec=lxterminal

For more details see:

http://www.raspberrypi.org/phpBB3/viewt ... 53#p187153
by penguintutor
Mon Jul 15, 2013 1:20 pm
Forum: Beginners
Topic: run program at startup questions
Replies: 2
Views: 596

Re: run program at startup questions

- Do scripts usually have the suffix .sh? It's common, but not a requirement. Linux doesn't normally use the extension (although some applications / file managers may look at the extension), but instead uses "magic tests" by examining the start of the file to see what type it is. You can see what k...
by penguintutor
Wed Jun 12, 2013 10:00 am
Forum: Beginners
Topic: Partitioning Help Please...
Replies: 16
Views: 2450

Re: Partitioning Help Please...

Yes unfortunately NOOBS does require user intervention. I suggested it as a way of having a recovery option, but obviously not needing that is preferable. There is a typo in the url you posted; it should be: http://raspberrypi.stackexchange.com/questions/169/how-can-i-extend-the-life-of-my-sd-card T...
by penguintutor
Tue Jun 11, 2013 3:56 pm
Forum: Beginners
Topic: Corrupt SD card?
Replies: 8
Views: 1056

Re: Corrupt SD card?

If it's 1200mA then that should be OK, but poor quality cables can still result in a drop in voltage by the time it reaches the Pi, so still worth trying a different power supply and/or cable. If not then try following the troubleshooting page on the wiki as suggested by rpdom http://elinux.org/R-Pi...
by penguintutor
Mon Jun 10, 2013 11:35 am
Forum: Beginners
Topic: Does Linux overwrite existing files?
Replies: 8
Views: 1983

Re: Does Linux overwrite existing files?

It depends upon the software, but as a general rule command line programs will often overwrite, whereas GUI apps often prompt. That is not always the case though. On the command line you can add a bash option to prevent overwriting files when using pipes / redirection (set -o noclobber), but it does...
by penguintutor
Mon Jun 10, 2013 10:49 am
Forum: Beginners
Topic: Can't install lighttpd. Please help
Replies: 2
Views: 1815

Re: Can't install lighttpd. Please help

To run apt-get through a proxy then you need to update the http_proxy shell variable Use: export http_proxy=http://proxyipaddress:port or with a username and password if required: export http_proxy=http://username:[email protected]:port/ You can add the appropriate entry to the /etc/bash.bashr...
by penguintutor
Mon Jun 10, 2013 10:38 am
Forum: Beginners
Topic: HDMI TO VGA CABLE ADAPTER
Replies: 6
Views: 1989

Re: HDMI TO VGA CABLE ADAPTER

Depends upon what you have got. The cheaper converters do work but may need a bit of tweaking in the config.txt file. If you just have a passive cable with no converter chip then that won't work. As a quick price comparison using Amazon: £2 to £5 - almost certainly passive cable that won't work £10 ...
by penguintutor
Mon Jun 10, 2013 10:20 am
Forum: Beginners
Topic: Corrupt SD card?
Replies: 8
Views: 1056

Re: Corrupt SD card?

Have you tried a different power supply?

A lot of problems with the Pi not working are due to having a power supply that is not able to provide the 700mA or that cannot provide the minimum voltage under that load.
by penguintutor
Sun Jun 09, 2013 10:38 pm
Forum: Beginners
Topic: Partitioning Help Please...
Replies: 16
Views: 2450

Re: Partitioning Help Please...

Did you know you cannot just pull the power plug on the Pi without risking corrupting your SD card? Forgive me if you already know this, but the best way to turn off your pi is to... I have a similar issue with a project I'm working on. Obviously a safe shutdown is always preferable, but sometimes ...
by penguintutor
Thu Jun 06, 2013 11:02 am
Forum: Beginners
Topic: How to set up your Pi as your web server
Replies: 69
Views: 27206

Re: How to set up your Pi as your web server

I mostly use lighttpd on the Pi as it has lower resource requirements than apache, but I do run apache on other Linux servers. exception of getting the webalizer secure using .htaccess & .htpasswd. I never get a request for user/pw. .htaccess support depends upon the following two settings apache2.c...
by penguintutor
Thu Jun 06, 2013 10:38 am
Forum: Beginners
Topic: Share disk between machines raspbian
Replies: 6
Views: 2488

Re: Share disk between machines raspbian

My vote would be for samba too. I use that on my home network even though it is almost exclusively Linux (a couple of laptops have dual boot with Windows, but they are only really used for the kids to play games so don't really use the network shares). You can also access a samba server when using a...
by penguintutor
Wed Jun 05, 2013 10:31 am
Forum: Beginners
Topic: Running on boot successively
Replies: 4
Views: 1074

Re: Running on boot successively

/etc/init.d should only have startup configuration scripts in it. You don't actually put executables in that directory. The scripts should all have init information in which gives the commands that are needed to start, stop and provide status etc. See: http://www.debian.org/doc/debian-policy/ch-oper...
by penguintutor
Thu May 23, 2013 2:12 pm
Forum: Beginners
Topic: A good battery for model A with listed periherals?
Replies: 4
Views: 1475

Re: A good battery for model A with listed periherals?

For a cheap power supply then standard AA to D-size batteries work well. It is the wifi connection that will add a substantial drain. I haven't yet tried wi-fi on my battery powered setup yet, but I may try that when I get the project back from my son's school. With fairly high capacity D-size you c...
by penguintutor
Thu May 23, 2013 2:03 pm
Forum: Beginners
Topic: Using RCA to VGA Monitor
Replies: 3
Views: 5596

Re: Using RCA to VGA Monitor

The official HDMI to VGA converters are quite expensive but most of the cheaper ones (under £10) work too. You may however need to change the config.txt settings. I've now got three different converters including one of the more expensive Pi-View ones and all work with the correct settings. http://w...
by penguintutor
Tue May 21, 2013 2:27 pm
Forum: Beginners
Topic: Using Raspberry Pi for Office use
Replies: 4
Views: 3352

Re: Using Raspberry Pi for Office use

Installing LibreOffice is installed using sudo apt-get update sudo apt-get install libreoffice LibreOffice is a heavyweight and may be a bit slow on the Pi but should work for showing a presentation. If you want to output the same display to multiple monitors then you could look at x11vnc, which all...
by penguintutor
Tue May 14, 2013 3:26 pm
Forum: Automation, sensing and robotics
Topic: Rpi and relay to switch on/off lights
Replies: 27
Views: 80006

Re: Rpi and relay to switch on/off lights

so it doesn't matter if the relay is 5v and the gpio pin is 3,3v? Probably not - you would need to check the specs of the relay interface board, but whilst the relays need a 5v supply, the accompanying circuitry built into the relay board will most likely work with a 3.3v input signal. The gpio pin...
by penguintutor
Tue May 14, 2013 9:47 am
Forum: Automation, sensing and robotics
Topic: Bee hive control and observation
Replies: 9
Views: 7910

Re: Bee hive control and observation

A few ideas. Starting from basics you'd create a platform that could flex slightly and put 4 strain gauges on in the form of a wheatstone bridge (4 identical sensors are required to provide a measurable signal and also to counteract the fact that the sensor readings would also change when the temper...
by penguintutor
Tue May 14, 2013 7:04 am
Forum: General discussion
Topic: CSI camera module
Replies: 62
Views: 7285

Re: CSI camera module

Its showing no stock for farnell business customers here To order from Farnell you need to order through the consumer micro-site as the normal site says out-of-stock. If you are not a Farnell customer then you normally get redirected there automatically when searching for Raspberry Pi, but if I'm l...
by penguintutor
Tue May 14, 2013 5:40 am
Forum: Camera board
Topic: STICKY: Foundation (old) Camera Board information
Replies: 443
Views: 276243

Re: Foundation Camera Board information

The camera is now available from Farnell:

http://www.farnell.com/pi

I've ordered mine this morning.
by penguintutor
Mon May 13, 2013 3:47 pm
Forum: Beginners
Topic: Domain name on rPi server?
Replies: 5
Views: 10041

Re: Domain name on rPi server?

If you want your web server accessible from any system (ie. as a public server rather than just for you) then it needs to be on DNS, either a static DNS or a dynamic DNS. If your IP address from the ISP changes regularly then dynamic dns is preferred, but you may be able to use static DNS if your IP...
by penguintutor
Sat May 11, 2013 5:23 pm
Forum: Beginners
Topic: Remove USB from hub connected to PI
Replies: 11
Views: 4474

Re: Remove USB from hub connected to PI

I don't know much about the MagicJack, but from what I read it sounds like when it is connected to the computing it is just acting as a audio device to allow the PC software to a phone handset. unmount is only used for disk drives. If it's not mounting as a disk drive then you don't need to unmount ...

Go to advanced search