{"id":19904160,"url":"https://github.com/bertptrs/netctl2iwd","last_synced_at":"2025-03-01T07:23:41.144Z","repository":{"id":57644376,"uuid":"166374202","full_name":"bertptrs/netctl2iwd","owner":"bertptrs","description":"Convert netctl wireless profiles to iwd profiles","archived":false,"fork":false,"pushed_at":"2019-01-29T16:30:36.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T00:17:36.941Z","etag":null,"topics":["iwd","netctl","rust"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bertptrs.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}},"created_at":"2019-01-18T08:51:49.000Z","updated_at":"2020-01-04T10:58:23.000Z","dependencies_parsed_at":"2022-08-30T05:30:36.622Z","dependency_job_id":null,"html_url":"https://github.com/bertptrs/netctl2iwd","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fnetctl2iwd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fnetctl2iwd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fnetctl2iwd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertptrs%2Fnetctl2iwd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertptrs","download_url":"https://codeload.github.com/bertptrs/netctl2iwd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241331561,"owners_count":19945395,"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":["iwd","netctl","rust"],"created_at":"2024-11-12T20:27:10.339Z","updated_at":"2025-03-01T07:23:41.075Z","avatar_url":"https://github.com/bertptrs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# netctl2iwd\n\n[![Build Status](https://travis-ci.org/bertptrs/netctl2iwd.svg?branch=master)](https://travis-ci.org/bertptrs/netctl2iwd) [![Crates.io](https://img.shields.io/crates/v/netctl2iwd.svg)](https://crates.io/crates/netctl2iwd)\n\nConvert your `netctl` wireless profiles to `iwd` profiles.\n\n[Iwd](https://iwd.wiki.kernel.org/) is a recent projected intended to replace `wpa_supplicant`. It can be used with\nConnMan and NetworkManager with very little changes. However, if you previously used `netctl` for your wifi needs, you\nwill need to write out all the profiles again. This is where this tool comes in.\n\n## Installation\n\n```\ngit clone https://github.com/bertptrs/netctl2iwd\ncd netctl2iwd\ncargo install\n```\n\n…or `cargo install netctl2iwd` or use [this AUR package](https://aur.archlinux.org/packages/netctl2iwd/) or [find a way to convice a butterfly to make the bytes magically appear](https://xkcd.com/378/).\n\n## Usage\n\n```\nnetctl2iwd -i /etc/netctl\n```\n\nYou can use this program to convert specific netctl profiles or a folder of netctl profiles. The program does not\nspecifically _need_ root permissions, but it does need to read (and write) the profiles.\n\nThe default destination directory is `/var/lib/profiles` which is where the profiles should be stored. You can change\nthe default directory for output files with the `-o [OUTPUT DIR]` directive.\n\nFor input, you can either specify each file individually, or you can specify a profile directory with the\n`-i [INPUT DIR]` option.\n\nTo run this program without root, you need to\n\n- copy your profile files to another directory\n- make the copies readable for your user\n- create an output directory\n- run the program with the alternative profile directory and output directory\n- copy the generated profiles to the proper directory, optionally after manual inspection\n\n### Limitations\n\n`netctl` profiles are actually bash files, however, this tool parses them as if they were `.ini` files. This works okay\nfor simple profiles (as generated by `wifi-menu`, for instance) but may fail for more complicated set-ups.\n\nBecause of this, WPA-enterprise profiles will fail to parse since the wpa_config code is a bash array. This might be\nfixed in future versions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertptrs%2Fnetctl2iwd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertptrs%2Fnetctl2iwd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertptrs%2Fnetctl2iwd/lists"}