summaryrefslogtreecommitdiff
path: root/xi/configs
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 23:14:41 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 23:14:41 +0000
commitea4267fac55c7d8a6093a6b03ff0e9c795786d3e (patch)
tree04905981b9d5ad7a4710c472faf920f3c5e28375 /xi/configs
parentefee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (diff)
reorganised
Diffstat (limited to 'xi/configs')
-rw-r--r--xi/configs/ifconfig.eth06
-rw-r--r--xi/configs/ifconfig.wlan09
-rw-r--r--xi/configs/wpa_supplicant-wlan0.conf13
3 files changed, 28 insertions, 0 deletions
diff --git a/xi/configs/ifconfig.eth0 b/xi/configs/ifconfig.eth0
new file mode 100644
index 0000000..61e12e6
--- /dev/null
+++ b/xi/configs/ifconfig.eth0
@@ -0,0 +1,6 @@
+ONBOOT="no"
+IFACE="eth0"
+SERVICE="dhcpcd "
+
+DHCP_START="-b -q"
+DHCP_STOP="-k"
diff --git a/xi/configs/ifconfig.wlan0 b/xi/configs/ifconfig.wlan0
new file mode 100644
index 0000000..ce45099
--- /dev/null
+++ b/xi/configs/ifconfig.wlan0
@@ -0,0 +1,9 @@
+ONBOOT="yes"
+IFACE="wlan0"
+SERVICE="wpa"
+
+WPA_ARGS=""
+
+WPA_SERVICE="dhcpcd"
+DHCP_START="-b -q"
+DHCP_STOP="-k"
diff --git a/xi/configs/wpa_supplicant-wlan0.conf b/xi/configs/wpa_supplicant-wlan0.conf
new file mode 100644
index 0000000..acad28b
--- /dev/null
+++ b/xi/configs/wpa_supplicant-wlan0.conf
@@ -0,0 +1,13 @@
+ctrl_interface=/run/wpa_supplicant
+ctrl_interface_group=wifi
+update_config=1
+
+network={
+ ssid="WIFI-HOTSPOT_NAME"
+ psk="PASSWORD"
+ proto=RSN
+ key_mgmt=WPA-PSK
+ pairwise=CCMP
+ auth_alg=OPEN
+}
+