Solved

RedHat 9 and WinXp Networking

Posted on 2004-04-28
6
899 Views
Last Modified: 2013-12-15
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
Comment
Question by:cossy74
  • 3
  • 2
6 Comments
 
LVL 12

Accepted Solution

by:
paullamhkg earned 250 total points
ID: 10945038
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
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10945079
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
 
LVL 12

Expert Comment

by:paullamhkg
ID: 10945133
"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
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:cossy74
ID: 10945226
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
 
LVL 44

Assisted Solution

by:Karl Heinz Kremer
Karl Heinz Kremer earned 250 total points
ID: 10948116
Can you pleae run these commands on the Linux machine and post the output here:

ifconfig
netstat -rn
0
 

Author Comment

by:cossy74
ID: 11245840
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now