Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

Thanks in advance .

share|improve this question
    
Nice question, I need to know, too. –  Tamer Shlash Jan 9 '12 at 18:29
add comment

2 Answers 2

up vote 4 down vote accepted

nmcli

share|improve this answer
1  
nmcli con up id <id> & or nmcli con up uuid <uuid> & thanks that is . –  eyadof Jan 9 '12 at 18:51
    
This is a weird answer... Mind explaining what the answer is? –  jrg Jan 10 '12 at 17:30
1  
I rather like my one-word answer :), but sure: nmcli a command line client for the Network Manager daemon. –  tumbleweed Jan 10 '12 at 21:24
add comment

i use wvdial to connect to my 3g modem as below:

  1. install wvdial : sudo apt-get install wvdial
  2. edit the wvdial.comf file by any text editor say gedit by below command:

    sudo gedit /etc/wvdial.conf

  3. 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 ,( u can change the name as u 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")

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.