linuxユーザー向け Wifi pineappleのセットアップ

ITsetup,wifi

みなさんwifiで遊んでますか?

最近僕はwifiでよく遊んでいます。

ところで、最近wifi pineappleというガジェットが一部で話題ですね。

何をする機械なのかは置いておいて、セットアップの備忘録を作っておきます。

準備するもの

本体の他に、データ保管用のマイクロSDカードが必要です。僕は買っていませんでした。

みなさんは先に買っておいてくださいね

モジュールを追加するときに悲しい感じになります。

【 サンディスク 正規品 】 10年保証 microSDカード 32GB UHS-I Class10 SanDisk Ultra SDSQUNA-032G-GHENA エコパッケージ
MicroSD
  • Personal Computers
  • メーカー : SanDisk

マニュアル類について

古い資料やセットアップガイドには、最新のアドレスが書かれていませんでした。現在は全部hak5に吸収されているようです。

https://docs.hak5.org/hc/en-us/categories/360000979333-WiFi-Pineapple

マニュアルはここです。

最新ファームもこの中にあります。

セットアップ

USBで接続すると有線LANとして認識されます。

ブラウザから172.16.42.42へアクセスするとwifi pineappleに接続します。

ファームウェアアップデートをするよう出てくるので下のアドレスから最新のファームウェアをダウンロードし、アップデートします。

https://downloads.hak5.org/pineapple/nano

あとは出てきたフォームに入力するだけです。

linux特有のセットアップについて

そのままだと、wifi pineappleが有線LANとして認識され、インターネット接続を切断してしまいます。

パワーで無線LANと共存させてもいいかもしれませんが、ちゃんと対策スクリプトが用意されているので安心してください。

wget wifipineapple.com/wp6.sh
./wp6.sh 

wifi等の元々あるネットワーク機器とwifi pineappleを共存させるスクリプトをダウンロードします。

このアドレスはなぜか生きているようです。

This WiFi Pineapple Connection script requires root.

  ▄▄▌ ▐ ▄▌▪  ·▄▄▄▪       ▄▄▄·▪   ▐ ▄ ▄▄▄ . ▄▄▄·  ▄▄▄· ▄▄▄·▄▄▌  ▄▄▄ .
  ██· █▌▐███ ▐▄▄·██     ▐█ ▄███ •█▌▐█▀▄.▀·▐█ ▀█ ▐█ ▄█▐█ ▄███•  ▀▄.▀·
  ██▪▐█▐▐▌▐█·██▪ ▐█·     ██▀·▐█·▐█▐▐▌▐▀▀▪▄▄█▀▀█  ██▀· ██▀·██▪  ▐▀▀▪▄
  ▐█▌██▐█▌▐█▌██▌.▐█▌    ▐█▪·•▐█▌██▐█▌▐█▄▄▌▐█ ▪▐▌▐█▪·•▐█▪·•▐█▌▐▌▐█▄▄▌
   ▀▀▀▀ ▀▪▀▀▀▀▀▀ ▀▀▀    .▀   ▀▀▀▀▀ █▪ ▀▀▀  ▀  ▀ .▀   .▀   .▀▀▀  ▀▀▀ 
                                                               v6.5

    Saved Settings: Share Internet connection from wlan0
    to WiFi Pineapple at eth1 through default gateway ***.***.*.*

    Since this is the first time running the WP6 Internet Connection Sharing
    script, Guided setup is recommended to save initial configuration.
    Subsequent sessions may be quickly connected using saved settings.

    [C]onnect using saved settings
    [G]uided setup (recommended)
    [M]anual setup
    [A]dvanced IP settings
    [Q]uit

ここで、ガイドセットアップを行うため、「G」キーを押します。

するとガイダンスが始まるので全部yで答えていけば勝手に設定してくれます。

ガイダンスの最初でWifi Pineappleを取り外すよう指示されます。

USBから抜いてください。

Step3で再度接続するよう指示されるので、step3まで進んだら接続します。

あとは勝手にやってくれます。

    WiFi Pineapple detected. Please disconnect the WiFi Pineapple from
    this computer and press any key to continue with guided setup.
    
    Step 1 of 3: Select Default Gateway
    Default gateway reported as ***.***.*.*
    Use the above reported default gateway?             [Y/n]? y

    Step 2 of 3: Select Internet Interface
    Internet interface reported as wlan0
    Use the above reported Internet interface?          [Y/n]? y

    Step 3 of 3: Select WiFi Pineapple Interface
    Please connect the WiFi Pineapple to this computer.
    .....[Checking]
    Detected WiFi Pineapple on interface eth1
    Use the above detected WiFi Pineapple interface?    [Y/n]? y

    Settings saved.

    Saved Settings: Share Internet connection from wlan0
    to WiFi Pineapple at eth1 through default gateway 192.168.0.1

これで無事wifi pineapple使いながら自分はインターネットでYouTubeなどを見る準備が整いました。

よかったですね

広告

ITsetup,wifi

Posted by 黒生野 からす