Solved

Internet connection woes

Posted on 2000-05-10
6
180 Views
Last Modified: 2010-04-20
After much struggleling, I finally managed to get Corel Linux 1.0 onto the internet. To my dismay, it seems that even after I dialed in and connected to my ISP, I cannot access anything with Netscape. It is definitley NOT a DNS problem. Even without the proper DNS, shouldn't I be able to ping a IP address? Well, that doesn't work. What could be the problem?
0
Comment
Question by:jamesshuang
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:rtheriot
ID: 2798317
how did you configure your ppp conection, go back in there and make sure your set up for receiving a dhcp address.

hth

rtheriot
0
 
LVL 2

Expert Comment

by:tzanger
ID: 2798495
It sounds like you don't have a default route set up.  Try adding "defaultroute" to your /etc/ppp/options file.

if you type route -n and can't see a "0.0.0.0" entry, this is definately your problem.
0
 

Author Comment

by:jamesshuang
ID: 2802793
Adjusted points from 50 to 80
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:jamesshuang
ID: 2802794
Sorry, tzanger, but adding "default route to the options didn't do anything. Also, there was a 0.0.0.0 entry, however, it was binded to eth0. Shouldn't it be binded to ppp0? How would I change the eth0 to ppp0? Any more suggestions?
0
 
LVL 2

Accepted Solution

by:
tzanger earned 80 total points
ID: 2804275
remove the default route from eth0.  you can't have two default routes (well you can, but we're not dealing with equal-cost multipath or anything like that here)

when your connection is established do this

ifconfig ppp0 (take note of the ptp address)
route -n (take note of the gw address)

route del default gw (whatever your gw address was)
route add default gw (whatever the ptp address is on ppp0)

If that fixes the problem, go edit your startup files (for slackware it's /etc/rc.d/rc.inet1) and remove the GATEWAY parameter or set it to "".  for other distros the procedure is similar but I'm not familliar on all of them.

next, make sure "defaultroute" -- NO SPACES -- is in your /etc/ppp/ppp-options.  without it pppd will NOT establish a default route and you won't get anywhere.  It is likely not doing anything now becuase you have set up a default route via eth0.
0
 

Author Comment

by:jamesshuang
ID: 2806201
Thanks, tzanger, you helped me through this one. I did not completely follow your directions, but I deleted one of the eth0 entries. I had to do this because if I logged onto the internet and typed route, the console would freeze up. Still, after I deleted one of the eth0 entries, the internet worked. Thanks, anyways.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now