{"id":15145375,"url":"https://github.com/aidanbh/strangenet","last_synced_at":"2025-10-07T08:16:38.555Z","repository":{"id":42363980,"uuid":"170423148","full_name":"aidanbh/StrangeNet","owner":"aidanbh","description":"A free software solution for wireless IP networking over Digi's XBee API. (WIP)","archived":false,"fork":false,"pushed_at":"2023-03-04T17:07:59.000Z","size":33,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T20:36:11.038Z","etag":null,"topics":["900mhz","digimesh","internet-of-things","ip","networking","osi-layer","rf","xbee"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aidanbh.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":"2019-02-13T02:04:24.000Z","updated_at":"2024-05-22T08:17:49.000Z","dependencies_parsed_at":"2025-02-09T01:31:21.422Z","dependency_job_id":"6e0f8a19-d36b-4602-86de-0198c724b18a","html_url":"https://github.com/aidanbh/StrangeNet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aidanbh/StrangeNet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanbh%2FStrangeNet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanbh%2FStrangeNet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanbh%2FStrangeNet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanbh%2FStrangeNet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aidanbh","download_url":"https://codeload.github.com/aidanbh/StrangeNet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanbh%2FStrangeNet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278740859,"owners_count":26037484,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["900mhz","digimesh","internet-of-things","ip","networking","osi-layer","rf","xbee"],"created_at":"2024-09-26T11:24:03.181Z","updated_at":"2025-10-07T08:16:38.550Z","avatar_url":"https://github.com/aidanbh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StrangeBox\nA free software solution for wireless IP networking over Digi's XBee API.\n\n## XBee Setup\n\nSet to \"API mode (with Escapes)\".\n\n## Minimal Working Examples\n\n_Note: These have been verified on Ubuntu 18.04 with [XBee-PRO 900HP](https://www.digi.com/products/models/xbp9b-dmst-002) units .  If you can add instructions to broaden the scope of these examples, please do so._\n\nThere are two machines in the required setup that I will call \"Client\" and \"Server\".  _It does not matter which XBee is connected where.  It only matters that_ `openssh-client` _is installed on \"Client\", and_ `openssh-server` _is installed on \"Server\".\n\n### Dependencies\n\nOn both \"Client\" and \"Server\", satisfy dependencies of StrangeNet with:\n\n``` bash\nsudo apt update \u0026\u0026 sudo apt install -y libpython3-dev python3-pip\nsudo python3 -m pip install digi-xbee\nsudo python3 -m pip install pypacker\nsudo python3 -m pip install python-pytun\nsudo apt install openssh-{client|server}  # client on \"Client\", server on \"Server\"\n```\n\nNext, navigate to the `strangenet` folder in your local checkout of this repo.  Before running, make sure that you have set the following environment variables correctly:\n\n```\nSTRANGENET_XBEE_PORT\nSTRANGENET_XBEE_BAUD\nSTRANGENET_IP\n```\n\nThe first two environment variables are determined by the tty device descriptor (e.g. `/dev/ttyUSB0`) and the baud rate specified in the XBee configuration (e.g. 230400), respectively.  The third environment variable is whatever IPv4 descriptor you want for the StrangeNet interface.\n\nFor example, on the \"Client\", setup `STRANGENET_IP` by executing in your terminal window:\n\n```bash\nexport STRANGENET_IP=10.0.0.1\n```\n\nGive the \"Server\" interface a different name on the same subnet:\n\n```bash\nexport STRANGENET_IP=10.0.0.2\n```\n\n### Launch `strangenet`\n\nFrom the current folder, navigate to the `strangenet` folder and then execute the following to launch `strangenet`:\n\n```bash\npython3 main.py\n```\n\nNow, you are setup to run a couple of quick IP networking commands: `ping` and `ssh`.\n\n### `ping`\n\nOn either \"Client\" or \"Server\", try to ping the other machine with:\n\n```bash\nping 10.0.0.{1|2}  # 1 if pinging \"Client\" from \"Server\", 2 otherwise\n```\n\n### `ssh`\n\nFrom \"Client\", connect to \"Server\" over `ssh` with:\n\n```bash\nssh {username-on-server}@10.0.0.2  # username-on-server is whatever your username is on \"Server\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidanbh%2Fstrangenet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidanbh%2Fstrangenet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidanbh%2Fstrangenet/lists"}