Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalise parameter syntax #6

Open
falkecarlsen opened this issue Mar 10, 2019 · 5 comments
Open

Generalise parameter syntax #6

falkecarlsen opened this issue Mar 10, 2019 · 5 comments
Labels
enhancement New feature or request
Projects

Comments

@falkecarlsen
Copy link
Owner

falkecarlsen commented Mar 10, 2019

Rather than having no-args mean 'connect to home', as per issue #3, syntax should be generalised.

This should take the form of: ./chwifi ssid passphrase?, where a question-mark signifies optionality.

Currently, the script has the main functionality of handling a use-case of a user primarily using two wireless networks, which is not very extensible. Implementing this syntax allows connecting to arbitrary networks, both networks that are already configured and unknown networks.

This would result in the script becoming a CLI-wrapper for network managers with the enhanced feature of auto-caching passwords for rolling password networks.

@falkecarlsen
Copy link
Owner Author

falkecarlsen commented Mar 16, 2019

Merge a260900 resolves the no-args issue and implements help-printing. This opens up the possiblity to define syntax as ./chwifi <profile> <passphrase>?, where passphase is optional.

@falkecarlsen
Copy link
Owner Author

Merge 700db47 resolves the MAC-spoofing-issue but also implements an abstracted connection-routine function, which is the main requirement for this issue.

@falkecarlsen falkecarlsen added this to High priority in chwifi Mar 16, 2019
@falkecarlsen
Copy link
Owner Author

Issue mostly closed by c2cf441, but the chwifi ssid passphrase? could be a welcome addition.

@falkecarlsen falkecarlsen added the enhancement New feature or request label Jul 1, 2019
@Badgie
Copy link
Collaborator

Badgie commented Oct 1, 2019

#33 may fix this, in the sense that a user can create a new netctl profile using wifi-menu -o or similar, and this profile will be imported into the config on update.

@falkecarlsen
Copy link
Owner Author

This helps, but does not completely consolidate all network-related activities in chwifi. This probably isn't the aim of chwifi anyway, but I don't think we should resolve #6 on #33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
chwifi
  
High priority
Development

No branches or pull requests

2 participants