A1 Modemverbindung am Mac

Nachdem ich meinen Mac gewechselt habe und bei der Datenübernahme alles funktioniert hat bis auf die Modemeinstellungen musste ich feststellen, dass ich vergessen hatte wie das geht. Nach ein bisschen nachdenken ist mir wieder alles eingefallen und damit allen, denen es genauso geht etwas geholfen werden kann hier der Screenshot für die Netzwerkeinstellungen für ein z.B. Huawei E220 Modem mit einer A1 Datenkarte.

Huawei E220 revisited

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:

  1. have the modem plugged in on boot
  2. if you work continuous only with the modem work with suspend to disk mode instead of shutdown
  3. use the scripts I provide here
  4. 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.

Huawei E220 and Ubuntu 6.10

I changed my mobile card due to a change of my notebook where the new one no longer supports pcmcia cards. So I switched to the Huawei E220 usb UMTS Modem. The drawback, it does not work from scratch, the benefit, the signal strength is much better.

So the device is recogniced as an scsi storage device if you plug it in.
You have to close all open windows showing content of the device and unmount the device.

call the follwing commands:

rmmod usb-storage
rmmod usb-serial

to unload the storage device, then call:


and write down the vencor id and produc number of the attached device, then call

modprobe usb-serial vendor=<vendor id> product=<product id>

unplug the device, replug again and check that there are three usb devices calling:

ls -la /dev/ttyU*

if there are 3 devices you can use the device with kppp or wvdial. The modem device is ttyUSB0

ATTENTION: don’t forget to execute all commands with sudo

😉 Jörg