Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
I am using vectorlinux (slackware 9.1 distro) on a pII350
This computer is the gateway for about 5 Winxp clients.
The Win xp computers can ping each other & surf the net thru the Linux computer.
They cannot ping the linux computer by name only by ip address.
The linux comp can also surf the web using mozilla, and at the command line it can ping specific ip addresses, but it can't resolve names on the internet or on the LAN.
If I run findsmb it finds the computers in the workgroup by name and shows the ip address, but if I try to ping the computers by name it says "ping: unknown host office"
If I ping using ip address it works.
LinNetwork does not show Linux as one of the smb computers. Depending which computers are plugged in different computers are shown as the LMB.
All computers are set to the same workgroup name.
My smb config file is shown below.
All the Win XP computers have fixed IP addresses.
I am using the basic firewall script described in HOWTO IPMASQUERADE
I can supply further information if requested.
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2003/12/17 12:08:59
# Global parameters
[global]
workgroup = HKSCHOOL
netbios name = LINUX
server string = Samba Server
encrypt passwords = Yes
ssl CA certDir = /etc/ssl/certs
log file = /var/log/samba.%m
max log size = 50
os level = 99
preferred master = Yes
domain master = Yes
wins support = Yes
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
What are the contents of /etc/resolv.conf ? It sounds like you're not pointing at a valid DNS server (that's the problem with no Internet name resolution). As for the problem of internal name resolution, I'm not aware of Linux being able to use WINS for name resolution on protocols other than SMB, but perhaps it's possible. Another solution would be to put all the proper IPs and hostnames in /etc/hosts. The last solution would be to setup named (BIND) and configure it to only listen on your internal interface. Use that to configure a local DNS zone to resolve the names internally (you would have to populate the zone file by hand to get started).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.