It took me a while to figure out how to get a dial-out connection using a Huawei E220 USB mobile broadband dongle. Mine was supplied by Three in the UK so this is specific to them, but if you’re not on three this should give you a starting point…
Edit or create the file /etc/wvdial.conf with the following content:
[Dialer defaults] Modem = /dev/ttyUSB1 [Dialer three] Init2 = ATZ Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Stupid Mode = 1 Modem Type = Analog Modem ISDN = 0 Phone = *99\# Modem = /dev/ttyUSB0 username = username Password = password Dial Command = ATDT Baud =466600 Init4 = AT+CGDCONT=1,"IP","three.co.uk"
You can then dial out by issuing the command “sudo wvdial three”
Note that Firefox assumes that if you aren’t connected via Network Manager, then you’re not online and starts up in offline mode. Uncheck the option on the file menu and you should be OK.
Note also there seems to be some bug in Three’s DHCP stuff… if you see that on connection you are set up with a DNS server of 10.11.12.13 then it’s wrong… drop the connection and reconnect (or edit your /etc/resolv.conf file manually)