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