hosts/all: wifi: auto-connect to non-password-protected APs
This commit is contained in:
@@ -59,11 +59,11 @@ def write_nm(fh: "file", con: Connection) -> None:
|
||||
fh.write("mode=infrastructure\n")
|
||||
fh.write(f"ssid={con.ssid}\n")
|
||||
|
||||
if con.passphrase is not None:
|
||||
fh.write("\n")
|
||||
fh.write("[wifi-security]\n")
|
||||
fh.write("auth-alg=open\n")
|
||||
fh.write("key-mgmt=wpa-psk\n")
|
||||
if con.passphrase is not None:
|
||||
fh.write(f"psk={con.passphrase}\n")
|
||||
elif con.type_ == "gsm":
|
||||
fh.write("\n")
|
||||
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"data": "ENC[AES256_GCM,data:GrIHwtpgmvR779ffmjeJD/nP/0NQNaM+r1TIk5vOOCtkE6Qr+vPcvz2c5JmuuAuNpNXaMOD1qU7+64MYwkDDJaUDzbTS4phbQ9qHY5ZuXrSD9fnrYBs4B12CoKVUyVor5eTKAg2+Jyk8gmaYgYpFupIFqNe+J/+fbCpWfO8lpRpqSPsGSR4E9AYIOgKL0xpJ+lmDDSwyPUW3jncZFvhbm3KvJH59JlaE9odjz/SCwLtOpQwJ9PcR8idVVW+28eMCipMTW6vil9LQXJglpVhJoOAy1PjnewPBVD7vjgXPcisMKyYDQAWHYWLyeHlLWg4eE+ENLSUvLtyxMQy/TBY+5UCp/bpusAdSB9x61hO3XzVDxLSOaoWu8zfdoSkCPrrSJV/MbEtw0J500C910WdM0anJTykQydC6wi9OpMQRP618hMhix6qjFFJQUct7rWjc0zBaLeQ7RX1K/l6ZptgYHRlGpGsFL7J8CFCntuJbgTZ33iudrwRKCG1pv1jHB8a5vX/JzIlOnEMAVizGF+V6Br9CQezrL7o99mD0b92PSBHRqmx+Jnf1TraBQJywNMjkQK2ISgVdk9X5gphErFvDZ4+Cd6Zq7InLvF/P+u9up68mQcs04C1/MZvGHKFXI7WaDWTCLg5o4ZshHI0i7ZD6l6egGhHxiDxyoRwUKNs13bY5A6UP0lvbxe0lQlQ5c2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||
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAwcXlNMlFUaWhXbmlPc0Ir\nT2hRd3BMQUZ1TkVkWGlrdjJ5ZnhPdWhPbTFBCmdzazV5bzV0aTNNaTFpaDlBOWU5\naUdBTFlEeWM5T1Q3UGhrZWdGZkVPUzQKLS0tIEloSFVJd2JCNmY0VkpqTGppRE1p\nQ2Mvekx0RWN5dlhxWmwwaDVnUUVDdFEKJgyAed3yBaIBwfxypG7RKV+u80SiQV89\ntU4YMw0j7GvnkVhPenB8q0w3yrslCh35GDvKkaMpfp8jVFIpcrRXtA==\n-----END AGE ENCRYPTED FILE-----\n"
|
||||
}
|
||||
],
|
||||
"lastmodified": "2025-02-03T13:12:38Z",
|
||||
"mac": "ENC[AES256_GCM,data:ODpewnXc00SnnW0cJA6VgIuIVT1a1Xwwn6tEhoGISw/SIromfQGwFufU/YoB7g9+UORmtSNvwQCcIAooe5qr/jY5AdDe8ogQk6LLzy4VnjtqSyiKrkMz3n29SUc6FXEMU55v1j3ZU5RPRq+IeEkLqME9QQycehPq6BsmaAaQMAk=,iv:zzVM7INotgHT+R9qZHtClXNo+wdVBsyIiPaW93u0h3k=,tag:4IVFsZh9PHvHjk4ifiooMQ==,type:str]",
|
||||
"lastmodified": "2025-02-04T07:23:32Z",
|
||||
"mac": "ENC[AES256_GCM,data:CsVQgr27iX+Xxcj6LzmASsjL9gKoAK6HoM6mz7liLkV0NHlX+DDnhB3iiZ4nilHpIlYAWnO0sbRFE8lJeelxIuRmONdBTz3hWsNwZjyPMiFoPTGn9dhdfwVCwIy5Gu+6EDlKNbnSYFa3rqtFaTV7i9ke7joTiaTLFE33Aiiv9UI=,iv:IGQ+niNhyFaRCmFrPIQTvZmyXz8A/71svP6fCXYyY2A=,tag:GeMR6g1lP/rad5fB6zUSHw==,type:str]",
|
||||
"pgp": null,
|
||||
"unencrypted_suffix": "_unencrypted",
|
||||
"version": "3.9.4"
|
||||
|
Reference in New Issue
Block a user