It does, but only temporarily, as far as I know. Having to run such command every time one has to connect to the Wifi described above is not something a user should be required to do. Unless I am missing something obvious, which is quite possible of course.