Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 21:54:54 +0530
From:      Shantanoo <freebsd@dhumketu.cjb.net>
To:        Nikolas Britton <freebsd@nbritton.org>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: Can't connect to the internet
Message-ID:  <20040730162454.GA52561@dhumketu.homeunix.net>
In-Reply-To: <41076B6C.7050307@nbritton.org>

index | next in thread | previous in thread | raw e-mail

+++ Nikolas Britton [freebsd] [28-07-04 04:01 -0500]:
| Sandbox Video Productions wrote:
| 
| >I'm can't connect to the internet. I have my computer
| >connected to a router via NIC. the lights on the
| >router are lit and so are the lights on the NIC. Thus,
| >I know i have a connection. I tried ping -c 10
| >192.168.1.1 and all i got was 
| >ping: sendto: No route host
| >
| >I can't seem to find a simple to tutorial on this
| >specific problem of just connecting to the internet
| >through a router. I have found how to make your pc a
| >router and connecting via serial cables and modems,
| >but this is different. 
| >Please help or point me to a specific online manual.
| >thanks very much
| >
| Does the computer have an ip address?
| Is defaultrouter set in rc.conf?
| 
| http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html

# route add default gw 192.168.1.1

if you forgot defaultrouter in rc.conf.


Provided you nic is configured properly.

Else,

to configure NIC,

# ifconfig rl0 192.168.1.2 netmask 255.255.255.0

change rl0 according to your NIC.
Make sure that 192.168.1.2 is not assigned to any other machine on the
network.

Regards,
Shantanoo


home | help

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