SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Samba it is running. So i'm really lost as to why i can't ping by name. If i ping my linux box from a windows machine, it works ok but not the other way. I haven't found what configuration it's missing that was not necessary in 14.1.
2) i have think of that, but then i would have to add a line every time my ip changes right??
Thanks.
I wonder if this is something with NetworkManager (or maybe the dhcp client you are using with NM), because on my resolv.conf (generated with dhcpcd), I only have my router listed as my nameserver (and then I have Google's DNS servers listed on my router in addition to whatever it gets from the ISP's DHCP server).
Code:
jbhansen@craven-moorhead:~$ cat /etc/resolv.con
# Generated by dhcpcd from eth0
# /etc/resolv.conf.head can replace this line
nameserver 10.0.0.1
# /etc/resolv.conf.tail can replace this line
What happens if you add your router's IP as an additional nameserver in your resolv.conf?
Code:
##Generated by NetworkManager
nameserver 192.168.1.1 #or whatever your router's IP is
nameserver 200.52.162.137
nameserver 200.52.160.200
nameserver 200.77.146.137
The OP wants local DNS within the LAN. Did you install winbind?
Windows netbios can resolve names to IP addresses because it broadcasts the information and each system stores the information in a cache. samba broadcasts the information for windows clients but can not automatically use it without winbind and changes to nsswitch.conf.
Do your windows computers have netbios over TCP enabled?
i have think of that, but then i would have to add a line every time my ip changes right??
Thanks.
Yes and no. It depends on the way in which your DHCP works (*).
Anyway, if this is so important for you, why aren't you using static IPs?
(*)
1) If you use DHCP client only, you may have the same IPs all the time (only router "makes decisions").
2) If you have DHCP daemon running, you may have different IPs (router+daemon "make decisions")
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.