Problem: There are two wireless laptops with only one network cable. You need to be able to access the Internet.
Method:
1. One of the two laptops is used as the server to configure the IP address of the wireless network adapter as 192.168.0.1, And the subnet mask is 255.255.255.0,
No gateway or DNS. A wired network card can automatically obtain the IP address.
2. Create a new wireless network in this notebook as a server. Methods of creation are available on the Internet. The password is generally set to 5 characters long.
3. Set the IP address to 192.168.0.2, subnet mask: 255.255.255.0, Gateway: 192.168.0.1, DNS: 192.168.0.1.
When configuring and debugging, the server and client must disable the firewall.
4. The above settings should allow you to ping each other's IP addresses.
5. In order to be able to access the Internet, the server's machine must share the local connection (the connection with the plug-in network). In the properties of the local connection-> advanced
There is a button in front of two sub-options in intenet sharing. (If you do not have this part, you need to click the Network Installation Wizard to set it.
Until the preceding options are displayed)
6. Enable the firewall after the Internet access. The server must disable the firewall (or the firewall on the wireless network card side ).
Reminder: You can use a computer as a server to access the Internet. That is to say, all incoming and outgoing data on the client is sent to the server, so security is not guaranteed. However, in the absence of a route, the problem can be solved.
Address: http://www.javaeye.com/topic/269699
I added it to my favorites and thought it was just this article.ArticleThe statement is the most concise and can be used or not. It has not been verified. Let's try it.