[Pianod] web client how to?

Perette Barella perette at barella.org
Sun Feb 3 12:14:40 PST 2013


The <defunct> processes get cleaned up on the connection.  I saw something about avoiding zombies entirely, I think by setting SIG_IGN on SIGCHLD.  I'll check into that.

For 'address already in use', could this mean there's no IP6 ports configured on the machine?

Running on port 80.  Ports below ~2000ish are reserved well-known ports, and in shared hosting environments this restriction keeps riff-raff like us from putting naughty things there, like fake services that collected passwords.  It should run there if you start it as root/invoke it with sudo.

If there's a man page for arc4random on Linux, can you mail me a copy?  Maybe that'll say how to get rid of the implicit definition warning.  If not, maybe I'll update the Makefile to use the old random on Linux.

On the client... There should be 'Stations' and a couple other buttons on the bottom to switch panes.

Perette



--
Perette Barella • perette at barella.org • 585-286-1312
176 Middlesex Road, Rochester NY 14610

On 2013年02月03日, at 14:49, Peter Li wrote:

> Thanks!  It works :)!
> 
> WSGW does build with IP6 now.  I still get an implicit declaration of arc4random, which I think needs some BSD header, but that's the only complaint at compile time now.  I'm not clear on the right way to fold the BSD stuff in; seems like it can cause conflicts?
> 
> Then I can start pianod, start wsgw, and use the deviousfish web client to control my pianod; nice!
> 
> A few funny things.  When I start wsgw I get:
> setup_ip6_socket: bind: Address already in use
> But there isn't anything there and it still works.  I get this on most ports.  If I try 80, which also doesn't have anything on this machine, then it won't let me do it at all.  I've gotten that message in other contexts too; is it because the port number has a different standard service?  Or firewall thing?
> 
> Also, after I disconnect from wsgw I have a [wsgw] <defunct> process hanging around.
> 
> Still, very cool; too bad the Android browser can't do websockets yet.  I'll try it in Firefox for Android.  And will try on the RasPis now too (was using my Fedora x86 so far).
> :)
> P
> 
> 
> On 02/03/2013 11:26 AM, Perette Barella wrote:
>> Found the bug in the number of FDs I was passing to select().
>> 
>> I also found some info on the sin6_length parameter or whatever it is that's on some systems, but not others.  IP6 support should hopefully compile on Linux now.
>> 
>> I also noticed the pedantic warnings weren't enabled for the project in Xcode, so I turned them on and fixed stuff it complained about.
>> 
>> I also fixed the packager so it's got the version number in there and in -v.
>> 
>> I updated the INSTALL troubleshooting section, and added a PLAIN_RANDOM=1 option to the makefile for systems that don't have the fancy default one.
>> 
>> I'll make sure these things get checked in pianod too.
>> 
>> Thanks to Peter for all his work on this.
>> 
>> Perette





More information about the Pianod mailing list