Skip to content

Commit

Permalink
Merge pull request #12 from nqminds/feat/add-wifi-con-scripts
Browse files Browse the repository at this point in the history
add: wifi connection scripts
  • Loading branch information
mereacre authored Dec 12, 2023
2 parents db3f6c9 + 549b5a5 commit 8678ee2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions connect-to-brski/connect-to-brski-open.sh
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
7 changes: 7 additions & 0 deletions connect-to-brski/connect-to-brski-secure.sh
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

0 comments on commit 8678ee2

Please sign in to comment.