LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-15-2006, 03:14 AM   #1
Mikesoft
Member
 
Registered: Jun 2005
Location: England, Cheam
Distribution: Fedora Core 6
Posts: 96

Rep: Reputation: 15
Exclamation Problems with Sabma shares on linux


I have 7 computers on the network. My computer has a wireless card which connects the computer to the main router. A crossover cable from my computer is then connected to my linux machine (running Simply Mepis 3.4). I have set up Samba sharing on Mepis and my computer connected by the cross over cable can browse and edit the network files. However the other 5 computers on the network, which are connected wirelessly are unable to access the Linux machine Samba shares. All of the network has been set up properly since all the computers are able to share each others files. However just the linux machine cannot be seen.

How can I sort this problem out?

Mike
 
Old 10-15-2006, 06:33 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Can you ping the samba server from the machines that can not see the shares on samba?

Have you added users on the samba server for each user that wants to connect to samba?
 
Old 10-15-2006, 06:42 AM   #3
Mikesoft
Member
 
Registered: Jun 2005
Location: England, Cheam
Distribution: Fedora Core 6
Posts: 96

Original Poster
Rep: Reputation: 15
I can ping the server but the requests time out from the other computers.

No, I havnt added users to the samba server. What does that do?
 
Old 10-15-2006, 09:38 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
The other computers that 'time out', are these the ones that can not see the shares? If yes, you have a IP connectivity problem to fix first. You will not see any shares until you can ping the samba server form any machine you want to connect from. If you need some guidance, please tell me how you are assigning IP addresses, and your hardware configuration. From what you have said so far, I know you have a router, how is that configured? I suspect a large part of the problem is the fact you have attached the samba server to 'your machine wiht a direct cable' and not to the router. Your machine will have to route the packetts from other machines to the samba server. What are you running on 'your machine' for a system?


Adding a user to samba allows the user to log on and use the shares. Windoze networking is wide open and doesn't use hardly any security by default. Samba and the linux community is more secure. The default ( as far as I know ) is a user would have to have a user/password in order to connect to the share and use it. I know you can make it work without any user/password, but that is not recommended. The user/password is added with 'smbpasswd' command.

Lets fix the IP problem first, then we'll see what does and doesn't work.
 
Old 10-15-2006, 11:50 AM   #5
Mikesoft
Member
 
Registered: Jun 2005
Location: England, Cheam
Distribution: Fedora Core 6
Posts: 96

Original Poster
Rep: Reputation: 15
Yeah the machines which cant ping the server are the ones which cant see the shares.
At the moment all the IP address are assigned by DHCP. The samba server is connected through a cross over cable into the Windows Xp computer. The windows computer connected can browse the files etc, but all the other computers connected by wireless cannot. How can I get my computer to handle the packets sent to the samba server? I know how to make changes to the router but im not sure of its set up.

Thanks for the help, as you can tell im new to all of this!

Mike
 
Old 10-15-2006, 07:09 PM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Well, the easy thing to do would be connect the samba server to the router directly. Once that is done, you should be able to ping from any machine to any machine.

If you decide you don't want to do that, you will have to figure out how to get windbloze to forward the packets to the samba server. That would imply you need windbloze to route the packets. Linux could do it, because you can update the kernels routing table. I don't know how to do that in windoze, or if it can be done. Windoze can 'share' a connection to the internet. If the linux box can get to the internet now, then you have the shared connection working. Let us know which way you decide to go.
 
Old 10-16-2006, 01:22 AM   #7
Mikesoft
Member
 
Registered: Jun 2005
Location: England, Cheam
Distribution: Fedora Core 6
Posts: 96

Original Poster
Rep: Reputation: 15
Plugging to the router would be too tricky since that resides in my dads office.

I have already set up a shared internet connection and the Linux box is able to access the internet. Ill have a muck around with windows. I have already ajusted windows xp registery so that it acts as a router, ill investigate the problem further.

Thanks for your help!

Mike
 
  


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
Problems modifying Samba Shares from Linux twac Linux - Software 7 03-21-2006 01:50 PM
Mandrake 10, I am having problems with shares TechHawk Linux - Networking 0 07-08-2004 09:29 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM
Log files for sabma Bogdan Linux - General 2 03-11-2002 02:02 PM

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

All times are GMT -5. The time now is 03:33 PM.

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