Page 3 of 4

Re: Raspberry Jam for Milton Keynes

Posted: Mon Aug 20, 2012 4:53 pm
by MattPoat
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

Re: Raspberry Jam for Milton Keynes

Posted: Mon Aug 20, 2012 9:12 pm
by MattPoat
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

Re: Raspberry Jam for Milton Keynes

Posted: Mon Aug 20, 2012 9:30 pm
by DanielBull
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.

Re: Raspberry Jam for Milton Keynes

Posted: Mon Aug 20, 2012 9:39 pm
by MattPoat
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.... ;)

Re: Raspberry Jam for Milton Keynes

Posted: Mon Aug 20, 2012 9:49 pm
by DanielBull
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 8363 times
Its kinda cool for portable demos.

Re: Raspberry Jam for Milton Keynes

Posted: Tue Aug 21, 2012 5:46 am
by recantha
I've been trying to do something like this! How did you get the Pi to recognise the Motorola through the USB???

Re: Raspberry Jam for Milton Keynes

Posted: Tue Aug 21, 2012 5:47 am
by recantha
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?

Re: Raspberry Jam for Milton Keynes

Posted: Tue Aug 21, 2012 9:00 am
by rembrandt
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

Re: Raspberry Jam for Milton Keynes

Posted: Tue Aug 21, 2012 5:35 pm
by MattPoat
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

Re: Raspberry Jam for Milton Keynes

Posted: Tue Aug 21, 2012 5:55 pm
by PeterO
I really **MUST** get round to doing something with my arduino enternet shield. Should be fun to send some packets to the pi.

PeterO

Re: Raspberry Jam for Milton Keynes

Posted: Tue Aug 21, 2012 7:11 pm
by alexeames
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).

Re: Raspberry Jam for Milton Keynes

Posted: Wed Aug 22, 2012 4:31 pm
by MattPoat
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

Re: Raspberry Jam for Milton Keynes

Posted: Wed Aug 22, 2012 5:28 pm
by PeterO
I'll give it a whirl, when rpi-update finishes :-)
PeterO

Re: Raspberry Jam for Milton Keynes

Posted: Wed Aug 22, 2012 5:52 pm
by PeterO
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

Re: Raspberry Jam for Milton Keynes

Posted: Wed Aug 22, 2012 6:34 pm
by MattPoat
Maybe the whole thing is just a ploy to obtain your Pi's intimate secrets Peter...

Re: Raspberry Jam for Milton Keynes

Posted: Wed Aug 22, 2012 8:20 pm
by rembrandt
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 :?

Re: Raspberry Jam for Milton Keynes

Posted: Wed Aug 22, 2012 8:24 pm
by PeterO
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

Re: Raspberry Jam for Milton Keynes

Posted: Wed Aug 22, 2012 8:27 pm
by PeterO
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

Re: Raspberry Jam for Milton Keynes

Posted: Thu Aug 23, 2012 10:50 am
by dwch
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.

Re: Raspberry Jam for Milton Keynes

Posted: Thu Aug 23, 2012 11:20 am
by rembrandt
Mark Wilsons beginners guide can be found here:

http://www.markwilson.co.uk/blog/2012/0 ... -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.

Re: Raspberry Jam for Milton Keynes

Posted: Thu Aug 23, 2012 2:26 pm
by PeterO
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

Re: Raspberry Jam for Milton Keynes

Posted: Thu Aug 23, 2012 2:37 pm
by dwch
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.

Re: Raspberry Jam for Milton Keynes

Posted: Thu Aug 23, 2012 2:43 pm
by PeterO
See this comment from Liz about the Maplin bundle.
http://www.raspberrypi.org/phpBB3/viewt ... in#p156106
PeterO

Re: Raspberry Jam for Milton Keynes

Posted: Thu Aug 23, 2012 3:28 pm
by rembrandt
Thanks for the advice Peter, and I hope that bin was your 'spares/hacking' bin ;)

The hunt for a powered hub goes on...

Re: Raspberry Jam for Milton Keynes

Posted: Thu Aug 23, 2012 8:04 pm
by MattPoat
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 :?