Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2003 16:18:31 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        nil ban <trumvect@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: I can't connect to internet.  Plz help me
Message-ID:  <677CFCA1-2B56-11D8-9FA4-003065ABFD92@mac.com>
In-Reply-To: <20031210211122.86663.qmail@web20109.mail.yahoo.com>
References:  <20031210211122.86663.qmail@web20109.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 10, 2003, at 4:11 PM, nil ban wrote:
> I can't connect to internet.
> [ ... ]
> names are mail.myisp.com(pop3)and smtp.mail.com.
> I tried using kpp and I could connect to my isp ( I am telling this
> because pppd does run ) but whenever I try to
> visit a website it doesn't work, browser says unknown host.

Sounds like /etc/resolv.conf hasn't been setup to point to valid DNS 
servers.  Try adding a line like:

nameserver 4.2.2.1

...to /etc/resolv.conf and see whether that solves your problem, only 
you should use the nameservers your ISP gives you if you know what they 
are.  You can also configure PPP to set this file up for you when you 
connect via the "enable dns" config option in /etc/ppp/ppp.conf.  
[Maybe for userland PPP rather than kernel-based PPP?]

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?677CFCA1-2B56-11D8-9FA4-003065ABFD92>