• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 921
  • 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.

Situation:
I have set the ip address of the linux box to 192.168.1.2 and the ip address  of the windows box to 192.168.1.1.
I have given both the sub net mask 255.255.255.0

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

Could any please help?
0
cossy74
Asked:
cossy74
  • 3
  • 2
2 Solutions
 
paullamhkgCommented:
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.
0
 
paullamhkgCommented:
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
0
 
paullamhkgCommented:
"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.

0
Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

 
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.
0
 
Karl Heinz KremerCommented:
Can you pleae run these commands on the Linux machine and post the output here:

ifconfig
netstat -rn
0
 
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
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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