IWN(4) | NetBSD Kernel Interfaces Manual | IWN(4) |
By default, the iwn driver configures the adapter for BSS operation (aka infrastructure mode). This mode requires the use of an access point.
For more information on configuring this device, see ifconfig(8).
dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
Configure iwn0 for WEP, using hex key “0x1deadbeef1”:
# ifconfig iwn0 nwkey 0x1deadbeef1
Return iwn0 to its default settings:
# ifconfig iwn0 -bssid -chan media autoselect \ nwid "" -nwkey
Join an existing BSS network, “my_net”:
# ifconfig iwn0 192.168.1.1 netmask 0xffffff00 nwid my_net
May 27, 2010 | NetBSD 5.99 |