Ubuntu client uses NetBIOS name through WINS

Source: Internet
Author: User
Environment: ubuntuyuntop9.10 problem: we have a WINS server on the LAN, Windows clients can access the server through a brief Host Name (NetBIOS name), but my Ubuntu client is not, very depressed. Solution: 1. Tell the Ubuntu client to modify the WINS server address/etc/samba/smb. conf and add the following content to its [global]: winsserver = 10.35.0.10.

Environment: Ubuntu Desktop 9.10

Problem:
We have a WINS server on the LAN, and Windows clients can access the server through a brief Host Name (NetBIOS name), but my Ubuntu client is not, very depressed.

Solution:
1. Tell the WINS server address of the Ubuntu Client
Modify/etc/samba/smb. conf
Add the following content to its [global ]:
Wins server = 10.35.0.10
This tells the Ubuntu client that the IP address of the WINS server is 10.35.0.10.

2. Use WINS

Modify/etc/nsswitch. conf
Put
Hosts: files mdns4_minimal [NOTFOUND = return] dns mdns4
Change
Hosts: files wins mdns4_minimal [NOTFOUND = return] dns mdns4

Restart the winbind server.
Sudo service winbind restart

We can also use a brief host name.
Ping ns1802
The system will say: ping: unknown host ns1802
Now, it's okay.

Related Article

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.