Re: Proxy connection

Hi,

any news on this? I want to configure a Proxy to get my Chumby One working, the .profile hack is not working properly.

Kind regards

Re: Proxy connection

Yes, I am also hoping this gets addressed.  I was hoping to use my Chumby at work.

Re: Proxy connection

The below is what finally worked for me, as my proxy required a username and password for authentication.

If your proxy requires authentication, add the below code to the 'debugchumby' file (with UNIX-style line-endings) on your flash-drive, and then plug it into your chumby before startup. Make sure to put in proper-values where required:

#!/bin/sh
http_proxy=http://<Proxy_Username>:<Proxy_Password>@<Proxy_UrlOrIp>:<Proxy_Port> start_control_panel

If your proxy does not require authentication, use this code instead:

#!/bin/sh
http_proxy=<Proxy_UrlOrIp>:<Proxy_Port> start_control_panel

Hope this does the trick for you, although I would still love to see proxy being officially supported on the Chumby.

Re: Proxy connection

This trick works for me for some scenarios, I passed start stage and entered control panel and all the widget works. However radios doesnt work. For example for Pandora, its UI is shown correctly, the icon for each song even moves but there is no sound. Does anyone know what could be the problem or where to look?

techgermz wrote:

The below is what finally worked for me, as my proxy required a username and password for authentication.

If your proxy requires authentication, add the below code to the 'debugchumby' file (with UNIX-style line-endings) on your flash-drive, and then plug it into your chumby before startup. Make sure to put in proper-values where required:

#!/bin/sh
http_proxy=http://<Proxy_Username>:<Proxy_Password>@<Proxy_UrlOrIp>:<Proxy_Port> start_control_panel

If your proxy does not require authentication, use this code instead:

#!/bin/sh
http_proxy=<Proxy_UrlOrIp>:<Proxy_Port> start_control_panel

Hope this does the trick for you, although I would still love to see proxy being officially supported on the Chumby.

Re: Proxy connection

That method is only setting a proxy for HTTP transactions that are done by the Control Panel and other Flash widgets that its starts.

For the Chumby One, instead of just setting the proxy for the control panel, try this instead.  In /psp/rfs1/userhook0, add a file with the line

export http_proxy=http://<Proxy_Username>:<Proxy_Password>@<Proxy_UrlOrIp>:<Proxy_Port>

This should set the proxy for all processes started after that's run.

Re: Proxy connection

Thanks, the /psp/rfs1/userhook0 seems to work for me, atleast I see some requests going through my proxy.

Re: Proxy connection

I'm using Chumby classic and it doesn't have /psp/rfs1, where should I put it?

thanks

Last edited by Xiaoyong (2010-02-23 14:26:24)

Re: Proxy connection

Xiaoyong wrote:

I'm using Chumby classic and it doesn't have /psp/rfs1, where should I put it?

thanks

The folder isn't there by default, you must create it:

mkdir rfs1

Re: Proxy connection

So are you guys saying that a connection via proxy is possible?

Could our German users please try this (with a us proxy) and see if they can access Pandora and Iheartradio?

Re: Proxy connection

Madefl wrote:

So are you guys saying that a connection via proxy is possible?

Could our German users please try this (with a us proxy) and see if they can access Pandora and Iheartradio?

Yes, this does work from Germany. I thought it failed but then found out that my proxy was not recognized as based in the US by Pandora.

Via the http:proxy variable being set through a userhook0 script I was able to log into Pandora and now it's playing fine. Speed is not extraordinary, due to the proxy being my personal computer in the US, but at least it plays :-)

Last edited by kiki (2010-03-01 06:45:26)