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.
If you have the samba-common package installed, you can simply do this in konkeror or Nautilus:
smb:/// <-- This should show you any neighboring Windows machines.
Now if you want the Windows machines to see yours, you'll need to configure samba, Mandrake has a very nice tool to do it, if you need further tweaking you may also try and download the webadmin utility SWAT. Follow the instructions at the samba's page.
So did you select samba packages when you installed MDK?
Did you select samba to start at boot?
Either the command
will show if smbd and nmbd is running.
smbclient -L <linux_hostname> (Replace with your real hostname)
It will show your samba shares.
The samba shares may or may not show up first thing in network neighborhood.
In a DOS prompt box on your XP you can use the net command to see all shares on your network:
You should edit the /etc/samba/smb.conf ( as root ) to change the workgroup to match your XP. Then restart samba:
service samba restart
Also add a samba user that matches a linux user
(as root )
smbpasswd -a <username>
Originally posted by SSENT12 Hai,
I have Linux Machine with 9.0 Mandrake,three WinXp
nodes, i want to connect the Machines in to the network ,but
i can ping the WinXp Machines in Linux Machine thru ip &machine
name its Pinging but Linux machine is pinging thru ip number
only not thru Machine name (it is not resolving the Machine name)
PLS HELP ME.
Do you have the hostname set? otherwise you may want to edit your network properties, via Mandrake Control Center or edit only the hosts file to add (to the existing 127.0.0.1 localhost line) the hostname you'd want your machine to have.
In the case you *DO* have the hostname set, the pinging through IP only is not relevant, since the computers are communicating after all. Now, you want:
a) Browse your Windows shares from the Linux box?
b) Browse your Windows shares from the Linux box, but also browse your Linux shares (if any) in your Windows boxes?
c) Not only browse the Windows/Linux shares but also be able to *write* to either of them?
Check and think through these three questions, as often by answring these, you'll have in mind what file sharing method is best for your network. Samba is *quite* flexible in the Linux end of things. May not be as smooth and easy to set up, but once it is done, you may do virtually *any* thing with it. So what would your objectives be for this "Network neighborhood"?
Ok. To browse your shares from Linux, all you need is Samba (as well as to set up the shares in your Linux box), and type smb:/// at the location bar in Nautilus or Konkeror. This will show you if there are any Windows computers on the network ordered by Workgroup (master smb name servers). You could also use smb://<servername> to display any accessible computer on the network.
To create your shares however, it's a little more difficult than that. Since you have to configure Samba so the program knows what are shares, and what restrictions apply to that specific share. There are a variety of programs to do so, but I find very useful two of them (also it would depend on your Linux distribution, some come with a variety of tools, among them one for configuring samba): GnoSamba (you can find a link to the RPM on Samba's page) and SWAT (the webadmin tool for it). Nevertheless, no matter what tool you use, you should always read the documentation. Will save you a lot of hassle and asking questions there have already been answered.