[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Better way to send SMS using gnokii
From: |
Szabo, Tamas |
Subject: |
RE: Better way to send SMS using gnokii |
Date: |
Tue, 3 Sep 2002 19:26:09 +0100 |
Has netsaint read/write access to /dev/ttyS0?
Who is the owner of /dev/ttyS0? (ls -l /dev/ttyS0 ;-)
For me it is root:dialup, so every user who wants to use gnokii should be
add to dialup group. (or root but I don't recommend :-)
Sza2
Problems with Windows - Reboot.
Problems with Linux - Be root.
> -----Original Message-----
> From: Manohar Pradhan [SMTP:address@hidden
> Sent: Tuesday, September 03, 2002 20:16
> To: address@hidden
> Subject: Better way to send SMS using gnokii
>
> Hi,
>
> I have Nokia 6210 working OK for gnokii, as I can send SMS from command
> line
> (being superuser).
>
> My question is:
>
> Is there any other easier way to send SMS from other process owned by
> users
> otherthan root? I Want to integrate netsaint monitoring Notification with
> gnokii and now I can see it could not send. I am invoking gnokii as
> follows:
>
> /usr/bin/printf "ALL THE MESSAGES " |/usr/local/bin/gnokii --sendsms
> SMSNUMBER
>
> this script is run by user netsaint, with its own .gnokiirc file in its
> home
> directory. When I want to run this script as netsaint user, it says:
>
> sh-2.05a$ /usr/bin/printf "ALL THE MESSAGES " |/usr/local/bin/gnokii
> --sendsms SMSNUMBER
>
> GNOKII Version 0.4.3
> Gnokii serial_open: open: Permission denied
> Couldn't open FBUS device: Permission denied
> Gnokii serial_open: open: Permission denied
> Couldn't open FBUS device: Permission denied
> Gnokii serial_open: open: Permission denied
> Couldn't open FBUS device: Permission denied
> Telephone interface init failed! Quitting.
>
> My ..gnokiirc file looks like follows:
>
> [global]
> port = /dev/ttyS0
> model = 6210
> initlength = default
> connection = serial
> bindir = /usr/local/sbin/
> use_locking = no
> serial_baudrate = 9600
> [connect_script]
> TELEPHONE = 07867793682
> [disconnect_script]
> [sms]
> timeout = 10
>
> Any Idea/Suggestion is highly Appreciated.
>
> Thanks and Regards
> MP
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/gnokii-users
**********************************************************************************************
The information contained in this message or any of its attachments may be
confidential and is intended for the exclusive use of the addressee(s). Any
disclosure, reproduction, distribution or other dissemination or use of this
communication is strictly prohibited without the express permission of the
sender. The views expressed in this email are those of the individual and not
necessarily those of Sony or Sony affiliated companies. Sony email is for
business use only.
This email and any response may be monitored by Sony United Kingdom Limited.
(05)
**********************************************************************************************