1.2.6. Testing Gnokii on Linux

Before you go deep into different features of Gnokii and XGnokii, it is a good idea to do some quick tests to confirm everything is working properly under Linux so far. Two Gnokii command options that are usually used for testing purposes are --identify and --monitor.

The --identify command option tells Gnokii to retrieve some basic information from the mobile phone. For example, the IMEI number (IMEI stands for International Mobile Equipment Identity. It is an ID assigned to all GSM and UMTS mobile phones), manufacturer, model number, product name, etc.


# gnokii --identify


The --monitor command option tells Gnokii to print out the status of the mobile phone, such as the current radio signal strength, battery charge level, number of used and free phonebook slots, etc. The --monitor command option takes one optional parameter. It can either be once, which tells Gnokii not to refresh the mobile phone status continuously:


# gnokii --monitor once


or an integer specifying the refresh interval in seconds. For example, the following command line tells Gnokii to print out the status of the mobile phone every 10 seconds under Linux:


# gnokii --monitor 10


If the parameter is not specified, the default refresh interval, 1 second, will be used.


1.2.6.1. Common Causes of Errors

If errors occur with either --identify or --monitor, you need to spend some time to find out what went wrong before going ahead. You may want to go back to previous sections of this article to check if you have missed something, read the documentation of Gnokii or discuss your problem in Gnokii's mailing list. Here are some common causes:


Previous Page Page 9 of 12 Next Page


Feedback Form (ExpandCollapse)

What do you think about this web page?






(Optional) Please provide us more details. For example, suppose you select option 2 above, can you tell us specifically what information is missing? You can also suggest anything that can help us improve this web page.

(Optional) Your name:

(Optional) Your email address:

Please enter again to confirm:

Due to the amount of messages we received, we may not be able to reply to all messages.

A button for going back to the top of this page