Commit 8ef23c0
Alex J Lennon
improv: Explicitly set psk-flags=0 using nmcli connection modify
NetworkManager 1.46.0 may not write psk-flags=0 to the keyfile even when
set in nmcli.connection.add(). The NetworkManager patch REQUIRES psk-flags=0
to be explicitly in the file to detect that secrets are stored.
Add explicit 'nmcli connection modify' call after creating the connection
to force psk-flags=0 to be written to the connection file. This ensures
the NetworkManager patch will activate correctly.
Applied to both:
- Generic onboarding-server.py
- imx93-jaguar-eink/onboarding-server-eink.py1 parent e84934d commit 8ef23c0
2 files changed
Lines changed: 40 additions & 2 deletions
File tree
- recipes-devtools/python/python3-improv
- imx93-jaguar-eink
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
175 | 194 | | |
176 | 195 | | |
177 | 196 | | |
178 | | - | |
| 197 | + | |
179 | 198 | | |
180 | 199 | | |
181 | 200 | | |
| |||
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
131 | 150 | | |
132 | 151 | | |
133 | 152 | | |
134 | | - | |
| 153 | + | |
135 | 154 | | |
136 | 155 | | |
137 | 156 | | |
| |||
0 commit comments