Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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
comment = Home Directories
read only = No
browseable = No
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
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).