Wi-Fi for Raspbian: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
By default the interface will use DHCP to get an IP address. If you wish to assign a static IP address to wlan0 refer to [[Static IP Address for Raspbian | Static_IP_Address_for_Raspbian]] | |||
Here is a reference for my configuration<br> | |||
<pre> | <pre> | ||
vi /etc/wpa_supplicant/wpa_supplicant.conf | |||
</pre> | </pre> | ||
<pre> | <pre> | ||
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |||
update_config=1 | |||
#tls_disable_tlsv1_0=1 | |||
#tls_disable_tlsv1_1=1 | |||
openssl_ciphers=DEFAULT@SECLEVEL=2 | |||
country=AU | |||
network={ | network={ | ||
Line 55: | Line 20: | ||
psk="psk-password" | psk="psk-password" | ||
} | } | ||
</pre> | |||
Check for configuration | |||
<pre> | |||
iwconfig | |||
</pre> | </pre> | ||
[[Category : Linux]] [[Category : Raspbian]] | [[Category : Linux]] [[Category : Raspbian]] |
Latest revision as of 07:39, 26 March 2019
By default the interface will use DHCP to get an IP address. If you wish to assign a static IP address to wlan0 refer to Static_IP_Address_for_Raspbian
Here is a reference for my configuration
vi /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 #tls_disable_tlsv1_0=1 #tls_disable_tlsv1_1=1 openssl_ciphers=DEFAULT@SECLEVEL=2 country=AU network={ ssid="ssid-name" psk="psk-password" }
Check for configuration
iwconfig