?
Solved

networking RH7.1 and win98

Posted on 2003-03-28
15
Medium Priority
?
227 Views
Last Modified: 2010-03-18
Hi,

I have the following hardware:

Desktop with 3 GB Hdd with RH7.1 installed
Laptop with win98 SE
1 ethernet hub

I hv been trying to setup a small network between the 2 machines for sometime now.. I currently dont hv any internet connection at home so all I am trying to establish is a small LAN ..

Configured the linux network config, setting the ip to 192.168.1.1, the workgroup name is set as "home".

Win98 has an ip 192.168.1.2 and is also located in the same workgroup "home".

How can i setup my network to start running? I am as yet not interested in setting up samba.. just pinging the 2 machines from each other wud be great for now!

tia,
sg
0
Comment
Question by:sandsgaucho
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 2
  • +2
15 Comments
 
LVL 3

Expert Comment

by:droswell
ID: 8224627
Ping your linux eth ip from the linux box.
Ping the windows machine ip from the windows machine.
If pinging the windows machine from linux doesnt work, you most likely have a bad cable or hub. Check your networking equipment first- it's the best place to start.
0
 

Author Comment

by:sandsgaucho
ID: 8225112
I can ping the windows machine ip from the windows machine and the linux eth ip from the linux box. No problems here, and when i can the lights flashing in the hub when the cables are connected...

There is absolutely no problem with the hardware..Both my laptop and the desktop along with the Hub were sometime ago part of another larger LAN..

Its only when i try a pinging the windows from the linux or viceversa do i get a request timed out...

sg
0
 
LVL 3

Expert Comment

by:sigel1
ID: 8231118
sounds like your dropping icmp packets
check 2 places
iptables -L |grep icmp
if it comes back with somethign then you are blocking icmp
adn you can remove it

also try
echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_all
echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts

see if that fixes it
arthur
0
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 

Author Comment

by:sandsgaucho
ID: 8259860
Hi,

Due to some problems with xconfig and some other bugs, I reinstalled linux but with Mandrake 9.1.

I have reconfigued the ips of the linux box to 192.168.0.1 and the windows laptop to 192.168.0.2.

pinging the linbox from the laptop gives a request timed out and the viceversa gives  a "icmp_sq =1 Destination host unreachable"

the cmd iptables -L |grep icmp returns a cmd not found.. same for 'echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts'

Is there anything else I need to configure in the linux box apart from the host name, the ip and the subnet mask?

thnx,
sg
0
 
LVL 3

Expert Comment

by:sigel1
ID: 8261569
it sounds like you don't have any firewall that is fine.
the second thing is you have no network card installed.
check by looking at ifconfig eth0
and see if its the correct ip# while your at it.  The subnet mask for your netowork should be 255.255.255.0.
if the ip# is their and set up then something is wrong with your driver becasue it should be loading information in proc at the location i specified in the previous answer.  
arthur
0
 

Author Comment

by:sandsgaucho
ID: 8261729
The network card is installed.. running ifconfig eth0 displays details of the nic config showing the ip set to 192.168.0.1 and the subnet mask as 255.255.255.0 and as i said
echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_all
gives no output while
echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
give no command found ..

if its any help, I had this machine with linux running on it as part of an office lan not long ago.... I took out and reinstalled the nic card and it was detected fine...

is there anything else i shud configure other than an IP, a host name and the subnet mask?

thnx much,
sg
0
 
LVL 3

Expert Comment

by:droswell
ID: 8261807
I still think it may be your cables. Have you tested them recently, or verified they work?
0
 
LVL 3

Expert Comment

by:sigel1
ID: 8262673
are you using a hub?
or are they connected directly with one cable
are the green lights on for both network cards

0
 

Author Comment

by:sandsgaucho
ID: 8262838
The cables are fine and yes they were recently used in another location.

I am using a Hub and the LEDs light up on both the network cards  and at the hub and when i issue a ping command the leds on the hub and nic flicker..

I still feel that I have not configured the machines right.. can you pl gimme a step by step instructions for configuring the machines??

thnx,
sg
0
 
LVL 3

Expert Comment

by:sigel1
ID: 8263752
do you use widnows xp firewall on the other machine?
0
 

Author Comment

by:sandsgaucho
ID: 8268005
XP firewall !?  I have Windows 98 on my laptop and Mandrake 9.1 on the desktop...No firewalls anywhere..

Further, I noticed something strange.. as I said before, the winos laptop has an ip 192.168.0.2 and the linbox 192.168.0.1 and as soon as i connect the cables to the HUB, the LEDs light on both sides and I could ping each machine by itself. BUT when I disconnected the cables from the HUB, I still could ping each machine by itself!!! IS this possible??

Can I still ping each machine by its own IP address even if they r not connected to the HUb ???

thnx,
sg
0
 
LVL 3

Expert Comment

by:sigel1
ID: 8269923
are you sure you have a hub and not a different networking device like a router or a switch?
and no of course your not supposed to be able to ping something that doesn't exist
0
 

Expert Comment

by:CleanupPing
ID: 9077573
sandsgaucho:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13692711
PAQed with no points refunded (of 75)

modulo
Community Support Moderator
0

Featured Post

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

771 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