diff options
author | davidovski <david@davidovski.xyz> | 2022-03-01 22:01:26 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-03-01 22:01:26 +0000 |
commit | efee4ebf43e376a7cd8b8abcef0c70aa90427bb4 (patch) | |
tree | 13956b6dbca8622b71edbdd3a1c2a949c5d1aac8 /net-configs |
initial commit
Diffstat (limited to 'net-configs')
-rw-r--r-- | net-configs/ifconfig.eth0 | 6 | ||||
-rw-r--r-- | net-configs/ifconfig.wlan0 | 9 | ||||
-rw-r--r-- | net-configs/wpa_supplicant-wlan0.conf | 13 |
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 +} + |