[SOLVED] How to connect to a wifi network by shell script?
Posted: 11 Jun 2023, 11:24
Hi to all.
I want to add a new network(wifi network by its configurations, connection name, ssid, passwd etc.) by using shell script to my Porteus, I am using Porteus in usb stick therefore I do not want to enter all configurations all time by hand again and again. Is is possible to add a new network by using shell scripting? What I achieve is that, I wrote all config in a file and shell script read all those and add new wifi network connection to Porteus and I can only click "connect" and connect to my wireless connection.
I can handle coding part, I only want to know and guide about :
1. is is possible and,
2. where do I have to look for (i.e. man page of which commands ? what is the shell command behind network clients? etc.
Thanks.
[edited my question and add more info about what I want to achieve.]
I want to add a new network(wifi network by its configurations, connection name, ssid, passwd etc.) by using shell script to my Porteus, I am using Porteus in usb stick therefore I do not want to enter all configurations all time by hand again and again. Is is possible to add a new network by using shell scripting? What I achieve is that, I wrote all config in a file and shell script read all those and add new wifi network connection to Porteus and I can only click "connect" and connect to my wireless connection.
I can handle coding part, I only want to know and guide about :
1. is is possible and,
2. where do I have to look for (i.e. man page of which commands ? what is the shell command behind network clients? etc.
Thanks.
[edited my question and add more info about what I want to achieve.]