Hello, Is anyone able to help me. I've tried both the links in this thread and they don't seem to work for me. At the moment i've trying to run with a ZTE 636 in Ubuntu but keep getting a NoSuchPortException looking for the Win32Driver. I've seen the FAQ about not recognising the ports but have tried both the properties and the link and still not getting anywhere. Can anyone else shed any light ?
java -cp ../../../smslib-3.4.2.jar:.:../../../slf4j-1.5.8/slf4j- simple-1.5.8.jar:../../../slf4j-1.5.8/slf4j-api-1.5.8.jar:../../../ comm.jar examples.modem.SendMessage Example: Send message from a serial gsm modem. SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. This software is distributed under the terms of the Apache v2.0 License. Web Site: http://smslib.org Version: 3.4.2 10 [main] INFO smslib - SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. This software is distributed under the terms of the Apache v2.0 License. Web Site: http://smslib.org 15 [main] INFO smslib - Version: 3.4.2 17 [main] INFO smslib - JRE Version: 1.6.0_0 18 [main] INFO smslib - JRE Impl Version: 14.0-b08 20 [main] INFO smslib - O/S: Linux / i386 / 2.6.28-11-generic 373 [Thread-1] INFO smslib - GTW: modem.com1: Starting gateway, using Generic AT Handler. 376 [Thread-1] INFO smslib - GTW: modem.com1: Opening: /dev/tty20 @57600 Caught java.lang.ClassNotFoundException: com.sun.comm.Win32Driver while loading driver com.sun.comm.Win32Driver org.smslib.GatewayException: Comm library exception: java.lang.RuntimeException: javax.comm.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$1Starter.run(Service.java:252) Thanks in advance. Andy. On Aug 16, 9:51 am, Muhammad Ghazali <[email protected]> wrote: > On Fri, Aug 7, 2009 at 8:11 PM, Jeff Gehlbach <[email protected]> wrote: > > > On Aug 6, 2009, at 5:24 PM, Pietro wrote: > > > > I installed it in Fedora 10, and run fine. > > > > Pietro > > > That's a great data point, Pietro, thanks. > > > Muhammad, could you still share the steps you followed, the Ubuntu > > version, device type, and other information? I'm trying to use smslib > > (just the library, not the SmsServer) under Debian 5.0 (lenny) on > > i386, but despite my user being in the "dialout" group my smslib app > > is unable to communicate with a USD-connected phone on /dev/ttyACM*. > > > Thanks in advance, > > -jeff > > > -- > > Jeff Gehlbach > > mailto|sip:[email protected]<sip%[email protected]> > > The OpenNMS Group, Inc. ph: +1 919.533.0160 x7754 > > > > On Aug 7, 12:59 am, Muhammad Ghazali <[email protected]> wrote: > > >> On Sun, Jul 26, 2009 at 4:42 PM, Paolo "Byakuya" > > >> <[email protected]>wrote: > > > >>> Hi guys, > > >>> do anyone tried the SmsServer with a phone under linux? > > >>> I've to run the Sms Server with a phone under ubuntu but i don't > > >>> know > > >>> how to do this. > > >>> Could someone help me??? > > >>> Regards! > > > >> I have done this in Ubuntu linux. > > >> So tell me what your problem is? > > >> Maybe I can help you. > > When i'm doing the project (not finish yet, suspended) i'm using Ubuntu > 8.10, JRE&JDK 6 update 13, my Nokia 6100 is connected through USB port. Btw > my application just works fine and visit this page if you have some > trouble:http://smslib.org/wiki/installation:troubleshooting > > So, what about you? > -- > ================== > Blog: > Catatan Online ghaNOZ 2480http://ghanoz2480.wordpress.com > > Facebook:http://www.facebook.com/ghanoz2480 > ================== > M. Ghazali a.k.a. ghaNOZ 2480 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib 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 -~----------~----~----~----~------~----~------~--~---
