(info)
Print instructions for configuration of the Novra S400
Print instructions for configuration of the Novra S400
Print instructions for configuration of the Novra S400
def _print_s400_instructions(info):
    """Print instructions for configuration of the Novra S400
    """
    util.print_header("Novra S400")

    _print("""
    The Novra S400 is a standalone receiver, which will receive data from
    satellite and output IP packets to the host over the network. Hence, you
    will need to configure both the S400 and the host.
    """)

    util.print_sub_header("Connections")

    _print("The Novra S400 can be connected as follows:")

    print(("LNB ----> S400 (RF1 Interface) -- "
           "S400 (LAN 1 Interface) ----> Host / Network\n"))

    _item("Connect the LNB directly to interface RF1 of the S400 using a "
          "coaxial cable (an RG6 cable is recommended).")
    _item("Connect the S400's LAN1 interface to your computer or network.")

    util.prompt_for_enter()

    util.print_sub_header("Network Connection")

    _print("Next, make sure the S400 receiver is reachable by the host.")

    _print("First, configure your host's network interface to the same subnet "
           "as the S400. By default, the S400 is configured with IP address "
           "192.168.1.2 on LAN1 and 192.168.2.2 on LAN2. Hence, if you "
           "connect to LAN1, make sure your host's network interface has IP "
           "address 192.168.1.x, where \"x\" could be any number higher than "
           "2. For example, you could configure your host's network interface "
           "with IP address 192.168.1.3.")

    _print("After that, open the browser and access 192.168.1.2 (or "
           "192.168.2.2 if connected to LAN 2). The web management console "
           "should open up successfully.")

    print()

    util.prompt_for_enter()

    util.print_sub_header("Software Requirements")

    _print("Next, install all software pre-requisites on your host. Run:")

    print("    blocksat-cli deps install\n")

    _print("""
    NOTE: this command supports the apt, dnf, and yum package managers.""")

    util.prompt_for_enter()

    util.print_sub_header("Receiver and Host Configuration")

    print("Now, configure the S400 receiver and the host by running:")

    print("\n    blocksat-cli standalone cfg\n")

    _print("""If you would like to review the changes that will be made to the
    host before applying them, first run the command in dry-run mode:""")

    print("    blocksat-cli standalone cfg --dry-run\n\n")

    util.prompt_for_enter()

    util.print_sub_header("Monitoring")

    print("Finally, you can monitor your receiver by running:")

    print("\n    blocksat-cli standalone monitor\n\n")

    util.prompt_for_enter()
def _print_s400_instructions ( info ) : util . print_header ( "Novra S400" ) _print ( """
    The Novra S400 is a standalone receiver, which will receive data from
    satellite and output IP packets to the host over the network. Hence, you
    will need to configure both the S400 and the host.
    """ ) util . print_sub_header ( "Connections" ) _print ( "The Novra S400 can be connected as follows:" ) print ( ( "LNB ----> S400 (RF1 Interface) -- " "S400 (LAN 1 Interface) ----> Host / Network\n" ) ) _item ( "Connect the LNB directly to interface RF1 of the S400 using a " "coaxial cable (an RG6 cable is recommended)." ) _item ( "Connect the S400's LAN1 interface to your computer or network." ) util . prompt_for_enter ( ) util . print_sub_header ( "Network Connection" ) _print ( "Next, make sure the S400 receiver is reachable by the host." ) _print ( "First, configure your host's network interface to the same subnet " "as the S400. By default, the S400 is configured with IP address " "192.168.1.2 on LAN1 and 192.168.2.2 on LAN2. Hence, if you " "connect to LAN1, make sure your host's network interface has IP " "address 192.168.1.x, where \"x\" could be any number higher than " "2. For example, you could configure your host's network interface " "with IP address 192.168.1.3." ) _print ( "After that, open the browser and access 192.168.1.2 (or " "192.168.2.2 if connected to LAN 2). The web management console " "should open up successfully." ) print ( ) util . prompt_for_enter ( ) util . print_sub_header ( "Software Requirements" ) _print ( "Next, install all software pre-requisites on your host. Run:" ) print ( "    blocksat-cli deps install\n" ) _print ( """
    NOTE: this command supports the apt, dnf, and yum package managers.""" ) util . prompt_for_enter ( ) util . print_sub_header ( "Receiver and Host Configuration" ) print ( "Now, configure the S400 receiver and the host by running:" ) print ( "\n    blocksat-cli standalone cfg\n" ) _print ( """If you would like to review the changes that will be made to the
    host before applying them, first run the command in dry-run mode:""" ) print ( "    blocksat-cli standalone cfg --dry-run\n\n" ) util . prompt_for_enter ( ) util . print_sub_header ( "Monitoring" ) print ( "Finally, you can monitor your receiver by running:" ) print ( "\n    blocksat-cli standalone monitor\n\n" ) util . prompt_for_enter ( )