zerotypic / wasg-register

Wireless@SG Registration Utility
GNU General Public License v3.0
121 stars 24 forks source link

Works on Arch Linux #24

Open Michael-Jing opened 1 year ago

Michael-Jing commented 1 year ago

It works by using iwd, but iwd requires the filename to be specially handled, the info need to be put into /var/lib/iwd/=576972656c65737340534778.8021x 576972656c65737340534778 is the hex encoding of Wireless@SGx.

The content of the file is

# /var/lib/iwd/=576972656c65737340534778.8021x

[Security]
EAP-Method=PEAP
EAP-Identity=your_user_id
EAP-PEAP-Phase2-Method=MSCHAPV2
EAP-PEAP-Phase2-Identity=your_user_id
EAP-PEAP-Phase2-Password=your_password

[Settings]
AutoConnect=true
ackerleytng commented 3 months ago

If there are ^s or @s in the EAP-PEAP-Phase2-Identity or EAP-PEAP-Phase2-Password, will those need to be encoded or are quotes necessary?

Michael-Jing commented 3 months ago

You may need to try it out.