Question

Can not ping the Windows or Linux Machine

Asked by: browerjason

I have been working on this problem for weeks now.  I am trying to be able to share Linux files with the Windows 98 box.

Problem:  
     I can not ping the Windows IP from Linux, and I can not ping the Linux IP from windows.

Information:
     I am running a DE-220PCT D-Link card in the Linux machine.  I loaded the NE 2000 compatible driver for the card on install.  When I do an ifconfig everything checks ok.  When I run a ping 127.0.0.1, all is well, and when I self ping the Linux IP from the Linux machine, everything is OK.
     I am not sure which card is in the Windows machine, but the driver that is loaded for it is a PCI ethernet DEC 21041 Based adapter.  The 127.0.0.1 ping and the self IP ping are both OK on the Windows box as well. The NETBEUI adapter is loaded on the Windows machine as well.  The Windows machine also functions well with the AT&T @HOME services.
     The hub that I am using is a Linksys 5 port hub with an uplink for the @HOME services.
     Samba is configured and running but no such luck on the Ping test or any visibility of the Linux machine on the Windows machine.


What do I need to do to fix the communication problem.  How do I trouble shoot the problem.  I feel that I haved tried everything.  I have listened to excellent advise but have gotten nowhere.  I need to fix this my self because I have tried to find others to help, yet nobody is familiar enough with Linux.



Thanks


Jason

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2000-01-13 at 19:17:28ID10259235
Tags

linux

,

windows

,

from

,

machine

,

ping

Topic

Linux Networking

Participating Experts
2
Points
60
Comments
15

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Problems with Samba
    I have installed samba on one PC and on another PC I have Windows 95. I can ping from one PC to the other. When I test the samba program with "smbclient -L myhost" it works fine. But when I test it with "nmblookup -d 2 *" I get the error message: Network ...
  2. ifconfig
    I loaded RedHat 5.1 v2.0.36 and the only way I can get networking to work is if I manually enter the following two commands: ifconfig eth0 192.168.1.100 route add -net 192.168.1.0 Without these commands ping produces the following error: ping sendto: Network is unreachable...
  3. Samba/Network Neighborhood
    I have been practically pulling my hair out trying to figure out my problem. Here is what it is: Basically, Samba will not work no matter what I do. I can see the linux computer under Network Neighborhood in my Win98 machine, but if I try to open it, it tells me that the com...
  4. Samba + Linux
    Iàm trying to install Samba with Linux RedHat 6.0 All seems to work fine except for one thing: I connect the Linux machine to the LAN, wich has WIN95,98 or NT(BDC) and Stand alone servers. When I use smbclient to connect to 95,98,BDC works fine, but when I use it to connec...
  5. samba...passwords
    I am a newbie. Have set up 2-machine LAN (effectively peer-to-peer, PC and Linux box both should serve each other, each has a printer, Linux has dialup modem and internet connection). I'm at the point where: both machines can ping each other by name both can see the internet...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: lewisgPosted on 2000-01-13 at 21:29:17ID: 2351824

What are the IP addresses of the two machines?

Do you have a fixed IP address with the @home service?

Pings of loopback IP's 127.0.0.1 don't tell you very much. Run ifconfig, take note of the TX and RX packet numbers for eth0. Ping another address on the network - after 5 seconds press CTRL C to stop the ping. Ping should tell you how many packets it sent. Run ifconfig again, the TX packet number should be the ping count larger than before.

Also in ifconfig the eth0 section should have a HWaddr like 00:60:8c:23:5a:78. This is the MAC address of your ethernet card.

 

by: browerjasonPosted on 2000-01-13 at 22:49:30ID: 2351945

The IP address of the Linux machine is 192.168.1.1 and the IP of the Windows box is in the form of XX.X.XXX.X  (I would rather not give out the other IP).  Both masks are 255.255.255.0

