LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-25-2003, 02:58 PM   #1
Intoxicado
LQ Newbie
 
Registered: Mar 2003
Location: South Park, Colorado
Distribution: Slack8.1, RH8.0, MDK9.0
Posts: 12

Rep: Reputation: 0
Question RedHat8 and my MSworkgroup...


I have a LAN:
1 PC running WinXP = A
1 PC running Win98 = B

Now I have a new computer, so:
1 PC running RedHat8 = C

Ok, I have 3 PC on a LAN
From A I can list and read files of B
From B I can list and read files of A
From C I can list and read files of B

Here comes the problems:
From C I can list but i can't read files of A

What's the problem...I'm too newbie so if you can explain me step by step would be great.

What I have done:
First I check to see if I have samba installed:
rpm -q samba samba-client samba-common and it's ok.

Then I edit /etc/smb.conf adding A, B and C:
127.0.0.1 localhost
xxx.xxx.xxx.xxx A
xxx.xxx.xxx.xxx B
xxx.xxx.xxx.xxx C

The next I did was add some information also at /etc/smb.conf
workgroup = THESAMEIWASUSINGUNDERWINDOWS
netbios name = MYLINUXBOX
hots allow = 192.168.1 127.

And I tried to share some files adding this:
[shared]
comment = Testing...
path = /path/to/share
guest ok = yes


My question is: What's next?


I have also another weird problem:
At least from C I cant see at the workgroup: A, B and C
But:
from A in the workgroup I just can see: A and B
from B in the workgroup I just can see: A and B

Why I can't see all computers at the workgroup?
I can't see my LINUXBOX...
Even if i try from win:
\\MYLINUXBOX
I can't access ("...could not find host...")


So?...who knows what's wrong?

Thx!
 
Old 03-25-2003, 03:34 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Could be a name resolution problem - try connecting using the IP address:
\\192.168.etc.etc\
and for linux
smb://192.168.etc.etc/
 
Old 03-25-2003, 03:55 PM   #3
Intoxicado
LQ Newbie
 
Registered: Mar 2003
Location: South Park, Colorado
Distribution: Slack8.1, RH8.0, MDK9.0
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by david_ross
Could be a name resolution problem - try connecting using the IP address:
\\192.168.etc.etc\
and for linux
smb://192.168.etc.etc/
Ok, with:
smb://192.168.etc.etc/
I can list A and B but I still can't read files of A
From A and B I cant's see C so I cant's list or read
 
Old 03-25-2003, 04:02 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
If you can't see C at all - are you sure that:
1) you have the smb server running (needs a restart to reread the config file after any changes)
2) you do not have any firewall software set up on C
 
Old 03-25-2003, 04:16 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Have you tried mounting the XP system's share?

smbmount //192.168.etc.etc/share /mnt

Should work - if it asks for a password and you don't have one just press enter.
 
Old 03-27-2003, 09:59 AM   #6
Intoxicado
LQ Newbie
 
Registered: Mar 2003
Location: South Park, Colorado
Distribution: Slack8.1, RH8.0, MDK9.0
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by david_ross
Have you tried mounting the XP system's share?

smbmount //192.168.etc.etc/share /mnt

Should work - if it asks for a password and you don't have one just press enter.
This work only mounting the Win98 system's share.
I can't mount the WinXP.

Another problem:
From the Win (both XP and 98) I can't see my linuxbox...all computers in the neighborhood are WinXP and Win98 but the truth is that I have acces to Win98 from Linux.
Too weird for me
 
Old 03-27-2003, 01:46 PM   #7
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It could be a problem with the browser computer - on a winodws network 1 PC takes respnsablity for remembering all the computer names and IP addresses. Try setting the values as below:
os level = 60
preferred master = yes

This should make the linux box become the browser computer - believe it or not, Linux/Samba does a better job of it than windows even though microsoft wrote the standard.
 
  


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
RedHat8.0 problems mjp26 Linux - General 0 08-19-2003 11:05 AM
Telnetd not available, Redhat8.0 ??? UddUnderline Linux - General 1 08-07-2003 11:43 PM
XP and RedHat8.0 MOMO Angel77 Linux - Newbie 1 05-09-2003 07:57 PM
no sound on my RedHat8.0 prad Linux - Hardware 3 01-28-2003 08:21 AM
WINE...RedHat8 kierl Linux - Software 2 01-24-2003 12:15 PM

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

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