Author: Dan
Date: 22-03-08 03:12
If you've been using FreeBSD for even a short while, you will recognize this from /etc/rc.conf as a method for specifying DHCP configuration of a wireless NIC:
ifconfig_ath0="DHCP"
But did you know you can do this?
ifconfig_ath0="ssid MyWAPSSID wepkey 'ThingsYouKnew' wepmode on weptxkey 1 DHCP"
Until tonight, I had thought "DHCP" was an all or nothing option.
The above configures the NIC by specifying:
- ssid
- wepkey
- turns wepmode on
- tells the NIC to use wepkey #1
- assigns an IP address to the card using DHCP
Very nice. :)
--
Webmaster
|
|