Quote:
Originally Posted by querier
I just discovered /etc/wpa_supplicant.conf is blank. What do I put there?
|
If you're using a hardline (ethernet), you don't need to mess with wpa_supplicant. However, for future reference, this is what you do for wireless:
If your router is set to use WPA encryption you'll need to point rc.inet1.conf to wpa_supplicant.
For instance, here is my rc.inet1.conf
Code:
IFNAME[4]="wlan0"
#IPADDR[4]=""
#NETMASK[4]=""
USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]=""
#DHCP_KEEPRESOLV[4]=""
#DHCP_KEEPNTP[4]=""
#DHCP_KEEPGW[4]=""
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]=ADS_B802WN
#WLAN_MODE[4]=Master
WLAN_RATE[4]="54M auto"
WLAN_CHANNEL[4]="auto"
#WLAN_KEY[4]="key"
#WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK="
WLAN_WPA[4]="wpa_supplicant"
LAN_WPADRIVER[4]="madwifi"
Here, WLAN_WPA[4] points to wpa_supplicant. You'll need to use
Code:
wpa_passphrase SSID password
to generate a network config block. It should come out something like this:
Code:
network={
ssid="YOURSSID"
#psk="passphrase"
psk=04dffae0172e3a255e5bab6f28ab78cc23d845f3dd8d4a63ba64a37555e2a33b
}
You then add these 3 lines to wpa_supplicant.conf and restart inet1.
If you use WEP, I think all you need to do is uncheck and enter the hex code in the "WLAN_KEY" field. If you want, you can use a string by appending "s:" to it. Example:
Code:
WLAN_KEY[4]="s:Passwordhere"
.
hope this helps