About

open source enthusiast, sony psp, and life.

Twitter

    Following

    http://shaymaria.tumblr.com/ http://bijansabet.com/ http://foodbeersexwhatever.tumblr.com/ http://kapi.tumblr.com/ http://blog.quickmeme.com/ http://yelyahwilliams.tumblr.com/ http://narcissisticbeauty.tumblr.com/ http://rararawr.tumblr.com/ http://walids.tumblr.com/ http://purpleplastiksoul.tumblr.com/ http://rozinorazali.tumblr.com/ http://mankunang.tumblr.com/ http://dancingcereal.tumblr.com/ http://theinvidinvasion.tumblr.com/ http://littleathena.tumblr.com/ http://tumblr.poptech.org/ http://streetsofberlin.tumblr.com/ http://www.davidslog.com/ http://misdeeds.tumblr.com/ http://phildawson.tumblr.com/ http://tokrimau.tumblr.com/ http://dawp.tumblr.com/ http://rockerina.tumblr.com/ http://zullicious.tumblr.com/ http://staff.tumblr.com/ http://missdaisylynn.tumblr.com/ http://wordlife.tumblr.com/ http://laurensnaps.tumblr.com/ http://01mathery.tumblr.com/ http://robgo.tumblr.com/ http://melmaureen.tumblr.com/ http://androidniceties.tumblr.com/ http://amberson.net/ http://yunatakesphotos.tumblr.com/ http://az1.tumblr.com/ http://jannahtesl.tumblr.com/ http://joweyjamess.tumblr.com/ http://tekong.tumblr.com/ http://paramjb.com/ http://blog.omgpop.com/ http://syazaliyana.tumblr.com/ http://backofawebpage.tumblr.com/ http://blog.foursquare.com/ http://icednyior.tumblr.com/ http://kevinrose.tumblr.com/ http://rewan.tumblr.com/ http://nuricon.tumblr.com/

    [How-To] Connect to Maxis 3G using SE K660i as modem in Ubuntu

    After almost a day trying to connect to Maxis 3G yesterday, now I will share to public on how to connect to your Maxis 3G using any phone (linux compatible), mine is Sony Ericsson K660i.

    First of all, you have to remember that, data package for Maxis 3G is pricey, 1kb == 1 sen. Its better for you to upgrade to Unlimited Data Package which is RM99. I dont know about celcom 3g.

    First connect your phone to your laptop via cable. and select Phone Mode

    Next, make sure you have gnome-ppp is install

    sudo apt-get install gnome-ppp 

    After finish installing, go to menu Applications->Internet->GNOME PPP. A window like this will pop up, click Setup

    Then click Detect. Open your terminal and issues this command

    sicksand@sicksand-laptop:~$ cd $HOME
    sicksand@sicksand-laptop:~$ gedit .wvdial.conf

    Just change the bold part

    [Dialer Defaults]
    Modem = /dev/ttyACM0
    ISDN = off
    Modem Type = Analog Modem
    Baud = 460800
    Init = ATX3
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init3 = AT+CGDCONT=1,”IP”,”unet
    Init4 =
    Init5 =
    Init6 =
    Init7 =
    Init8 =
    Init9 =
    Phone = *99#
    Phone1 = *99#
    Phone2 =
    Phone3 =
    Phone4 =
    Dial Prefix =
    Dial Attempts = 1
    Dial Command = ATM0L0DT
    Ask Password = off
    Password = wap
    Username = maxis
    Auto Reconnect = on
    Abort on Busy = on
    Carrier Check = on
    Check Def Route = on
    Abort on No Dialtone = off
    Stupid Mode = on
    Idle Seconds = 0
    Auto DNS = on
    ;Minimize = off
    ;Dock = on
    ;Do NOT edit this file by hand!

    Save it and  and Click Connect , see the log and if its look like this, you are connected

    —> 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=1,”IP”,”unet”
    AT+CGDCONT=1,”IP”,”unet”
    OK
    —> Modem initialized.
    —> Sending: ATM0L0DT*99#
    —> Waiting for carrier.
    ATM0L0DT*99#
    ~[7f]}#@!}!}!} }9}#}%B#}%}(}”}’}”}”}&} } } } }%}&F[0e][12]Q[14]1~
    CONNECT
    —> Carrier detected.  Starting PPP immediately.
    —> Starting pppd at Wed May  7 14:21:31 2008
    —> 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: 6810
    —> Using interface ppp0
    —> local  IP address 58.71.217.61
    —> remote IP address 10.64.64.64
    —> primary   DNS address 10.213.17.1
    —> secondary DNS address 10.213.17.2

    Now you are connected to Maxis 3G.

    Text posted at 2:20 PM (3 years ago) | Permalink

    Comments (View)

    New Phone - SE K660i

    Finally , after about 6 month looking for decent phone, now I am a proud owner of Sony Ericsson K660i.
    Cheap 3G/HSDPA phone, nice design and most important, fit on my tight budget :).

    Went to Maxis Center at Kotaraya yesterday and subscribe to Unlimited Data Package (RM99) + New Plan 50.

    Now at the office and trying to connect to 3G using this phone as modem. Run wvdial

    sicksand@sicksand-laptop:~$ sudo wvdialconf /etc/wvdial.conf
    Editing `/etc/wvdial.conf’.

    Scanning your serial ports for a modem.

    Modem Port Scan: S0 S1 S2 S3
    WvModem: Cannot get information for serial port.
    ttyACM0: ATQ0 V1 E1 — OK
    ttyACM0: ATQ0 V1 E1 Z — OK
    ttyACM0: ATQ0 V1 E1 S0=0 — OK
    ttyACM0: ATQ0 V1 E1 S0=0 &C1 — OK
    ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
    ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
    ttyACM0: Modem Identifier: ATI — Sony Ericsson K660
    ttyACM0: Speed 4800: AT — OK
    ttyACM0: Speed 9600: AT — OK
    ttyACM0: Speed 19200: AT — OK
    ttyACM0: Speed 38400: AT — OK
    ttyACM0: Speed 57600: AT — OK
    ttyACM0: Speed 115200: AT — OK
    ttyACM0: Speed 230400: AT — OK
    ttyACM0: Speed 460800: AT — OK
    ttyACM0: Max speed is 460800; that should be safe.
    ttyACM0: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
    WvModem: Cannot get information for serial port.
    ttyACM1: ATQ0 V1 E1 — OK
    ttyACM1: ATQ0 V1 E1 Z — OK
    ttyACM1: ATQ0 V1 E1 S0=0 — OK
    ttyACM1: ATQ0 V1 E1 S0=0 &C1 — OK
    ttyACM1: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
    ttyACM1: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK
    ttyACM1: Modem Identifier: ATI — Sony Ericsson K660
    ttyACM1: Speed 4800: AT — OK
    ttyACM1: Speed 9600: AT — OK
    ttyACM1: Speed 19200: AT — OK
    ttyACM1: Speed 38400: AT — OK
    ttyACM1: Speed 57600: AT — OK
    ttyACM1: Speed 115200: AT — OK
    ttyACM1: Speed 230400: AT — OK
    ttyACM1: Speed 460800: AT — OK
    ttyACM1: Max speed is 460800; that should be safe.
    ttyACM1: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 — OK

    Found an USB modem on /dev/ttyACM0.
    Modem configuration written to /etc/wvdial.conf.
    ttyACM0: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0”
    ttyACM1: Speed 460800; init “ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0”

    gladly it detect and my wvdial.conf look like this

    [Dialer Defaults]
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = USB Modem
    Phone = *99#
    ISDN = 0
    Username = maxis
    Init1 = ATZ
    Password = wap
    Modem = /dev/ttyACM0
    Baud = 460800

    but after I ran wvdial, got this error

    —> 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.
    —> 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#
    —> Waiting for carrier.
    ATDT*99#
    ~[7f]}#@!}!}!} }9}#}%B#}%}(}”}’}”}”}&} } } } }%}&G[7f]MA[[1a]~
    CONNECT
    —> Carrier detected. Waiting for prompt.
    ~[7f]}#@!}!}”} }9}#}%B#}%}(}”}’}”}”}&} } } } }%}&G[7f]MA}7w~
    —> PPP negotiation detected.
    —> Starting pppd at Tue May 6 12:23:16 2008
    —> Pid of pppd: 6328
    —> Using interface ppp0
    —> pppd: ��[06][08]`�[06][08]
    —> pppd: ��[06][08]`�[06][08]
    —> pppd: ��[06][08]`�[06][08]
    —> pppd: ��[06][08]`�[06][08]
    —> pppd: ��[06][08]`�[06][08]
    —> pppd: ��[06][08]`�[06][08]
    —> pppd: ��[06][08]`�[06][08]
    —> Disconnecting at Tue May 6 12:23:17 2008
    —> 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.

    Can anyone on planet here help me out this problems.

    UPDATE 6th May 2008 17:08PM

    Success connected to 3g, using gnome-ppp and add unet 

    [Dialer Defaults]
    Modem = /dev/ttyACM0
    ISDN = off
    Modem Type = Analog Modem
    Baud = 460800
    Init = ATX3
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init3 = AT+CGDCONT=1,”IP”,”unet
    Init4 =
    Init5 =
    Init6 =
    Init7 =
    Init8 =
    Init9 =
    Phone = *99#
    Phone1 = *99#
    Phone2 =
    Phone3 =
    Phone4 =
    Dial Prefix =
    Dial Attempts = 1
    Dial Command = ATM0L0DT
    Ask Password = off
    Password = wap
    Username = maxis
    Auto Reconnect = on
    Abort on Busy = on
    Carrier Check = on
    Check Def Route = on
    Abort on No Dialtone = off
    Stupid Mode = on
    Idle Seconds = 0
    Auto DNS = on
    ;Minimize = off
    ;Dock = on
    ;Do NOT edit this file by hand!

    Text posted at 12:41 PM (3 years ago) | Permalink

    Comments (View)
    Bigfoot Theme © 2008 by Harris Novick
    Google Analytics Alternative