LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have access to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

Are you new to LinuxQuestions.org? Visit the following links:
Site Howto | Site FAQ | Sitemap | Register Now

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Go Back   LinuxQuestions.org > Forums > Linux > 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.

Reply
 
Thread Tools
Old 04-27-2005, 04:07 AM   #1
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33
Windows Can't See Linux Machine After Configuring Samba!


[Log in to get rid of this advertisement]
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.
movanns is offline     Reply With Quote
Old 04-27-2005, 05:08 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Red Beach (NZ)
Distribution: Ubuntu 7.10
Posts: 6,972
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.
Simon Bridge is offline     Reply With Quote
Old 04-27-2005, 01:22 PM   #3
movanns
Member
 
Registered: Apr 2005
Location: Malaysia
Distribution: redhat 9
Posts: 33
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.
movanns is offline     Reply With Quote
Old 04-28-2005, 07:37 PM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Red Beach (NZ)
Distribution: Ubuntu 7.10
Posts: 6,972
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.
Simon Bridge is offline     Reply With Quote

Reply

Submit thread to Digg | Submit thread to del.icio.us | Submit to LQ Bookmarks

« Back to Top »

Thread Tools

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

vB 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



Add LQ To Your Yahoo Add LQ To Your Google Add LQ To Your MSN Add LQ To Your Blog
All times are GMT -5. The time now is 01:45 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
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration