A wireless communication system comprising: an information processing apparatus; and a portable terminal, wherein the information processing apparatus includes a first wireless communication unit that is connected up to a network through an access point according to a predetermined connection condition to perform wireless communication, a generation unit that is configured to generate a two-dimensional code in which information on the connection condition is recorded, the connection condition including a setting necessary to have the information processing apparatus connect up to the network, and the setting including at least one of a wireless communication connection type, a security level, and a wireless LAN standard, and a presentation unit that is configured to present the generated two-dimensional code, wherein the portable terminal includes a second wireless communication unit that is connected up to the network to perform wireless communication, a code reading unit that is configured to read the two-dimensional code presented by the information processing apparatus, an acquisition unit that is configured to analyze the read two-dimensional code to acquire the information on the connection condition, and a communication control unit that is configured to build a function of the information processing apparatus being the access point based on the acquired information on the connection condition, and to control wireless communication between the second wireless communication unit and the information processing apparatus, and wherein the first wireless communication unit of the information processing apparatus is configured to connect up to the network using the portable terminal as the access point, and to perform wireless communication according to the connection condition wherein the first wireless communication unit of the information processing apparatus is configured to start, after the generation unit of the information processing apparatus generates the two-dimensional code, search for the access point, and establishes wireless communication with the portable terminal in which the function of the information processing apparatus being the access point is built, and wherein the first wireless communication unit of the information processing apparatus is configured to, in response to wireless communication with the portable terminal being disconnected, control the generation unit of the information processing apparatus to generate a new password to be used for encryption processing, to include a result in the information recorded in the two-dimensional code to generate a new two-dimensional code, to start search for the access point again, and to establish wireless communication with the portable terminal in which the function of the information processing apparatus being the access point is built. an information processing apparatus; and a portable terminal, wherein the information processing apparatus includes a first wireless communication unit that is connected up to a network through an access point according to a predetermined connection condition to perform wireless communication, a generation unit that is configured to generate a two-dimensional code in which information on the connection condition is recorded, the connection condition including a setting necessary to have the information processing apparatus connect up to the network, and the setting including at least one of a wireless communication connection type, a security level, and a wireless LAN standard, and a presentation unit that is configured to present the generated two-dimensional code, wherein the portable terminal includes a second wireless communication unit that is connected up to the network to perform wireless communication, a code reading unit that is configured to read the two-dimensional code presented by the information processing apparatus, an acquisition unit that is configured to analyze the read two-dimensional code to acquire the information on the connection condition, and a communication control unit that is configured to build a function of the information processing apparatus being the access point based on the acquired information on the connection condition, and to control wireless communication between the second wireless communication unit and the information processing apparatus, and wherein the first wireless communication unit of the information processing apparatus is configured to connect up to the network using the portable terminal as the access point, and to perform wireless communication according to the connection condition wherein the first wireless communication unit of the information processing apparatus is configured to start, after the generation unit of the information processing apparatus generates the two-dimensional code, search for the access point, and establishes wireless communication with the portable terminal in which the function of the information processing apparatus being the access point is built, and wherein the first wireless communication unit of the information processing apparatus is configured to, in response to wireless communication with the portable terminal being disconnected, control the generation unit of the information processing apparatus to generate a new password to be used for encryption processing, to include a result in the information recorded in the two-dimensional code to generate a new two-dimensional code, to start search for the access point again, and to establish wireless communication with the portable terminal in which the function of the information processing apparatus being the access point is built.