How to read the SMS password that Vodafone sends if you register on their site.
This assumes an USB modem like for example the Huawei 172.
Open a terminal with control alt T
Download executable huaweic:
Or get the source code:
unpack it with:
tar -zxvf huaweic-0.3.tgz
huaweic is in there.
sudo mv huaweic /usr/local/bin/
Connect to the network in the normal way, enter your PIN if needed.
Ask Vodafone to send the password SMS (via their website), wait a while to make sure the SMS has arrived.
Now typing control L displays all SMS messages.
If you protected the modem with a PIN, then typing control P will allow you to enter a 4 digit PIN.
Please try only ONCE with this program.
3 x a wrong PIN will lock you out, and then you need a PUK code to unlock the modem.
I cannot guarantee that huaweic will always work right.
Use at your own risk.
You can also delete all SMS messages by typing control D.
And you can send any AT command to the modem too.