Skip to content

Gnokii and Nokia 3310 / 3315

Trying to get Gnokii working with a Nokia 3310/3315? Works fine for one message, but then refuses to respond?

First, make sure you’re using the right driver. In my case it’s the 6110 driver; you’ll need a line in /etc/gnokiirc that looks like:
model = 6110

Second, the Nokia seems to need regular attention, or it’ll refuse to respond. In my case I set up a cron job to poll it every ten minutes. I don’t do anything with the output; it’s just there to make the phone feel loved. Type:
Jon@server:~$ crontab -e

This’ll bring you into cron editing mode. You want to add two lines:
MAILTO=""
0-50/10 * * * * gnokii --identify >/dev/null

The first stops cron emailing you with its results every ten minutes. The second runs the gnokii identify command - which grabs a handful of details from the phone, and prints them on-screen - and then dumps those details in the write-only file. The first 0-50/10 means “run this command between 0 minutes and 50 minutes past the hour, every ten minutes”. The asterisks after that mean “Every hour, every day, every month and every day of the week”.

My trusty Gnokii Nokia 3310 SMS gateway’s been up for a week and a bit now, after I set up the cron job; with any luck, yours will too.

On a related note, Celliax is looking pretty interesting. In short, it’s a (cheap, open source) way of hooking a cellphone to a PC, so that Asterisk can route calls through it. Very interesting…

Post a Comment

You must be logged in to post a comment.