LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 04-27-2005, 05: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 05:08 AM.
 
Old 04-27-2005, 06:08 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196
Blog Entries: 4

Rep: Reputation: 190Reputation: 190
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 08:38 PM.
 
Old 04-27-2005, 02: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 02:28 PM.
 
Old 04-28-2005, 08:37 PM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196
Blog Entries: 4

Rep: Reputation: 190Reputation: 190
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.
 
  


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


All times are GMT -5. The time now is 05:46 PM.

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