Go to advanced search

by keithellis
Fri Feb 07, 2014 12:05 pm
Forum: Beginners
Topic: Raspberry Pi Cobbler issue, which GPIO is which
Replies: 4
Views: 1861

Re: Raspberry Pi Cobbler issue, which GPIO is which

In addition, if you turn the cobbler round 180 degrees the +5 and +3.3 will be on the red rails of the breadboard and avoid confusion.
by keithellis
Thu Feb 06, 2014 6:14 pm
Forum: Beginners
Topic: Image processing via webcam
Replies: 8
Views: 1576

Re: Image processing via webcam

To get the mode of image im

Code: Select all

im.mode ⇒ string
Image mode. This is a string specifying the pixel format used by the image. Typical values are “1”, “L”, “RGB”, or “CMYK.” See Concepts for a full list.
by keithellis
Thu Feb 06, 2014 6:01 pm
Forum: Beginners
Topic: Image processing via webcam
Replies: 8
Views: 1576

Re: Image processing via webcam

See this page http://effbot.org/imagingbook/concepts.htm
Try reading the 'mode' of the image and see what it returns. If it returns 'RGB' it should be working, if it returns something else maybe that is why you are getting the error.

Keith.
by keithellis
Thu Feb 06, 2014 5:52 pm
Forum: Beginners
Topic: Image processing via webcam
Replies: 8
Views: 1576

Re: Image processing via webcam

Just shooting int he dark here, but on the site http://effbot.org/imagingbook/imagechops.htm it states At this time, most channel operations are only implemented for 8-bit images (e.g. “L” and “RGB”). could this be your problem? Keith. Am a beginner, what do you suggest i do ? i want to compare the...
by keithellis
Thu Feb 06, 2014 5:23 pm
Forum: Beginners
Topic: Image processing via webcam
Replies: 8
Views: 1576

Re: Image processing via webcam

Just shooting int he dark here, but on the site http://effbot.org/imagingbook/imagechops.htm it states
At this time, most channel operations are only implemented for 8-bit images (e.g. “L” and “RGB”).
could this be your problem?

Keith.
by keithellis
Thu Feb 06, 2014 4:46 pm
Forum: Beginners
Topic: Image processing via webcam
Replies: 8
Views: 1576

Re: Image processing via webcam

I'm not familiar with what you are doing but should the line after your error

Code: Select all

my_view2 = Viewer(img.width, img.height, "compare")
actually be

Code: Select all

my_view2 = Viewer(img2.width, img2.height, "compare")
Just to be consistent.
by keithellis
Thu Feb 06, 2014 4:01 pm
Forum: Beginners
Topic: Memory space
Replies: 4
Views: 725

Re: Memory space

Have you run

Code: Select all

sudo raspi-config
and then selected option 1 to expand the file system to fill up the SD card? If you you need to do this.
by keithellis
Thu Feb 06, 2014 3:37 pm
Forum: Networking and servers
Topic: Access RPi anywhere
Replies: 14
Views: 18384

Re: Access RPi anywhere

Yes, assign a password to the root account and take out your ability to use sudo and use su. Yes I have assigned root a password, but I want to use sudo with the new account so have enabled this. The question I asked was if I needed to assign any other permissions to my new user account to replicat...
by keithellis
Thu Feb 06, 2014 2:23 pm
Forum: Networking and servers
Topic: Access RPi anywhere
Replies: 14
Views: 18384

Re: Access RPi anywhere

You also should probably make it so root can't logon to the pi. I did it and I can always ssh as a user (not pi) and sudo any root item. If I really need to be root, I can su to root, but sudo is safer. Here are some instructions on how to disallow root to log on via ssh: http://www.howtogeek.com/h...
by keithellis
Thu Feb 06, 2014 9:35 am
Forum: Beginners
Topic: RCA video cable for older Tv's with SCART
Replies: 15
Views: 11077

Re: RCA video cable for older Tv's with SCART

I recently bought a Raspberry Pi to accompany me with learning computing (Python and C+), I have at hand only an older TV with Scart and the 3 connectors (left and right audio and video, red, white and yellow). I have recently bought this cable to go with the Pi: http://www.amazon.co.uk/gp/product/...
by keithellis
Thu Feb 06, 2014 9:11 am
Forum: Beginners
Topic: Typo in interfaces file.... lost connectivity...
Replies: 8
Views: 1446

Re: Typo in interfaces file.... lost connectivity...

If you order a serial console cable now, you could have it for the weekend, Console cable can be used with Windows, Mac or Linux, so versatile. Allows you to effectively 'SSH' in without need for any network.
by keithellis
Wed Feb 05, 2014 5:01 pm
Forum: Beginners
Topic: password for su?
Replies: 11
Views: 11399

Re: password for su?

Thanks Richard, So since I have not created a password for root it is not possible to log in as root, therefore any hacker would have to know my pi password. Just wanted to make sure there was not a way to bypass the pi account. I might create a new user though and lock pi user as you suggest. Keith.
by keithellis
Wed Feb 05, 2014 4:44 pm
Forum: Beginners
Topic: Typo in interfaces file.... lost connectivity...
Replies: 8
Views: 1446

Re: Typo in interfaces file.... lost connectivity...

