Installing TL-WDN5200 Drivers in Rasperry Pi Debian

搞定在Raspberry Pi 2上使用TP-Link 的TL-WDN5200 无线网卡,以下内容全部是命令行su 下实现,如果你使用Gui 界面可以忽略最后配置连接的部分。

安装Linux-header

wget http://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/linux-headers-3.18.9-v7%2b_3.18.9-v7%2b-2_armhf.deb

dpkg -i linux-headers-3.18.9-v7+_3.18.9-v7+-2_armhf.deb

apt-get install -f

下载驱动源代码,编译安装

git clone https://github.com/chenhaiq/mt7610u_wifi_sta_v3002_dpo_20130916.git

cd mt7610u_wifi_sta_v3002_dpo_20130916

make

make install

mkdir /etc/Wireless/RT2870STA

cp RT2870STA.dat  /etc/Wireless/RT2870STA/RT2870STA.dat

reboot

安装wpa支持套件

aptitude install wpasupplicant

搜索Wifi SSID,获取SSID 名字和加密方式

iwlist scan

生成WPA 用的PSK

wpa_passphrase SSID "WifiPassword"

network={
	ssid="SSID"
	#psk="WifiPassword"
	psk=a7ab17a799f1d0837b29c8776d7164f323e5537af62cad05bd023ce021840bea
}

编辑网络配置

vim /etc/network/interfaces
auto ra0
iface ra0 inet dhcp
        wpa-ssid SSID
        wpa-psk a7ab17a799f1d0837b29c8776d7164f323e5537af62cad05bd023ce021840bea

启动无线网卡

ifup ra0

BiRDMAN

Birdman

If your weren’t afraid, what would you want to do to me?
I’d pull your eyes out of your head…
…and put them in my own skull…
…and look around, so I could see the street the way I used to when I was your age.

Nightcrawler

Nightcrawler
超屌啊这片子

John Wick

57b74cc8ef7c0ac2bef46a9bc90e7917
这是一部西部片

Heroes of Might and Magic III

IMG_0526.JPG

这是我的学生时代