diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-08-20 21:02:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-08-20 21:02:00 -0300 |
commit | 0220c9924c6fb633e7cd55be548a1604fdf4f63c (patch) | |
tree | 08d2f1e4b5c5b1c3556fc81893619e73b0835285 /wifi | |
parent | e851401694daacaf1aba2c87ed557e5dbf00af02 (diff) | |
download | scripts-0220c9924c6fb633e7cd55be548a1604fdf4f63c.tar.gz scripts-0220c9924c6fb633e7cd55be548a1604fdf4f63c.tar.bz2 |
Diffstat (limited to 'wifi')
-rwxr-xr-x | wifi | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -1,16 +0,0 @@ -#!/bin/bash -# -# Wifi initializer -# - -#DEVICE="ath0" -DEVICE="wlan0" - -if [ ! -z "$1" ]; then - read -sp "Enter the WPA passphrase: " PASS - echo "" - wpa_passphrase $1 $PASS -elif [ -f "wpa_supplicant.conf" ]; then - sudo wpa_supplicant -B -Dwext -i$DEVICE -cwpa_supplicant.conf - sudo dhclient $DEVICE -fi |