Raspberry Jam for Milton Keynes


92 posts   Page 3 of 4   1, 2, 3, 4
by MattPoat » Mon Aug 20, 2012 4:53 pm
Gonna give the rpi-update a go tonight. Sounds like it will kill all of my hard work getting wifi up and running, but at least someone else has trodden the path and provided instructions. Lets see how I get on.

Has anyone tried installing/using RiscOS yet?

Matthew
"I'm selling these fine leather jackets"
Posts: 45
Joined: Tue Jul 17, 2012 9:25 pm
Location: Towcester, Northants
by MattPoat » Mon Aug 20, 2012 9:12 pm
OK so did rpi-update and was fully successful, but it did stop my wifi from working :shock:

To get wifi working again I downloaded the Kernel Daniel linked to earlier on to my desktop PC and transfered it to the Pi via a USB dongle via the method below:

1.    Insert USB stick with 8192cu.ko on
2.    Sudo mkdir –p /mnt/pen
3.    Sudo mount /dev/sda1 /mnt/pen
4.    cd /mnt/pen/(wherever the file is located on the dongle)
5.    cp 8192cu.ko /home/pi
6.    cd /home/pi
7. sudo install -p -m 644 8192cu.ko /lib/modules/3.2.27+/kernel/drivers/net/wireless/

Since I had already done all the other stuff to get wifi working, the blue light on the Edimax started flashing and I had the net once more :D

Matthew
"I'm selling these fine leather jackets"
Posts: 45
Joined: Tue Jul 17, 2012 9:25 pm
Location: Towcester, Northants
by DanielBull » Mon Aug 20, 2012 9:30 pm
Awesome :)
By the way you didn't need steps 5 and 6 but I guess you did that deliberately so you would have a backup copy of the driver on the Pi.
Posts: 12
Joined: Sun Aug 19, 2012 7:17 pm
by MattPoat » Mon Aug 20, 2012 9:39 pm
DanielBull wrote:Awesome :)
By the way you didn't need steps 5 and 6 but I guess you did that deliberately so you would have a backup copy of the driver on the Pi.


Always good to have a local copy.... ;)
"I'm selling these fine leather jackets"
Posts: 45
Joined: Tue Jul 17, 2012 9:25 pm
Location: Towcester, Northants
by DanielBull » Mon Aug 20, 2012 9:49 pm
Hey I just noticed we can upload attachments....
(although there appears to be some completely insane 64k limit?)

Now I have the WiFi working, here's a quick demo of my Motorola Xoom Android tablet acting as a power supply, mouse, keyboard and monitor for my Pi :)

Going to get it working with the GUI shortly as well.

IMG_20120820_223447.jpg
Motorola Xoom powering and controlling my Pi
IMG_20120820_223447.jpg (63.04 KiB) Viewed 5463 times


Its kinda cool for portable demos.
Posts: 12
Joined: Sun Aug 19, 2012 7:17 pm
by recantha » Tue Aug 21, 2012 5:46 am
I've been trying to do something like this! How did you get the Pi to recognise the Motorola through the USB???
My Raspberry Pi blog with all my latest projects and links to articles
http://raspberrypipod.blogspot.com. +++ Current project: PiPodTricorder - lots of sensors, lots of mini-displays, breadboarding, bit of programming.
Posts: 209
Joined: Mon Jun 25, 2012 10:41 am
by recantha » Tue Aug 21, 2012 5:47 am
Sorry, that was a stupid question... The connection... Are you using straight I-have-a-USB-keyboard-on-the-end-of-this-cable or are you using some kind of adhoc network or something?
My Raspberry Pi blog with all my latest projects and links to articles
http://raspberrypipod.blogspot.com. +++ Current project: PiPodTricorder - lots of sensors, lots of mini-displays, breadboarding, bit of programming.
Posts: 209
Joined: Mon Jun 25, 2012 10:41 am
by rembrandt » Tue Aug 21, 2012 9:00 am
Downloaded RISC OS from here:

