View Single Post
  #6   (View Single Post)  
Old 28th June 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

short version:

/etc/rc.conf
Code:
defaultrouter="XXX.XXX.XXX.XXX"
 hostname="dixie"
 ifconfig_ath0="ssid YourSSID  WPA DHCP"    # if using dhcp
/etc/wpa_supplicant.conf
Code:
network={
 ssid="YourSSID"
 scan_ssid=1
 psk="YourPSK"
}
root shell:
Code:
# reboot
   ...

long version:

rtfm about the options available and the link forneus posted -- it is a good one and should have been your first stop when looking for information ;-).

between the manual pages and that link, it also explains what the bleeding heck is going on with the above.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote