# Download and install rtl-sdr package

sudo apt update

sudo apt install rtl-sdr


# Make sure you stop any decoders accessing the dongles.

sudo systemctl stop fr24feed

sudo systemctl stop fr24uat-feed


# Check the serial number of your attached dongle(s)

rtl-eeprom

Found 1 device(s):

  0:  Generic RTL2832U OEM


Using device 0: Generic RTL2832U OEM

Detached kernel driver

Found Rafael Micro R820T tuner


Current configuration:

__________________________________________

Vendor ID:        0x0bda

Product ID:        0x2838

Manufacturer:        Realtek

Product:        RTL2838UHIDIR

Serial number:        00000001

Serial number enabled:    yes

IR endpoint enabled:    yes

Remote wakeup enabled:    no

__________________________________________

Reattached kernel driver


Suppose we want to change the serial number of the above to 00000978. This is the command we will run. It will change the serial number as well as rename the dongle to UAT.


rtl_eeprom -s 00000978 -p UAT


Found 1 device(s):

  0:  Generic RTL2832U OEM


Using device 0: Generic RTL2832U OEM

Detached kernel driver

Found Rafael Micro R820T tuner


Current configuration:

__________________________________________

Vendor ID:        0x0bda

Product ID:        0x2838

Manufacturer:        Realtek

Product:        RTL2838UHIDIR

Serial number:        00000001

Serial number enabled:    yes

IR endpoint enabled:    yes

Remote wakeup enabled:    no

__________________________________________


New configuration:

__________________________________________

Vendor ID:        0x0bda

Product ID:        0x2838

Manufacturer:        Realtek

Product:                 UAT

Serial number:        00000978

Serial number enabled:    yes

IR endpoint enabled:    yes

Remote wakeup enabled:    no

__________________________________________

Write new configuration to device [y/n]?


Enter y here and it will rename your dongle. Once complete, unplug the dongle and then plug it back in. Now its serial number is 00000978.