{"id":21186648,"url":"https://github.com/geontech/old-docker-usrp","last_synced_at":"2025-03-14T20:18:19.545Z","repository":{"id":146038870,"uuid":"58668026","full_name":"Geontech/old-docker-usrp","owner":"Geontech","description":"DEPRECATED: USRP_UHD -bearing Node installation using the Docker REDHAWK image","archived":false,"fork":false,"pushed_at":"2016-09-28T21:15:37.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-21T12:48:43.100Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Geontech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-12T18:48:54.000Z","updated_at":"2017-05-30T15:05:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"caca53b7-d5bb-404b-89dd-73bd7810b0ee","html_url":"https://github.com/Geontech/old-docker-usrp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geontech%2Fold-docker-usrp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geontech%2Fold-docker-usrp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geontech%2Fold-docker-usrp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geontech%2Fold-docker-usrp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Geontech","download_url":"https://codeload.github.com/Geontech/old-docker-usrp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243639557,"owners_count":20323511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T18:25:01.393Z","updated_at":"2025-03-14T20:18:19.521Z","avatar_url":"https://github.com/Geontech.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker REDHAWK USRP Image\n\nThis Docker image is built upon the REDHAWK Base Image and includes UHD 3.10, the rh.USRP_UHD Device, and a startup profile to create the USRP node and start it when a container of this image is launched.\n\nSeveral system configuration files are also provided.\n\n## Building\n\n### Using the Script\n\nTo build the image, use the provided build.sh script:\n\n        ./build.sh\n\nTo remove the image:\n\n        ./build.sh clean\n\n### Using Docker\n\nAlternatively, the image can be built from the top level directory manually with:\n\n        docker build --rm -t redhawk-usrp-uhd docker-redhawk-usrp-uhd\n\n### Permissions\n\nNote that it may be necessary to run the above commands as root if you are not part of the 'docker' group.\n\n## Running\n\n### Using the Scripts\n\n#### Run as N210\n\nUse this script to run the REDHAWK USRP UHD Image as an N210 host. This script requires the IP address of the Domain Manager to connect to and the IP address of the N210 as arguments. This script optionally accepts a Domain Name for the Device Manager to connect to, which defaults to REDHAWK_DEV. To run the script non-interactively (e.g., as a service), pass the -n flag. To pass arguments directly to the docker run command, specify them after a '--'.\n\n\t./runAsN210 -i \u003cDomainManager IP Address\u003e -u \u003cN210 IP Address\u003e [-d Domain Manager Name] [-n] [-- docker run arguments]\n\n#### Run as B2XX\n\nUse this script to run the REDHAWK USRP UHD Image as a B2XX host. This script requires the IP address of the Domain Manager to connect to as an argument. This script optionally accepts a Domain Name for the Device Manager to connect to, which defaults to REDHAWK_DEV. To run the script non-interactively (e.g., as a service), pass the -n flag. To pass agruments directly to the docker run command, specify them after a '--'.\n\n\t./runAsB2XX -i \u003cDomain Manager IP Address\u003e [-d Domain Manager Name] [-n] [-- docker run arguments]\n\n### Using Docker\n\nConsult the scripts above for examples of how to run the image.\n\n## System Configuration\n\n### Installation\n\nTo install the system configuration files, use the provided install.sh script:\n\n\t./install.sh\n\nThis will install several files:\n\n\tsystem-config/99-usrp-b205.rules\t\tUdev rules for starting and stopping the redhawk-usrp-uhd-b205 service when a b205 is added and removed, respectively\n\tsystem-config/redhawk-usrp-uhd-b205\t\tThe init.d script for the redhawk-usrp-uhd-b205 service which is responsible for calling the runAsB2XX.sh script\n\tsystem-config/redhawk-usrp-uhd-n210-watcher \tThe init.d script for the redhawk-usrp-uhd-n210-watcher service which is responsible for launching the python script of the same name\n\tsystem-config/redhawk-usrp-uhd-n210-watcher.py\tThe python script responsible for monitoring available n210s and controlling the lifecycles of their containers\n\trunAsB2XX.sh\t\t\t\t\tThe script from above, which will be installed as /usr/bin/redhawk-usrp-uhd-b205 and will launch the b205 redhawk-usrp-uhd container\n\trunAsN210.sh\t\t\t\t\tThe script from above, which will be installed as /usr/bin/redhawk-usrp-uhd-n210 and will launch the n210 redhawk-usrp-uhd container\n\t\nIt will also create the log directories (/var/log/redhawk-usrp-uhd-b205 and /var/log/redhawk-usrp-uhd-n210-watcher) and reload the udev rules (udevadm control --reload-rules).\n\n### Notes\n\nThe redhawk-usrp-uhd-b205 service only supports a single b205 per host (for now).\n\n### Additional Configuration\n\nThe default Omni IP address and Domain Manager name are 127.0.0.1 and REDHAWK_DEV, respectively. To change these, export one or both of the variables in the appropriate /etc/sysconfig file. That is, to change this for the B205, add the export(s) to the /etc/sysconfig/redhawk-usrp-uhd-b205 script. Similarly, for the N210, add the export(s) to the /etc/sysconfig/redhawk-usrp-uhd-n210-watcher script.\n\nAn example configuration is given below:\n\n\texport OMNISERVICEIP=192.168.1.2\n\texport RHDOMAINNAME=REDHAWK_DEV_2_0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeontech%2Fold-docker-usrp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeontech%2Fold-docker-usrp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeontech%2Fold-docker-usrp/lists"}