Yes, I have a static IP at the moment, but will switch to dynamic later.  I don't plan to pay the extra money to get another @HOME IP for the Linux machine and am using the public domain instead (192.178.1.1).  At the moment, I just want to share Linux with Windows and don't care about having the Linux connected to the @HOME network directly.

When I pinged another IP on the Network from the Linux Box, there was 100% packet loss.  The results of the ifconfig showed that before the ping the TX count was 8613 and after the ping the count was 8623.  The difference is 10 even though the packet transfer from ping was only five packets.  Another ping and ifconfig showed 12 packets transfered, yet the TX increased by 62, not the amount of 12.

My HWaddr was 00:80:C8:FA:BA:85
By the way, what is a MAC address?

Jason

 

by: browerjasonPosted on 2000-01-13 at 22:51:37ID: 2351952

In the last note the public domain is 192.168.1.1 not the listed 192.78.1.1

 

by: lewisgPosted on 2000-01-13 at 23:40:19ID: 2352037

First the good news:
You finally appear to have a working network card in your linux box! The fact that linux can transmit packets and linux sees the Media Access Control address of you card is good.

Your problem has to do with the IP addresses. Unless you use routing both machines need to be on the same subnet. So if the linux box is 192.168.1.1 and the subnet mask is 255.255.255.0 the IP of other boxes on the subnet must be in the range of 192.168.1.1 thru 192.168.1.254. It is customary to use the .1 (your linux box's IP) for the gateway address for the subnet.

A bit of a problem isn't it? If you want to put both computers on the same subnet with a connection (non private IP) to the internet you have a IP subnet problem. I know of several solutions:

1. Get 2 IP addresses from @home and have both boxes on the internet.

2. Put 2 network cards in the Winbox. One to @home with their IP and one to the linux box with a valid IP for the subnet. Only the Winbox will be able to connect to the internet unless you load internet sharing software (Win98SE, WinGate, WinProxy...)

3. Put 2 network cards in the linux box. Sort of like the above but using IP masquerade and IPchains you could build a firewall/router and out everybody on the internet! (hey you already gave it the default router IP :)).

4. Put 2 network cards in an old 486 and install a package like sharethenet (www.sharethenet.com). I think this is your best solution since it is EASY and it allows for DHCP assigned IP (non-fixed) addresses and is a dandy firewall that will allow you to connect as many computers as you heart desires to the internet (very much like the above but easier and more secure).

5. There are ways to assign more that one IP address to a network card. I don't think it is a good idea...

So bottom line - if you want to ping and therefore be able to samba get your machines on the SAME subnet! (winbox IP 192.168.1.2)

later - Lewis

 

by: browerjasonPosted on 2000-01-14 at 10:37:32ID: 2353769

Holy Shmolly, you were 100% accurate Lewis!

This is what I have done:
     To reduce complications, I disconnected the @HOME uplink and set the IP of the Windows box as 192.168.1.2, rebooted the computer and low and behold, the Linux box magicly appears in Network Neighborhood.

Problems:
     When I double click the Linux icon, it asks me for a password.  I tried the root password as well as the unprivleged user password, by it replys with "Password incorrect".

Other notes:
     After looking at your 5 solutions to having the @HOME service working too, I think that I will pick #2, which will be to put another card in the Windows machine and run an internet sharing program like you suggested.(It seemed to be the easiest for me to work with??)  Eventually, maybe I will try #3, the firewall option, but for now I want to stick with simplicity.

Plans:
     I am going to Best Buy here in a bit to buy another card and extra RJ-45 cable.  I will install this hardware and wait for a response to this posting.  

Questions:
     How do I work around the password that it is asking for?  Also, what other suggestions do you have towards my plans this afternoon, and problems I may incounter with my chosen path?  If you think that it would be easier to put the card in the Linux box instead, let me know how to set it up and I will switch to that option after I purchase the card?


Thank you very much!


Jason

 

by: lewisgPosted on 2000-01-14 at 19:17:12ID: 2354896

