Date: Wed, 30 Jan 2008 12:26:00 -0800 (PST) From: KAYVEN RIESE <kayve@sfsu.edu> To: Vince Hoffman <vince@unsane.co.uk> Cc: Freebsd Questions <freebsd-questions@freebsd.org>, Peter Boosten <peter@boosten.org> Subject: Re: WPA and static IP Message-ID: <Pine.SOC.4.64.0801301222240.25042@libra.sfsu.edu> In-Reply-To: <47A0DA88.4070100@unsane.co.uk> References: <47A0C825.2070207@unsane.co.uk> <47A0D2CC.6060302@boosten.org> <47A0DA88.4070100@unsane.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Broadcom BCM5705 A3, ASIC rev. 0x3003> mem 0xff9f0000-0xff9fffff irq 4 at device 0.0 on pci2 miibus0: <MII bus> 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 *----------------------------------------------------------*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SOC.4.64.0801301222240.25042>