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

Suggestion: add a command-line option for Network Configuration #19

Open
joaoantoniocardoso opened this issue Dec 16, 2021 · 0 comments

Comments

@joaoantoniocardoso
Copy link

As an alternative for the linked instructions, which are all GUI-oriented, we can add a command-line approach:

  • Linux:
ip addr show  # To see the interface name
sudo ip a add 192.168.2.1/24 dev <interface>  # To set the interface ip
  • Mac:
networksetup -listallnetworkservices
networksetup -setmanual <interface> 192.168.2.1 255.255.255.0 192.168.2.1
  • Windows (cmd):
netsh interface ipv4 show config
netsh interface ipv4 set address name=<interface> static 192.168.2.1 255.255.255.0 192.168.2.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant