Go to advanced search

by Shoka
Sat Aug 02, 2014 5:22 pm
Forum: Beginners
Topic: (solved) [No Video] - First Time Boot Issues Mac
Replies: 13
Views: 16738

Re: (solved) [No Video] - First Time Boot Issues Mac

What is the implication of using fdisk to break that 64G card down into smaller partitions.

I'm not clear how well things like wear levelling will work if you broke that sd card into say a small fat partition and a couple of Linux file system de jour partitions mounted as /root and /home.
by Shoka
Sat Aug 02, 2014 4:46 pm
Forum: General discussion
Topic: can the Pi be used as telephone CE approved on hold device
Replies: 39
Views: 4556

Re: can the Pi be used as telephone CE approved on hold devi

Had no doubt of it Dougie, was just pointing out to innocents that phone lines can bite.
There are lots of set ups where a Pi is a very neat telephone device.
http://www.raspberry-asterisk.org/

But they need (approved) hardware to connect to POTS lines.
by Shoka
Sat Aug 02, 2014 4:33 pm
Forum: Automation, sensing and robotics
Topic: Pi-mote from Energenie
Replies: 59
Views: 24569

Re: Pi-mote from Energenie

And a way to find what revision Pi you are running: This is not code, its in a code block to stop the board munging it. pi@homepi /proc $ cat /proc/cpuinfo processor : 0 model name : ARMv6-compatible processor rev 7 (v6l) Features : swp half thumb fastmult vfp edsp java tls CPU implementer : 0x41 CP...
by Shoka
Sat Aug 02, 2014 4:27 pm
Forum: Automation, sensing and robotics
Topic: Pi-mote from Energenie
Replies: 59
Views: 24569

Re: Pi-mote from Energenie

Sigh... Untested. For revision 1 Pi's only Setup script.. #!/bin/sh sudo sh -c 'echo 17 > /sys/class/gpio/export' sudo chmod 764 /sys/class/gpio/gpio17/direction echo out > /sys/class/gpio/gpio17/direction sudo chmod 744 /sys/class/gpio/gpio17/direction sudo chmod 764 /sys/class/gpio/gpio17/value su...
by Shoka
Sat Aug 02, 2014 4:02 pm
Forum: Automation, sensing and robotics
Topic: Pi-mote from Energenie
Replies: 59
Views: 24569

Re: Pi-mote from Energenie

Looks from that table as if the gpio's on those pins have stayed stable over the older releases of the Pi. If that’s true, the code I've posted should run unmodified on earlier Pi's. Caviat emptor, but as far as I can see, as long as there is nothing else plugged in to the port on the Pi you have no...
by Shoka
Sat Aug 02, 2014 2:11 pm
Forum: General discussion
Topic: can the Pi be used as telephone CE approved on hold device
Replies: 39
Views: 4556

Re: can the Pi be used as telephone CE approved on hold devi

ETSI Standard document specifying ringtones on POTS connections: It's one thing to connect to a PABX like the cd player often used for on hold music. It's another thing entirely to connect a Pi anywhere near a telephone socket... 4.7 Maximum voltage level The maximum ringing voltage under no load co...
by Shoka
Sat Aug 02, 2014 1:23 pm
Forum: Raspberry Pi OS
Topic: Raspberry Pi subnet crossing access point
Replies: 21
Views: 8510

Re: Raspberry Pi subnet crossing access point

I'm struggling with understanding exactly what you are trying to achieve. However if I’ve followed along correctly, I don’t think you want the pi to act as an access point. If I understand correctly you have a device under test. You have some form of terminal or terminals that you want to be able to...
by Shoka
Sat Aug 02, 2014 11:43 am
Forum: General discussion
Topic: Fonts on this board
Replies: 4
Views: 976

Re: Fonts on this board

Thanks Dougie,

