You will need the usb-modeswitch package installed, wvdial is not required if you intend to use the NetworkManager applet:
apt-get install usb-modeswitch wvidial
create the following symbolic link:
ln -s /etc/usb_modeswitch.d/1bbb\:f000 /etc/usb_modeswitch.d/alcatel_x220lconfigure udev by creating this file
/etc/udev/rules.d/50-x220l.ruleswith the following content:
SUBSYSTEM=="usb", SYSFS{idVendor}=="1bbb", SYSFS{idProduct}=="f000", RUN+="/usr/sbin/usb_modeswitch -c /etc/usb_modeswitch.d/alcatel_x220l"
SUBSYSTEM=="usb", SYSFS{idVendor}=="1bbb", SYSFS{idProduct}=="0017", RUN+="/sbin/modprobe usbserial vendor=0x1bbb product=0x0017"
service udev reloadNow you should have a functional modem device at /dev/ttyUSB4.
The easiest way to get your internet connection up is to configure wvdial. The following parameters are used by the Vivacom network but configuration is pretty much the same for all operators (only Init2, username and passwords differ). Put in /etc/wvdial.conf the following:
[Dialer Defaults]
Modem = /dev/ttyUSB4
ISDN = 0
Modem Type = Analog Modem
Baud = 460800
Init1 = ATZ
Init2 = at+cgdcont=1,"IP","vivacom.bg"
Phone = *99#
Dial Attempts = 5
Stupid Mode = on
Dial Command = ATDT
Idle Seconds = 7200
Ask Passwords = 0
Password = "vivacom"
Username = "vivacom"
Carrier Check = on
New PPPD = 1
Auto DNS = on