Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Latest commit

 

History

History
 
 

udev

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

udev rules for creating IMEI- and IMSI-based symlinks of serial devices

This is an example of udev rules creating IMEI- and IMSI-based symlinks of serial devices. Symlinks are created in /dev/modem/by-imei and /dev/modem/by-imsi directories.

  • IMEI - International Mobile Equipment Identity.
  • IMSI - International Mobile Subscriber Identity.

Requirements

  1. socat.

Installation

  1. Copy 65-modem.rules file to /etc/udev/rules.d directory.

  2. Copy read-modem-properties.sh file to /usr/lib/udev directory.

  3. Reload udev rules:

    sudo udevadm control --reload
    sudo udevadm trigger

AT Commands

  1. AT+CGSN - Request product serial number identification.
  2. AT+CIMI - Request international mobile subscriber identity.

Links