Impala install - nutthawit/alpine-dotfile GitHub Wiki

Impala is TUI for managing wifi. It's required iwd

Prerequisite

Compile Rust toolchain

Installation

Install iwd

doas apk add iwd openresolv iwd-doc openresolv-doc

To have iwd do all network management on its own upon connecting to a wi-fi network, requires openresolve package

Then edit the configuration file /etc/iwd/main.conf as follows:

[General]
EnableNetworkConfiguration=True

[Network]
NameResolvingService=resolvconf

Edit content in file /etc/resolvconf.conf as follows:

name_servers="8.8.8.8"

Generate /etc/resolv.conf with resolvconf

doas resolvconf -u

# Verify
cat /etc/resolv.conf

# Output
# Generated by resolvconf
nameserver 8.8.8.8

iwd can delegate the responsibility dealing with IP address assignment (either static or DHCP) to ifupdown-ng. To do this edit the /etc/network/interfaces file.

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp

Disable networking and wpa_supplicant service, and enable iwd service

doas rc-service del networking boot
doas rc-service wpa_supplicant stop
doas rc-service add iwd boot
doas rc-service iwd start

Read more on wiki.alpinelinux.org

Build Impala

git clone https://github.com/pythops/impala ~/impala
cd ~/impala
cargo install --path ~/impala