Patent ID: 9615400
Date: 2017-04-04
CPC Classifications: H04W

Claim:
1. A network apparatus, adapted to connect to a router, comprising: a network port; a connecting port for receiving a power, and automatically capturing and storing wireless network connection information that is stored in a computer; a storage unit; a wireless communication unit providing a wireless communication function; and a control unit coupled to the storage unit and the wireless communication unit, and determining whether the network apparatus is connected to the computer when the network apparatus receives the power, the control unit searching information of a surrounding router, determining whether the wireless network connection information is consistent with the information of the surrounding router and connecting to the network via the router corresponding to the wireless network connection information if the wireless network connection information is consistent with the information of the surrounding router, the control unit determining whether the network apparatus is connected to the network via a network port, setting up a wireless network environment and sharing the network if the network apparatus is connected to the network via the network port, wherein the network port is an Ethernet port, the control unit determining whether the network apparatus is connected to a router when the network apparatus is disconnected to the computer, connecting to the network and sharing the network according to the stored wireless network connection information if the network apparatus is not connected to the router and is not connected to the network via a network port, wherein if the network apparatus is connected to the computer, the wireless network connection information of the computer is captured by the network apparatus via the connecting port, and the wireless network connection information is stored in the storage unit, and a wireless network environment is set up for network sharing, wherein when the control unit receives a network connecting request, a network permission setting interface is showed on the computer which includes user permissions, router information, a SSID, a password corresponding to the SSID, an encryption protocol with a wireless networking protected access (WPA), a temporal key integrity protocol (TKIP), or an advanced encryption standard (AES).