Sonntag, 12. Februar 2017

Megasat Sat>IP Server 3 (MEG-8000)


SSH/SCP-Login (default):

User: root
PW*: admin

* if you changed the password via webinterface use this password instead.


Sat>IP-Server-CLI:

/opt/bin/sat2ip_server/sat2ip_cmdl.elf
[AS-B3S100-Server]$ /opt/bin/sat2ip_server/sat2ip_cmdl.elf -h
[SAT>IP CMDL] Parsing command line...

 SAT>IP server deamon command line application
        Usage:
        sat2ip_cmdl.elf  -c<command> -t<pool_time> <Preset> [-h]

   -h Displays this help message

   <pool_time> Time in miliseconds to pool command. If 0 command will be pulled only once

   <Preset> Predefined presets (if more than one is present only first will be processed
            and if there is any <command> defined it will be skipped as well):

        -b    Display device info.
        -f    Display frontend detailed info.
   <command>   command for SAT>IP deamon
        fegbe<n> - Get FE n BER. Response: fegbe<n><BER>
        fegci<n> - Get FE n Client IP. Response: fegci<n><IP>
        fegfr<n> - Get FE n Frequency. Response: fegfr<n><freq>
        fegpi<n> - Get FE n List Of Pids. Response: fegpi<n><pids>
        fegls<n> - Get FE n Lock Status. Response: fegls<n><lock>
        fegmt<n> - Get FE n Modulation. Response: fegmt<n><modulation>
        fegpl<n> - Get FE n Playing Status. Response: fegpl<n><play>
        fegpo<n> - Get FE n Polarization. Response: fegpo<n><pol>
        fegrs<n> - Get FE n Reception Standard. Response: fegrs<n><rec_st>
        fegst<n> - Get FE n Session Type. Response: fegst<n><sessiont>
        fegsq<n> - Get FE n Signal quality. Response: fegsq<n><sig_q>
        fegsr<n> - Get FE n Symbol Rate. Response: fegsr<n><sr>
        fegty<n> - Get FE n Type. Response: fegty<n><type>
        fegfe<n> - Get FE n Free status. Response: fegfe<n><free>
        dvgid - Get Device ID. Response: dvgid<id>
        dvgfw - Get FW version. Response: dvgfw<fw>
        dvghw - Get HW version. Response: dvghw<hw>
        dvgmc - Get MAC. Response: dvgmc<MAC>
        dvgnc - Get number of cable FE. Response: dvgnc<ncab>
        dvgns - Get number of satellite FE. Response: dvgns<nsat>
        dvgnt - Get number of terrestrial FE. Response: dvgnt<nter>
        dvgcl - Get number of clients attached. Response: dvgcl<ncli>
        dvgcp - Get CPU usage. Response: dvgcp<cpu_u>
        dvgmu - Get Memory usage. Response: dvgmu<mem_u>
        dvgut - Get up time. Response: dvgut<up_t>
        sigfn - Get Friendly Name. Response: sigfn<friendly_name>
        sigti - Get Session timeout. Response: sigti<timeout>
        sigln - Get LNB Type. Response: sigln<n>
        siglf - Get LNB freq settings. Response: siglf<-freq-hiBandOLFreg-loBandOLFreg->
        sisfn<str> - Set <str> as server friendly name. Response: sisfn<b> - b is 0 if failed, or 1 if sucessfull
        sisti<n> - Set <n> as timeout. Response: sisti<b> - b is 0 if failed, or 1 if sucessfull
        sisln<n> - Set LNB Type: <n>=0 - quattro; <n>=1 - One demod one RF; <n>=2 - quad. Response: sisln<b> - b is 0 if failed, or 1 if sucessfull
        sislf<-freq-hiBandOLFreg-loBandOLFreg-> - Set LNB OL frequencies. Response: sislf<b> - b is 0 if failed, or 1 if sucessfull
        sisxm<str> - Upload /data/device_description.xml. Response: sisxm<b> - b is 0 if failed, or 1 if sucessfull
        stscr<n><param> - Create static session on FE <n> using <params>. Response: stscr<n><b> - b is 0 if failed, or 1 if sucessfull
                          <params>=-msys-src-freq-pol-sr-fec-mtype-pilot-ro-pids-name-lcn-mcastIP-mcastPorts-TTL-
                    order of parametars must be preserved. On missing param place -none-. Example:
                          <params>=-dvbs2-1-10773-h-22000-34-8psk-off-0.20;0,96,255,259-ANIXE HD-0-239.1.0.0-5004_5005-3-
        stste<n> - Terminate static session on FE <n>. . Response: stste<n><b> - b is 0 if failed, or 1 if sucessfull
        srcdg<n> - Set debug mode
        srcen<n> - Close SAT>IP server.

Activate debugging (output to /var/log/messages):

/opt/bin/sat2ip_server/sat2ip_cmdl.elf -csrcdg<n>

<n> = 0 --> Debugging on
<n> = 2 --> Debugging off

Webserver (mongoose)

Path

/var/www/
Files located in the www-Directory can be reached via webbrowser. 
http://<ip-zum-satip-server>:8000/<filename>