Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing RH 9 Box from Windows Network

Status
Not open for further replies.

ChrisRChamberlain

Programmer
Mar 23, 2000
3,392
GB
Hi

Linux newbie so please be gentle. [smile]

Have RH 9.0 up and running on 'Client for Micosoft Networks' network - Linux can access the Windows boxes and utilise Internet Connection Sharing.

How can the Windows boxes access the Linux box, please?

FAQ184-2483 - the answer to getting answered.​
Chris [pc2]
 
If your linux machine is configured as a Samba server then all you need to do is map a drive: \\servername\sharename Your username and password you logon to the windows machine must match that of the Linux user for the share
 
Thanks for your responses

Samba settings are in the GUI :-

Basic

Workgroup: mygroup

Security

Authentication Mode: Share
Authentication Server:
Encrypt Passwords: Yes
Guest Account : chris (My username)

Samba Users

chris

Directory Permissions

/home/chris Read/Write


Windows sees machine as

Localhost

and cannot access it.

FAQ184-2483 - the answer to getting answered.​
Chris [pc2]
 
Your username and password you logon to the windows machine must match that of the Linux user for the share
 
Futher info...

Have 'Client for Microsoft Networks' with a mix of Win2K and Win98 boxes, workgroup name is 'WORKGROUP'.

Red Hat 9.0 is set up on a box, user name is 'chris'.

Trying to access Linux box from a Win2K box, user name 'chris' and exactly the same password as the Linux box.

Have followed the instructions in the Samba Server Configuration Tool

Workgroup: mygroup
Authenication Mode: User
Encrypt Passwords: Yes
Guest account: chris

Added a samba user, 'chris', Windows Username: chris and Samba Password the same as the Linux and Windows password.

Mygroup is visble in My Network Places > Entire Network > Microsoft Windows Network

Clicking on Mygroup brings up the error message

'Mygroup is not accessible

The network path was not found'

Tried adding a share as an alternative with the same result.

What am I missing here, perhaps a port issue?

FAQ184-2483 - the answer to getting answered.​
Chris [pc2]
 
OK, forgive me here for asking a dumb question, but did you make sure the samba daemons are actually running? i.e.

# ps aux | grep smbd

and

# ps aux | grep nmbd

the "network path not found" error is about what you would get if samba was not started.

If smbd and nmbd are running, then you might want to check to see if there's some firewalling enabled on your RH machine that's blocking incoming traffic.
 
IC3NIN3

Thanks for responding - not a dumb question at all, I just assumed it be initialised on booting the OS.

Have changed 'Authentication Mode:' to 'Share' and added a share with 'Directory:' as '/'.

The 'Trusted device:' eth0 was not enabled and have now also enabled, rightly or wrongly :-

FTP
SSH
DHCP
Mail (SMTP)

so now there is in My Network Places on the Win2K box:-

Entire Network
chris on Localhost
Computers Near Me

and lo and behold it works. [smile]

Thanks to all to responded.



FAQ184-2483 - the answer to getting answered.​
Chris [pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top