Difference between revisions of "PIN Check"

From IPLOG
Jump to: navigation, search
(Created page with "=== How to Enable/Disable PIN Check. === PIN configurations are included in the file '''smsd.conf'''. Edit the file by Vi, default text editor. {{NotePre |text=root@iplog:...")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 
=== How to Enable/Disable PIN Check. ===
 
=== How to Enable/Disable PIN Check. ===
 +
 +
This property is disabled from the default configuration.
  
 
PIN configurations are included in the file '''smsd.conf'''.
 
PIN configurations are included in the file '''smsd.conf'''.
  
  
Edit the file by Vi, default text editor.
+
Edit the file by the '''Vi''', default text editor.
  
 
{{NotePre
 
{{NotePre
Line 11: Line 14:
  
  
'''Enable PIN''' - delete charakter '''#''' before '''pin = 1111''' to enable PIN check.
+
'''Enable PIN''' - Delete the charakter '''#''' before '''pin = 1111''' to enable the PIN check.
  
'''Disable PIN''' - insert charakter '''#''' before '''pin = 1111''' to disable PIN check.  
+
'''Disable PIN''' - Insert the charakter '''#''' before '''pin = 1111''' to disable the PIN check.  
  
'''Change PIN''' - edit numbers behind charakter '''pin ='''.  
+
'''Change PIN''' - Edit numbers behind the charakter '''pin ='''.  
  
 
{{NotePre
 
{{NotePre
Line 36: Line 39:
 
}}
 
}}
  
 +
{{Tip|TipText= <br/>
 +
'''Text editing''' - Hit the '''i''' (insert mode).<br/>
 +
'''Save and Exit''' - Write the charakter ''':wq''' (write and quit). The cursor moves to bottom of screen whenever a colon (:) is typed. This type of command is completed by hitting the '''Enter''' key. }}
  
{{Tip|TipText= <br/>
+
It is strongly recommended to do a reboot.
'''Text editing''' - hit the '''i''' (insert mode).<br/>
+
{{NotePre
'''Save and Exit''' - write charakter ''':wq''' (write and quit). The cursor moves to bottom of screen whenever a colon (:) is typed. This type of command is completed by hitting the '''Enter''' key. }}
+
|text=root@buildroot:~# reboot
 +
}}

Latest revision as of 09:40, 14 June 2019

How to Enable/Disable PIN Check.

This property is disabled from the default configuration.

PIN configurations are included in the file smsd.conf.


Edit the file by the Vi, default text editor.

root@iplog:~# vi /etc/smsd.conf


Enable PIN - Delete the charakter # before pin = 1111 to enable the PIN check.

Disable PIN - Insert the charakter # before pin = 1111 to disable the PIN check.

Change PIN - Edit numbers behind the charakter pin =.

# Example smsd.conf. Read the manual for a description

devices = TELIT-UL865
logfile = /var/log/smsd.log
loglevel = 3

[TELIT-UL865]
device = /dev/ttyACM3
check_sim = yes
check_sim_retries = forever
# Some mobile operators (like Czech O2) during the logging to network several times reject the SIM.
# This causes an unexpected end of the daemon. This is why the network check is disabled.
check_network = no
incoming = yes
#pin = 1111

Tip:
Text editing - Hit the i (insert mode).
Save and Exit - Write the charakter :wq (write and quit). The cursor moves to bottom of screen whenever a colon (:) is typed. This type of command is completed by hitting the Enter key.


It is strongly recommended to do a reboot.

root@buildroot:~# reboot