From owner-freebsd-questions@FreeBSD.ORG Mon Nov 27 00:01:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C462516A4FC for ; Mon, 27 Nov 2006 00:01:25 +0000 (UTC) (envelope-from parv@pair.com) Received: from mta2.adelphia.net (mta2.adelphia.net [68.168.78.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FC8D43D8C for ; Mon, 27 Nov 2006 00:00:10 +0000 (GMT) (envelope-from parv@pair.com) Received: from default.chvlva.adelphia.net ([69.160.66.115]) by mta15.adelphia.net (InterMail vM.6.01.05.04 201-2131-123-105-20051025) with ESMTP id <20061126233449.HVXC25578.mta15.adelphia.net@default.chvlva.adelphia.net>; Sun, 26 Nov 2006 18:34:49 -0500 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id A5CF3B57C; Sun, 26 Nov 2006 18:46:03 -0500 (EST) Date: Sun, 26 Nov 2006 18:46:03 -0500 From: parv@pair.com To: Graham Bentley Message-ID: <20061126234603.GB4039@holestein.holy.cow> Mail-Followup-To: Graham Bentley , f-q References: <001501c7117e$0d429f90$1c07a8c0@CPC> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001501c7117e$0d429f90$1c07a8c0@CPC> Cc: f-q Subject: Re: WiFi Woes ! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 00:01:25 -0000 in message <001501c7117e$0d429f90$1c07a8c0@CPC>, wrote Graham Bentley thusly... > > > > Have tried 'route add 192.168.7.1' and editting rc.conf by hand > > to no avail. > > can now ping router however cannot ping external addresses even by > ip ... maybe I messed up by playing with 'route add' ? How do I > check that or put it back to install defaults ? Check the routes by netstat(1) with options "-rn" (-r option to lists the routing tables; -n option to list only the IP addresses, not host names). Below is the output on my machine (without localhost) ... # netstat -rn | grep -v '127.0.0.' Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.2.1 UGS 0 6903 iwi0 192.168.2 link#1 UC 0 0 iwi0 192.168.2.1 00:04:e2:7c:c0:ca UHLW 2 61 iwi0 511 Route can be changed first by deleteing it by running route(1) with command "delete" (specify a route to delete) or "flush" (remove all the routes). Set "defaultrouter" in /etc/rc.conf with the value of IP address of your router to avoid manually running route(1). I have ... # grep defaultrouter /etc/rc.conf ... defaultrouter="192.168.1.1" For more information, see respective man pages, and FreeBSD Handbook, in particular ... http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html - Parv --