LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-10-2005, 12:08 AM   #1
blackpearl_cyru
LQ Newbie
 
Registered: Jan 2005
Location: origin from Myanmar but Now in Indonesia..soon will be in Japan
Posts: 22

Rep: Reputation: 15
Angry Samba?


A guy from the Newbie thread told me to post it here my problem. so here I am.
At the moment...I have peer-to-peer connection within LAN. (No internet access yet!)

Somehow...I managed to run Samba. The problem is that I can see my brothers computer as "hermes" but I cannot get access to it...it says something abt opening with associate application. From his computer, he can get access to mine. but i cannot get access to his. He is using Window XP. Mine is Fedora V10.

Problem:

- I would like to know how to use Samba for file sharing with other OSs with Linux. eg: like in Window Platform there is network neighbourhood.

- Other OSs : 1. Window XP.
2. Window 2000 Server.
3. Fedora V10 (mine)

Please help me! I just started using it 3 days ago!!

Last edited by blackpearl_cyru; 01-10-2005 at 02:14 AM.
 
Old 01-10-2005, 03:07 AM   #2
jdblick
Member
 
Registered: Sep 2004
Distribution: SUSE 10.0 OSS
Posts: 261

Rep: Reputation: 30
Are firewalls involved?

Ports 137-139, 445, and 631 may need to be opened.
 
Old 01-10-2005, 03:13 AM   #3
blackpearl_cyru
LQ Newbie
 
Registered: Jan 2005
Location: origin from Myanmar but Now in Indonesia..soon will be in Japan
Posts: 22

Original Poster
Rep: Reputation: 15
There is no firewall. Do I need firewall?
 
Old 01-10-2005, 09:33 AM   #4
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
You don't need a firewall unless and until you are connected to the web.

Does your brother have any shared folders on his machine (he needs to right click on c:\ in Windows Explorer) and select Sharing - then de-select sharing - then OK - then he must repeat but select sharing and give it a name such as 'C: on hermes') otherwise you will never be able to see any files from Fedora.

Also it would help if your brother added a new user to his machine (using your Fedora Username i.e. what you log in as {no password is necessary as long as neither of you are connected to the internet).

Do you use fixed IP addresses for your machines? If so your brother needs to edit lmhosts and hosts (no extensions) found in c:\WINDOWS\System32\Drivers\etc (note that on a win2k box you might need to substitute WINNT for the WINDOWS in the aforementioned location). He would then add the dedicated IP address assigned for your box followed by at least one space and the 'host' name that you have given to your Fedora box (localhost - won't hack it!). Then you need to add a user to your Fedora box: 'brother's login username' and a password' - this will have the effect of creating a /home directory on your Fedora box, and you can, if you so wish, restrict him to only seeing and/or accessing files that you or he add to that directory.

HTH
 
Old 01-10-2005, 09:41 AM   #5
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Rep: Reputation: 30
I have a similar situation. There is a firewall, how do I go about opening those ports? Thanks in advance.
 
Old 01-10-2005, 09:56 AM   #6
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
dubya

A clue as to which firewall (software or hardware) you are using might help someone answer your question!
 
Old 01-10-2005, 10:16 AM   #7
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Rep: Reputation: 30
I didn't specify the software or hardware because I'm not sure what I am using. All I know is that I am using the firewall that came with Fedora Core 3 if that helps at all. Thanks.
 
Old 01-10-2005, 11:37 AM   #8
leightonbrown@e
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Fedora Core
Posts: 5

Rep: Reputation: 0
For samba you need to have ports 137, 138, 139, 445 open. For security, you don't want those ports open to the internet.
 
Old 01-10-2005, 12:07 PM   #9
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
dubya

I don't have a FC3 virtual machine built yet so a I cannot guess what firewall FC3 loads by default, however if you runs aux in a console you should see a process running that contains 'wall' or something similar to indicate what firewall is running. Are you running kde or gnome? If so perhaps I can tell you how to 'turn off' the 'service' i.e. you can try 'seeing' other machines with Samba before addressing the firewall blocking - if indeed that is your problem - and/or the opening of the specified ports.
 
Old 01-10-2005, 12:09 PM   #10
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Rep: Reputation: 30
I hate to sound really stupid, but how would I do that? Is it system-config-securitylevel? Then I list the ports separated by commas? Thanks.
 
Old 01-10-2005, 12:36 PM   #11
leightonbrown@e
LQ Newbie
 
Registered: Jan 2005
Location: Canada
Distribution: Fedora Core
Posts: 5

Rep: Reputation: 0
The firewall that comes with FC3 is iptables. Running system-config-firewall should enable you to configure it
 
Old 01-10-2005, 12:41 PM   #12
jdblick
Member
 
Registered: Sep 2004
Distribution: SUSE 10.0 OSS
Posts: 261

Rep: Reputation: 30
I would love to help you, but I only know how to do it in YaST on SuSE.
 
Old 01-10-2005, 05:25 PM   #13
dubya
Member
 
Registered: Mar 2004
Location: Kitchener, Ontario, Canada
Posts: 386

Rep: Reputation: 30
system-config-firewall does not exist on my computer. I do have system-config-securitylevel. When I try to open these ports, it tells me that the proper syntax is: 'portrotocol' for example '1234:udp'. I suppose all I need to know is what protocol samba is. Anyone help?
 
Old 01-10-2005, 08:40 PM   #14
jdblick
Member
 
Registered: Sep 2004
Distribution: SUSE 10.0 OSS
Posts: 261

Rep: Reputation: 30
tcp I am fairly sure. if not, try udp, and tell us which one it is for sure.

 
Old 01-12-2005, 11:32 PM   #15
blackpearl_cyru
LQ Newbie
 
Registered: Jan 2005
Location: origin from Myanmar but Now in Indonesia..soon will be in Japan
Posts: 22

Original Poster
Rep: Reputation: 15
Talking Finally

Yo...guys...Samba has finally worked on my pC..hell yeeeeah!! And I am happy abt it.
The problem was that I didn't put the correct DNS name!!

eg: in network - my hostname before was : stringless.net
now is : cyrus.stringless

and in hosts - I had to add the PC's IP that I want to share with and put the host which is mine! Oh...i had to deactivate first before doing all those and save and reactivate it.
after that I started samba. And ~tan dan~ finally it worked!

Last edited by blackpearl_cyru; 01-13-2005 at 02:09 AM.
 
  


Reply



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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration