Configure SMS cat under Linux system

Source: Internet
Author: User

 Our installation system: Redhat Linux as 4 2.6.9 Function: Use Gnokii to send SMS via external modem on the server.
Installed software: gnokii
Hardware: GPRS modem equipment One, phone card one
Before I install Gnokii, I must install the gettext-devel-0.14.1-13.i386.rpm
Gnokii sends SMS via SIM card, which is a software that is used to manage the Nokia phone under Linux, of course, all of which support at commands are available.
  
After installing Gnokii on Linux,/etc/gnokiirc is his profile, mainly modifying two places:
Port =/dev/ttys0 Cat is connected to the COM1 port of the PC
Model = at non-Nokia phones with this parameter
Serial_baudrate = 115200 The bit rate of the link modem. If this selection is wrong. You can't link a cat. If the bit rate cannot be determined. You can use Windows Endpoint testing.
My SMS cat is connected to the computer through the serial port, if you are USB or other types of way, such as Bluetooth infrared, need to load specific modules, specific methods refer to Gnokii's website. After connecting the SMS cat, you can use minicom to test if the connection is correct,
I tested it as root user. So the configuration files are in/etc/gnokiirc and/ROOT/.GNOKIIRC
After entering minicom in Linux, the first time should be prompt no configuration file, input Ctrl + A and then enter O, configure serial port Setup, enter a, configure S0, enter E, configure the baud rate, and then save the files in DLT, exit, restart Minicom, When you get inside, if you see
At s7=45 s0=0 L1 V1 X4 &c1 E1 Q0
Ok
Indicates success.
Description: minicom Command: Ctrl + A
O: Configuration file
X: Exit
  
H: Brush Screen
Many others look at the help documentation.
  
(He is a program similar to the Super terminal under win.) Be aware of the bit rate of the connection, if the device does not support it may not be effective. After Setup, enter an at to see if it returns OK, and if it returns, the connection is correct. )
Then you can try to execute gnokii–identify, and I'll output the following:
1. # gnokii--identify
2. Gnokii Version 0.6.5
3. imei:500182395xxxxxx
4. Manufacturer:wavecom MODEM
5. Model:multiband 900E 1800
6. REVISION:533B09GG.2C2 1742344 061002 11:23
or output:
Received Message Type 06
imei:500102115129970
Manufacturer:wavecom MODEM
Model:multiband 900E 1800
Product Name:multiband 900E 1800
REVISION:532A09GM.2C2 Dumpling 180
Serial device:closing Device
This means that my cat has been properly identified. If there is a problem, you can modify the Gnokiirc file, turn on debug mode, and see where the problem lies. Send a message to try:
1. #echo-E "ready to send Content" | Gnokii--sendsms Mobile phone number
2. Gnokii Version 0.6.5
3. Send succeeded!
You got a text message.

Configure SMS cat under Linux system

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.