Solved

connect to internet

Posted on 2000-05-16
3
200 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

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

632 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