-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from nqminds/feat/add-wifi-con-scripts
add: wifi connection scripts
- Loading branch information
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# Disconnect from brski-secure if connected | ||
nmcli device disconnect wlan0 | ||
|
||
# Connect to brski-open | ||
nmcli device wifi connect 'brski-open' ifname wlan1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
# Disconnect from brski-open if connected | ||
nmcli device disconnect wlan1 | ||
|
||
# Connect to brski-secure | ||
nmcli device wifi connect 'brski-secure' password '1234554321' ifname wlan0 |