A system comprising a multimedia device (100, 200) and a remote controller (110, 210, 510), the system comprising: the remote controller (110, 210, 510) comprising a radio frequency module and an infrared module; and the multimedia device (100, 200) comprising a memory, a network interface unit, an external interface unit, an user interface unit, a display and controller, wherein the memory stores at least one of OSD data and IR code values, characterized in that the controller is configured to: control the user interface unit to connect the multimedia device (100, 200) to the remote controller (110, 210, 510) via a RF communication, control the display to display first OSD based on the at least one of OSD data stored in the memory, wherein the first OSD identifies at least one of external electronic devices, control the user interface unit to receive a signal for selecting a specific external electronic device among the at least one external devices as a device to be controlled by using the remote controller (110, 210, 510), control the display to display second OSD based on the at least one of OSD data stored in the memory, wherein the second OSD identifies at least one function of the selected specific external electronic device, control the user interface unit to receive a signal for selecting a specific function among the at least one function of the selected specific external electronic device, by using the remote controller (110, 210 510, wherein after the specific function is selected, a specific IR code value corresponding to the selected function is transmitted from the remote controller (110, 210, 510) to the selected specific external electronic device via the IR module included in the remote controller (110, 210, 510), wherein the specific IR code value corresponding to the selected specific function is received by the remote controller from the multimedia device (100, 200) via the RF communication, and wherein the specific IR code value corresponding to the selected specific function is stored in the memory included in the multimedia device (100, 200). the remote controller (110, 210, 510) comprising a radio frequency module and an infrared module; and the multimedia device (100, 200) comprising a memory, a network interface unit, an external interface unit, an user interface unit, a display and controller, wherein the memory stores at least one of OSD data and IR code values, characterized in that the controller is configured to: control the user interface unit to connect the multimedia device (100, 200) to the remote controller (110, 210, 510) via a RF communication, control the display to display first OSD based on the at least one of OSD data stored in the memory, wherein the first OSD identifies at least one of external electronic devices, control the user interface unit to receive a signal for selecting a specific external electronic device among the at least one external devices as a device to be controlled by using the remote controller (110, 210, 510), control the display to display second OSD based on the at least one of OSD data stored in the memory, wherein the second OSD identifies at least one function of the selected specific external electronic device, control the user interface unit to receive a signal for selecting a specific function among the at least one function of the selected specific external electronic device, by using the remote controller (110, 210 510, wherein after the specific function is selected, a specific IR code value corresponding to the selected function is transmitted from the remote controller (110, 210, 510) to the selected specific external electronic device via the IR module included in the remote controller (110, 210, 510), wherein the specific IR code value corresponding to the selected specific function is received by the remote controller from the multimedia device (100, 200) via the RF communication, and wherein the specific IR code value corresponding to the selected specific function is stored in the memory included in the multimedia device (100, 200). control the user interface unit to connect the multimedia device (100, 200) to the remote controller (110, 210, 510) via a RF communication, control the display to display first OSD based on the at least one of OSD data stored in the memory, wherein the first OSD identifies at least one of external electronic devices, control the user interface unit to receive a signal for selecting a specific external electronic device among the at least one external devices as a device to be controlled by using the remote controller (110, 210, 510), control the display to display second OSD based on the at least one of OSD data stored in the memory, wherein the second OSD identifies at least one function of the selected specific external electronic device, control the user interface unit to receive a signal for selecting a specific function among the at least one function of the selected specific external electronic device, by using the remote controller (110, 210 510, wherein after the specific function is selected, a specific IR code value corresponding to the selected function is transmitted from the remote controller (110, 210, 510) to the selected specific external electronic device via the IR module included in the remote controller (110, 210, 510), wherein the specific IR code value corresponding to the selected specific function is received by the remote controller from the multimedia device (100, 200) via the RF communication, and wherein the specific IR code value corresponding to the selected specific function is stored in the memory included in the multimedia device (100, 200).