Tuesday, October 13, 2009

How To Activate Sony Ericsson MD300 Mobile Broadband USB Modem in Ubuntu Linux

Download package md300config_1-1ubuntu2_all_1.deb
    Install it by typing this command at the terminal: 
      sudo dpkg -i md300config_1-1ubuntu2_all_1.deb
      (or double-click on it to install it using GDebi)


      Copy and paste the following lines of codes into a new file in your favorite text editor save it to your /home/USERNAME/ directory as .wvdial.conf (beware of the dot in front of the filename). Change the accesspointname, username, and password according to the instruction from your operator. If the system do not require a username and password, then leave the line as it is.




      #### .wvdial.conf

      [Dialer Defaults]
      Modem = /dev/ttyACM1
      ISDN = off
      Modem Type = Analog Modem
      Baud = 460800
      Init = ATZ
      Init2 = AT+cgreg=1
      Init3 = AT
      Init4 = AT &F &D2 &C1 E0 V1 S0=0
      Init5 = AT+IFC=2,2
      Init6 = ATS0=0
      Init7 = AT+cfun=1
      Init8 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
      Init9 = ATZ+cgdcont=1,"IP","AccessPointName"
      Phone = *99***1#
      Phone1 =
      Phone2 =
      Phone3 =
      Phone4 =
      Dial Prefix =
      Dial Attempts = 1
      Dial Command = ATM1L3DT
      Ask Password = off
      Password = '
      Username = '
      Auto Reconnect = on
      Abort on Busy = off
      Carrier Check = on
      Check Def Route = on
      Abort on No Dialtone = on
      Stupid Mode = on
      Idle Seconds = 0
      Auto DNS = on
      ;Minimize = off
      ;Dock = off
      ;Do NOT edit this file by hand!
      ##### End of .wvdial.conf



      If you have not done so, install gnome-ppp package using synaptic or type the following command at the terminal:
      sudo aptitude install gnome-ppp
      Now fire-up gnome-ppp (It's on the Internet SubMenu), connect your MD300 to your computer, wait a few second to let your Ubuntu identify the new device (nothing will show up, but you can see the messages with dmesg command at the terminal). Now click Setup button and then Detect Button, close the Setup Dialog and Click Connect.