LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-19-2003, 05:10 AM   #1
SSENT12
LQ Newbie
 
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14

Rep: Reputation: 0
connecting


Hai ,

I have problem with conecting windows & linux ,but i can

ping the machines through the ip number correctly.


Pls help me
 
Old 07-19-2003, 05:19 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,753

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
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.
 
Old 07-19-2003, 06:27 AM   #3
SSENT12
LQ Newbie
 
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 07-19-2003, 06:33 AM   #4
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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.
 
Old 07-19-2003, 02:48 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,753

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
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>
 
Old 07-20-2003, 01:21 AM   #6
SSENT12
LQ Newbie
 
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14

Original Poster
Rep: Reputation: 0
Hai,
I try it both service is running properly,changed the workgroup name also, i am not able to connect


pls help me.
 
Old 07-20-2003, 07:46 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,753

Rep: Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719Reputation: 719
Explain what is happening.

How are you trying to connect and what are the errors.
 
Old 07-21-2003, 12:36 AM   #8
SSENT12
LQ Newbie
 
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 07-21-2003, 01:16 AM   #9
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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.
 
Old 07-21-2003, 01:39 AM   #10
SSENT12
LQ Newbie
 
Registered: Jul 2003
Location: INDIA(CHENNAI)
Posts: 14

Original Poster
Rep: Reputation: 0
I want to browse my Windows shares from the Linux box, but also browse your Linux shares (if any) in your my boxes.
 
Old 07-21-2003, 12:45 PM   #11
Thetargos
Senior Member
 
Registered: Mar 2003
Location: Mexico City
Distribution: Fedora, Ubuntu & Mint
Posts: 1,679

Rep: Reputation: 45
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Digikam connecting as root/not connecting as regular user jayhel Slackware 5 09-29-2005 05:57 PM
Help with connecting to AP farmerjoe Linux - Wireless Networking 10 01-24-2005 12:34 PM
Mysql is not connecting from servlet.But connecting from java, help pls Harish_f Linux - General 0 05-08-2002 03:21 AM
connecting chens_83 Linux - Newbie 1 12-29-2001 12:34 PM
connecting two pcs vicente General 8 09-30-2001 05:34 PM


All times are GMT -5. The time now is 04:34 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration