I have a 3g Modem and it's my only way to connect to internet .
In the GUI Mode it's easy to connect via Network Manager, But how to connect to internet with this modem in the Text Mode?
I have a 3g Modem and it's my only way to connect to internet .
In the GUI Mode it's easy to connect via Network Manager, But how to connect to internet with this modem in the Text Mode?
nmcli is a command line client for the Network Manager daemon...
I use wvdial to connect to my 3G modem as below:
install wvdial :
sudo apt-get install wvdial
edit the wvdial.conf file by any text editor say gedit by below command:
sudo gedit /etc/wvdial.conf
copy paste the following lines in wvdial.conf
[Dialer a]
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Baud = 460800
Username = " "
Password = " "
Modem = /dev/ttyUSB0
Init1 = ATZ
Init2 = at+cgdcont=1,"ip","your apn"
Stupid Mode = 1
4 connect using ( you can change the name as you want by replacing a in above wvdial.conf )
wvdial a
(just add apn according to isp you are using like aircelgprs for aircel, bsnnet for bsnl etc. in wvial.conf file in place of "your apn")