Run smbadduser on the linux machine to create a user and password identical to the one you use when windows starts.

If you don't have another old computer around to set up sharethenet on, wingate or one of those programs will most likely fit you needs better than trying to set up ipmasquerade and ipchains for now.

 

by: browerjasonPosted on 2000-01-14 at 20:42:36ID: 2355009

Thanks for the great help.  It is running well at the moment.  It worked for about five minutes, I rebooted the Windows computer and then it vanished.  After rebooting Linux it reappeared??????????????????????  I can tell that the struggle is not quite over.


I have one more question before I let you off the hook, so to speak.  I increased points to 55, because that is all I have.  I want to know what I need to do to smb.conf so that my Windows computer has 100% access to all programs and files.  If possible I would like to operate the Linux machine completely from my Windows terminal.  I promise to close this question after this.  Thanks again,=. As a computer science student, I only hope that someday I can troubleshoot problems like you have in this case!  Thanks.


Jason

 

by: browerjasonPosted on 2000-01-14 at 20:43:36ID: 2355010

Ough I lied, I guess I had 10 points left, so here is the other 5.

Jason

 

by: lewisgPosted on 2000-01-14 at 21:17:20ID: 2355047

You don't need samba to operate linux from windows. Samba mostly allows linux to provide file and print services to SMB networks (mostly windows lanman) and vise versa.

To operate your linux machine from windows fire up telnet. (start menu, run enter "telnet 192.168.1.1" in the box and press enter) This will give you  access to all the text based programs and resources on your linux machine.

You may also want to check out:
http://www.uk.research.att.com/vnc/
I have not tried it out but it looks way cool!

Thanks for all your points - Good luck with your studies!

 

by: browerjasonPosted on 2000-01-14 at 21:33:20ID: 2355070

Thanks for the link and info.  I am going to leave this open until I see what may be causing my telnet to not work. (You are saying, god, why doesn't he close this!)  When I telnet the Linux IP, I come to a blank white screen, but no prompt??

Jason

 

by: browerjasonPosted on 2000-01-14 at 21:42:17ID: 2355082

Now if I wait for about 5 minutes the Login screen shows up.  When I try to type my login name, it prints double letters.  e.g. "jjaassoonn"  it does not do this with the password though??

Have the fixes??


Jason

 

by: browerjasonPosted on 2000-01-14 at 21:48:06ID: 2355086

I got it.  I realesed the Local echo and it works.  Thanks for everything Lewis.  Write back and let me know why the telnet access takes up to five minutes before I see a cursor??  This way when I get your response, I can press submit and the points will go to you!!


Thanks Again

Jason

 

by: lewisgPosted on 2000-01-14 at 22:00:00ID: 2355094

I don't know why telnet is so slow. I had the same problem a while back on one of my machines and I can't remember what fixed it!

 

by: browerjasonPosted on 2000-01-14 at 22:18:16ID: 2355113

Thanks for the geat help in the past Lewis.  Good job, you have it running!

Jason

 

by: dewedPosted on 2003-01-04 at 20:10:37ID: 7670807

Since your working on a private network with no route to the internet I won't lecture anyone about using ssh instead
of telnet. but I will plug my favorite ssh program for windows, called putty   it also does telnet I think.
http://www.chiark.greenend.org.uk/~sgtatham/putty/

It might not help, but look at each systems hosts files.
Windows uses c:\HOSTS   just edit HOSTS.SAM save it as HOSTS with no extention. You may have to use DOS to ensure
it has no .tla at the end. Reboot to make it take effect.
Linux has a similar file, typicaly /etc/hosts  
Depending on what protocols your running it may make local ip/name lookups faster, but either way it shouldn't hurt.

Also, for whatever reason, I'm able to access my samba shares from my windows box, with only tcp/ip and the network card. You may have much more traffic/broadcasting going on, slowing down desired traffic.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...