LinuxQuestions.org
Visit Jeremy's Blog.
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 04-27-2005, 04:07 AM   #1
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Rep: Reputation: 15
Windows Can't See Linux Machine After Configuring Samba!


finally my eth0 is working :-)...but problem still keep in coming..
i run the samba server in my RH9 and configure all the necessary things..the problem is, my linux machine can see all the connecting PC (linux and windows machine) in my LAN and their share (using nautilus)juz like network neighbourhood..but,in my XP PRO SP2 machine, i juz can see the workgroup define in the samba server but i cant enter and browse the linux machine ..so,anyone hv any idea bout it?

Last edited by movanns; 04-27-2005 at 04:08 AM.
 
Old 04-27-2005, 05:08 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Note: in general you do not want just any computer on your network freely browsing your server! This is why you set up network shares. But first - some questions:

By "configure all the nessisary things" what do you mean, and how do you know you did?

(Basically, you probably did not configer all the nessisary things because your windows box on the network cannot brows the linux box and you want it to...)

Chances are that you just forgot to give the win box access to your lin box. But without details, nobody can tell for sure. Tell us about the network - will any user on the linux machine access the win box? Are the users of the winbox known to SAMBA? Did you create the shares for them etc?

Anyway - while you're thinking about this and how unhelpful I'm being... have a look at this:

Have you tried the following excersize -

1. add a user (you say) to the smbpassword file
Code:
smbpasswd -a you
(you'll be prompted for a password twice)

2. test this is really there...
Code:
smbclient //hostname/you -U you
(You should get a load of stuff about your home directory in the terminal - this test can be used on any of the shares you have set up.) Enter "help" at the smb prompt and you can see the commands available.

3. mount a samba file system normally (sort of)
Code:
mount -t smbfs -o username=you //hostname/you /mnt
(your home directory is now mounted at /mnt and should be available to all computers on your network - in general you'll do this for a dropbox directory rather than share your entire personal stuff! Also in general, you do not want other computers being able to freely brows just anywhere on the linux box!)

Last edited by Simon Bridge; 04-28-2005 at 07:38 PM.
 
Old 04-27-2005, 01:22 PM   #3
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33

Original Poster
Rep: Reputation: 15
ok simon..i shouldn't say that i've complete all the things..i'm wrong here and i'm really new to this.what i said is,i've follow all the configuration stated in the RH9 configuration book..

jump to the problem, i test my LAN using 3 PC. 2 linux box and 1 windows.one of my linux box became the samba server.when i connect all together using a switch, both my linux box can view and browse each other shares file and view the windows box. but, the windows box can't do the same.in the network neighbourhood, i can see the workgroup that i've setted up in the samba server.but, i cant entered to browse for the linux box.

my question is, where i did wrong? is it bcoz of the firewall in the linux box or bcoz of the configuration in /etc/hosts.allow and /etc/hosts.deny?

Last edited by movanns; 04-27-2005 at 01:28 PM.
 
Old 04-28-2005, 07:37 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Interesting suggestions - 1st. test the firewall issue by switching the firewall off and trying again. (Another thought: try making a share on the linux box using a vfat partition... it shouldn't matter but just in case.)

2nd. In the event that the firewall is not to blame ... post your hosts.allow and hosts.deny here and we'll see. Without knowing what they are I cannot tell.
 
Old 02-12-2014, 10:49 AM   #5
jamied_uk
LQ Newbie
 
Registered: Feb 2014
Posts: 7

Rep: Reputation: Disabled
How to solve this issue!

use this line in your CLI

grep -i NETBIOS /etc/services


and you should get an output simular to this one:
netbios-ns 137/tcp # NETBIOS Name Service
netbios-ns 137/udp
netbios-dgm 138/tcp # NETBIOS Datagram Service
netbios-dgm 138/udp
netbios-ssn 139/tcp # NETBIOS session service
netbios-ssn 139/udp


now go into your firewall and allow all 3 ports for TCP & UDP


now try from your other system to see if problem is resolved, in my case it was and was a 5 minit fix time!
 
Old 02-12-2014, 09:33 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
You may need to install netbeui on the XP machine. Back when I had an XP machine, that did the trick for me.

http://support.microsoft.com/kb/301041
 
Old 02-13-2014, 01:52 AM   #7
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Can you confirm your distro version.
Why are you running redhat 9?

Samba with that would probably also be an ancient version.
 
  


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 on fedora connects to linux machine but unseen on windows machines vyom Linux - Networking 5 07-04-2006 02:25 AM
Joining Samba 3.0 Linux machine to a Windows AD Domain markham82 Linux - Networking 1 10-08-2004 03:21 AM
Configuring Samba (Linux directory available on Windows XP) johnp Linux - Networking 2 05-16-2004 01:47 PM
Trying to run samba from linux to windows xp machine... jmax24 Linux - Networking 2 04-20-2004 03:43 AM
Can't see linux box running Samba from Windows machine RBLynch Linux - Newbie 2 03-21-2002 07:59 PM

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

All times are GMT -5. The time now is 01:53 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