Revision of Configure a 3G Modem from Tue, 08/13/2013 - 18:17
The revisions let you track differences between multiple versions of a post.
I will show two methods I've learned of how to do it.
This was tested in Trisquel GNU/Linux Dwyn.
--
Minimum Requirements
kernel linux 2.6.29* or above
You can download recent kernel DEB packages from aligunduz.org, which has 100% FOSS kernel DEBs available: http://aligunduz.org/gNewSense I tested only with the 2.6.30.7 version
You must install in that order:
- linux-headers-2.6*.deb
- linux-headers-2.6*.deb
xplc Usually, already included in Trisquel.
wvstreams Usually, already included in Trisquel.
uniconf Usually, already included in Trisquel.
wvdial Usually, already included in Trisquel.
ppp Usually, already included in Trisquel.
--
- Install the packages mentioned above, as metioned above.
- Restart your computer.
- Insert the modem.
- Wait until the modem automounts in your Desktop.
--
1º Method
--
- Eject the modem and wait a few seconds until it's available to connect in the Network Manager panel applet. This if for the modem can switch from Storage to Modem mode.
- Click on the Network Manager panel applet and select your modem to connect.
--
2º Method
--
Open a Terminal and type:
eject /media/ZTEMODEM
--
Wait 15-20 seconds so the modem can switch from Storage to Modem mode.
--
ls /dev/ttyUSB*
If it is recognized, proceed.
--
sudo su
--
wvdialconf
--
gedit /etc/wvdial.conf
--
Copy and paste this:
[Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Modem Type = Analog Modem ISDN = 0 New PPPD = yes Phone = *99# Modem = /dev/ttyUSB2 Username = *insert your ISP username here* Stupid Mode = 1 Password = *insert your ISP password here* Baud = 921600
--
Your ISP DNSs may or may not download automatically during the first connection attempt. In any case, if you know what DNSs your ISP uses, put it on the resolve.conf fife as described below.
gedit /etc/ppp/resolv.conf
--
Copy and paste this:
nameserver *insert your ISP DNS here* nameserver *insert your ISP secondary DNS here*
--
wvdial
-- Reference http://www.vivaolinux.com.br/dica/3G-VIVO-ZTE-MF626-Ubuntu-9.04