3G Dongles
This page describes various methods for connecting your 3G dongle to your Linux computer.
I have tested these with Vodafone (contract) dongle - Huawei E220 HSDPA Modem and on Ubuntu 8.04. Later versions of linux tend to have tools built in (for instance - I was able to use the network manager in Fedora Core 11 and the dongle and provider were built in). As with all things linux - you have some options:
This page describes various methods for connecting your 3G dongle to your Linux computer.
I have tested these with Vodafone (contract) dongle - Huawei E220 HSDPA Modem and on Ubuntu 8.04. Later versions of linux tend to have tools built in (for instance - I was able to use the network manager in Fedora Core 11 and the dongle and provider were built in). As with all things linux - you have some options:
- Betavine - provides an application to connect to the Vodafone network. This is support to work with other providers too. The connection in initiated by the user and the application provides some tools to integrate with SMS and to check your usage.
- Wvdial - a command line tool where the connection is initiated by the user
- Pon - command line tool - can be automated to create a connection when your computer boots
- gnome-ppp - another graphical tool
Betavine
Files and instrcutions are located here:
https://forge.betavine.net/frs/?group_id=12
wvdial
Add this to the end of /etc/wvdial.conf
[Dialer Defaults] Phone = *99***1# Username = web Password = web Stupid Mode = 1 Dial Command = ATDT Carrier Check = No Auto Reconnect = on
[Dialer hsdpa] Modem = /dev/ttyUSB0 Baud = 460800 Init2 = ATZ Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Init4 = AT+CGDCONT=1,"IP","internet" ISDN = 0 Modem Type = Analog Modem
The execute:
wvdial hsdpa
pon
Create the following files:
vi /etc/ppp/peers/voda3g hide-password noauth connect "/usr/sbin/chat -v -f /etc/chatscripts/voda3g" debug /dev/ttyUSB0 460800 defaultroute noipdefault user "web" ipparam voda3g usepeerdns
vi /etc/chatscripts/voda3g ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED '' ATZ OK-AT-OK "ATDT*99#" CONNECT \d\c
then start the ppp connection
pon voda3g