Can't connect to the internet

Shantanoo freebsd at dhumketu.cjb.net
Fri Jul 30 09:25:35 PDT 2004


+++ 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


More information about the freebsd-newbies mailing list