This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wifi_ap_diskless [2025/06/11 12:09] – Yuki | wifi_ap_diskless [2025/06/17 13:12] (current) – Yuki | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Wi-Fi access point on a diskless system ====== | ====== Wi-Fi access point on a diskless system ====== | ||
- | So I found a PCI Wi-Fi 5 device, and I decided to put it in my diskless system that boots Arch Linux from NFS, and turn it into a Wi-Fi access point, hoping to improve reception in my living room. Should be easy, right? | + | So I found a PCI Wi-Fi 5 (802.11ac) |
===== The problem ===== | ===== The problem ===== | ||
Line 50: | Line 50: | ||
===== Configure the access point ===== | ===== Configure the access point ===== | ||
- | FIXME //5 GHz networking? Can't use it on my end// | + | Ideally you want to configure '' |
- | Ideally | + | <note tip> |
+ | |||
+ | Solution: Apparently '' | ||
+ | |||
+ | Relevant Arch packages: [[aur> | ||
+ | |||
+ | Also, the wireless interface may or may not show up right at boot unless you modprobe '' | ||
+ | |||
+ | ===== Wired ethernet ===== | ||
+ | |||
+ | For good measure I added a PCI card with a couple Ethernet ports, you'll want to add them to the bridge on boot, but of course using any sort of network manager may deadlock the system because it attempted to reconfigure every available interface at boot even though they're already configured. But this time, you don't need to configure them in initramfs, so a systemd unit will be more than enough. | ||
+ | |||
+ | <file bash / | ||
+ | #!/bin/sh | ||
+ | ip link set $1 up | ||
+ | ip link set $1 master $2 | ||
+ | </ | ||
+ | |||
+ | <file ini / | ||
+ | [Unit] | ||
+ | Description=Bridge interface %I with br0 | ||
+ | Requires=sys-subsystem-net-devices-br0.device | ||
+ | Requires=sys-subsystem-net-devices-enp3s0f0.device | ||
+ | Requires=sys-subsystem-net-devices-enp3s0f1.device | ||
+ | After=network.target | ||
+ | After=sys-subsystem-net-devices-br0.device | ||
+ | After=sys-subsystem-net-devices-enp3s0f0.device | ||
+ | After=sys-subsystem-net-devices-enp3s0f1.device | ||
+ | [Service] | ||
+ | Type=oneshot | ||
+ | ExecStart=/ | ||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | # systemctl enable bridge-interface@enp3s0f0 bridge-interface@enp3s0f1 | ||
+ | </ | ||
===== See also ===== | ===== See also ===== | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// |