If you are getting /dev/sdc or so, as the port when the modem is
connecting, you must to change the configuration in your phone,
because that ports are for hard drives or pen drives. See in your
phone to connect the usb as modem instead.

HTH

Pietro

On Sep 5, 6:55 am, smartcomp <[email protected]> wrote:
> Hello thansis,
> I am not sure about the port because on every attachment system will
> new port as /dev/sda,/dev/sdc etc.
>  I also tried with symbolic link as mentioned in troubleshooter.php
> but it wont work me. I have copied all necessary file at right place.
> still I got the NoSuchPortFoundExceptation on modem opening
>
> Thanks & Regards
> Sourabh Gandhi
>
> On Sep 4, 10:44 am, Thanasis <[email protected]> wrote:
>
> > Hello,
>
> > Are you sure that /dev/ttyS0 is the port that you should be using?
>
> > Installation instructions are 
> > here:http://code.google.com/p/smslib/wiki/Installation
>
> > Don't forget the .so library file that comes with the RxTx!
>
> > On Sep 4, 7:27 am, smartcomp <[email protected]> wrote:
>
> > > Hello Thansis,
> > > First of all thanks for replying me.
> > > I have installed with following configuration:
> > >                sms-lib  V 3.2.4
> > >                Rxtx 2.1.7 binary
> > >                Slf4j jdk 14 1.5.6. jar
> > >                Slf4j api 1.5.6. jar
> > >                commons-net  2.0.jar
> > > with their lib files in jre bin.
> > > but still i got NoSuchPortFound Exceptation
>
> > > Thanks & Regards
> > > Sourabh Gandhi
>
> > > On Sep 2, 9:13 pm, Thanasis <[email protected]> wrote:
>
> > > > Have you tried with RxTx?
>
> > > > On Sep 2, 1:31 pm, smartcomp <[email protected]> wrote:
>
> > > > > Hi,
> > > > > I have successfully build smslib module on my comp having
> > > > > configuration
> > > > > AMD Dual core RAM 1GB HDD 160GB WITH ubuntu 8.04
> > > > > I am trying to run the example of SendMessage.java from given source
> > > > > code.
> > > > > Eclipse and Java 6 . I used my Nokia phone model 7210 attached by usb
> > > > > cable(CA-101D) and also tried with bluetooth device.
> > > > >  I have been gone through complete docs of smslib still i got error
> > > > > of
>
> > > > >    Error :- rg.smslib.GatewayException: Comm library exception:
> > > > > java.lang.RuntimeException: gnu.io.NoSuchPortException
> > > > >         at org.smslib.modem.SerialModemDriver.connectPort
> > > > > (SerialModemDriver.java:97)
> > > > >         at 
> > > > > org.smslib.modem.AModemDriver.connect(AModemDriver.java:110)
> > > > >         at 
> > > > > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:158)
> > > > >         at org.smslib.Service$WatchDog.process(Service.java:1397)
> > > > >         at 
> > > > > org.smslib.threading.AServiceThread.run(AServiceThread.java:117)
> > > > > 2 Sep, 2009 3:58:01 PM org.smslib.helper.Logger logWarn
> > > > > WARNING: Gateway: modem.com1 restarting.
> > > > > 2 Sep, 2009 3:58:01 PM org.smslib.helper.Logger logInfo
> > > > > INFO: GTW: modem.com1: Stopping gateway...
> > > > > 2 Sep, 2009 3:58:01 PM org.smslib.helper.Logger logWarn
> > > > > WARNING: Error while shutting down Gateway: modem.com1
> > > > > java.lang.NullPointerException
> > > > >         at org.smslib.AGateway.stopGateway(AGateway.java:312)
> > > > >         at 
> > > > > org.smslib.modem.ModemGateway.stopGateway(ModemGateway.java:168)
> > > > >         at org.smslib.Service$WatchDog.process(Service.java:1387)
> > > > >         at 
> > > > > org.smslib.threading.AServiceThread.run(AServiceThread.java:117)
> > > > > 2 Sep, 2009 3:58:01 PM org.smslib.helper.Logger logInfo
> > > > > INFO: GTW: modem.com1: Starting gateway, using Generic AT Handler.
> > > > > 2 Sep, 2009 3:58:01 PM org.smslib.helper.Logger logInfo
> > > > > INFO: GTW: modem.com1: Opening: /dev/ttyS0 @57600
> > > > > 2 Sep, 2009 3:58:01 PM org.smslib.helper.Logger logError
> > > > > SEVERE: Error while starting Gateway: modem.com1
> > > > > org.smslib.GatewayException: Comm library exception:
> > > > > java.lang.RuntimeException: gnu.io.NoSuchPortException
> > > > >         at org.smslib.modem.SerialModemDriver.connectPort
> > > > > (SerialModemDriver.java:97)
> > > > >         at 
> > > > > org.smslib.modem.AModemDriver.connect(AModemDriver.java:110)
> > > > >         at 
> > > > > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:158)
> > > > >         at org.smslib.Service$WatchDog.process(Service.java:1397)
> > > > >         at 
> > > > > org.smslib.threading.AServiceThread.run(AServiceThread.java:117)
> > > > > 2 Sep, 2009 3:58:16 PM org.smslib.helper.Logger logWarn
> > > > > WARNING: Gateway: modem.com1 restarting.
> > > > > 2 Sep, 2009 3:58:16 PM org.smslib.helper.Logger logInfo
> > > > > INFO: GTW: modem.com1: Stopping gateway...
> > > > > 2 Sep, 2009 3:58:16 PM org.smslib.helper.Logger logWarn
> > > > > WARNING: Error while shutting down Gateway: modem.com1
> > > > > java.lang.NullPointerException
> > > > >         at org.smslib.AGateway.stopGateway(AGateway.java:312)
> > > > >         at 
> > > > > org.smslib.modem.ModemGateway.stopGateway(ModemGateway.java:168)
> > > > >         at org.smslib.Service$WatchDog.process(Service.java:1387)
> > > > >         at 
> > > > > org.smslib.threading.AServiceThread.run(AServiceThread.java:117)
> > > > > 2 Sep, 2009 3:58:16 PM org.smslib.helper.Logger logInfo
> > > > > INFO: GTW: modem.com1: Starting gateway, using Generic AT Handler.
> > > > > 2 Sep, 2009 3:58:16 PM org.smslib.helper.Logger logInfo
> > > > > INFO: GTW: modem.com1: Opening: /dev/ttyS0 @57600
> > > > > 2 Sep, 2009 3:58:16 PM org.smslib.helper.Logger logError
> > > > > SEVERE: Error while starting Gateway: modem.com1
> > > > > org.smslib.GatewayException: Comm library exception:
> > > > > java.lang.RuntimeException: gnu.io.NoSuchPortException
> > > > >         at org.smslib.modem.SerialModemDriver.connectPort
> > > > > (SerialModemDriver.java:97)
> > > > >         at 
> > > > > org.smslib.modem.AModemDriver.connect(AModemDriver.java:110)
> > > > >         at 
> > > > > org.smslib.modem.ModemGateway.startGateway(ModemGateway.java:158)
> > > > >         at org.smslib.Service$WatchDog.process(Service.java:1397)
> > > > >         at 
> > > > > org.smslib.threading.AServiceThread.run(AServiceThread.java:117)
>
> > > > > any help in this is appriciated.
> > > > > My contact for any referance is [email protected]
>
> > > > > Thanks & Regards
> > > > > Sourabh Gandhi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib for Java User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to