problem in using gnokii utility
hi
iam trying to send sms using gnokii utility in linux firstly i did sudo apt-get install gnokii after that i got a gnokiirc.gz file in /usr/share/doc/gnokii/sample/gnokiirc.gz file here after that i did gunzip gnokiirc.gz then i transferred my file from the /usr/share/doc/gnokii/sample to home directory by using copy command as copying files to home is not allowed so i used sudo sudo cp gnokii /home after that i changed the port=/dev/ttyUSB2 and model=AT in the gnokiirc file in the home directory and then i wrote gnokii --identify GNOKII Version 0.6.29 Couldn't read /home/etika/.config/gnokii/ config config file. Couldn't read /etc/xdg/xdg-gnome/gnokii/config config file. Lockfile /var/lock/LCK..ttyS0 is stale. Overriding it... Telephone interface init failed: Command timed out. Quitting. Command timed out. i followed as in the http://www.gnokii.org/docs.shtml and http://sp2hari.com/2008/04/18/settin...-using-gnokii/ and except this "Note that you will need read/write permissions on whatever serial port you specify in .gnokiirc."(iam confused what is my serial port is it ttyUSB2 ) please do tell me what can be the reason of this error and how it can be rectified |
Presumably sudo cp gnokii /home created the /home/gnokii. Later you write about "the gnokiirc file in the home directory". gnokii works OK for me using /home/<user name>/.config/gnokii/config. I vaguely recall trying /home/<user name>/.gnokiirc and it not working so changing to /home/<user name>/.config/gnokii/config. Might be worth trying that (so you don't get the Couldn't read /home/etika/.config/gnokii/config config file message) and then we can concentrate on the serial port device file issues.
|
now i have copied the gnokiirc file in /home/etika/.config/gnokii directory and still the problem persist same message is displayed
etika@etika-4545-uT-PCghfA:~/.config/gnokii$ gnokii --identify GNOKII Version 0.6.29 Couldn't read /home/etika/.config/gnokii/config config file. Couldn't read /etc/xdg/xdg-gnome/gnokii/config config file. Lockfile /var/lock/LCK..ttyS0 is stale. Overriding it... Telephone interface init failed: Command timed out. Quitting. Command timed out. what to do ?? |
It needs to be /home/etika/.config/gnokii/config not /home/etika/.config/gnokii/gnokiirc
|
ok thanx
|
Glad you found a solution :)
Threads can be marked SOLVED via the Thread Tools menu. |
hey
catkin can you tell me how to read sms from gnokii i tried gnokii --getsms ME 1 end but its not working ... |
I've never tried getting SMSes from a phone. Have you tried to do anything else and did it work? What are the symptoms of "not working"? It helps if you can copy-paste the exact command and the output.
|
All times are GMT -5. The time now is 03:48 AM. |