?
Solved

Network stopped working... why?

Posted on 1997-08-31
10
Medium Priority
?
214 Views
Last Modified: 2010-03-18
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
Comment
Question by:edskee
[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
  • 3
  • 2
10 Comments
 
LVL 2

Expert Comment

by:df020797
ID: 1586372
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
 
LVL 2

Author Comment

by:edskee
ID: 1586373
Yes but... it worked yesterday... why is it not working now?
0
 
LVL 2

Author Comment

by:edskee
ID: 1586374
Everything in netstat -nr looks fine.

I'd post it here but it linewraps. Any other ideas?
0
7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

 
LVL 2

Expert Comment

by:nicademus
ID: 1586375
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
 
LVL 2

Author Comment

by:edskee
ID: 1586376
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
 
LVL 2

Expert Comment

by:nicademus
ID: 1586377
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
 
LVL 2

Author Comment

by:edskee
ID: 1586378
10Mbit. Cablemodems arent ISDN. :)

0
 
LVL 2

Expert Comment

by:nicademus
ID: 1586379
No but over here that is what we have to connect with, that is the difference with your Cable companies and ours.
0
 
LVL 2

Accepted Solution

by:
df020797 earned 100 total points
ID: 1586380
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
 
LVL 2

Author Comment

by:edskee
ID: 1586381
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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 tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses
Course of the Month9 days, 20 hours left to enroll

762 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