summaryrefslogtreecommitdiff
path: root/innernet.sh
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-02-28 08:15:17 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-02-28 08:15:17 -0500
commit186125d7512bd4dd095cd7b60bc648eb603c2290 (patch)
tree6392b7d9cfd4aedea093b98152d83b8d7a01afec /innernet.sh
parentfef48aa78c305db6b5be81bff5facacba0a76f5f (diff)
downloadscripts-186125d7512bd4dd095cd7b60bc648eb603c2290.tar.xz
scripts-186125d7512bd4dd095cd7b60bc648eb603c2290.zip
moved all i3-related scripts into i3 or i3blocks config
Diffstat (limited to 'innernet.sh')
-rwxr-xr-xinnernet.sh24
1 files changed, 0 insertions, 24 deletions
diff --git a/innernet.sh b/innernet.sh
deleted file mode 100755
index 38e1310..0000000
--- a/innernet.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/sh
-
-# Destroy existing interfaces
-ifconfig lagg0 destroy
-ifconfig wlan0 destroy
-
-# Ethernet up
-ifconfig em0 up
-
-# Wireless create, up
-# Note: use your ethernet device's MAC addr
-ifconfig wlan0 create wlandev iwn0 wlanaddr 5c:26:0a:06:c1:d6
-ifconfig wlan0 up
-
-# Link aggregate create, up
-# Creates a failover lagg that prefers em0 but uses wlan0 if em0 is unavailable
-ifconfig lagg0 create laggproto failover laggport em0 laggport wlan0
-ifconfig lagg0 up
-
-# Use WPA supplicant to handle SSID/password wireless connection
-wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
-
-# Grab an IP for lagg device
-dhclient lagg0