Find the answer to your Linux question:
Results 1 to 10 of 10
Hello I want connect to Internet via my phone ( Motorola A1200 ) I can connect currectly in micro$oft windowns 7 but I can not connect in my linux via ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8

    Problem to connecting to Internet via GPRS by cell phone


    Hello
    I want connect to Internet via my phone ( Motorola A1200 )
    I can connect currectly in micro$oft windowns 7 but I can not connect in my linux via wvdial.

  2. #2
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8
    uname -a
    Code:
    Linux debian 2.6.34.1 #1 SMP Sat Aug 7 00:43:04 IRDT 2010 x86_64 GNU/Linux
    nano /etc/wvdial.conf
    Code:
    [Dialer Defaults]
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = USB Modem
    Phone = *99***2#
    ISDN = 0
    Username = mtnirancell
    Init1 = ATZ
    Password = mtnirancell
    Modem = /dev/ttyACM0
    Baud = 460800

  3. #3
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8
    lsusb
    Code:
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 002: ID 22b8:3802 Motorola PCS C330/C350L/C450/EZX GSM Phone (AT)
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 002: ID 0a5c:2101 Broadcom Corp. Bluetooth Controller
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 002: ID 064e:a133 Suyin Corp. 
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    wvdial
    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99***2#
    --> Waiting for carrier.
    ATDT*99***2#
    CONNECT
    --> Carrier detected.  Waiting for prompt.
    ~[7f]}#@!}!}!} }<}!}$}%\}"}&} } } } }#}$@#}%}&r}#} } }'}"}(}"(a~
    --> PPP negotiation detected.
    --> Starting pppd at Sun Aug  8 00:03:08 2010
    --> Pid of pppd: 3359
    --> Using interface ppp0
    --> Disconnecting at Sun Aug  8 00:03:23 2010
    --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
    --> man pppd explains pppd error codes in more detail.
    --> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
    --> Auto Reconnect will be attempted in 5 seconds
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    .
    .
    .

  4. #4
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8
    tail -20 /var/log/messages
    Code:
    Aug  8 00:03:18 debian pppd[3359]: Remote message: Welcome to Motorola Ezx Software Modem!
    Aug  8 00:03:18 debian pppd[3359]: PAP authentication succeeded
    Aug  8 00:03:23 debian pppd[3359]: LCP terminated by peer (^@^@^@^@^@^@)
    Aug  8 00:03:23 debian pppd[3359]: Modem hangup
    Aug  8 00:03:23 debian pppd[3359]: Connection terminated.
    Aug  8 00:03:23 debian pppd[3359]: Exit.
    Aug  8 00:08:52 debian pppd[3485]: pppd 2.4.4 started by root, uid 0
    Aug  8 00:08:52 debian pppd[3485]: Using interface ppp0
    Aug  8 00:08:52 debian pppd[3485]: Connect: ppp0 <--> /dev/ttyACM0
    Aug  8 00:09:05 debian pppd[3485]: Remote message: Welcome to Motorola Ezx Software Modem!
    Aug  8 00:09:05 debian pppd[3485]: PAP authentication succeeded
    Aug  8 00:09:07 debian pppd[3485]: LCP terminated by peer (^@^@^@^@^@^@)
    Aug  8 00:09:07 debian pppd[3485]: Modem hangup
    Aug  8 00:09:07 debian pppd[3485]: Connection terminated.
    Aug  8 00:09:07 debian pppd[3485]: Exit.
    Aug  8 00:09:16 debian pppd[3501]: pppd 2.4.4 started by root, uid 0
    Aug  8 00:09:16 debian pppd[3501]: Using interface ppp0
    Aug  8 00:09:16 debian pppd[3501]: Connect: ppp0 <--> /dev/ttyACM0
    Aug  8 00:09:16 debian pppd[3501]: Terminating on signal 15
    Aug  8 00:09:16 debian pppd[3501]: Connection terminated.

  5. #5
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8
    I changed config file like this but I have error yet :


    [code]
    Modem = /dev/tts/USB0
    Baud = 230400
    Init1 = AT+CGDCONT=1,"IP","@APN@"
    Init2 =
    Init3 =
    Area Code =
    Phone = *99***1#
    Username = mtnirancell
    Password = mtnirancell
    Ask Password = 1
    Dial Command = ATDT
    Stupid Mode = 0
    Compuserve = 0
    Force Address =
    Idle Seconds = 0
    DialMessage1 =
    DialMessage2 =
    ISDN = 0
    Auto DNS = 1
    Check Def Route = 1

    [/ocde]

    wvdial
    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","internet"
    AT+CGDCONT=1,"IP","internet"
    OK
    --> Modem initialized.
    --> Please enter password (or empty password to stop):
    --> Sending: ATDT*99***1#
    --> Waiting for carrier.
    ATDT*99***1#
    CONNECT
    --> Carrier detected.  Waiting for prompt.
    ~[7f]}#@!}!}!} }<}!}$}%\}"}&} } } } }#}$@#}%}&h}#} } }'}"}(}"}#}<~
    --> PPP negotiation detected.
    --> Starting pppd at Wed Aug 11 15:09:26 2010
    --> Pid of pppd: 3251
    --> Using interface ppp0
    --> pppd: 7f]
    --> pppd: 7f]
    --> pppd: 7f]
    --> pppd: 7f]
    --> pppd: 7f]
    --> pppd: 7f]
    --> pppd: 7f]
    --> Disconnecting at Wed Aug 11 15:09:42 2010
    --> The PPP daemon has died: A modem hung up the phone (exit code = 16)
    --> man pppd explains pppd error codes in more detail.
    --> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
    --> Auto Reconnect will be attempted in 5 seconds
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: AT+CGDCONT=1,"IP","internet"
    ^CCaught signal 2:  Attempting to exit gracefully...
    AT+CGDCONT=1,"IP","internet"
    OK
    --> Modem initialized.
    --> Disconnecting at Wed Aug 11 15:09:43 2010

    cat /var/log/messages | tail
    Code:
    Aug 11 15:06:11 debian pppd[3196]: Connection terminated.
    Aug 11 15:09:26 debian pppd[3251]: pppd 2.4.4 started by root, uid 0
    Aug 11 15:09:26 debian pppd[3251]: Using interface ppp0
    Aug 11 15:09:26 debian pppd[3251]: Connect: ppp0 <--> /dev/ttyACM0
    Aug 11 15:09:36 debian pppd[3251]: Remote message: Welcome to Motorola Ezx Software Modem!
    Aug 11 15:09:36 debian pppd[3251]: PAP authentication succeeded
    Aug 11 15:09:41 debian pppd[3251]: LCP terminated by peer (^@^@^@^@^@^@)
    Aug 11 15:09:41 debian pppd[3251]: Modem hangup
    Aug 11 15:09:41 debian pppd[3251]: Connection terminated.
    Aug 11 15:09:41 debian pppd[3251]: Exit.

  6. #6
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,807
    Can you not do this automatically using NetworkManager instead of wvdial?
    Linux user #126863 - see http://linuxcounter.net/

  7. #7
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8
    Quote Originally Posted by Roxoff View Post
    Can you not do this automatically using NetworkManager instead of wvdial?
    Do you mean netwr connections ?

    I use Gnome
    in network connctions I created a connection but I can not set my modem anywhere so it can not connect

    In gnome-ppp I trid but it disconnected after about 10 seconds ( like wvdial )

  8. #8
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8
    Who can help me to solve this problem

  9. #9
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,807
    Quote Originally Posted by bakhanbeigi View Post
    Do you mean netwr connections ?
    No, I mean NetworkManager...

    Code:
    apt-get NetworkManager
    I have a USB modem and two Nokia Symbian handsets that connect using NetworkManager, it's one of the best tools around for Linux - it makes networking simple.
    Linux user #126863 - see http://linuxcounter.net/

  10. #10
    Just Joined!
    Join Date
    Aug 2010
    Posts
    8
    I used NetworkManager like tihs : (Is it currect)

    In Mobile Boardband I clicked on add and then select a country there was not my provider so I typed my providr name and then APN.
    And I checked Automatically connect

    But after that it doesnt do any think like can not find any device!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •