Your Digital Media Has Never Looked So Good

 
andrewdunn
Topic Author
Posts: 16
Joined: Wed Apr 14, 2010 4:43 am

DCHP & Proxy settings

Fri May 21, 2010 4:02 pm

Hi
Can I use the set DCHP autorun.brs and add to it,

(Proxy with Username and Password)
nc.SetProxy("http://username:password@proxy.yourcompany.com:port/")

to keep the 1010 DCHP but using a proxy.

To put these settings into the unit do you replace the autorun.brs on the card with the autorun.brs below, then reboot the unit
Regards
Andrew

REM Start of script
EnableZoneSupport(1)
REM Create text widget to display onscreen messaging
mode=CreateObject("roVideoMode")
registry=CreateObject("roRegistry")

rect1 = CreateObject("roRectangle", mode.GetSafeWidth()/4, mode.GetSafeHeight()/2, 500, 40)
rect2 = CreateObject("roRectangle", mode.GetSafeWidth()/4, mode.GetSafeHeight()/2+42, 500, 40)
text1 = CreateObject("roTextWidget", rect1, 1, 1, 0)
text2 = CreateObject("roTextWidget", rect2, 2, 1, 0)
print type(rect)
print type(text)
text1.Show()

text1.PushString("DHCP Network Configuration")
sleep(5000)

REM Adjust network settings here if necessary
REM
nc = CreateObject("roNetworkConfiguration", 0)
nc.SetDHCP()

nc.SetProxy("http://username:password@proxy.yourcompany.com:port/")

rem nc.SetTimeServer("mytimeserver.com") 'Set Time server here,

add address inside quotes
text1.Hide()
ok=nc.Apply()
registry.Flush()

text2.PushString("Settings Updated. Remove Network Configuration Script from flash card.")
if ok=true then text2.Show()
sleep(30000)
REM End of script
 
RokuLyndon

Re: DCHP & Proxy settings

Fri May 21, 2010 4:59 pm

Yes, you can use dhcp, and add proxy as you descdribed....
 
andrewdunn
Topic Author
Posts: 16
Joined: Wed Apr 14, 2010 4:43 am

Re: DCHP & Proxy settings

Fri May 21, 2010 5:09 pm

Thank you for your quick response

All I need to do is put the only the Set DCHP autorun.brs file onto a empty SD card and reboot the unit?

Don't know why this was posted twice before.
Andrew
 
RokuLyndon

Re: DCHP & Proxy settings

Fri May 21, 2010 11:41 pm

Yes, that's all.
 
andrewdunn
Topic Author
Posts: 16
Joined: Wed Apr 14, 2010 4:43 am

Re: DCHP & Proxy settings

Tue Jun 08, 2010 7:31 am

Hi
I have just returned to site to add the proxy settings, RSS is now working.
Now, when I startup the unit with the orignal card and files, it updates new content straight away, then will not update again, it was originally set for 30sec, is this set in the registry, if so could you tell me how I can reset it back to 30seconds.
Regards
Andrew
 
andrewdunn
Topic Author
Posts: 16
Joined: Wed Apr 14, 2010 4:43 am

Re: DCHP & Proxy settings

Tue Jun 08, 2010 11:01 pm

Hi
How do you reset all registry settings for no proxy and DCHP.

Regards
Andrew
 
RokuLyndon

Re: DCHP & Proxy settings

Wed Jun 09, 2010 8:32 am

viewtopic.php?f=19&t=25361

This thread has a script for setting the unit back to DHCP. If you used the brightauthor setup to manually set the IP address, then you can use the same setup files to set the unit for DHCP.

If you used a general proxy setting, not just one for RSS, then you can use the same command with an empty string to set the proxy to nothing.
 
andrewdunn
Topic Author
Posts: 16
Joined: Wed Apr 14, 2010 4:43 am

Re: DCHP & Proxy settings

Thu Jun 10, 2010 3:06 pm

Sorry to continue on this topic, how do I set up the proxy for internet access, and local for updating.
Andrew
 
RokuLyndon

Re: DCHP & Proxy settings

Thu Jun 10, 2010 4:15 pm

The other proxy thread, sticky, had a script for setting the proxy server.

Who is online

Users browsing this forum: No registered users and 3 guests