Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2004 23:11:36 +0200
From:      Olivier Gautherot <ogautherot@freesurf.fr>
To:        Josh <void_validation@gawab.com>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: adsl router, dhcp works to the router but not the net?
Message-ID:  <40F6F308.1070009@freesurf.fr>
In-Reply-To: <000e01c46b43$efd98f50$0401010a@blackbox>
References:  <000e01c46b43$efd98f50$0401010a@blackbox>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Josh!


The connection to the net is not automatic - especially with ADSL.  If 
you have another machine that already sets up the connection, you could 
share it (I do it from time to time with my wife's PC that runs WinXP - 
please don't flame :-) )In this case a command like the folowing can help:

    route add -net 0.0.0.0 192.168.0.1

assuming 192.168.0.1 is the address of the gateway.

I suggest you check the command ppp - except that the script that comes 
with the distribution does not always work. I attach another one

Josh wrote:

>Hi,
>
>I'm very new to freebsd, i have managed installing and setting up dhcp, but i cant access the net.
>  
>
First of all, welcome to the BSD world!

Do you mean DHCP client?

>i can get to my modem web config all good and fine, but can't access sites.
>  
>
You seem to have a clever modem. I wonder whether a simple:

    route add -net 0.0.0.0 10.0.0.137

(assuming the last field is the IP address of your modem) could do the job.

Another thing to investigate is DNS. Try pinging 66.94.230.36 (that's 
www.yahoo.com): if it replies, your problem is the DNS.

>is there a program within bsd to diagnose this?
>
>i used ifconfig but that means nothing. 
>  
>
Option -a of ifconfig may give you some additional advice - except that 
if you don't have a bare ADSL modem, you may not need tunnelling so you 
may not have a tun0 entry in the list.

Try pinging the modem and the IP address of your service provider's 
gateway. This will give you some advice regarding the connection itself.

Cheerio
Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40F6F308.1070009>