Solved

Internet connection woes

Posted on 2000-05-10
6
182 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wifi not working on Raspberry Pi 3? 2 56
linux pull logs and export FTP 4 71
linux installs 6 60
video edge NVR Device Discovery Problem 4 45
Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

778 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