Skip to content

Commit 9ce5408

Browse files
Copilotevie-lau
andcommitted
Add alternative installation method for UDR7/UX7 devices with wired driver issues
Co-authored-by: evie-lau <689163+evie-lau@users.noreply.github.com>
1 parent a036623 commit 9ce5408

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,29 @@ SSH into your Unifi gateway.
3535
> Unlike all my other Unifi devices, my SSH private key didn't work with my username, but worked with the `root` user instead. Or user + password defined in `Settings` -> `System` -> `Advanced` -> `Device Authentication`.
3636
3737
The Unifi gateways run a Debian-based distro, so we can install the `wpasupplicant` package.
38+
39+
> [!WARNING]
40+
> Some devices such as the UDR7 and UX7 may get a version of wpasupplicant from `apt install` that does not include the wired driver. If you encounter issues with the standard installation below, use the [alternative installation method](#alternative-installation-for-udr7ux7-and-other-devices) instead.
41+
3842
```
3943
> apt update -y
4044
> apt install -y wpasupplicant
4145
```
4246

47+
### Alternative installation for UDR7/UX7 and other devices
48+
If the standard `apt install` method doesn't work for your device (you'll know if `wpa_supplicant` fails with driver issues), download and install the packages directly from the Debian repositories instead:
49+
50+
```
51+
> mkdir -p /etc/wpa_supplicant/packages
52+
> cd /etc/wpa_supplicant/packages
53+
> wget http://ftp.us.debian.org/debian/pool/main/w/wpa/wpasupplicant_2.9.0-21+deb11u2_arm64.deb
54+
> wget http://ftp.us.debian.org/debian/pool/main/p/pcsc-lite/libpcsclite1_1.9.1-1_arm64.deb
55+
> dpkg -i *.deb
56+
```
57+
58+
> [!NOTE]
59+
> These are the same packages used in the [Survive firmware updates](#survive-firmware-updates) section, so if you use this method, you can skip downloading them again later.
60+
4361
Create a `certs` folder in the `/etc/wpa_supplicant` folder.
4462
```
4563
> mkdir -p /etc/wpa_supplicant/certs
@@ -195,6 +213,9 @@ First download the required packages (with missing dependencies) from debian int
195213
- https://packages.debian.org/bullseye/arm64/wpasupplicant/download
196214
- https://packages.debian.org/bullseye/arm64/libpcsclite1/download
197215

216+
> [!NOTE]
217+
> If you used the [alternative installation method](#alternative-installation-for-udr7ux7-and-other-devices) above, you already have these packages and can skip this download step.
218+
198219
```
199220
> mkdir -p /etc/wpa_supplicant/packages
200221
> cd /etc/wpa_supplicant/packages

0 commit comments

Comments
 (0)