Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-19-2003, 05:10 AM
|
#1
|
|
LQ Newbie
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14
Rep:
|
connecting
Hai ,
I have problem with conecting windows & linux ,but i can
ping the machines through the ip number correctly.
Pls help me
|
|
|
|
07-19-2003, 05:19 AM
|
#2
|
|
Moderator
Registered: Aug 2002
Posts: 10,697
|
Additional information required...
What linux are you using? Which version of windows?
Did you install samba and is it running?
Documentation for samba can be found at www.samba.org and howtos.
|
|
|
|
07-19-2003, 06:27 AM
|
#3
|
|
LQ Newbie
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14
Original Poster
Rep:
|
Hai Michalek,
Thanks for the reply, i am using Mandrake 9.0 linux
& Win XP , i can ping windows machine in linux by host name,
i cannt see the machines in the samba mount points
pls help me
|
|
|
|
07-19-2003, 06:33 AM
|
#4
|
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
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.
|
|
|
|
07-19-2003, 02:48 PM
|
#5
|
|
Moderator
Registered: Aug 2002
Posts: 10,697
|
So did you select samba packages when you installed MDK?
Did you select samba to start at boot?
Either the command
top
or
ps ax
will show if smbd and nmbd is running.
Then try
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:
net view
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>
|
|
|
|
07-20-2003, 01:21 AM
|
#6
|
|
LQ Newbie
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14
Original Poster
Rep:
|
Hai,
I try it both service is running properly,changed the workgroup name also, i am not able to connect
pls help me.
|
|
|
|
07-20-2003, 07:46 PM
|
#7
|
|
Moderator
Registered: Aug 2002
Posts: 10,697
|
Explain what is happening.
How are you trying to connect and what are the errors.
|
|
|
|
07-21-2003, 12:36 AM
|
#8
|
|
LQ Newbie
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14
Original Poster
Rep:
|
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.
|
|
|
|
07-21-2003, 01:16 AM
|
#9
|
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
Quote:
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"?
Last edited by Thetargos; 07-21-2003 at 01:19 AM.
|
|
|
|
07-21-2003, 01:39 AM
|
#10
|
|
LQ Newbie
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14
Original Poster
Rep:
|
I want to browse my Windows shares from the Linux box, but also browse your Linux shares (if any) in your my boxes.
|
|
|
|
07-21-2003, 12:45 PM
|
#11
|
|
Senior Member
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679
Rep:
|
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.
Good luck!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:05 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|