HOWTO: Adding Multiple Custom Frequencies to SkyLark 4.4 Tuner Application

Although this isnt all that useful unless you want to have lots of entries in the satellite list that won’t work, it is important to know how all this works so you can if you need to later…

Skylark is read only, so to make these changes, you will need to use the User.sh service scripts to re-install the changes after every reboot, then restart the ui service.

Create a Custom skylark_config.json file
Modify your custom skylark_config.json file and copy to the proper locations (if you dont have this file, copy /etc/skylark_config.json to this location

Add the new entries to the “tunerConf” section
Add new entires for each new satellite entry, note the entries for sat1, sat2, sat3 below:

"tunerConf": {
                "beams": {
                         "sat1": {                                                                     
                                "label": "Satellite 1",                                            
                                "value": "sat1",                                                     
                                "freq": "1545.1111",                                                 
                                "symbolrate": "4200"                                                 
                        },   
                        "sat2": {                                                                     
                                "label": "Satellite 2",                                            
                                "value": "sat2",                                                     
                                "freq": "1545.2222",                                                 
                                "symbolrate": "4200"                                                 
                        },   
                        "sat3": {                                                                     
                                "label": "Satellite 3",                                            
                                "value": "sat3",                                                     
                                "freq": "1545.3333",                                                 
                                "symbolrate": "4200"                                                 
                        },   
                        "apac": {
                                "label": "Asia Pacific (144E)",
                                "value": "apac",
                                "freq": "1545.9525",
                                "symbolrate": "4200"
                        },
                        "emea": {
                                "label": "Europe, West Asia, Africa (25E)",
                                "value": "emea",
                                "freq": "1545.94",
                                "symbolrate": "4200"
                        },
                        "americas": {
                                "label": "Americas (98W)",
                                "value": "americas",
                                "freq": "1539.8725",
                                "symbolrate": "4200"
                        },
                        "custom": {
                                "label": "Custom",
                                "value": "custom",
                                "freq": "1546.25",
                                "symbolrate": "4200"
                        }
                },
                "selectedBeam": "americas"
        },

Add the new entries to the “overRide” section.
This will allow the new entries to remain after a reboot.

"overRides": [
                "netConf.hostname",
                "netConf.mode",
                "netConf.sta",
                "netConf.ap",
                "tunerConf.selectedBeam",
                "tunerConf.beams.custom",
                "tunerConf.beams.sat1",
                "tunerConf.beams.sat2",
                "tunerConf.beams.sat3"
        ]

save the new skylark_config.json file to /mnt/conf/bin
check the file syntax with “jq -c < skylark_config.json”

Add a user.sh script to /mnt/config/bin directory
NOTE: in order to get this to work reliably i needed to copy the config to both places. im sure in my reverse engineering that i missed something simple, but this worked…

#!/bin/sh
#copy the skylark config to /mnt/conf/etc
cp /mnt/conf/bin/skylark_config.json /mnt/conf/etc/skylark_config.json 

#copy the skylark config to /etc
cp -f /mnt/conf/bin/skylark_config.json /etc

#restart the ui service
/etc/init.d/S70ui2service restart

reboot your DC to see how it works…

2 Likes