I've recently taken a development job in Uganda that will require a lot of data collection in the field. Having done mindless data-entry before and not wanting to repeat the experience (and to the excitement of my new bosses), I proposed using SMS technology to do the bulk of our data entry. I downloaded frontlineSMS and bought an unlocked Huawei E173 modem.
There are several problems when I try to launch FrontlineSMS with the modem plugged in. When FrontlineSMS automatically tries to detect a modem, it says it can't find any. Then, when I try to manually use a port, it throws a Port in Use exception.
I've looked through the forums (and even on the development site) and here are the solutions I've tried thus far:
Here are my system configurations:
I'd greatly appreciate any help or support anyone could provide. I've also attached my error logs.
Edit: I have gotten this to work. After doing some digging for PortInUseException Exceptions for Mac OSX, I came across this Arduino forum
The post itself isn't very good, but it appears that there is a problem with permissions on the "/var/lock" directory. What I did was to change the permissions so that I can read and write to this directory. More specifically, I just used Finder to navigate to "/var/" in the root. Then, if you select the "/var/lock/" folder, right click, and select "Get Info". In the lower right, there will be a small padlock icon that's most likely in the locked position. Click it (and enter your password). Change the permissions (at the bottom), until it says that you can both read and write to the folder. I know it's probably not best practices to edit permissions from Finder, especially in the "/var/" directory, but after a month of struggling with this problem, I'm glad something works.
After changing these permissions, I opened FrontlineSMS, and it automatically detected my modem for the first time. I've sent a few test messages, and it seems to be working fine. I hope this helps anyone else having difficulty with connecting a modem to a Mac.
Thanks so much for the update, and for sharing this work around with the community here - its great to hear that you are now up and running! It can be a little more tricky for users to get started using FrontlineSMS on a Mac OS, but there are a few ways to tackle this. If you have any further problems please let us know and the team here will do our best to help.
Hi Stuart / Flo,
I'd just like to thank you for this workaround and confirm it worked perfectly for my setup (Huawei E173 / OSX 10.6.8) as well!
Would it be worth adding this to the manual and/or this (fairly old, but featured) thread? http://frontlinesms.ning.com/forum/topics/still-having-problems-with
Thanks for letting us know that this worked for you - that's great news. We are currently finalising a selection of Frequently Asked Questions from the forum to help FrontlineSMS users, and this is a helpful tip to include in the FAQ! I'll keep the community posted on where the FAQ can be found upon its release.
Thanks for this.I thinki should as well try out this with MAc Osx.