The iphone is connected to the Internet through the wireless network card of the laptop, which is more practical. MARK
1. If you have a Wi-Fi wireless router, you can join the surrounding network through the router and then access the internet.
(1) connect to the wireless network:
Turn on settings and Wi-Fi, and the iphone will automatically search for nearby Wi-Fi networks. For shared wifi, it will be immediately displayed, as shown below this rtl8181-gw.
Click the name of the Wi-Fi network to try the connection.
If a password is set, a prompt is displayed, and the correct password is entered:
If the Wi-Fi network is set to hidden, click "other" and manually enter the network name (ssid ):
If the network requires a password, you also need to click security to select the encryption mode and enter the password.
After manually entering the network information, click join in the lower right corner.
Now the iphone will automatically connect to the Wi-Fi network. After the connection is successful, a check mark will be placed in front of the wireless network name to indicate the network currently connected.
(2) set the iphone address and proxy parameters:
If a dhcp server exists in the Wi-Fi network, the iphone automatically obtains an IP address and can access the Internet. If you do not have a dhcp server, can not be assigned to an IP address, or can be assigned to an IP address, but the automatically set gateway address is incorrect, you need to manually set the IP address and gateway address.
Click the> symbol on the right of the wireless connection name. On the settings page, select static ", in the following ip address, subnet mask, and router, enter the ip address, subnet mask, and gateway address of the iphone. If necessary, you may also need to enter the specified dns address.
If a proxy server is used to access the external network, you may need to set the proxy parameters here:
2. If you do not have a Wi-Fi wireless router, for example, if you use it at home, your computer accesses the Internet through adsl or dial-up, but you have a local or desktop with a Wi-Fi wireless network card, you can also enable the iphone to access the network through the Wi-Fi wireless network card of other computers, so that you no longer need to purchase a router.
(1) set the connection between the ip address and the local database:
First, enable the wireless network configuration on the pc, click "advanced" at the bottom, select "computer only to computer (specific)" in the advanced window, and click Close.
Click Add under the preferred network in "wireless network configuration" to open the Add wireless network window, network name (ssid) enter a memorable Network Name (mypcwifi is used as an example here). Select an encryption method (or not, but this may cause security risks)
Now, return to the Properties window of the wireless network connection and set parameters such as IP addresses for the wireless network adapter:
Set the parameters for the iphone. First, find the wireless network card on the pc on the iphone. Now we can see the ssid: mypcwifi:
Click on mypcwifi and you will be prompted to enter the password:
After entering the correct password, click "join" in the lower right corner. Now the iphone can establish a connection with the wireless network card of the pc:
However, at this time, the iphone cannot access each other with the pc, so as to set an IP address for the iphone. The address must be in the same subnet as the address of the wireless network card set above. The method for setting IP addresses is the same as that in (1). You only need to set the gateway address to the IP address of the wireless network card on the pc.
Now the connection between the pc and the iphone has been established. You can ping the IP address of the iphone at the command prompt on the pc to check whether the connection is normal.
The connection between the pc and the iphone has been established, and the following settings enable the iphone to access the internet through the internet connection on the pc.
(2) set the iphone to use the internet connection on the pc
Depending on the operating system used on the pc, there may be several configuration methods. For Windows 2003/, you only need to set route access (so that the pc is equivalent to a software router ). For windows xp/98, you must use the internet shared connection provided by the system.
Open the network connection that directly accesses the internet on the pc and open the Advanced page:
Select "allow other network users to connect through the internet connection of this computer", and then select "wireless network connection" in the home network connection ",
Click OK.
After the connection between the iphone and the pc is established, in addition to directly using internet connections for sharing, you can also establish a bridge connection between the internet connection and the wireless network connection, or install other agent software, the iphone can access the network through the internet connection on the pc.