Solved

connect to internet

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
Rate limit for DNS queries 7 87
android secure ftp 3 52
How to use question mark (?) in filename with html 25 73
I NEED A "BARE" LINUX ... 9 57
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 …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

821 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