Wednesday, April 12, 2006

Sony Ericsson w600i and Linux


I will add more updates as they come. I was able to connect to GPRS/Edge using Bluetooth and the USB Cable using Fedora Core 5.

I'll post my steps shortly.. Needed to create an entry for the report.
===================
These steps are for Fedora Core 5 and the w600i.

You need to install all the bluez and gnome-bluetooth files. Fire up yum search to check those out.

    GPRS/Edge Connection Over Bluetooth
  • service bluetooth start

  • Turn on bluetooth and make your phone discoverable
  • hcitool scan

  • Make a note of the mac address of your phone
  • I edited my /etc/bluetooth/rfcomm.conf file.. don't know if that made any difference


  • rfcomm0 {
    # Automatically bind the device at startup
    bind no;

    # Bluetooth address of the device
    #real mac here
    device 00:00:00:00:00:00;

    # RFCOMM channel for the connection
    channel 1

    # Description of the connection
    comment "W600i";
    }

  • I created a little shell script to start up the connection as needed. I don't want to always connect when I plug in my dongle. I'm missing some bnep steps. I will add later

    #!/bin/bash
    /sbin/modprobe pand
    /usr/sbin/pand --connect 00:00:00:00:00:00 & #real mac here
    /bin/sleep 10 &
    /sbin/ifconfig bnep0 up &
    /sbin/dhclient bnep0 &





    GPRS/Edge Connection Over USB Cable
  • I used NetworkManager to simplify the ppp connection and treat it like a regular modem
  • Plug in the USB Cable and connect it to your phone. Open up a console and run dmesg

    cdc_acm 1-1:1.1: ttyACM0: USB ACM device
    cdc_acm 1-1:1.3: ttyACM1: USB ACM device

  • Goto the Network Configuration... System--Administration--Network
  • Add a new Connection by selecting New.. Modem Connection.. click on Forward
  • For the phone number I typed in *99***1# that's the Profile for my provider for Edge
  • Provider.. preferably you're cell providers name.. username and password can be anything.. at least for Cingular
  • Forward.. then apply
  • File Save
  • in the console look for the file ifcfg-Providername

    cd /etc/sysconfig/network-scripts

  • Edit the file. My MODEMPORT= was wrong. It was pointed to /dev/input/ttyACM0 that didn't exist

    MODEMPORT=/dev/ttyACM0

  • Now tou should be able to left click on the NetworkManager icon in the notification panel and under Dialup Connections there will be a connect and a disconnect for your provider.


Let me know how your experience differs
Post a Comment