Pineapple Setup

From Embedded Lab Vienna for IoT & Security
Revision as of 13:18, 18 February 2020 by Ikramer (talk | contribs)
Jump to navigation Jump to search

Summary

Setup and Firmware upgrade [optional] of Wifi Pineapple Nano

Requirements

  • Operating system: Ubuntu 18.04 bionic amd64


Description

Basic setup

  • Connect antennas and USB Y cable, WiFi Pineapple NANO needs a stable USB power supply capable of providing 9W for initial setup. Therefore plug both USB Ports of USB Y cable into the Laptop. After that he blue led should have solid light.

WiFi Pineapple Nano


  • Use lusb to verify that pineapple ASIX Electronics is recognized by your laptop
  lsusb
  ... 
  Bus 001 Device 004: ID 0b95:772a ASIX Electronics Corp. AX88772A Fast Ethernet
  ...
  • Check networking interface and ip address
  sudo ifconfig
  enx00c0ca91b581: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
       inet 172.16.42.107  netmask 255.255.255.0  broadcast 172.16.42.255
       inet6 fe80::d2b0:568c:b39b:4c44  prefixlen 64  scopeid 0x20<link>
       ether 00:c0:ca:91:b5:81  txqueuelen 1000  (Ethernet)
       RX packets 15  bytes 1589 (1.5 KiB)
       RX errors 0  dropped 0  overruns 0  frame 0
       TX packets 40  bytes 5589 (5.4 KiB)
       TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
  • Browse to the determined IP address 172.16.42.1:1471

The Web interface should appear.

Upgrade to newest firmware version 2.5.4 [optional]

  sha256sum upgrade-2.5.4.bin 
  98b6190393ed3bc270966645f94a4fdbe21ea8f2d74dec88d88267fe60d3dc85 upgrade-2.5.4.bin
  • Select file with newest firmware upgrade-2.5.4.bin in the Web interface
    • press reset button
    • wait until firmware upgrade successfully verified appears
  • After upgrade connect again to 172.16.42.107:1471 and get into Device Configuration
    • Set root password for ssh and web interface access
    • pwd: <ask for>
  • Management AP Setup
    • Management SSID:
    • WPA2 pwd: <ask for>
    • check Hide Management AP
  • Open AP Setup
 is used for the target to connect to: f.e. **netlab**
 
  • Run with wp6.sh script
       gwget wifipineapple.com/wp6.sh
       chmod +x wp6.sh
       ./wp6.sh 

Used Hardware

Wifi Pineapple Nano

Courses


References