From owner-freebsd-questions@FreeBSD.ORG Wed Jan 30 20:26:01 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F195C16A41A for ; Wed, 30 Jan 2008 20:26:01 +0000 (UTC) (envelope-from kayve@sfsu.edu) Received: from iron1.sfsu.edu (iron1.sfsu.edu [130.212.10.35]) by mx1.freebsd.org (Postfix) with ESMTP id DF5DA13C457 for ; Wed, 30 Jan 2008 20:26:01 +0000 (UTC) (envelope-from kayve@sfsu.edu) X-onepass: IPPSC X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAJ5soEeC1Apk/2dsb2JhbACwWw Received: from smtp01.sfsu.edu ([130.212.10.100]) by iron1.sfsu.edu with ESMTP; 30 Jan 2008 12:26:01 -0800 Received: from libra.sfsu.edu ([130.212.10.238]) by mail05a.sfsu.edu (Lotus Domino Release 7.0.3HF100) with ESMTP id 2008013012260042-2352 ; Wed, 30 Jan 2008 12:26:00 -0800 Date: Wed, 30 Jan 2008 12:26:00 -0800 (PST) From: KAYVEN RIESE To: Vince Hoffman In-Reply-To: <47A0DA88.4070100@unsane.co.uk> Message-ID: References: <47A0C825.2070207@unsane.co.uk> <47A0D2CC.6060302@boosten.org> <47A0DA88.4070100@unsane.co.uk> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on MAIL05a/SERVERS/SFSU(Release 7.0.3HF100 | December 5, 2007) at 01/30/2008 12:26:00, Serialize by Router on SMTP01/SERVERS/SFSU(Release 7.0.3|September 26, 2007) at 01/30/2008 12:26:01, Serialize complete at 01/30/2008 12:26:01 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Freebsd Questions , Peter Boosten Subject: Re: WPA and static IP 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: Wed, 30 Jan 2008 20:26:02 -0000 On Wed, 30 Jan 2008, Vince Hoffman wrote: > Peter Boosten wrote: >> Vince Hoffman wrote: >>> Hi all, >>> I'm wondering if there is a way to specify WPA ad a static IP for an >>> interface in /etc/rc.conf I've had a quick look though the handbook and >>> google but all the examples use WPA and DHCP. >>> >> >> ifconfig_ath0="WPA inet 192.168.13.8 netmask 255.255.255.0" i, on the other hand need a different line: kv_bsd# tail -5 /etc/rc.conf usbd_enable="YES" ifconfig_bge0="inet 192.168.0.2 netmask 255.255.255.0" defaultrouter="192.168.0.1" hostname="kv_bsd" tcp_extensions="YES" kv_bsd# there is a commmand called dmesg that shows you what your OS does during startup. i did the command piped to "bge0" to find what this is about kv_bsd# dmesg | grep bge0 bge0: mem 0xff9f0000-0xff9fffff irq 4 at device 0.0 on pci2 miibus0: on bge0 bge0: Ethernet address: 00:11:d8:22:c9:91 bge0: link state changed to UP kv_bsd# if i were you, i would try the command "dmesg | grep Ethernet" and see what you get >> >> works for me. >> >> Peter > > Doh that simple eh? > > Thanks, > Vince > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > *----------------------------------------------------------* Kayven Riese, BSCS, MS (Physiology and Biophysics) (415) 902 5513 cellular http://kayve.net Webmaster http://ChessYoga.org *----------------------------------------------------------*