mirror of
https://github.com/hak5darren/wifipineapple-wiki.git
synced 2025-10-29 16:59:29 +00:00
Connectivity
This commit is contained in:
parent
3fd9555491
commit
b42b0cd745
@ -25,7 +25,7 @@ The **WiFi Pineapple NANO** may be enhanced with wired Ethernet functionality by
|
||||
|
||||
One of the most popular deployment scenarios is to configure the WiFi Pineapple to share an Internet connection from a personal computer, such as a notebook running Windows or Linux. With the WiFi Pineapple providing its WiFi clients Internet access from the host PC, the penetration tester may then extend MITM functions through desktop applications such as packet analyzers and auditing frameworks.
|
||||
|
||||
## Ethernet with Windows
|
||||
### Ethernet with Windows
|
||||
|
||||
By default the WiFi Pineapple is expecting an Internet connection from 172.16.42.42 on its LAN. Connect the WiFi Pineapple LAN port to the Windows PC host. On the NANO this is the male USB A plug. On the TETRA this is the USB ETH port.
|
||||
|
||||
@ -43,7 +43,7 @@ Note: For convenience the network interface may be renamed by highlighting it an
|
||||
* Click OK
|
||||
* Click Close
|
||||
|
||||
## Ethernet with Linux
|
||||
### Ethernet with Linux
|
||||
|
||||
By default the WiFi Pineapple is expecting an Internet connection from 172.16.42.42 on its LAN. Connect the WiFi Pineapple LAN port to the Linux PC host. On the NANO this is the male USB A plug. On the TETRA this is the USB ETH port.
|
||||
|
||||
@ -63,6 +63,26 @@ The WiFi Pineapple Connector script for Linux offers either guided or manual set
|
||||
|
||||
The WiFi Pineapple Connector script for Linux is provided free of charge for convenience, without warranty, and is not necessary for successful operation of the WiFi Pineapple.
|
||||
|
||||
### Internet Conection Sharing on MacOS
|
||||
1. Open System Preferences -> Sharing and enable Internet Sharing
|
||||
2. Once the blue LED on top of the NANO has stopped flashing, open Network Settings and connect to the new Wifi access point that is created by the NANO. The naming convention is *Pineapple_NNNN*, where NNNN is from the MAC address printed on the bottom of the device.
|
||||
3. Browse to [http://172.16.42.1:1471/](http://172.16.42.1:1471/)
|
||||
4. Follow the onscreen instructions to complete setup
|
||||
5. Once your initial setup is complete, reconnect to the NANO's access point.
|
||||
6. Open a new Terminal window and connect to the NANO via SSH
|
||||
`ssh root@172.16.42.1`
|
||||
7. Configure the IP address
|
||||
`uci set network.lan.ipaddr='192.168.2.10'`
|
||||
8. Configure the Gateway
|
||||
`uci set network.lan.gateway='192.168.2.1'`
|
||||
9. Save the configuration and reboot
|
||||
`uci commit && reboot`
|
||||
|
||||
You should now be able to access the Wifi Pineapple NANO GUI without connecting to its own access point by navigating to [http://192.168.2.10:1471/](http://192.168.2.10:1471/)
|
||||
|
||||
If you receive an error when attemtping to connect to the NANO over SSH (step 8) you may need to remove the existing SSH key from your *known_hosts* file which can be done with this command
|
||||
`ssh-keygen -R 172.16.42.1`
|
||||
|
||||
## USB Tethering (Android)
|
||||
|
||||
The WiFi Pineapple can be provided an Internet connection from many means, including USB Ethernet adapters. Many Android devices have the capability to emulate a USB Ethernet adapters, sharing their Internet connections with other devices like notebook computers.
|
||||
|
||||
26
setup.md
26
setup.md
@ -30,7 +30,7 @@ We advise connecting the WiFi Pineapple NANO to a stable USB power supply capabl
|
||||
7. When prompted, tap Begin Setup to launch the NANO setup page.
|
||||
8. Follow the onscreen instructions to complete setup
|
||||
|
||||
### Windows / Linux
|
||||
### Windows / Linux / MacOS
|
||||
|
||||
1. Download the latest WiFi Pineapple NANO firmware
|
||||
https://www.wifipineapple.com/downloads
|
||||
@ -38,29 +38,7 @@ We advise connecting the WiFi Pineapple NANO to a stable USB power supply capabl
|
||||
3. Browse to http://172.16.42.1:1471
|
||||
4. Follow the onscreen instructions to complete setup
|
||||
|
||||
### MacOS
|
||||
|
||||
1. Download the latest WiFi Pineapple NANO firmware
|
||||
[https://www.wifipineapple.com/downloads](https://www.wifipineapple.com/downloads)
|
||||
2. Plug the NANO into your computer using the included USB Y cable
|
||||
3. Open System Preferences -> Sharing and enable Internet Sharing
|
||||
4. Once the blue LED on top of the NANO has stopped flashing, open Network Settings and connect to the new Wifi access point that is created by the NANO. The naming convention is *Pineapple_NNNN*, where NNNN is from the MAC address printed on the bottom of the device.
|
||||
5. Browse to [http://172.16.42.1:1471/](http://172.16.42.1:1471/)
|
||||
6. Follow the onscreen instructions to complete setup
|
||||
7. Once your initial setup is complete, reconnect to the NANO's access point.
|
||||
8. Open a new Terminal window and connect to the NANO via SSH
|
||||
`ssh root@172.16.42.1`
|
||||
9. Configure the IP address
|
||||
`uci set network.lan.ipaddr='192.168.2.10'`
|
||||
10. Configure the Gateway
|
||||
`uci set network.lan.gateway='192.168.2.1'`
|
||||
12. Save the configuration and reboot
|
||||
`uci commit && reboot`
|
||||
|
||||
You should now be able to access the Wifi Pineapple NANO GUI without connecting to its own access point by navigating to [http://192.168.2.10:1471/](http://192.168.2.10:1471/)
|
||||
|
||||
If you receive an error when attemtping to connect to the NANO over SSH (step 8) you may need to remove the existing SSH key from your *known_hosts* file which can be done with this command
|
||||
`ssh-keygen -R 172.16.42.1`
|
||||
See [Connectivity](connectivity.md) for further setup of Internet Connection Sharing (ICS).
|
||||
|
||||
## WiFi Pineapple TETRA
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user