LoginSignup
2
3

More than 5 years have passed since last update.

Raspberry Pi 2 + USB WiFiドングル2個で、Wi-Fi 中継器

Posted at

概要

環境

  • Raspberry Pi 2
  • USB WiFiドングル(RTL8188CUS) : 2個

手順

  1. アクセスポイントの設定 [メモ] Raspberry Pi 3で、Wi-Fi アクセスポイントルータ
  2. iptablesの設定で eth0のかわりに、wlan1にする
  3. RTL8188CUS向け、hostapdを入れ替え (参考)

    #コマンドラインへこぴぺ
    wget https://raw.githubusercontent.com/mt08xx/vgc/master/bin/hostapd_v2.5-rtl871xdrv.zip
    unzip hostapd_v2.5-rtl871xdrv.zip
    sudo mv -i /usr/sbin/hostapd /usr/sbin/hostapd.ORIG
    sudo mv -i hostapd /usr/sbin
    sudo chmod 755 /usr/sbin/hostapd
    
  4. sudo vi /etc/hostapd/hostapd.conf

    /etc/hostapd/hostapd.conf
    ...
    # driver=nl80211
    driver=rtl871xdrv
    ...
    
  5. sudo reboot

2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3