Solution for LAN access failure

Source: Internet
Author: User
Solution for LAN access failure
Windows XP is installed on the LAN and cannot be accessed from Windows 98. Windows XP and Windows XP cannot communicate with each other. When the workstation accesses the server, the server name can be seen in the workstation's "Network Neighbor", but no shared content can be seen after clicking it, or the system prompts that no network path or access permission is found, summarized as follows:

When XP is used for the first time, you need to create a new network connection in the properties of the network neighbors for the Network Installation Wizard.
1. Check the physical connection between computers.
The NIC is the basic device for network connection. In the desktop computer, the indicator light behind each Nic should be on, which indicates that the connection is normal. If the link is not on, check that the hub or switch is on, and the indicator light for each client connection is on. This indicates that the link is normal. Next, check whether the crystal head of the network cable is in good contact.
2. Make sure that TCP/IP is installed on all computers and works properly.
TCP/IP is installed by default in Windows XP. However, if a network problem occurs, it is not easy to reinstall TCP/IP after uninstalling it: click the Internet Protocol (TCP/IP) item in the following project list on the "local connection" attribute. You will find that the unmount button is unavailable (disabled ).
This is because the Transport Control Protocol/Internet Protocol (TCP/IP) Stack is a core component of Microsoft XP/2003 and cannot be deleted. In this case, if you need to reinstall TCP/IP to restore the TCP/IP stack to its original state. You can use the netshell utility to reset the TCP/IP stack and restore it to the status when the operating system is installed for the first time. Run the following command at the command prompt and press Enter: netsh int IP reset C: \ logs log file and complete path. The result of running this command is the same as that of deleting and re-installing the TCP/IP protocol.

3. Run the ping command to test the connection between the two computers in the network:
Ping the IP addresses of other computers. In the command prompt, type Ping X. x. x. X (where X. x. x. X is the IP address of another computer), and then press Enter. You can see several replies from another computer, such:
Reply from x. x: bytes = 32 time <1 ms TTL = 128
If you do not see these answers or see "request timed out", the local computer may have a problem. If the ping command is successfully executed, you are sure that the computer can be correctly connected. You can skip the next step. If you do not see these answers or see "request timed out", the local computer may have a problem. Ping the local IP address. If "request timed out" is displayed, the local computer may be faulty.
4. Run the ping command to test whether the name resolution in the network is normal.
Ping computername, where computername is the name of the remote computer. Use the ping command to test the computer connection. To determine the computer name, enter systeminfo in the command prompt. Alternatively, right-click my computer-properties on the desktop and click the computer name tab. If you see a successful response to this command, you have a basic connection and name resolution between computers. Name resolution is closely related to NetBIOS. refer to the following steps.

5. Correctly install network components
First, right-click "Network Neighbor"-"properties" and select the NIC to be shared. Set the IP address to the same CIDR Block of the LAN. For example, 192.168.1.x. Check whether NetBIOS is enabled in the Advanced properties of TCP/IP.

In a network system built using winnt4.0, the unique identifier of each host is its NetBIOS name, the system uses WINS service, information broadcast mode, and lmhost file to resolve NetBIOS names to corresponding IP addresses for information communication.
In the internal network system (also known as the LAN), it is very convenient and fast to use NetBIOS name for information communication. However, the unique identifier of a host over the Internet is its FQDN-format domain name (163.com). On the internet, DNS standards are used to resolve a domain name to a corresponding IP address, win2k supports dynamic dns. machines running the Active Directory Service can dynamically update the DNS table.
The WINS service is no longer needed in the Win2k network, but Win2k still supports wins, which is due to backward compatibility. Currently, most networks are hybrid networks, including systems such as WIN98 and WINXP and Win2k. Therefore, NetBIOS must be bound to the TCP/IP protocol to resolve the computer name.
Check whether the "file and print service" component is selected. If it is deselected, "Browse service" is not bound to the NetBIOS interface. A Windows-based computer that becomes a backup browser and does not enable "file and print sharing" cannot share the browsing list with the client. Any computer that will be included in the browsing list must also enable "file and print sharing ".

6. Enable print and file sharing.
In the network neighbor and Local Connection Properties, You can see whether the printer and file sharing are installed. Verify: if you cannot see your machine in the network neighbor, it means you have not installed a printer to share files.
7. Start the "Computer Browser" Service
The Computer Browser Service maintains a computer update list on the network and provides this list to the computer designated as the browser. If the service is stopped, the list is neither updated nor maintained.
Win2k/XP: Make sure that the computer browsing service starts properly. Choose Computer Management> services and applications> services. In the right window, make sure that "Computer Browser" is not stopped or disabled.

