Accessing the microSD Slot

The SNAPconnect E20 includes a microSD slot for reflashing your device to its factory state. You can also use a card in this slot as additional flash storage on your gateway if you need it. The following instructions will work for ext4-, FAT32-, or exFAT-formatted cards. Ubuntu does not support exFAT by default. You will need to run the following command for exFAT support:

sudo apt-get install exfat-fuse exfat-utils

To access a card in the microSD slot:

  1. Insert the microSD card into the microSD card slot under the access cover on the rear of the E20:
    • Slide the microSD card carrier toward the bottom of the unit (away from the antenna end) about a sixteenth of an inch (1.5 mm).

    • Open the card carrier frame. It is hinged at the top (antenna end) edge.

    • Insert your microSD card, contacts first, with the contacts exposed.

    • Close the card carrier frame, and slide it toward the top of the unit to lock the card in place.

  2. Create a mount point for the card. In this example, the directory will be named sdcard, and it will be in the /mnt directory. (If you have previously done this, you do not need to repeat it.)

    sudo mkdir /mnt/sdcard
    
  3. Mount the card. (For these commands, replace p1 with the partition number you want to mount.)
    • For cards formatted with the ext4 file system:

      sudo mount –t ext4 /dev/mmcblk0p1 /mnt/sdcard
      
    • For cards formatted with the FAT32 file system:

      sudo mount –t vfat /dev/mmcblk0p1 /mnt/sdcard
      
    • For cards formatted with the exFAT file system:

      sudo mount –t exfat /dev/mmcblk0p1 /mnt/sdcard
      

You can confirm it is mounted by using the mount command and looking for an entry like the following (with the appropriate file system format):

/dev/mmcblk0 on /mnt/sdcard type ext4 (rw)

You can use the ls command to list the available partitions:

ls /dev/mmcblk0p*