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

Network stopped working... why?

This is a wierd one. I had my linux box with a NE2000 compatable nic running yesterday. I telnetted, I FTPed, it worked. I cheered and jumped for joy, shut down, and watched tv. Today, it does not work. The nic works... the problem is that every site I try to hit... no route to host. I cannot even resolve hostnames via my dns host. Cant ping my gateway, cant see my mailserver, all of which should be on the same network. I am using a cablemodem via my cable company. In Win95 when I move the cable, it works great... it just stopped working in UNIX. Does anyone know a possible reason, or do you think my ISP/Cable company noticed something (me logging on via my win95 box and then my unix box) and shut down access for it? Any ideas?
0
edskee
Asked:
edskee
  • 5
  • 3
  • 2
1 Solution
 
df020797Commented:
The cable company did probably not shut you donw. The same traffic goes from a Unix client machine as from a WIndows client machine.
To try to solve the problem:
Run a netstat -nr to find how the routing table looks like so you are routing the traffic via the PPP link (cable modem). This porbably solves everything, because if you have no default route or route to the DNS or netservice NOTHING will work.
0
 
edskeeAuthor Commented:
Yes but... it worked yesterday... why is it not working now?
0
 
edskeeAuthor Commented:
Everything in netstat -nr looks fine.

I'd post it here but it linewraps. Any other ideas?
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
nicademusCommented:
Question, DO you use your Ne2000 via Cable to access the Internet, at high speed?  I am here in Australia, I've got Cable, but Cable Modems are SO damned expensive, I was wondering how much they cost over there?
I have had similar problems though with regards to my normal modem, and it was as simple as the following, in your /etc/rc.d/rc.inet1 file (if you have Slakware) you have a route entry which adds the gateway...something like...

      route add gw default

I think that is it, well all I did was remove that. and once I connected with the PPP it automatically set up the Gateway,so if you comment this out and instead put something like
      route add gw 10.0.0.1  or whatever the IP address of your NIC card is then maybe it will work.  It's just that you Linux box needs to know where it has to look to get to the Outside world.  Sometimes it gets confused and does not ammend an entry somewhere and it seemingly becomes permanently "buggered".
0
 
edskeeAuthor Commented:
Well, I think I might have found the problem. I had 200 megs of space on that box allocated to DOS just in case, and I loaded Win95 on it. I configured it exactly the same as my dedicated Win95 box. I got the same problems. Telnet/ping/ftp timing out, cant connect to DNS, etc. My guess is that the NIC is bad. Does that sound kosher to anyone else?

Personal to nicademus: Yes I use it with cablemodem, and it's $40/month US. Pretty damn cheap for the states. I'm not using PPP though. Cablemodems are direct links into a 'LAN'. It's like having a live network 10baseT cable.
0
 
nicademusCommented:
SO you get 10Mbit access then? or just 64K as is supposed to be the standard for ISDN... Glad you sorted the problem, at least it looks that way.
0
 
edskeeAuthor Commented:
10Mbit. Cablemodems arent ISDN. :)

0
 
nicademusCommented:
No but over here that is what we have to connect with, that is the difference with your Cable companies and ours.
0
 
df020797Commented:
It worked hence when you installed and started up the routing tablkes where set ok. After a restart you hav eto establish the ppp link again but its not ceratin the default route to the ppp device is setup. This oculd be fixed with a defaultroute parameter to pppd.
0
 
edskeeAuthor Commented:
Uh... DF... I  have no idea what the heck you are talking about. :) I got the problem fixed myself by reading over an answer to a previously asked IP Masq question. I'm giving you credit because I cant seem to delete my question once it's had comments added :P

0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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