La configurazione dipende da quale chiavetta internet si sta utilizzando… comunque queste si possono considerare come linee guida

Take a look at the output of lsusb. You should see your modem assigned to ttyUSB* ports:

sudo ls /dev/ttyUSB*
ttyUSB0 – Should be the modem
ttyUSB1 – Should be the USB module

Download a dialer

sudo apt-get install wvdial ppp
Configure your connection

gksudo gedit /etc/wvdial.conf
and use something like the following:

[Dialer hsdpa]
Phone = *99***1#
Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
You need to set your Phone number, username and password, these are values given by your operator.

Also set the connection on Modem (/dev/ttyUSB0)

The name hsdpa, is generic, you can use whatever name you want.

When dialing your connection, is this name you use.

If using PIN code add this before Init2

Init1 = AT+CPIN=9999
where 9999 is changed for your PIN-code

Start your connection

sudo wvdial hsdpa