http://www.pilearn.com/Pages/Page1001.html

Tried it and it seems to work okay. The shutdown keystroke combo 'ctrl-shift-F12' restarts the machine though. There also seems to be a few hiccups on my display with residual window graphics being left on the screen, and the resolution changer doesn't work - but it is an alpha distro.

Just got my edimax wifi dongle - will be trying it out tonight! :D
Posts: 12
Joined: Thu Jul 19, 2012 9:58 am
by MattPoat » Tue Aug 21, 2012 5:35 pm
rembrandt wrote:Just got my edimax wifi dongle - will be trying it out tonight! :D


Have fun!!!

I've just received my latest toys in the post....

Image

A pair of RF transmitters so my arduino and Pi can talk to eachother wirelessly. I feel a plan forming...

Matthew
"I'm selling these fine leather jackets"
Posts: 45
Joined: Tue Jul 17, 2012 9:25 pm
Location: Towcester, Northants
by PeterO » Tue Aug 21, 2012 5:55 pm
I really **MUST** get round to doing something with my arduino enternet shield. Should be fun to send some packets to the pi.

PeterO
User avatar
Posts: 521
Joined: Sun Jul 22, 2012 4:14 pm
by alexeames » Tue Aug 21, 2012 7:11 pm
DanielBull wrote:Hey I just noticed we can upload attachments....
(although there appears to be some completely insane 64k limit?)

Now I have the WiFi working, here's a quick demo of my Motorola Xoom Android tablet acting as a power supply, mouse, keyboard and monitor for my Pi :)

Going to get it working with the GUI shortly as well.

IMG_20120820_223447.jpg


Its kinda cool for portable demos.


There's a VNC client for Android that would give you a GUI. The one I've tried on my phone is called androidVNC (fairly logical).
My Pi uses 2 watts - what what? ---- HiRes early production Pi photos RS Front Back | Farnell Front Back
User avatar
Posts: 2018
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
by MattPoat » Wed Aug 22, 2012 4:31 pm
You can now operate your GPIO's via a browser apparently.

http://trouch.com/2012/08/21/webiopi-co ... a-browser/

Anyone interested in giving this a go and feeding back? Im busy getting my pi & arduino talking via RF.

Matthew
"I'm selling these fine leather jackets"
Posts: 45
Joined: Tue Jul 17, 2012 9:25 pm
Location: Towcester, Northants
by PeterO » Wed Aug 22, 2012 5:28 pm
I'll give it a whirl, when rpi-update finishes :-)
PeterO
User avatar
Posts: 521
Joined: Sun Jul 22, 2012 4:14 pm
by PeterO » Wed Aug 22, 2012 5:52 pm
From the INSTALL file....
"You will also need to add Apache's user (www-data) to the sudoers :
$ sudo visudo
then add the following line at the end of file :
www-data ALL=(ALL) NOPASSWD: ALL"