I would get a USB Console cable like this https://www.modmypi.com/USB-to-TTL-Serial-Cable-Debug-Console-Cable-for-Raspberry-Pi?filter_name=console It is very useful for debugging problems such as this. They only cost £6-7 I have a video tutorial showing how to setup a Pi headless using one of these,...
by keithellis
Wed Feb 05, 2014 4:30 pm
Forum: Beginners
Topic: password for su?
Replies: 11
Views: 11399

Re: password for su?

Just a follow up question then on security.
I like to keep things secure so I have changed my pi password. I have not set a password for root. Could someone still access my pi or should I set a password for root also?
by keithellis
Mon Feb 03, 2014 8:47 am
Forum: Troubleshooting
Topic: Headless pi not coming back after update -> upgrade
Replies: 5
Views: 1241

Re: Headless pi not coming back after update -> upgrade

Odd. I dug up a keyboard and HDMI cable, rebooted and was presented with the raspi-config screen, which i guess runs after initial install. After exiting the config screen and rebooting everything works as it should. My problem is very reproducible though and this really shouldn't happen. especiall...
by keithellis
Mon Feb 03, 2014 8:42 am
Forum: Networking and servers
Topic: headless wifi setup: easiest approach?
Replies: 24
Views: 17308

Re: headless wifi setup: easiest approach?

I want to figure out the easiest way to setup wifi networking on a headless Pi that has no user-accessible I/O apart from wifi. By "easy" I mean easy to explain to someone who hasn't used a Pi before. The only thing I can think of so far is for the Pi to start out as a wifi hotspot itself...
by keithellis
Sun Feb 02, 2014 9:00 pm
Forum: Advanced users
Topic: How force Ad-Hoc network in N mode ? Or use N mode otherway.
Replies: 8
Views: 9294

Re: How force Ad-Hoc network in N mode ? Or use N mode other

Excellent, glad you sorted it out. I've bookmarked this post, since I have a feeling I will need this soon.

Thank you.
Keith.
by keithellis
Thu Jan 30, 2014 10:22 pm
Forum: Networking and servers
Topic: Solution for offline wifi setup
Replies: 10
Views: 4142

Re: Solution for offline wifi setup

Excellent step by step guide - I knew buying one of those USB console cables would come in handy one day This could be very useful to change wifi network settings when using my RPi away from home or my schools :) Its always nice to find out stuff that's been around for ages but that hasn't been pub...
by keithellis
Thu Jan 30, 2014 10:18 pm
Forum: Networking and servers
Topic: GUI onto laptop via WiFi?
Replies: 7
Views: 3228

Re: GUI onto laptop via WiFi?

Cheers Andy,

My first one, hope it will be useful.
Keith.
by keithellis
Thu Jan 30, 2014 9:44 pm
Forum: Networking and servers
Topic: Solution for offline wifi setup
Replies: 10
Views: 4142

Re: Solution for offline wifi setup

Cheers Simon,

I'm hoping to do a few more tutorials, though time is always a bit of an issue. Glad you liked it.
The console cable is such a useful bit of kit and zero setup on the Pi is great. It also enabled me to screen capture the boot sequence, which I haven't seen before.

Keith.
by keithellis
Thu Jan 30, 2014 6:09 pm
Forum: Networking and servers
Topic: Solution for offline wifi setup
Replies: 10
Views: 4142

Re: Solution for offline wifi setup

simplesi wrote:Stop keeping us in suspense :)

Simon

Video Tutorial is done, its just gone up on YouTube, link here http://bit.ly/1b7Rd5C. Hope its useful.
by keithellis
Thu Jan 30, 2014 6:07 pm
Forum: Networking and servers
Topic: GUI onto laptop via WiFi?
Replies: 7
Views: 3228

Re: GUI onto laptop via WiFi?

Hi there, just to let you know, I've finished my video tutorial, it is now live on YouTube, link here http://bit.ly/1b7Rd5C
by keithellis
Thu Jan 30, 2014 1:30 pm
Forum: Networking and servers
Topic: GUI onto laptop via WiFi?
Replies: 7
Views: 3228

Re: GUI onto laptop via WiFi?

Thanks Keith, I have an Edimax WiFi adaptor on it's way. I think I will need all the advise I can get. I'm not at all familiar with networking so I think this could be a challenge. It would be nice to have internet access on the laptop at the same time but I can always use my tablet for that. Will ...
by keithellis
Wed Jan 29, 2014 9:32 am
Forum: Beginners
Topic: SMS for free
Replies: 5
Views: 1524

Re: SMS for free

I would like to create a program on my Raspberry Pi that sends the same text message to multiple people every weekday. That text message would change daily and constantly repeat itself like the standard A/B day schedule of schools. I would also like to send that text message for free. How would I d...
by keithellis
Wed Jan 29, 2014 9:24 am
Forum: Networking and servers
Topic: Solution for offline wifi setup
Replies: 10
Views: 4142

Re: Solution for offline wifi setup

simplesi wrote:This would be excellent for people who take their RPi around different venues/schools :)

Looking forward to seeing your info on how to do it :)

Simon
I've been working on the tutorial over the last couple of nights, hope to have it online by the weekend.

Go to advanced search