Perhaps it is a silly question—but how does one start minisatip?
I have a Telestar Digibit TwinTuner in my LAN. One channel feeds a set-top box, hence I know that the thing is working.
I want to use minisatip to access the second channel. I compiled via "configure --enable-satipc" and "make" without problems. Then I entered "./minisatip -s TUNER_IP", and nothing happened. The program quitted immediately with status 0 and without reporting anything. What should have happened instead? And what is the proper way to start the program?
problems with setting up minisatip
Re: problems with setting up minisatip
Hi,
Starting minisatip as you did makes it run as a daemon. So most likely you can use it. -f makes it run in foreground.
Thanks
Starting minisatip as you did makes it run as a daemon. So most likely you can use it. -f makes it run in foreground.
Thanks
Re: problems with setting up minisatip
> Starting minisatip as you did makes it run as a daemon.
... which would have made sense. But my system does not return a process number, nor do I see a minisatip process after doing “ps -ef”.
... which would have made sense. But my system does not return a process number, nor do I see a minisatip process after doing “ps -ef”.
Re: problems with setting up minisatip
Run
./minisatip -f -s ....
./minisatip -f -s ....
Re: problems with setting up minisatip
My command was ./minisatip -s 192.168.178.35, where the last item is the IP address of the tuner. I also tried the “-f” option, but there was neither a confirmation nor an error message from mysatip; it simply quitted with error code 0. I also tried “… 2@192.168.178.35”, with the same result.
I am probably making a silly mistake somewhere. But if minisatip cannot access the tuner because of a wrong/garbled IP address or a permission problem, I should expect an error message.
I am probably making a silly mistake somewhere. But if minisatip cannot access the tuner because of a wrong/garbled IP address or a permission problem, I should expect an error message.
Re: problems with setting up minisatip
please provide the output of:
./minisatip -s 192.168.178.35 -f -l http
Thank you
./minisatip -s 192.168.178.35 -f -l http
Thank you
Re: problems with setting up minisatip
> please provide the output of:
… with pleasure:
[03/11 21:31:28.945 main]: minisatip version 0.7.10, compiled with s2api version: 050A
[03/11 21:31:28.945 main]: Built without dvbcsa
[03/11 21:31:28.945 main]: Built without CI
[03/11 21:31:28.945 main]: Built with dvbapi
[03/11 21:31:28.945 main]: Built without AES (OpenSSL)
[03/11 21:31:28.945 main]: Built with tables processing
[03/11 21:31:28.945 main]: Built with pmt processing
[03/11 21:31:28.945 main]: Built with satip client
[03/11 21:31:28.945 main]: Built with linux dvb client
[03/11 21:31:28.945 main]: Built with backtrace
[03/11 21:31:28.945 main]: Built without netceiver
[03/11 21:31:28.946 main]: New UDP socket 4 bound to 0.0.0.0:1900
[03/11 21:31:28.946 main]: setting multicast for 239.255.255.250
[03/11 21:31:28.946 main]: New UDP socket 5 bound to 239.255.255.250:1900
[03/11 21:31:28.946 main]: tcp_listen: failed: bind() on address: ANY, port 554 : error Permission denied
… with pleasure:
[03/11 21:31:28.945 main]: minisatip version 0.7.10, compiled with s2api version: 050A
[03/11 21:31:28.945 main]: Built without dvbcsa
[03/11 21:31:28.945 main]: Built without CI
[03/11 21:31:28.945 main]: Built with dvbapi
[03/11 21:31:28.945 main]: Built without AES (OpenSSL)
[03/11 21:31:28.945 main]: Built with tables processing
[03/11 21:31:28.945 main]: Built with pmt processing
[03/11 21:31:28.945 main]: Built with satip client
[03/11 21:31:28.945 main]: Built with linux dvb client
[03/11 21:31:28.945 main]: Built with backtrace
[03/11 21:31:28.945 main]: Built without netceiver
[03/11 21:31:28.946 main]: New UDP socket 4 bound to 0.0.0.0:1900
[03/11 21:31:28.946 main]: setting multicast for 239.255.255.250
[03/11 21:31:28.946 main]: New UDP socket 5 bound to 239.255.255.250:1900
[03/11 21:31:28.946 main]: tcp_listen: failed: bind() on address: ANY, port 554 : error Permission denied
Re: problems with setting up minisatip
You have another application listening on 554
netstat -antp |grep 554
netstat -antp |grep 554
Re: problems with setting up minisatip
netstat -antp does not indicate anything.
But if I run minisatip as superuser, it "daemonizes" correctly and generates a lot of HTTP output. I conclude that I must check my device permissions,
i.e., this problem is on my side.
The minisatip log output shows it when I let my vlc program access the server (using the examples from README_footer), but so far no video or audio signal comes through. I guess this is another problem.
But if I run minisatip as superuser, it "daemonizes" correctly and generates a lot of HTTP output. I conclude that I must check my device permissions,
i.e., this problem is on my side.
The minisatip log output shows it when I let my vlc program access the server (using the examples from README_footer), but so far no video or audio signal comes through. I guess this is another problem.
Re: problems with setting up minisatip
To solve the problem "tcp_listen: failed: bind() on address: ANY, port 554 : error Permission denied" simply execute the following command one time:
sudo setcap CAP_NET_BIND_SERVICE=+eip /path/to/binary
Example: sudo setcap CAP_NET_BIND_SERVICE=+eip $HOME/minisatip/minisatip (the last "minisatip" is the binary file itself!)
The problem is: Linux don't allow access to low-numbered ports for security reasons.
The above command allow minisatip to bind to low-numbered ports without root! If the command executed it is durable valid.
sudo setcap CAP_NET_BIND_SERVICE=+eip /path/to/binary
Example: sudo setcap CAP_NET_BIND_SERVICE=+eip $HOME/minisatip/minisatip (the last "minisatip" is the binary file itself!)
The problem is: Linux don't allow access to low-numbered ports for security reasons.
The above command allow minisatip to bind to low-numbered ports without root! If the command executed it is durable valid.