Kinda opens up a huge security hole :-( I'm sure there is a better way of doing this than giving the web-server open access to run anything on your system.

PeterO
User avatar
Posts: 521
Joined: Sun Jul 22, 2012 4:14 pm
by MattPoat » Wed Aug 22, 2012 6:34 pm
Maybe the whole thing is just a ploy to obtain your Pi's intimate secrets Peter...
"I'm selling these fine leather jackets"
Posts: 45
Joined: Tue Jul 17, 2012 9:25 pm
Location: Towcester, Northants
by rembrandt » Wed Aug 22, 2012 8:20 pm
My wifi - 'It's alive!'

Many thanks guys for the previous advice.

Btw, the maplin wireless keyboard mouse combo that Mark Wilson mentioned in his fab new beginners guide is great. Just bought myself one of those as well.

Just out of interest, is anyone having the same problem as me at the moment? At random moments throughout the day I seem to be going online and buying pi related stuff :?
Posts: 12
Joined: Thu Jul 19, 2012 9:58 am
by PeterO » Wed Aug 22, 2012 8:24 pm
rembrandt wrote:Just out of interest, is anyone having the same problem as me at the moment? At random moments throughout the day I seem to be going online and buying pi related stuff :?

I'll put my hand up ! This evening I ordered a "pibow" and some GPIO bits and bobs.
PeterO
User avatar
Posts: 521
Joined: Sun Jul 22, 2012 4:14 pm
by PeterO » Wed Aug 22, 2012 8:27 pm
I've found the "right way" to access GPIO pins.

"Safe, controlled access to GPIO on the Raspberry Pi"
http://quick2wire.com/2012/05/safe-cont ... pberry-pi/

I'll write a "Step by step HowTo" if anyone needs one to give it a try.

PeterO
User avatar
Posts: 521
Joined: Sun Jul 22, 2012 4:14 pm
by dwch » Thu Aug 23, 2012 10:50 am
rembrandt wrote:Btw, the maplin wireless keyboard mouse combo that Mark Wilson mentioned in his fab new beginners guide is great.


Can you point me at the beginners guide please?

Also, anyone recommend a good powered USB hub, preferably that actually includes a power adaptor.
Dave
User avatar
Posts: 5
Joined: Mon Jun 18, 2012 8:11 pm
Location: Milton Keynes, UK
by rembrandt » Thu Aug 23, 2012 11:20 am
Mark Wilsons beginners guide can be found here:

http://www.markwilson.co.uk/blog/2012/08/a-beginners-guide-to-getting-started-with-raspberry-pi-raspi.htm

I've been trying out a Targus powered hub, but had a few issues with it.

I'm off to Maplins again tomorrow, and I'll be looking at the hub thats recommended in the new Maplin Raspi bundle. I'll let you know how I get on.
Posts: 12
Joined: Thu Jul 19, 2012 9:58 am
by PeterO » Thu Aug 23, 2012 2:26 pm
I would give their reccomented hub a miss. I had the 7 port version of it for a while (before it ended up in the bin) I didn't work well, and despite having an external AC supply it took power from my Pi. It also tried to power the pi when the main supply was disconnected.

PeterO
User avatar
Posts: 521
Joined: Sun Jul 22, 2012 4:14 pm
by dwch » Thu Aug 23, 2012 2:37 pm
Thanks for the link, I just picked up a keyboard/mouse from Maplins :) That will free up a USB port for now, making a hub less urgent.

Interesting about the Maplins bundled hub.
If you look up the actual hub, they recommend a £20.00 power supply to go with it - one of the generic ones with swappable power plugs.
However, the bundle seems to include a "Dual USB" power supply, presumably to power both the hub and the raspi; I couldn't find one listed on their site.
Dave
User avatar
Posts: 5
Joined: Mon Jun 18, 2012 8:11 pm
Location: Milton Keynes, UK
by PeterO » Thu Aug 23, 2012 2:43 pm
See this comment from Liz about the Maplin bundle.
viewtopic.php?f=23&t=15138&p=156106&hilit=Maplin#p156106
PeterO
User avatar
Posts: 521
Joined: Sun Jul 22, 2012 4:14 pm
by rembrandt » Thu Aug 23, 2012 3:28 pm
Thanks for the advice Peter, and I hope that bin was your 'spares/hacking' bin ;)

The hunt for a powered hub goes on...
Posts: 12
Joined: Thu Jul 19, 2012 9:58 am
by MattPoat » Thu Aug 23, 2012 8:04 pm
Is it wrong that a grown man was seen this evening dancing around like a lunatic by his neighbours because he had just sent a few characters through the ether from his Arduino to his Pi :?
"I'm selling these fine leather jackets"
Posts: 45
Joined: Tue Jul 17, 2012 9:25 pm
Location: Towcester, Northants