Does not look hopeful then :(
by Shoka
Sat Aug 02, 2014 10:56 am
Forum: General discussion
Topic: Fonts on this board
Replies: 4
Views: 976

Fonts on this board

Moderators really.

Is it possible to add text to a post in a fixed space font.

I have several times wanted to post tabular data in a non proportional font. I've so far found no way to do that.

I realise that the code option uses a fixed spacing font, but not all tabular data is code.


Harry
by Shoka
Fri Aug 01, 2014 9:21 pm
Forum: Troubleshooting
Topic: Slow network
Replies: 6
Views: 1440

Re: Slow network

If the Pi's are similar hardware, you could exchange the SD cards, see if the issue moves with the SD cards or stays with the hardware...

Shoka
by Shoka
Fri Aug 01, 2014 9:06 pm
Forum: Automation, sensing and robotics
Topic: Pi-mote from Energenie
Replies: 59
Views: 24569

Re: Pi-mote from Energenie

What you need to translate my code for another version of the Pi, is to be able to translate the physical pins on the Pi and thus on the Pi-Mote to the gpio pin that control to that physical pin on your version of the Pi. You could avoid this by using the wiringpi library that works out what style o...
by Shoka
Tue Jul 29, 2014 10:21 pm
Forum: Advanced users
Topic: raspberry pi B+ domoticz
Replies: 5
Views: 4314

Re: raspberry pi B+ domoticz

I have a Domoticz set up running on a B+. Unfortunately I got that running by migrating a version running on a B up to the latest Pi code levels, and then imaging that SD card onto a microSD for the B+. There are some rumbles on the Domoticz forum about gpio woes with some of the Domoticz internals,...
by Shoka
Tue Jul 29, 2014 10:07 pm
Forum: Other
Topic: Tails
Replies: 10
Views: 46056

Re: Tails

Dubious. That they charge an undefined "nominal fee" for sending you source is not a good sign. The exemption they are hiding behind actually requires IIRC that the code be delivered with a written offer of the source code valid for a minimum of three years. That exemption dates from the days before...
by Shoka
Tue Jul 29, 2014 9:13 pm
Forum: Other projects
Topic: direction directory is not there
Replies: 7
Views: 1400

Re: direction directory is not their

The example above may work, but it's not obvious to me what is going on. So heres a commented version I understand :) To activate gpio 17 (note this does not equate to pin 17 on the pi gpio connector) we make changes in the /sys virtual file system. This is not a really a "file system" its an interf...
by Shoka
Mon Jul 28, 2014 10:16 pm
Forum: Automation, sensing and robotics
Topic: 433 what?
Replies: 46
Views: 11781

Re: 433 what?

Or see the threads on Pi-Mote, the Energenie take on a simple dedicated interface for a Pi operated 443Mhz socket control. Made the Raspberry Pi Org blog a few weeks back. http://www.raspberrypi.org/blog/page/3/#controlling-electrical-sockets-with-energenie-pi-mote I've a wiki page on the system on ...
by Shoka
Sun Jul 27, 2014 10:02 pm
Forum: Troubleshooting
Topic: Network transfer = 100% CPU and slow transfer rate
Replies: 16
Views: 3626

Re: Network transfer = 100% CPU and slow transfer rate

I don't think there is a problem, other than user expectation :) If you are getting 10 Mbytes across the link you are doing well. The theoretical max is 12.5 Mbytes, but that is only possible if every single bit in the stream is a data bit and no protocol or data correction is being sent. That is an...
by Shoka
Sun Jul 27, 2014 7:42 pm
Forum: Advanced users
Topic: Wifi reconnect tweak.. why does it work?
Replies: 3
Views: 3016

Re: Wifi reconnect tweak.. why does it work?

You are replacing one version of ifupdown with another. If you have done the tweak compare /etc/ifplugd/action.d/ifupdown and /etc/ifplugd/action.d/ifupdown.original If not compare /etc/ifplugd/action.d/ifupdown with /etc/wpa_supplicant/ifupdown.sh Compare them. The difference may be obvious. diff w...
by Shoka
Sun Jul 27, 2014 7:31 pm
Forum: Troubleshooting
Topic: Wireless Woe
Replies: 5
Views: 1095

Re: Wireless Woe

Do you have access to the config on the router? On some routers at least there is an optional security setting that prevents wireless devices talking to each other. It is tied to the wireless set up , so a direct Ethernet link will bypass the prohibition. You may be falling foul of that. I fell foul...
by Shoka
Sun Jul 27, 2014 7:17 pm
Forum: HATs and other add-ons
Topic: wifi debuggin
Replies: 4
Views: 1146

Re: wifi debuggin

The config looks ok, that you connect at all suggests that it's not a security issue How far are you trying to link, and what else is in the wireless environment. If you have an android device available to you there are some neat applications to monitor the wifi environment. When my hudl charges up ...
by Shoka
Sun Jul 27, 2014 7:08 pm
Forum: Troubleshooting
Topic: Network transfer = 100% CPU and slow transfer rate
Replies: 16
Views: 3626

Re: Network transfer = 100% CPU and slow transfer rate

What is the latency between the ends ?

ping with a minimum frame is a reasonable test

Harry
by Shoka
Sun Jul 27, 2014 7:04 pm
Forum: Troubleshooting
Topic: Network transfer = 100% CPU and slow transfer rate
Replies: 16
Views: 3626

Re: Network transfer = 100% CPU and slow transfer rate

Was talking about the Ethernets 100mbit. Not sure how the interface between the USB and Ethernet is implemented inside the Pi, but it seems likely to me that the full ethernet overhead is encapsulated in the USB overhead, over the USB part of the path. USB overhead alone is non trivial. I could get ...
by Shoka
Sun Jul 27, 2014 6:31 pm
Forum: Troubleshooting
Topic: Network transfer = 100% CPU and slow transfer rate
Replies: 16
Views: 3626

Re: Network transfer = 100% CPU and slow transfer rate

Without top/htop running: ~84 MBit/sec
That is 84% of the wire speed. Impressive.

Wonder if iperf corrects for the protocol overhead?

I assume this is one hop over a point to point link, or is there a network switch in the path?

Harry
by Shoka
Sun Jul 27, 2014 6:22 pm
Forum: Troubleshooting
Topic: Network transfer = 100% CPU and slow transfer rate
Replies: 16
Views: 3626

Re: Network transfer = 100% CPU and slow transfer rate

Edit: Oh, and forget using SFTP for file transfers, stick to NFS or something with similarly low overhead. cp or tftp or ftp. The overhead of running an nfs server will not help. Peter Anvin's ftp server is pretty efficient. Not sure is that is the default on the pi. If the OP has confused bit and ...
by Shoka
Sun Jul 27, 2014 5:56 pm
Forum: Automation, sensing and robotics
Topic: RPi controlled central heating
Replies: 37
Views: 24900

Re: RPi controlled central heating

Noticed some questions back up this thread about controlling Ferroli boilers, and the meaning of "voltage free contact" Basically, the Ferroli (like many boilers) has a pair of screw contacts on the edge of the controller PCB, that are shorted out by a copper link. If you remove that link the boiler...

Go to advanced search