Installation (wired connection) of a function expansion device in a
portable information terminal is detected. This detection causes a
connection authentication code to be generated. The generated connection
authentication code is stored in each of the portable information
terminal and the function expansion device via a wire circuit so as to be
used for authentication for wireless connection.