From efee4ebf43e376a7cd8b8abcef0c70aa90427bb4 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Mar 2022 22:01:26 +0000 Subject: initial commit --- net-configs/ifconfig.eth0 | 6 ++++++ net-configs/ifconfig.wlan0 | 9 +++++++++ net-configs/wpa_supplicant-wlan0.conf | 13 +++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 net-configs/ifconfig.eth0 create mode 100644 net-configs/ifconfig.wlan0 create mode 100644 net-configs/wpa_supplicant-wlan0.conf (limited to 'net-configs') 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 +} + -- cgit v1.2.1