BrightSign Author - Modifying Script to Set Proxy IP and Por
I have just purchased 3 of the HD1010 units and they work perfectly from home with my ISP complete with RSS feeds, however they will not connect to the network in the location I need to use them. I need the unit to work from behind a proxy server. I have looked at responses in the forum but my question is: when I view my current autorun.brs file, that was first published to a USB Drive and then copied to the HD1010 SD card, it is 199 pages long when viewed in Word (all pages are completely full). When I receieved a support email from the Brightsign reps they suggested: 1. adding the proxy settings into the following script. I will be using an IP and Port number - e.g. "10.10.20.15:800" (do I need quotes?) 2. then copy the script to the SD card and try to boot up the HD 1010 3. then create the network set-up files and publish to the SD card In the Script I received I edited the line, nc.SetProxy("http://username:password@proxy.yourcompany.com:port/") and changed to (e.g. only) nc.SetProxy("10.10.20.15:800") A Username and password are not required for access to the proxy The Script I received from the support team 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 Any advise would be most welcome