A wireless network access apparatus, wherein the apparatus comprises a receiving module, a control module, and a sending module, wherein: the receiving module is configured to receive, by using a first wireless network, access request information sent by a terminal, wherein the access request information is used to indicate that the terminal requests to access the first wireless network; the receiving module is further configured to receive, by using the first wireless network, request information that is of acquiring a service set identifier and an access password of a second wireless network and is sent by the terminal, wherein the request information of acquiring the service set identifier and the access password of the second wireless network is used to indicate that the terminal requests to acquire the service set identifier and the access password for accessing the second wireless network; and the receiving module is further configured to receive, by using the first wireless network, a service set identifier and an access password that are sent by the terminal; the control module is configured to allocate a first IP address to the terminal according to the access request information received by the receiving module; the control module is further configured to: when the terminal is determined as a target terminal according to the access request information received by the receiving module or the request information, received by the receiving module, of acquiring the service set identifier and the access password of the second wireless network, allocate, to the terminal, the service set identifier and the access password for accessing the second wireless network, 5, whereby the target terminal is the terminal that is the first one for accessing the first wireless network; the control module is further configured to: when it is determined that the service set identifier and the access password of the second wireless network match the received service set identifier and access password, allocate a second IP address to the terminal; the sending module is configured to send, to the terminal by using the first wireless network, the first IP address allocated by the control module, so that the terminal accesses the first wireless network according to the first IP address; the sending module is further configured to send, to the terminal by using the first wireless network, the service set identifier and the access password that are of the second wireless network and allocated by the control module; and the sending module is further configured to send, to the terminal by using the second wireless network, the second IP address allocated by the control module, so that the terminal accesses the second wireless network according to the second IP address. the receiving module is configured to receive, by using a first wireless network, access request information sent by a terminal, wherein the access request information is used to indicate that the terminal requests to access the first wireless network; the receiving module is further configured to receive, by using the first wireless network, request information that is of acquiring a service set identifier and an access password of a second wireless network and is sent by the terminal, wherein the request information of acquiring the service set identifier and the access password of the second wireless network is used to indicate that the terminal requests to acquire the service set identifier and the access password for accessing the second wireless network; and the receiving module is further configured to receive, by using the first wireless network, a service set identifier and an access password that are sent by the terminal; the control module is configured to allocate a first IP address to the terminal according to the access request information received by the receiving module; the control module is further configured to: when the terminal is determined as a target terminal according to the access request information received by the receiving module or the request information, received by the receiving module, of acquiring the service set identifier and the access password of the second wireless network, allocate, to the terminal, the service set identifier and the access password for accessing the second wireless network, 5, whereby the target terminal is the terminal that is the first one for accessing the first wireless network; the control module is further configured to: when it is determined that the service set identifier and the access password of the second wireless network match the received service set identifier and access password, allocate a second IP address to the terminal; the sending module is configured to send, to the terminal by using the first wireless network, the first IP address allocated by the control module, so that the terminal accesses the first wireless network according to the first IP address; the sending module is further configured to send, to the terminal by using the first wireless network, the service set identifier and the access password that are of the second wireless network and allocated by the control module; and the sending module is further configured to send, to the terminal by using the second wireless network, the second IP address allocated by the control module, so that the terminal accesses the second wireless network according to the second IP address.