[OpenTRV-dev] squashfs
Kevin Wood
EMAIL ADDRESS HIDDEN
Thu Apr 11 09:22:17 BST 2013
http://wiki.openenergymonitor.org/index.php?title=Raspberry_Pi
Steps 10 onwards under "Using the ready-to-go SD card image" seem to cover
RFM12Pi setup.
Kevin
> Hi Bo,
>
> I believe an API ID is assigned to each "user account" you set up in
> emonCMS (bearing in mind that it's also designed to host many "clients" as
> an online service).
>
> The ID performs dual roles of matching an input with a "user account" and
> also providing some rudimentary authentication (rogue clients that don't
> have a valid ID can't post data).
>
> In the examples I've seen for the Nanode it has to be compiled into the
> code for the remote device. I'm guessing it doesn't for the Raspberry Pi
> and RFM12Pi, though, as they have a physical connection. I think this
> setup has a more comfortable configuration mechanism but I've not played
> with it.
>
> Kevin
>
>> one last q
in the cms system under inputs it says something about api
>> key
>>
>> but how do i config the devices so they are allowed to send data to the
>> pi? is the group id etc enough?
>>
>> you might call me slow but i lost track
.
>>
>>
>> /bo
>>
>> Den 10/04/2013 kl. 23.51 skrev Stuart Poulton:
>>
>>> You are ejecting the device after the dd ?
>>>
>>>
>>> On 10 Apr 2013, at 22:40, Bo Herrmannsen wrote:
>>>
>>>> no boot :-(
>>>>
>>>> Den 10/04/2013 kl. 23.26 skrev Stuart Poulton:
>>>>
>>>>> Ok.
>>>>>
>>>>> Try
>>>>>
>>>>> sudo dd if=path_of_your_image.img of=/dev/diskn bs=1m
>>>>>
>>>>> Basically what you've previously done but with diskn not rdiskn
>>>>>
>>>>>
>>>>>
>>>>> On 10 Apr 2013, at 22:24, Bo Herrmannsen wrote:
>>>>>
>>>>>> Bos-Mac-Pro:~ boherrmannsen$ ls -l /dev/disk4
>>>>>> brw-r----- 1 boherrmannsen operator 14, 11 10 Apr 23:23
>>>>>> /dev/disk4
>>>>>> Bos-Mac-Pro:~ boherrmannsen$
>>>>>>
>>>>>>
>>>>>> Den 10/04/2013 kl. 23.21 skrev Stuart Poulton:
>>>>>>
>>>>>>> Long shot
>>>>>>>
>>>>>>> Can you paste the output of
>>>>>>>
>>>>>>> ls -l /dev/disk4
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>> sudo dd bs=1m if=emoncmspi.img of=/dev/rdisk4
>>>>>>>
>>>>>>>
>>>>>>> On 10 Apr 2013, at 22:18, Bo Herrmannsen wrote:
>>>>>>>
>>>>>>>> the message was to big
over 40 kb
.
>>>>>>>>
>>>>>>>> trying to put them i dropbox
>>>>>>>>
>>>>>>>> Den 10/04/2013 kl. 23.05 skrev Stuart Poulton:
>>>>>>>>
>>>>>>>>> Are you sure it's still /dev/rdisk4 ?
>>>>>>>>>
>>>>>>>>> Stuart
>>>>>>>>> On 10 Apr 2013, at 21:59, Bo Herrmannsen wrote:
>>>>>>>>>
>>>>>>>>>> so i tried to format it in diskutil and then run it all again
.
>>>>>>>>>> did not work:
>>>>>>>>>>
>>>>>>>>>> sudo dd bs=1m if=emoncmspi.img of=/dev/rdisk4dd: /dev/rdisk4:
>>>>>>>>>> Device not configured
>>>>>>>>>> 277+0 records in
>>>>>>>>>> 276+0 records out
>>>>>>>>>> 289406976 bytes transferred in 26.220936 secs (11037248
>>>>>>>>>> bytes/sec)
>>>>>>>>>>
>>>>>>>>>> /bo
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Den 10/04/2013 kl. 22.26 skrev Stuart Poulton:
>>>>>>>>>>
>>>>>>>>>>> Try the instructions listed here
>>>>>>>>>>>
>>>>>>>>>>> http://elinux.org/RPi_Easy_SD_Card_Setup#Copying_an_image_to_the_SD_card_in_Mac.C2.A0OS.C2.A0X_.28command_line.29
>>>>>>>>>>>
>>>>>>>>>>> Obviously PLEASE PLEASE PLEASE make sure you get the right
>>>>>>>>>>> device.
>>>>>>>>>>>
>>>>>>>>>>> Stuart
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 10 Apr 2013, at 21:17, Bo Herrmannsen wrote:
>>>>>>>>>>>
>>>>>>>>>>>> so i came around to using DD
. but now it will still not boot
>>>>>>>>>>>> on the pi
>>>>>>>>>>>>
>>>>>>>>>>>> i put it back in my mac but the partition is listed as
>>>>>>>>>>>> inactive
. what could be wrong?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> /bo
>>>>>>>>>>>>
>>>>>>>>>>>> Den 10/04/2013 kl. 15.22 skrev Stuart Poulton:
>>>>>>>>>>>>
>>>>>>>>>>>>> Bo.
>>>>>>>>>>>>>
>>>>>>>>>>>>> you can use dd on a mac :)
>>>>>>>>>>>>>
>>>>>>>>>>>>> Stuart
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 10/04/13 14:18, Bo Herrmannsen wrote:
>>>>>>>>>>>>>> i could go out an buy one so yes
. they are not that
>>>>>>>>>>>>>> expensive
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> but what is the for dummies step by step to write the image?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> mvh bo
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Den 10/04/2013 kl. 15.16 skrev Stuart Poulton:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Honestly I think you're fighting a losing battle. Can you
>>>>>>>>>>>>>>> get an SD card reader for your MAC ?
>>>>>>>>>>>>>>> Failing that I'm happy to write an SD card for you.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Stuart
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 10/04/13 12:45, Bo Herrmannsen wrote:
>>>>>>>>>>>>>>>> thats what i'm trying
but berry boot says its not in
>>>>>>>>>>>>>>>> squashes format
.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Den 10/04/2013 kl. 07.42 skrev Stuart Poulton:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Any reason not to use the emonCMS raspberry PI image ?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Stuart
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 10/04/13 00:44, Bo Herrmannsen wrote:
>>>>>>>>>>>>>>>>>> hi
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> a minor side Q
. is ist possible to convert a rasberry
>>>>>>>>>>>>>>>>>> pi
>>>>>>>>>>>>>>>>>> sd card image to squashfs format?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> why i ask is that while i can download and extract the
>>>>>>>>>>>>>>>>>> image for open energy's cms system i can't get it to
>>>>>>>>>>>>>>>>>> boot
.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> so i tried to use berry boot and most of the way it
>>>>>>>>>>>>>>>>>> going
>>>>>>>>>>>>>>>>>> smooth
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 1 i boot with berry boot from a 2 gb sd card
on a sub
>>>>>>>>>>>>>>>>>> stick i have the img file from open energy
>>>>>>>>>>>>>>>>>> 2. when berry ask where to install i swap the sd card
>>>>>>>>>>>>>>>>>> for
>>>>>>>>>>>>>>>>>> a 4 gb class 10
it formats the card
>>>>>>>>>>>>>>>>>> 3. when i'm asked what os to install i click cancel and
>>>>>>>>>>>>>>>>>> get an option to click on add os
i just hold down the
>>>>>>>>>>>>>>>>>> mouse buttom a bit to get an option to load from usb
>>>>>>>>>>>>>>>>>> stick
>>>>>>>>>>>>>>>>>> 4. i select the img file but i am told its not in
>>>>>>>>>>>>>>>>>> squashfs format
.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> is there a way to convert?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> i have a mac pc and windows 7
no linux sorry
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> /bo
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> OpenTRV-dev mailing list
>>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> OpenTRV-dev mailing list
>>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> OpenTRV-dev mailing list
>>>>>>> EMAIL ADDRESS HIDDEN
>>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>>
>>>>>> _______________________________________________
>>>>>> OpenTRV-dev mailing list
>>>>>> EMAIL ADDRESS HIDDEN
>>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>>
>>>>> _______________________________________________
>>>>> OpenTRV-dev mailing list
>>>>> EMAIL ADDRESS HIDDEN
>>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>>
>>>> _______________________________________________
>>>> OpenTRV-dev mailing list
>>>> EMAIL ADDRESS HIDDEN
>>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>>
>>> _______________________________________________
>>> OpenTRV-dev mailing list
>>> EMAIL ADDRESS HIDDEN
>>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>
>> _______________________________________________
>> OpenTRV-dev mailing list
>> EMAIL ADDRESS HIDDEN
>> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>>
>
>
> _______________________________________________
> OpenTRV-dev mailing list
> EMAIL ADDRESS HIDDEN
> http://lists.opentrv.org.uk/listinfo/opentrv-dev
>
More information about the OpenTRV-dev
mailing list