FrontlineSMS

FrontlineSMS let users send, receive and manage SMS over a mobile network.

Getting Ubuntu 10.10 (Maverick Meerkat) to recognize a Samba 56 USB

Hello All,

 

I have been reading the discussion:

"Installing FrontlineSMS on Linux Ubuntu"

Posted by Amanda Atwood on December 2, 2009

http://frontlinesms.ning.com/forum/topics/installing-frontlinesms-on

 

Which was extremely helpful, I've got Frontline to work just fine.  However I cannot get Frontline to connect to my Samba 56. 

 

I used the command "sudo ln -sf /dev/ttyUSB0 /dev/ttyS0"

to create the link and it shows up under ttyS0 now.

 

Then I used the command  "sudo wvdialconf" to get Ubuntu to 'notice' the dongle. 

This is what appears (which looks correct after looking over other peoples posts)

 

Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- OK
ttyS0<*1>: ATQ0 V1 E1 Z -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: Modem Identifier: ATI -- SIEMENS
ttyS0<*1>: Speed 4800: AT -- OK
ttyS0<*1>: Speed 9600: AT -- OK
ttyS0<*1>: Speed 19200: AT -- OK
ttyS0<*1>: Speed 38400: AT -- OK
ttyS0<*1>: Speed 57600: AT -- OK
ttyS0<*1>: Speed 115200: AT -- OK
ttyS0<*1>: Speed 230400: AT -- OK
ttyS0<*1>: Speed 460800: AT -- Speed 460800: AT -- Speed 460800: AT -- Max speed is 230400; that should be safe.
ttyS0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Modem Port Scan<*1>: S2   S3  
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- SIEMENS
ttyUSB0<*1>: Speed 4800: AT -- OK
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Speed 19200: AT -- OK
ttyUSB0<*1>: Speed 38400: AT -- OK
ttyUSB0<*1>: Speed 57600: AT -- OK
ttyUSB0<*1>: Speed 115200: AT -- OK
ttyUSB0<*1>: Speed 230400: AT -- OK
ttyUSB0<*1>: Speed 460800: AT -- Speed 460800: AT -- Speed 460800: AT -- Max speed is 230400; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyS0.
Modem configuration written to /etc/wvdial.conf.
ttyS0<Info>: Speed 230400; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB0<Info>: Speed 230400; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0<Info>: Speed 230400; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

 

Then I open the Frontline program and it always says "FrontlineSMS was unable to connect to an SMS device"

 

I attempt to add a phone manually and it will not find the port.

Saying "Port [/dev/ttyS0] could not be found"

or

Saying "Port [ttyS0] could not be found"

 

I would greatly appreciate any help thank you.

please be gentle I'm a nube to ubuntu

 

thanks in advance,

Tim 

Views: 362

Reply to This

Replies to This Discussion

Hi Tim,

 

can you send us your logs?

We might be able to get something from them.

 

Cheers,

Morgan

Thanks for your swift reply Morgan.  Can you tell me where to get the logs from?

 

Tim

Menu "Help"/"Subit error report".

 

I'll take a look at these logs ASAP :)

 

Morgan


Thanks again Morgan, its in an attachment.

 

cheers,

Tim

Attachments:

Hi Tim,

 

try to download this archive:

http://www.jcontrol.org/download/files/rxtx-2.1-7-bins-r2.zip

 

and put the right lib (compatible with your version of Linux) in your JAVA_HOME/jre/lib/ directory.

Tell me if this changes anything.

 

Morgan

Morgan,

 

Could you give me the command for that? Like I said I'm very new to Ubuntu.

 

Thanks

Tim 

Type

 

echo $JAVA_HOME

 

to check your java home directory.Then just copy the file from the archive to this directory (you can do this graphically, like on Windows).

 

Morgan

When I type "echo $JAVA_HOME" it doesn't do anything except give me the start of another line. 

 

Tim

Hi Tim,

 

can you come on Skype?

I guess it's gonna be much easier.

 

>> morgan.frontlinesms

Thank you Morgan, I couldn't have done this without you!

No worries, Tim.

 

If someone's having the same problem, I just extracted the right libraries (see above link) into the JVM library path:

/usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/i386/

 

Good luck!

Hi Maxym

Thanks for getting in touch about this. I'm afraid Morgan is no longer working with FrontlineSMS (although he does occasionally drop in on the forum), so I've also passed your request onto our lead developer, Alex, to see if he's able to help out. We will get back to you with further information as soon as possible.

Best

Flo

RSS

Photos

  • Add Photos
  • View All

© 2014   Created by FrontlineSMS Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service