Bug #200

save of wireless config fails

Added by Hammel over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:13 Jul 2013
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:-
Target version:0.5.0
Severity:03 - Medium

Description

Saving the wireless configuration data generates a /etc/wpa_supplicant.conf file, but the values are listed as "null". Somethings broke there.

Associated revisions

Revision aee4aea2
Added by Hammel over 7 years ago

RM #200: Add updateWPA() and use it when saving wpa configurations.

Revision aee4aea2
Added by Hammel over 7 years ago

RM #200: Add updateWPA() and use it when saving wpa configurations.

Revision 5a766e06
Added by Hammel over 7 years ago

RM #200: Add updateWPA() and use it when saving wpa configurations.

Revision 5a766e06
Added by Hammel over 7 years ago

RM #200: Add updateWPA() and use it when saving wpa configurations.

Revision b07b8ecc
Added by Hammel over 7 years ago

RM #200: Call updateWPA() before saving. Make sure both ssid and password are set before saving the
configuration. Skip any null fields.

Revision b07b8ecc
Added by Hammel over 7 years ago

RM #200: Call updateWPA() before saving. Make sure both ssid and password are set before saving the
configuration. Skip any null fields.

Revision 31f759a0
Added by Hammel over 7 years ago

RM #200: Make the cross compile script a little more friendly.

Revision 31f759a0
Added by Hammel over 7 years ago

RM #200: Make the cross compile script a little more friendly.

Revision 048d6c4d
Added by Hammel over 7 years ago

RM #200: Updates to fix reading and writing of /etc/wpa_supplicant.conf correctly.
Due to the complexity of wireless configuration, this probably only works correctly for WPA/WPA2 Personal.

Revision 048d6c4d
Added by Hammel over 7 years ago

RM #200: Updates to fix reading and writing of /etc/wpa_supplicant.conf correctly.
Due to the complexity of wireless configuration, this probably only works correctly for WPA/WPA2 Personal.

History

#1 Updated by Hammel over 7 years ago

  • % Done changed from 0 to 20

Apparently I hadn't completed the wpa configuration processing. The UI components are not used when saving the file. Also, the glist that holds configuration data gets written to the file even if it doesn't have anything in it.

These things are being fixed.

#2 Updated by Hammel over 7 years ago

  • % Done changed from 20 to 30

Also: strip double quotes from SSID and PSK fields before displaying in UI, then add them back in before writing to config file.

#3 Updated by Hammel over 7 years ago

  • Status changed from New to Closed
  • % Done changed from 30 to 100

Fixes applied, tested and checked in. I think this may only work, as implemented via the UI, for WPA/WPA2 Personal. But it's a decent starting point for simplistic home (and trailer) networking.

Also available in: Atom PDF