8. Run the network ID wizard
Select "properties" for my computer, click the "computer name" tab, and click the "Network ID" button to start the "Network ID wizard": click "Next ", select "this machine is part of a commercial network and connect it to another computer that is working", click "Next", select "company uses a network without a domain", and click "Next, enter the Working Group Name of your LAN, click "Next", and then click "finish.
9. Install netbeui protocol in Win2k
In Win2k, The netbeui protocol is an efficient protocol used in the LAN. Therefore, you must install this Protocol:
Network neighbors-> properties-> Local Connection-> properties-> Installation ------> protocol -------> netbeui Protocol
10. Use the Guest account
Windows XP's guest account allows others to use your computer, but does not allow them to access specific files or install software. Guest accounts are used for all network access to Windows XP Professional computers on Windows XP Home Edition computers or working groups. Use Net user guest to ensure that a guest account is set for network access. If the account is active, a line similar to the following will appear in the Command output: account active yes; if the account is not active, use the following command to grant the Guest account network access: Net user guest/active: Yes
Choose Control Panel> User Account or choose management tools> Computer Management> local users and groups to open the Guest account.
11. Allow the guest (guest) account to access from the network.
Enter gpedit. MSC, pop up the Group Policy Manager, in 'computer configuration-Windows Settings-local policy-user rights assignment, the policy "Deny access to this computer from the network" prevents access to this computer from the network. If there is a guest account, the solution is to delete the Guest account in the denied access.
12. Firewall:
Make sure that the firewall that comes with WINXP is not enabled. Enable local connection properties-> advanced, and disable the Internet Connection Firewall. If a third-party firewall product is used, see its user manual to ensure that the firewall does not prohibit communications on the following ports: UDP-137, UDP-138, TCP-139, TCP-445 (Win2k and later operating systems only ).
The latest SP2 patch of Windows XP has greatly improved the ICF and has more powerful functions. The ICF has its own settings. After SP2 is installed, the ICF firewall is enabled by default, no external active connections are allowed. Even local applications need to make settings in the license list to access the network.
However, the firewall blocks normal network browsing service communication, and the result is that someone else cannot see your computer in the network neighbors. Is there any perfect way to allow browsing services while enabling the firewall.
If ICF is enabled, open the attribute. In the service column, select Add. The add service dialog box contains four edit boxes, at the top of which is the description service name, which is easy to remember, from top to bottom, the second is the IP address or name of the Application Service. enter 127.0.0.1 to indicate the local machine.
The following are internal and external port numbers. TCP/UDP next to them indicates whether the port is a UDP connection or a TCP connection.
Enter 3 services in the following table.
Name protocol port
NetBIOS Name Service UDP 137
NetBIOS datemediservice UDP 138
NetBIOS session service tcp 139
137/udp -- NetBIOS name server. The NetBIOS Name Server (NBNS) protocol is part of the NetBIOS (netbt) protocol family on TCP/IP, it provides the Host Name and Address ing method on the network accessed Based on NetBIOS name.
138/udp -- NetBIOS datagram. NetBIOS datagram is part of the NetBIOS (netbt) protocol family on TCP/IP. It is used for network login and browsing.
139/tcp -- NetBIOS session service. NetBIOS session service is part of the NetBIOS (netbt) protocol family on TCP/IP. It is used for Server Message Block (SMB), file sharing, and printing.
13. Check that the RPC, Plug and Play services have been started, check the permissions of the corresponding system folder, and re-register the following Dynamic Link Library:
Regsvr32 netshell. dll
Regsvr32 netmask X. dll
Regsvr32 netman. dll
14. Set the account and password
As the operating system of the WINNT kernel always tries to use the current local user name and password to access the remote computer first, which may cause access failure, add the user password here.
15. Access to "network computers" in multiple ways"
For example, to open a computer named "killer" on the network, its IP address is 192.168.1.8. If you do not know the IP address of another computer, you can use "Ping computer name" to obtain its IP address.
Use a computer name to access the services provided by NetBIOS. Click the Start Menu, click Run, enter \ killer in the address bar, and click OK ".
Access with an IP address, enter \ 192.168.1.8 in the address input column, and click OK ".
It takes time to update the computer list by searching for a computer. Searching for a computer can speed up updating the list. Right-click "search computer" in "Network Neighbor", enter the computer name, and click "Search now" to view the computer you want to access. Double-click the computer name on the right to open it.
Access by ing the drive, enter the DOS mode, enter "net view \ killer", and press enter to view the shared folders on the computer killer, such as D. Enter net use Z: \ killer \ D to map the folder D shared by the computer's IBM-ZB to H: disk and type "Z:" at the command prompt :". You will find that you have connected to the killer computer.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.