Logo
  • Home
  • About
  • Services
  • Blogs
  • Career
  • Contact
Logo

The UK's #1 Software Development Company. PodTech IO builds custom software solutions for businesses. Call today for a free consultation

  • Address

    4th Floor, 4 Tabernacle Street London EC2A 4LU
  • Email

    info@podtech.com
  • Contact

    +44 (0) 20 8720 6583

Linux Hostname via Windows with a local VM

  • Home
  • Linux Hostname via Windows with a local VM
  • By podtech
  • In UNIX

Linux Hostname via Windows with a local VM

I’d much rather just reference the Linux machine using its hostname. This does not work initially, since Windows uses NetBIOS for its name service rather than TCP/IP host names. An easy way to get in on the NetBIOS action is to install Samba. While that may be overkill as a solution to this problem, it is helpful to have running when working with Linux machines in a Windows environment.

sudo apt-get install samba

And you’re done! Assuming the install finished successfully, the Samba services were started automatically. And, of course, assuming your Windows workgroup uses the default name WORKGROUP. If that’s true, Samba will use your machine’s host name as its NetBIOS name, and you should be able to ping the Linux machine now.

If you need configure the name of your workgroup or want to use a different NetBIOS name, edit the file /etc/samba/smb.conf and make sure this information is present:

workgroup = {WORKGROUP_NAME}
netbios name = {NAME_YOU_WANT}

linuxLinux HostnameLinux Hostname via Windowslinux machinelinux machineslocal VMNetBIOS nameVMWindowsWindows workgroup
can I make ubuntu copy to the clipboard selected text and paste on right click?
Debugging PHP – Parse error: syntax error, unexpected $end

Recent Posts

  • What is Software Piracy?
  • Microsoft and SITA Launch New Innovation Center in South Africa
  • Ericsson, Qualcomm and Thales to Launch 5G into Space
  • Schneider Electric Launches Free Data Center Professional Education Platform
  • UK and South Korea Reach Data Sharing Agreement

PodTech IO

The UK's #1 Software Development Company. PodTech IO builds custom software solutions for businesses. Call today for a free consultation

Company

  • About
  • Services
  • Contact
  • Blogs
  • Career

Terms

  • Terms & Conditions
  • Privacy Policy

Contact Us

  • ADDRESS

    Headquarter: Tabernacle Street London India: Vi john Tower, Gurgaon, Haryana
  • EMAIL

    info@podtech.com
  • CONTACT

    +44 (0) 20 8720 6583

Copyright ©2022 PodTech IO. All Rights Reserved

Logo