mbm: connection error when authentication requires special characters
Submitted by Aleksander Morgado
Assigned to ModemManager bug user
Description
Originally reported at:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/540003 https://bugzilla.gnome.org/show_bug.cgi?id=632219
The Ericsson/MBM modems don't use PPP for the data connection, as they expose a network interface, and therefore the APN authentication settings (user/pass) are not given to pppd. Instead, ModemManager uses the following command to preconfigure the authentication settings to use before launching the connection:
AT*EIAAUW=2,1,"username","password"
The given username and password are given in the current charset encoding configured in the modem, which should be UTF-8 preferably.
Now, the problem is that when special characters are required by the operator, e.g. in the username, the connection will not succeeed. E.g. for A1/Austria operator:
AT*EIAAUW=2,1,"ppp@a1plus.at","ppp"
The issue may therefore be that we either don't pass the username/password encoded properly OR that the modem firmware actually has a bug in that command handling.
Debug logs with MM 1.x are needed.
Also, it would be a good idea to check whether the setting is READ properly after being written, with: AT*EIAAUR=2,1
Note that PPP on the TTY with those same username/password will actually work.