Saturday, 6 December 2014

Wifi interface on Banana Pi

The wifi interface I am using is an Edimax:
 Bus 004 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]  
in the kernel config following is enabled:
 CONFIG_RTL8192CU_SW=m  
and this is loaded as: 8192cu
 Module         Size Used by  
 sunxi_codec      20788 0   
 snd_pcm        59993 1 sunxi_codec  
 snd_page_alloc     3237 1 snd_pcm  
 snd_timer       15804 1 snd_pcm  
 snd          40073 3 snd_timer,snd_pcm,sunxi_codec  
 soundcore        4736 1 snd  
 8192cu        434852 0   
 evdev          8811 0   
and appear as wlan0. To configure for WPA2:
 apt-get install wpasupplicant  
 cat >> /etc/network/interfaces << EOF  
 auto wlan0  
 iface wlan0 inet dhcp  
 wpa-conf /etc/wpa.conf  
 EOF  
 cat > /etc/wpa.conf << EOF  
 network={  
 ssid="YOUR_SSID"  
 proto=RSN  
 key_mgmt=WPA-PSK  
 pairwise=CCMP TKIP  
 group=CCMP TKIP  
 psk="YOUR_SECRET"  
 }  
 EOF  

No comments:

Post a Comment