GitBook: [#18] ICS Linux
After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 54 KiB |
Before Width: | Height: | Size: 54 KiB After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 44 KiB |
|
@ -1,2 +1,25 @@
|
||||||
# Configuring ICS on Linux
|
# Configuring ICS on Linux
|
||||||
|
|
||||||
|
ICS, or **Internet Connection Sharing**, can be used to share internet from your computer to the attached WiFi Pineapple, over it's USB-C Ethernet connection.
|
||||||
|
|
||||||
|
On Linux, this is easy to accomplish with the use of the WiFi Pineapple ICS Script, referred to as **wp7.sh**. It is a shell script that will guide you through the ICS setup process.
|
||||||
|
|
||||||
|
### Getting Started
|
||||||
|
|
||||||
|
Start by opening the Terminal emulator for your Linux distribution. On Ubuntu, Gnome Terminal can be found by searching for "Terminal".
|
||||||
|
|
||||||
|
Once the Terminal is open, get the WP7.sh script, and mark it as executable with `chmod`.
|
||||||
|
|
||||||
|
![](<../../.gitbook/assets/image (36).png>)
|
||||||
|
|
||||||
|
Once you've done that, execute the script as root, with `sudo ./wp7.sh`.
|
||||||
|
|
||||||
|
![](<../../.gitbook/assets/image (34).png>)
|
||||||
|
|
||||||
|
### Guided Setup Mode
|
||||||
|
|
||||||
|
In this mode, the ICS script will try to automatically determine which interface is the WiFi Pineapple, and what your current network settings are. To do this, press **G** on your keyboard and follow the on-screen instructions.
|
||||||
|
|
||||||
|
![](<../../.gitbook/assets/image (35).png>)
|
||||||
|
|
||||||
|
Now you can press **C** to connect.
|
||||||
|
|
|
@ -22,7 +22,7 @@ Continuing withing the **Setup by USB-C Ethernet** option will still allow you t
|
||||||
|
|
||||||
Next, connect to an Access Point you know the credentials to. Doing this will establish an internet connection for the WiFi Pineapple, and the latest firmware will be automatically downloaded.
|
Next, connect to an Access Point you know the credentials to. Doing this will establish an internet connection for the WiFi Pineapple, and the latest firmware will be automatically downloaded.
|
||||||
|
|
||||||
![](<../.gitbook/assets/image (34).png>)
|
![](<../.gitbook/assets/image (34) (1).png>)
|
||||||
|
|
||||||
{% hint style="warning" %}
|
{% hint style="warning" %}
|
||||||
Only WPA2, WPA and Open networks are currently supported in the stager.
|
Only WPA2, WPA and Open networks are currently supported in the stager.
|
||||||
|
@ -30,7 +30,7 @@ Only WPA2, WPA and Open networks are currently supported in the stager.
|
||||||
|
|
||||||
After the connection is successfully established, the firmware will be automatically downloaded and flashed to your WiFi Pineapple. Once the upgrade is complete, you will be able to access the WiFi Pineapple at https://172.16.42.1:1471 again.
|
After the connection is successfully established, the firmware will be automatically downloaded and flashed to your WiFi Pineapple. Once the upgrade is complete, you will be able to access the WiFi Pineapple at https://172.16.42.1:1471 again.
|
||||||
|
|
||||||
![](<../.gitbook/assets/image (35).png>)
|
![](<../.gitbook/assets/image (35) (1).png>)
|
||||||
|
|
||||||
## Uploading the firmware manually
|
## Uploading the firmware manually
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ As an alternative to getting the firmware over-the-air, you may choose to upload
|
||||||
|
|
||||||
To start, begin by downloading the latest firmware from the [Hak5 Download Portal](htps://downloads.hak5.org). The latest releases are always at the top of the table, and highlighted blue.
|
To start, begin by downloading the latest firmware from the [Hak5 Download Portal](htps://downloads.hak5.org). The latest releases are always at the top of the table, and highlighted blue.
|
||||||
|
|
||||||
![](<../.gitbook/assets/image (36).png>)
|
![](<../.gitbook/assets/image (36) (1).png>)
|
||||||
|
|
||||||
Once the file is downloaded, verify the SHA256 sum with the one listed on the download portal.
|
Once the file is downloaded, verify the SHA256 sum with the one listed on the download portal.
|
||||||
|
|
||||||
|
|