Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2522  / 1 Year ago, thu, march 23, 2023, 3:16:25

I have set up Samba on Ubuntu Server. Everything works fine, but I can access the dir only by providing ip address: smb://192.168.1.2/public but not the host name smb://myhost/public.



user@host$: cat /etc/hostname
myhost.org


What do I need to set up to see this from other machines without providing IP?


More From » networking

 Answers
0

If you're using static IP in your LAN, you can add the following to your /etc/hosts file



192.168.1.2    myhost.org

[#39279] Saturday, March 25, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rontablis

Total Points: 293
Total Questions: 123
Total Answers: 104

Location: Austria
Member since Mon, Mar 1, 2021
3 Years ago
;