-
-
Notifications
You must be signed in to change notification settings - Fork 1
Enhance network stability by using systemd-networkd #18
Comments
systemd-networkd
systemd-networkd
Client and AP switching using a single interface (
|
This glorious change has now been enacted, both in |
Relates to #15
Setup client and AP using
systemd-networkd
This setup removes the need for
hostapd
anddnsmasq
, as well as the complexity of starting and stopping these services andwpa_supplicant
(required for our current setup which uses a single wireless interface to switch between client and access-point mode).This issue documents the process of utilizing and setting-up two separate WiFi interfaces for PeachCloud networking: one to serve as an access point and one to serve as a client. We use
systemd-networkd
to enable this:NB: I am still in the process of testing this deployment.
References:
quick-setup (https://raspberrypi.stackexchange.com/a/108593):
systemd-networkd & interface setup (https://raspberrypi.stackexchange.com/a/95073)
install wifi adapter firmware
First install drivers for the usb wifi adapter. In my case I'm using an adapter with a RT5370 chipset:
sudo apt install firmware-ralink
create interface file for a wired connection
deinstall classic networking
setup/enable systemd-resolved and systemd-networkd
configure wpa_supplicant for wlan1 as access point
configure wpa_supplicant for wlan0 as client
configure interfaces
reboot and check service status
sudo reboot now
sudo systemctl status [email protected]
sudo systemctl status [email protected]
The text was updated successfully, but these errors were encountered: