A mobile terminal comprising: a touchscreen; a memory configured to store access point, AP, information; a wireless LAN, WLAN, communication unit; an infrared communication, IrDa, unit; and a controller configured to: communicate with the access point, AP, via the WLAN communication unit, display on the touch screen a setting screen listing a plurality of external devices remotely controllable via the mobile terminal, select at least one of the plurality of external devices in response to an input applied via the setting screen listing the plurality of external devices, the selected at least one external devices being IrDA-controllable, display on the touch screen a setting screen listing a plurality of APs, select one of the plurality of APs in response to an input applied via the setting screen listing the plurality of APs, store in the memory information related to the selected one of the plurality of APs, display on the touch screen a user interface for remotely controlling the selected at least one external devices in response to wireless connection between the WLAN communication unit and the selected one of the plurality APs that is established based on the stored information, and control the selected at least one of the plurality external devices by transmitting a signal by use of the IrDA unit to the selected at least one of the plurality external devices in response to an input received via the user interface. a touchscreen; a memory configured to store access point, AP, information; a wireless LAN, WLAN, communication unit; an infrared communication, IrDa, unit; and a controller configured to: communicate with the access point, AP, via the WLAN communication unit, display on the touch screen a setting screen listing a plurality of external devices remotely controllable via the mobile terminal, select at least one of the plurality of external devices in response to an input applied via the setting screen listing the plurality of external devices, the selected at least one external devices being IrDA-controllable, display on the touch screen a setting screen listing a plurality of APs, select one of the plurality of APs in response to an input applied via the setting screen listing the plurality of APs, store in the memory information related to the selected one of the plurality of APs, display on the touch screen a user interface for remotely controlling the selected at least one external devices in response to wireless connection between the WLAN communication unit and the selected one of the plurality APs that is established based on the stored information, and control the selected at least one of the plurality external devices by transmitting a signal by use of the IrDA unit to the selected at least one of the plurality external devices in response to an input received via the user interface. communicate with the access point, AP, via the WLAN communication unit, display on the touch screen a setting screen listing a plurality of external devices remotely controllable via the mobile terminal, select at least one of the plurality of external devices in response to an input applied via the setting screen listing the plurality of external devices, the selected at least one external devices being IrDA-controllable, display on the touch screen a setting screen listing a plurality of APs, select one of the plurality of APs in response to an input applied via the setting screen listing the plurality of APs, store in the memory information related to the selected one of the plurality of APs, display on the touch screen a user interface for remotely controlling the selected at least one external devices in response to wireless connection between the WLAN communication unit and the selected one of the plurality APs that is established based on the stored information, and control the selected at least one of the plurality external devices by transmitting a signal by use of the IrDA unit to the selected at least one of the plurality external devices in response to an input received via the user interface.