Solved

connect to internet

Posted on 2000-05-16
3
198 Views
Last Modified: 2010-04-20
i have used PPP to connect to internet using modem via serial cable. but i am not sure whether it really connected or not. But when i check from the modem light on the panel taskbar it is connected.
But why when i used netscape to surf it is said that got something wrong with the nameserver and i have to modify the SOCK environment that i really don't know what it is. Then i tried to use irc, the irc also said that cannot connect to server.

Can anyone pls explain why??
and actually how to connect my linux box to internet??
0
Comment
Question by:ccy97
[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
3 Comments
 
LVL 1

Expert Comment

by:tadams
ID: 2815740
First of all, you need to know if you are actually connected.  Type "ifconfig" at the command line to see what devices have been started.  Is there a PPP one there?  If so, make sure it has an IP address.  If so, type "ping ISP.com" where ISP.com is your internet service provider.  If it gives you an error saying unknown host, then your DNS is not setup properly.

Now you have to edit /etc/resolv.conf

My /etc/resolv.conf contains the following.
search telusplanet.net
nameserver 198.80.55.1
nameserver 198.161.156.1

  You can try this if you choose, but I'm not sure if Telus allows connections to their name servers from outside their network.

Your's should contain something like

search yourISP.com
nameserver (DNS server1)
nameserver (DNS server2)


Check with your ISP to see what the DNS server IP addresses are, and enter them after the nameserver entries in /etc/resolv.conf.  Now try pinging your ISP, it should work.
0
 
LVL 2

Expert Comment

by:ksemat
ID: 2816094
I really think that your problem is with DNS find out the ip of your isp's name server and put it in /etc/resolv.conf as tadams said
search isp.com
nameserver (ip of your isp's nameserver)
tadams has basically given all that you need but if it is a problem with connecting try connecting from the command prompt so as to see what si acyually happening.
0
 
LVL 1

Accepted Solution

by:
milchew earned 100 total points
ID: 2818703
make sure You have started "pppd" after connection...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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.
Suggested Courses

738 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