相続、親が弱ってきたら銀行の預金は親の面倒を見ているものが全て解約して管理すべきである、銀行は解約させない!!

raspberry pi3 wifi 5GHz 最終版

Wi-Fi
スポンサーリンク

raspberry

これでやっと満足できる5GHz wifi 環境ができた

raspbianをダウンロードしてSDカードに焼く

apt-get update

apt-get upgrade

rpi-update

reboot

apt-get dist-upgrade

raspbianのソースをインストール

wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/bin/rpi-source && sudo chmod +x /usr/bin/rpi-source && /usr/bin/rpi-source -q --tag-update

apt-get install bc

rpi-source

GW450Dのwifi driver インストール

https://www.planex.co.jp/support/download/gw-450d/driver_linux.shtml ここからドライバを入手

cp /home/pi/Downloads/gw-450d_driver_linux_v3002.zip /usr/local/src
cd /usr/local/src

unzip gw-450d_driver_linux_v3002.zip

tar xvjf mt7610u_wifi_sta_v3002_dpo_20130916.tar.bz2

cd mt7610u_wifi_sta_v3002_dpo_20130916

https://gist.github.com/moutend/cb35a37297910c99d3e2 ここを参考にした

vi os/linux/config.mk

-HAS_WPA_SUPPLICANT=n

+HAS_WPA_SUPPLICANT=y

-HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n

+HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

-CHIPSET_DAT = 2860

+CHIPSET_DAT = 2870

 

vi conf/RT2870STA.dat

-CountryRegion=5

+CountryRegion=1

-CountryRegionABand=7

+CountryRegionABand=6

-CountryCode=JP

+CountryCode=JP

-SSID=11n-AP

+SSID=

-AuthMode=OPEN

-EncrypType=NONE

+AuthMode=WPA2PSK

+EncrypType=AES

 

vi os/linux/rt_linux.c

– if (osfd->f_op && osfd->f_op->read) {

– return osfd->f_op->read(osfd, pDataPtr, readLen, &osfd->f_pos);

+ if (osfd->f_op) {

+ return __vfs_read(osfd, pDataPtr, readLen, &osfd->f_pos);

vi include/os/rt_linux.h

– int fsuid;

– int fsgid;

+ kuid_t fsuid;

+ kgid_t fsgid;

 

vi common/rtusb_dev_id.c

+ {USB_DEVICE(0x2019,0xAB31)}, /* GW-450D */

 

http://neuralassembly.blogspot.jp/2015/09/raspberry-pi-2-kernel-416-5ghzwifigw.html  ここを参考にした

vi sta/sta_cfg.c

snprintf(extra, size, “Driver version-%s, %s %s\n”, STA_DRIVER_VERSION, __DATE__, __TIME__ );

+ snprintf(extra, size, “Driver version-%s\n”, STA_DRIVER_VERSION);

vi common/cmm_info.c

DBGPRINT(RT_DEBUG_TRACE, (“Driver version-%s %s %s\n”, STA_DRIVER_VERSION, __DATE__, __TIME__));

+ DBGPRINT(RT_DEBUG_TRACE, (“Driver version-%s\n”, STA_DRIVER_VERSION));

 

make

make install

rm -r /etc/Wireless/RT2860STA

mkdir -p /etc/Wireless/RT2870STA

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

vi /etc/network/interfaces

allow-hotplug ra0
iface ra0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

ASUSのAPはワイヤレスモードは自動 チャンネル帯域を80MHz に設定する 速度を確保できる

Wi-FiRaspberry Pi
スポンサーリンク
シェアする
ふじやんをフォローする
スポンサーリンク
なんでもDIY

コメント