WPA and static IP
KAYVEN RIESE
kayve at sfsu.edu
Wed Jan 30 12:26:02 PST 2008
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
*----------------------------------------------------------*
Kayven Riese, BSCS, MS (Physiology and Biophysics)
(415) 902 5513 cellular
http://kayve.net
Webmaster http://ChessYoga.org
*----------------------------------------------------------*
More information about the freebsd-questions
mailing list