{"id":17941840,"url":"https://github.com/imortio/netmode","last_synced_at":"2026-05-15T13:35:28.734Z","repository":{"id":259211891,"uuid":"876585699","full_name":"imortio/netmode","owner":"imortio","description":"netmode is a lighweight bash script that use the power of 'iw' which allows users to easily switch between different Wi-Fi modes, ranging from managed, monitor, IBSS (ad-hoc), mesh, and WDS modes.","archived":false,"fork":false,"pushed_at":"2024-10-22T11:20:25.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-22T00:41:49.374Z","etag":null,"topics":["awk","bash-script","ibss","iproute2","iw","linux-tools","managed-mode","mesh","monitor-mode","net-admin","network-automation","networking","open-source","pentest","shell","sysadmin","wds","wifi","wireless"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imortio.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,"zenodo":null}},"created_at":"2024-10-22T08:14:02.000Z","updated_at":"2025-08-02T11:36:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"441ea089-262f-4a45-8dc5-a06679e4c2f7","html_url":"https://github.com/imortio/netmode","commit_stats":null,"previous_names":["imortio/netmode"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/imortio/netmode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imortio%2Fnetmode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imortio%2Fnetmode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imortio%2Fnetmode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imortio%2Fnetmode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imortio","download_url":"https://codeload.github.com/imortio/netmode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imortio%2Fnetmode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33068702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["awk","bash-script","ibss","iproute2","iw","linux-tools","managed-mode","mesh","monitor-mode","net-admin","network-automation","networking","open-source","pentest","shell","sysadmin","wds","wifi","wireless"],"created_at":"2024-10-29T02:04:25.005Z","updated_at":"2026-05-15T13:35:28.729Z","avatar_url":"https://github.com/imortio.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netmode\n\n`netmode` is a simple Bash script that allows you to switch your network interface between different modes such as managed, monitor, IBSS, mesh, and WDS. It automates enabling/disabling monitor mode and other network modes for quick network configuration.\n\nThis script uses the power of `iw` as one of its backend commands to manage wireless interfaces efficiently.\n\n## Features\n- **Switch between multiple modes**: \n  - Managed\n  - Monitor\n  - IBSS (Ad-Hoc)\n  - Mesh\n  - WDS (Wireless Distribution System)\n- **Auto detect wireless network interface**: The script automatically detects the available wireless interface on your system.\n- **Simple command**: One-liner to change the mode of your network interface.\n\n## Usefulness\n\nThe `netmode` script is particularly useful for:\n\n- **Network Administrators**: Quickly switch between different network interface modes to troubleshoot connectivity issues or optimize wireless performance without needing to remember complex commands.\n\n- **Penetration Testers**: Customize your machine to effortlessly change your wireless interface mode during assessments, enabling you to quickly switch to monitor mode for capturing packets or to managed mode for normal operation, all in one streamlined command.\n\n- **Network Engineers**: Simplify the process of configuring network interfaces for various setups, whether it’s for deploying ad-hoc networks, mesh networking, or maintaining WDS connections.\n\n## Requirements\n\nBefore using the script, ensure you have the following tools and packages installed:\n\n- **`iw`**: A command-line tool for managing wireless devices.\n- **`gawk`**: A programming language used for pattern scanning and processing.\n- **`iproute2`**: A collection of utilities for controlling networking in Linux.\n\nYou can install these tools using your system package manager.\n\n## Installation\n\n1. Clone the repository:\n\t```bash\n\tgit clone https://github.com/imortio/netmode.git\n\t```\n\n2. Move the script to `/usr/local/bin/` and make executable to ensure it available system-wide:\n\t```bash\n\tsudo mv netmode /usr/local/bin/\n\tsudo chmod +x /usr/local/bin/netmode\n\t```\n\n## Usage\n\nTo switch your network interface mode, use the following syntax:\n```bash\nsudo netmode \u003cmode\u003e\n```\n\n## Example\n\nEnable monitor mode on `wlan0`:\n```bash\nsudo netmode mon\n```\n\nSwitch back to managed/normal mode:\n```bash\nsudo netmode man\n```\n\n## Help\n\nFor help or usage information:\n```bash\nnetmode -h\n```\n\n## Error Handling\n\nThe script includes basic error handling to ensure:\n\n- You are using a valid network interface.\n- The selected mode is supported.\n\n## Contributing\n\nSince this script is purposed to help on a simple task which may be oftenly performed by someone who specifically deals with networks, so contributions are welcome! Here’s how you can help:\n\n1. **Fork the Repository**: Click on the \"Fork\" button at the top right corner of the page to create your own copy of the repository.\n\n2. **Make Changes**: Clone your forked repository to your local machine and make your changes:\n\t```bash\n\tgit clone https://github.com/imortio/netmode.git\n\tcd netmode\n\t```\n\n3. **Create a Pull Request**: Once you’ve made your changes, push them to your forked repository and create a pull request:\n\n- Go to the \"Pull Requests\" tab in the original repository.\n- Click on \"New Pull Request\".\n- Choose your branch and submit the pull request.\n\n4. Report Issues: If you find any bugs or have feature requests, feel free to open an issue in the [issue tracker](https://github.com/imortio/netmode/issues).\n\n## License\n\nThis project is licensed under the [Unlicense](https://unlicense.org/). See the [LICENSE](LICENSE) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimortio%2Fnetmode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimortio%2Fnetmode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimortio%2Fnetmode/lists"}