1. Download free version of cesbo astra (4.4.182), depending on your system and copy to /usr/bin/ :
or
1. Install astra
2.
3. Create directory
and put your testch.lua config file
Example testch.lua file:
4.
5. Run lua file as root
or
1. Install astra
2.
Code:
chmod +x /usr/bin/astra
3. Create directory
Code:
mkdir /etc/astra/
Example testch.lua file:
Code:
#!/usr/bin/astra
-- log.set({ debug = true })
log.set({
debug = true,
filename = "testch.log",
})
pidfile("/var/run/testch.pid")
adapter_1 = dvb_tune({
type = "S2",
adapter = 1,
tp = "11995:H:25000",
lnb = "9750:10600:11700",
})
make_channel({
name = "testch",
input = {
"dvb://adapter_1#pnr=2099&cam"
},
output = {
"http://192.168.1.188:6019/testch"
}
})
make_channel({
name = "testch1",
input = {
"dvb://adapter_1#pnr=2088&cam"
},
output = {
"http://192.168.1.188:6019/testch1"
}
})
4.
Code:
chmod +x /etc/astra/testch.lua
5. Run lua file as root
Code:
./etc/astra/testch.lua