• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 922
  • Last Modified:

RedHat 9 and WinXp Networking

I am an newbie to linux and am having a problem getting my redhat box to talk to my windows box. I ant try to set up the redhat to be a file server.

I have set the ip address of the linux box to and the ip address  of the windows box to
I have given both the sub net mask

On each box i can ping itself fine, but cannot ping the other computer.

Could any please help?
  • 3
  • 2
2 Solutions
what you need is the samba up and running and config it to act as a file server.

basically you can check whether the samba is installed or not by "rpm -q samba" this will show you something like this 'samba-version'

so if the result is package samba is not installed, that's mean you didn't have the samba installed or you not install by rpm

if you need to install the samba rpm, you can use your linux CD and find the samba rpm and do the installation by "rpm -ivh samba-version.rpm"

if the samba already installed, check the samba service is up and running by top/ps -aux you will find the 'smbd' entry in the screen.

if no smbd entry, that's mean your samba not up and running, to start the samba try '/etc/init.d/smbd start' this will start the samba service for you.

when the samba service is up and running you have to config your samba by editing the file /etc/samba/smb.conf or /etc/smb.conf to share out what you need.
for your reference

here is some description about the smb.conf http://www.samba.org/samba/docs/man/smb.conf.5.html

and a sample http://www.tldp.org/HOWTO/SMB-HOWTO-6.html

hope this can help
"On each box i can ping itself fine, but cannot ping the other computer"

have you check the nerwork cable (cat5 or cate normally) is working?
how you connect both computer? by using a hub, this will be a stright cable, if connect both computer directory, you need a cross over cable.

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

cossy74Author Commented:
paullamhkg: the two computers are connected by a switch and the switch is fine because i can use the same to cable fromthe computers to link two windows boxes together and they comunicate fine. the cables i think is cat5.
Karl Heinz KremerCommented:
Can you pleae run these commands on the Linux machine and post the output here:

netstat -rn
cossy74Author Commented:
Sorry All, the HDD died on me and i have been unable to replace it as of yet........
Therefore i am going to split the points and repost when i get a new HDD
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now