Results 1 to 4 of 4

Thread: connect SE C510 mobile phone as modem

  1. #1
    Join Date
    Jul 2007
    Beans
    12

    connect SE C510 mobile phone as modem

    Hi

    I'm having some difficulties getting a sony ericsson C510 work with ubuntu 9.04 as a modem. Networkmanager can't connect for some reason, though I actually have seen one working connection, but haven't been able to reproduce... networkmanger just immediately disconnects.
    With wvdial it seems I'm close, I can ping google.com for example, but can't get any applications to access the internet...

    formatted output of some commands and config files:

    lsusb
    Code:
    Bus 001 Device 012: ID 0fce:d109 Sony Ericsson Mobile Communications AB
    /etc/wvdial.conf
    Code:
    [Dialer C510]
    Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = USB Modem
    Phone = *99***5#
    ISDN = 0
    Init2 = ATZ
    Modem = /dev/ttyACM0
    Baud = 460800
    Username = irrelevant
    Password = irrelevant
    Init5 =AT+CGDCONT=2,"IP","bredband.tre.se";
    wvdial C510
    Code:
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Sending: AT+CGDCONT=2,"IP","bredband.tre.se";
    AT+CGDCONT=2,"IP","bredband.tre.se";
    OK
    --> Modem initialized.
    --> Sending: ATDT*99***5#
    --> Waiting for carrier.
    ATDT*99***5#
    ~[7f]}#@!}!}!} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&=};xfUJ~
    CONNECT
    --> Carrier detected.  Waiting for prompt.
    ~[7f]}#@!}!}"} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&=};xf}9'~
    --> PPP negotiation detected.
    --> Starting pppd at Sat May  2 20:59:23 2009
    --> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
    --> --> PAP (Password Authentication Protocol) may be flaky.
    --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
    --> --> CHAP (Challenge Handshake) may be flaky.
    --> Pid of pppd: 8265
    --> Using interface ppp0
    --> local  IP address 10.175.169.158
    --> remote IP address 10.64.64.64
    --> primary   DNS address 80.251.192.244
    --> secondary DNS address 80.251.192.245
    ping www.google.com
    Code:
    PING www.l.google.com (72.14.221.103) 56(84) bytes of data.
    64 bytes from fg-in-f103.google.com (72.14.221.103): icmp_seq=1 ttl=244 time=369 ms
    64 bytes from fg-in-f103.google.com (72.14.221.103): icmp_seq=2 ttl=244 time=293 ms
    64 bytes from fg-in-f103.google.com (72.14.221.103): icmp_seq=3 ttl=244 time=309 ms
    64 bytes from fg-in-f103.google.com (72.14.221.103): icmp_seq=4 ttl=244 time=319 ms
    64 bytes from fg-in-f103.google.com (72.14.221.103): icmp_seq=5 ttl=244 time=375 ms
    ^C64 bytes from fg-in-f103.google.com (72.14.221.103): icmp_seq=6 ttl=244 time=311 ms
    
    --- www.l.google.com ping statistics ---
    6 packets transmitted, 6 received, 0% packet loss, time 5018ms
    rtt min/avg/max/mdev = 293.221/329.635/375.201/31.256 ms
    christian@sture:~$
    Anyone have any idea why applications such as firefox can't access the net?
    Last edited by mistlur1; May 2nd, 2009 at 08:13 PM. Reason: format

  2. #2
    Join Date
    Jul 2007
    Beans
    12

    Re: connect SE C510 mobile phone as modem

    bump

  3. #3
    Join Date
    Jul 2007
    Beans
    12

    Re: connect SE C510 mobile phone as modem

    OK, so I've made some progress, I think...
    Using wvdial or gnome-ppp I can get connected and do ping, wget etc. Skype and apt-get dist-upgrade works, but browsing doesn't!

    How this can be I have no idea!
    Code:
    --> Ignoring malformed input line: ";Do NOT edit this file by hand!"
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATX3
    ATX3
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Sending: AT+CGDCONT=2,"IP","bredband.tre.se"
    AT+CGDCONT=2,"IP","bredband.tre.se"
    OK
    --> Modem initialized.
    --> Sending: ATM1L3DT*99#
    --> Waiting for carrier.
    ATM1L3DT*99#
    CONNECT
    ~[7f]}#@!}!}!} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&U,/Y[07]F~
    --> Carrier detected.  Waiting for prompt.
    ~[7f]}#@!}!}"} }9}#}%B#}%}(}"}'}"}"}&} } } } }%}&U,/YK+~
    --> PPP negotiation detected.
    --> Starting pppd at Sun May  3 16:49:28 2009
    --> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
    --> --> PAP (Password Authentication Protocol) may be flaky.
    --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
    --> --> CHAP (Challenge Handshake) may be flaky.
    --> Pid of pppd: 31325
    --> Using interface ppp0
    --> local  IP address 10.168.176.9
    --> remote IP address 10.64.64.64
    --> primary   DNS address 80.251.192.244
    --> secondary DNS address 80.251.192.245
    wget
    Code:
    christian@sture:~$ wget www.google.com
    --2009-05-03 16:50:06--  http://www.google.com/
    Slår upp www.google.com... 72.14.221.104, 72.14.221.103, 72.14.221.99
    Ansluter till www.google.com|72.14.221.104|:80... ansluten.
    HTTP-begäran skickad, väntar på svar... 302 Found
    Adress: http://www.google.se/ [följer]
    --2009-05-03 16:50:09--  http://www.google.se/
    Slår upp www.google.se... 72.14.221.104, 72.14.221.103, 72.14.221.99
    Återanvänder befintlig anslutning till www.google.com:80.
    HTTP-begäran skickad, väntar på svar... 200 OK
    Längd: ospecifierat [text/html]
    Sparar till "index.html.1".
    
        [ <=>                                   ] 5 455       --.-K/s   på 0,007s  
    
    2009-05-03 16:50:09 (776 KB/s) - "index.html.1" sparad [5455]
    Anyone?

  4. #4
    Join Date
    Jul 2007
    Beans
    12

    Re: connect SE C510 mobile phone as modem

    It's working!
    Still cant get firefox to browse when using the mobile connection though, but using opera it works fine. Maybe ipv6 issue?

Tags for this Thread

Bookmarks

Posting Permissions

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