Announcement

Collapse
No announcement yet.

Help me with kubuntu 7.10 & Sony Ericsson W810i regarding internet setup.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Help me with kubuntu 7.10 & Sony Ericsson W810i regarding internet setup.

    Hi to all... I am a new Kubuntu user and I want to connect to Internet by Sony Ericsson W810i mobile from Kubuntu 7.10....Can anyone help
    Toufiqkm

    #2
    Re: Help me with kubuntu 7.10 & Sony Ericsson W810i regarding internet setup.

    hm.... do you did some test? where is your problem?
    google some basic howtos ( google -> "umts kubuntu howto" ), and then ask for some specific question.


    i had some particular issues with my Sony-Ericsson Z610 and here how i solved it, but its far from a generic step guide and probably apply with my italian mobyle company.

    you should first check some basic guide on how to configure "kppp" and check if the distro "find" you mobile.

    Comment


      #3
      Re: Help me with kubuntu 7.10 & Sony Ericsson W810i regarding internet setup.

      DUH...... I just played dumb when I didn't get the root login as default by Kubuntu 7.10... Thanks for your kind remarks... the procedure is as same as under OpenSuse 10.2 (or anything else that uses wvdial)...In case I forget it (and for anyone having similar trouble) I will share my experiences with everybody....
      Here is how I solved my problem:

      Step # 1:
      To find out which port the modem is using, I used:

      sudo dmesg | grep tty

      (In my case the port I found was /dev/ttyACM0)

      Step # 2:

      To enable the root account (i.e. set a password) under Kubuntu, I used:

      sudo passwd root

      It asked me for root password to activate root account.

      Step # 3:
      I modified wvdial & wvdial.conf according to my need and placed wvdial in /etc/ppp/peers/ & place wvdial.conf in /etc/

      Step # 4:
      I gave access permissions to the modem to normal user account:

      chmod a+rw /dev/ttyACM0

      after then using wvdial from su, I was able to connect to Internet.

      Note: all steps also worked perfectly worked under OpenSuse 10.2
      (sudo & changing root passwword are not necessary, I used the su command under OpenSuse)


      Changes are necessary to wvdial & wvdial.conf, see codes from my file-

      Code for wvdial:

      noauth
      name wvdial
      defaultroute
      replacedefaultroute
      noipdefault
      usepeerdns

      Code for wvdial.conf:

      [Dialer Defaults]
      Modem = /dev/ttyACM0
      Baud = 115200
      Init1 = ATZ
      Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
      Init3 = AT+CGDCONT=1,"IP","gpinternet"
      Area Code =
      Phone = *99***1#
      Username = anuser
      Password = apasswd
      Ask Password = 0
      Dial Command = ATD
      Stupid Mode = 0
      Compuserve = 0
      Force Address =
      Idle Seconds = 3000
      DialMessage1 =
      DialMessage2 =
      ISDN = 0
      Auto DNS = 1

      Note: I am from Bangladesh, I use GrameenPhone, so you may have to use any other apn as a replacement of gpinternet
      Toufiqkm

      Comment


        #4
        Re: Help me with kubuntu 7.10 & Sony Ericsson W810i regarding internet setup.

        Just another Tip...
        If you feel using wvdial from shell is not your job..try x-wvdial.
        You can get it from http://www.lika.de/open/x-wvdial/. Here are the steps how to use it

        Step # 1:
        Just extract it.using
        tar zxvf ./x-wvdial.tgz

        Step # 2:
        Move the script(x-wvdial) and the .msg(x-wvdial-us.msg) files to a directory in your path,
        /usr/X11/bin is a good choice

        Step # 3:
        Copy the file x-wvdialrc to your home directory as .x-wvdialrc
        example: `cp x-wvdialrc ~/.x-wvdialrc`

        Step # 4:
        With you editor open ~/.x-wvdialrc and customize to your needs.
        options marked +MANDATORY+ must be explicitly declared or the
        script will abort. just keep the definitions between the "quotes".

        Your x-wvdialrc should look like this:
        # Options marked +MANDATORY+ MUST be explicitly declared!

        # +MANDATORY+ the path to wvdial
        GO="wvdial"

        # +MANDATORY+ the path to kill
        STOP="kill"

        # +MANDATORY+ the -full- path to wvdial.log
        LOG="/var/log/wvdial.log"

        # +MANDATORY+ your ISP's -IP NUMBER-
        # example: MYISP="208.245.102.511"
        MYISP="0.0.0.0"

        # +MANDATORY+ time (in seconds) to obtain a connection before aborting
        ABORT="45"

        # +MANDATORY+ the language in which messages are displayed.
        # Use "us" for US-English, "de" for German, "es" for Spanish,
        # "nl" for Dutch.
        #LANG="de"
        #LANG="es"
        #LANG="nl"
        LANG="us"

        # ping your host in to keep your connection alive
        #PING="NO"
        PING="YES"

        # retrieve your email once online (uses fetchmail)
        #FETCH="YES"
        FETCH="NO"

        # sync your clock to the network
        #NETTIME="YES"
        NETTIME="NO"

        # the host to query to set your time if you said: NETTIME="YES"
        # for a list see: http://www.eecis.udel.edu/~mills/ntp/servers.htm
        # example: TIMEHOST="132.163.135.130"
        TIMEHOST="132.163.135.130"

        # `xlsfonts | less` for a list of installed fonts.
        #FONT="6x10"
        FONT="8x13"
        #FONT="9x15"

        # your favorite text editor in X11
        #MYED="/opt/kde/bin/kedit"
        MYED="/usr/X11/bin/xedit"

        # your favorite text editor outside of X11
        #VISUAL="joe"
        VISUAL="kate"


        Step # 5:
        Just create a new link to application to run x-wvdial; go to shortcut's application tab,
        under the command box write x-wvdial , now click Advanced Options check Run as a different user in the box write root.

        Now you can go to internet without directly using wvdial.
        Toufiqkm

        Comment

        Working...
        X