Get latest Nano firmware
- Download the latest firmware and save it to your Mac
Configure USB Internet Sharing on your Mac
- Open System Preferences —> Sharing
- Enable USB sharing as shown in the image below
Configure Nano
Update Firmware
- Plug the Nano to the USB on your Mac. I just used the primary USB connector and not the additional Y cable USB connector, which seemed to work fine for the setup.
- Once the Pineapple boots up (the light stops flashing) connect to the WiFi access point that it creates using the Wifi Icon on your Mac menu bar or via System Preferences —> Network. The Wifi name looks like Pineapple_NNNN, where NNNN is from the MAC address printed on the bottom of the device.
- Connect to http://172.16.42.1:1471/ from a web browser
- Click "Continue" from that web page
- Hold the reset button for at least 3 seconds as directed (I configured the Nano with the WiFi on)
- From the web page click "Select File" and select the firmware you downloaded from the Pineapple site. Then click "Install."
- Wait a few minutes until the update finishes - the blue indicator light on the Nano should stop flashing. This will disconnect your Mac from the Pineapple WiFi.
Initial Device Configuration
- Reconnect your Mac to the Nano's Wifi Network (step 2, above)
- Follow to directions to continue "with WiFi enabled" by pressing reset button as directed.
- Set the password and SSID, for example MyPineappleWifi
- Click "Complete Setup" - which will disconnect you from the Nano's WiFi
Set Nano IP Address
Thanks to audibleblink for this post which describes configuring the Nano's network interface to work your Mac's internet sharing. Here are the steps:
- Reconnect to the Pineapple access point, i.e MyPineappleWifi
- SSH to your Nano from your Mac terminal:
ssh root@172.16.42.1
- If you have installed other Pineapples and you get an SSH error, you may need to first clear the keys from your known_hosts file:
ssh-keygen -R 172.16.42.1
- From the shell of your Nano, configure the device's IP address and gateway. This will once again disconnect you from the Nano.
uci set network.lan.ipaddr='192.168.2.10'
uci set network.lan.gateway='192.168.2.1'
uci commit && reboot
Continue Configuration
- Hard reboot: I had to unplug the Nano from USB, then reconnect to be able to connect to it after the network configuration. You shouldn't need to connect to the Nano's access point (i.e. MyPineappleWifi) at this point. You should make sure that your Mac is connected to a network and has Internet access though.
- Once your Nano reboots, try to reconnect via a web browser: http://192.168.2.10:1471/ (using the IP address you set in step 3, above)
- From the main Dashboard click "Load Bulletins..." button. If the data loads your Nano has an internet connection.
Next Steps
At this point if your Nano has an internet connection, you should be good to go. Feel free to let me know if there are any steps, issues or optimizations.
Thanks for the tutorial! All good up until after Step 6. Clients can connect and receive a 192.168.2.x address, but they are unable to route. Likewise, the Nano is unable to pull Modules from WifiPineapple.com.
ReplyDelete* ICS is set to share to from WiFi to AX88x72A.
* AX88x72A IP is 192.168.2.177
* AX88x72A Subnet is 255.255.255.0
* AX88x72A Router is 192.168.2.10
Ideas?
Many of the modules will not work if you change the IP address because some of the modules assume that the IP address will be 172.16.42.1
ReplyDeleteThanks dude, seems to be working just fine.
ReplyDeleteYou are the man, thank you for posting this. Worked like a charm.
ReplyDeleteI'm fiddling around with the Nano on a High Sierra MBA11 and clearly the ICS doesn't work. I ran Wireshark and noticed there's no NATting going on :-( so obviously it will not work. Don't know if this is a driver issue for the AX88x72A or something else.
ReplyDeleteOK... seems that modifying the internal IP addresses of the Pineapple fixed it.
DeleteThey should update the pineapple site with this info. Worked perfectly.
ReplyDeleteI am having trouble with my nano connecting to the internet. I can access the pineapple page once i'm connected to its AP but there is no internet connection (bulletins wont load). As soon as I reconnect with my main network i lose connection to the PA page. I'm using a mac running High Sierra v.10.13.6
ReplyDeleteAX88x72A (System pref -> Network)
IP: 172.16.42.1
Sub: 255.255.255.0
Router: ?
Nice and interesting information Business App / Team App
ReplyDelete