Using OpenBSD to Connect to WiFi

To scan access point:
# ifconfig -M uath0

To connect to access point (dhcp):
# ifconfig uath0 nwid Wireless@SG
# dhclient uath0

To connect to access point (static IP):
# ifconfig uath0 inet 192.168.0.2 netmask 255.255.255.0 nwid Wireless@SG

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.