Solved

connect to internet

Posted on 2000-05-16
3
194 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
Comment Utility
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
Comment Utility
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
Comment Utility
make sure You have started "pppd" after connection...
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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…

728 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

13 Experts available now in Live!

Get 1:1 Help Now