Hi Folks. Finally I have finished my tests and scripting with the Huawei E220 USB UMTS Modem and Ubuntu Edgy Eft. Some conclusions can be made:
- have the modem plugged in on boot
- if you work continuous only with the modem work with suspend to disk mode instead of shutdown
- use the scripts I provide here
- if you unplug the modem so that kppp is hanging or the modem device is hanging you will only get it back to work with a reboot
I have done some scripting and tests. The modem is ready for working if you have more than one device named /dev/ttyUSB. If there is only one ttyUSB0 device it might not work at all. I have created a script which checks the number of ttyUSB devices if not a minimum of 2 devices exist the script automatically does the procedure described in my prior article about this modem. ATTENTION please follow exact the hints written to the console. The script has some built in sleeps and waits which have been tested to work quite well. So long.
Script for setting the pin, slightly modified: setpinpl.txt
Script doing all the other work: huaweish.txt
HINT: Please modify the entry with the pin code needed for your umts device.