summaryrefslogtreecommitdiff
path: root/net-configs
diff options
context:
space:
mode:
Diffstat (limited to 'net-configs')
-rw-r--r--net-configs/ifconfig.eth06
-rw-r--r--net-configs/ifconfig.wlan09
-rw-r--r--net-configs/wpa_supplicant-wlan0.conf13
3 files changed, 28 insertions, 0 deletions
diff --git a/net-configs/ifconfig.eth0 b/net-configs/ifconfig.eth0
new file mode 100644
index 0000000..61e12e6
--- /dev/null
+++ b/net-configs/ifconfig.eth0
@@ -0,0 +1,6 @@
+ONBOOT="no"
+IFACE="eth0"
+SERVICE="dhcpcd "
+
+DHCP_START="-b -q"
+DHCP_STOP="-k"
diff --git a/net-configs/ifconfig.wlan0 b/net-configs/ifconfig.wlan0
new file mode 100644
index 0000000..ce45099
--- /dev/null
+++ b/net-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/net-configs/wpa_supplicant-wlan0.conf b/net-configs/wpa_supplicant-wlan0.conf
new file mode 100644
index 0000000..acad28b
--- /dev/null
+++ b/net-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
+}
+