Shakthi Kannan and Ramkumar,
Thanks for your support. I resolved the error (modem not responding) after I
installed the PCMCIA package with package manager.

javax.comm.NoSuchPortException is purely a java issue. He dint find the port
automatically. I need to edit his config file to include this port also.

Presently the phone is working fine.

Thank you guys.

-pandian

On Sun, Feb 22, 2009 at 10:36 PM, Ramkumar <[email protected]> wrote:

> Hi Friend,
>                Use This one.i am using Nokia Mobile .So I Choose  Nokia
> Mode  when i connect my mobile  with PC through cable , then follow this
> one....
> Connect your phone via datacable
> open terminal & type
>
> lsusb
>
> now you will get the following output
>
> ow...@owais-desktop:~$ lsusb
> Bus 002 Device 001: ID 0000:0000
> Bus 001 Device 004: ID 0421:0445 Nokia Mobile Phones
> Bus 001 Device 002: ID 046d:092f Logitech, Inc.
> Bus 001 Device 001: ID 0000:0000
> ow...@owais-desktop:~$
>
>
> it is on my compter,your will not be exactly the same...
>
> Now note the line in which NOkia Mobile Phones is written...it has two
> number one is 0421 & other is 0445...we'll take these numbers as 0x421 &
> 0x445
>
> 0421 is the Vendor ID & 0445 is the Product ID
>
> Now enter this command.
>
> sudo /sbin/modprobe usbserial vendor=0x(vid) product=0x(pid)
>
> eg, in my case::: sudo /sbin/modprobe usbserial vendor=0×421 product=0×445
>
> Now enter this command
>
> wvdialconf /etc/wvdial.conf
>
>
> u'll get a long output which will be like
>
> Scanning your serial ports for a 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 — Nokia
> 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
> Found an USB modem on /dev/ttyACM0.
> Modem configuration written to create.
> ttyACM0: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0″
>
>
> Notice the output says that there is a modem at /dev/ttyACM0 & max speed is
> 460800
>
> now enter this command
>
> sudo gedit /etc/wvdial.conf
>
> A file will open in text editor...paste the following there
> (Your phone number may vary depending on your provider....Call em' now....)
>
> Phone = *99#
> Username = username
> Password = password
> Stupid Mode = 1
>
>
>
> You Can Also delete everything & paste this
>
> [Dialer Defaults]
> Modem = Your Modem Name(eg, /dev/ttyACM0 in my case)
> Baud = ur max speed(460800 in my case)
> Init1 = ATZ
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> ISDN = 0
> Modem Type = Analog Modem
> Phone = *99#
> Username = username
> Password = password
> Stupid Mode = 1
>
> save the file & you are done
>
>
> Whenevr you need to connect...open terminal & type
>
> wvdial
>
> wait till some sort of IP adress is displayed like
>
> pppd: �[06][06][08]` [06][08]
> primary DNS address 218.248.240.135
> pppd: �[06][06][08]` [06][08]
> secondary DNS address 218.248.240.79
> pppd: �[06][06][08]` [06][08]
>
> Now you are connected....hit cntrl+c to dissconnect...
>
>
>
> You can also create a laucher on desktop(application in terminal) & keep
> the command as wvdial..now double click it to connected connected.
>



-- 
---------------------------------------------------
*Free* software is a matter of liberty not price. You should think of "free"
as in "free speech".
http://blog.grassfield.org
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to