Jump to content

Pineapple on Wifi - SSH but no HTTP?


StickyC

Recommended Posts

Posted

Just got a Nano and am working through getting it set up.

I went through the setup via USB/Ethernet on Win10, got the internet sharing working, installed a few modules, did a few scans, the web interface worked fine.

I want to run the thing without a PC, so I read up on setting it up as a wireless client for my local network (per https://wiki.wifipineapple.com/#!./connectivity.md#WiFi_Client_Mode).

I got a Panda USB WiFi dongle and set the Nano up as a Wifi client for my local network using WLAN2. Verified that it connected to my WiFi and got an IP, then shut the Nano down and plugged it into a USB charger.

Via Wifi - The Nano connects to my AP fine and I can SSH in to it, but when I try to pull up a web page, I just get an empty index.html (200 response) - even trying a wget on localhost from the Nano itself.

Nginx appears to be running and there's nothing in /var/nginx/error.log.

Did I miss a step?

Posted

Could it be that you were trying to access the web interface at 172.16.42.1 instead of 172.16.42.1:1471?

Posted

Nope - It's definitely giving an HTTP response, just serving up an empty page.

curl -v http://192.168.1.193/
*   Trying 192.168.1.193...
* TCP_NODELAY set
* Connected to 192.168.1.193 (192.168.1.193) port 80 (#0)
> GET / HTTP/1.1
> Host: 192.168.1.193
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.12.1
< Date: Tue, 11 Sep 2018 05:12:10 GMT
< Content-Type: text/html; charset=UTF-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Vary: Accept-Encoding
< X-Powered-By: PHP/5.6.32
<
* Connection #0 to host 192.168.1.193 left intact
ssh [email protected]
[email protected]'s password:


BusyBox v1.23.2 (2018-03-20 00:46:10 UTC) built-in shell (ash)

                                               .NN,
                                    .cxxdl'    xMMO    'cdxxl'
                                      .c0WMNk;,NMMW:,xXMMKo.
                                      ...:KMMMWMMMMWMMMXc...           .
                         ,        .l0NMMMNXMMMMMMMMMMMMXNMMMWKl'      xWd
                       ,0Wd         .':xNMMMMMMMMMMMMMMMMNkc'.        ;KM0'
                      lWMo            .;dNMMMMMMMMMMMMMMWx:.      .l.   dMWc
                     :WWo   oNd   .;xKWMMMMMMMMMMMMMMMMMMMMWXx:.  dWX:   dMW;
                    ,NWo   oMW:   .. ..,lOXWMMMMMMMMMMWN0o;.. ..   cWMl   dMN'
                   .XMx   oWN;   lc     .loooolcooclooool.    cXl   oMWc   kMK.
                   oMW'  ,WMl   cMW:   lWMW0d:;cdd:;:o0WMWl   lMW:   OMW'  ,WMl
                   0M0   xMX.  .XMd   .lo:.,dXMMMMMMXd,.:ol.   kMK.  'NMd   KMO
                   NMd   KMk   lMN.  .;:xOxollccddcclloxOx:;.  'WM:   OM0   xMX
                   WMo  .XMx   dMK   oNMMMMWOc;;ol;;cOWMMMMNo  .XMl   kMK   dMN
                   NMx   0MO   :Kd. .lllcl;.:0WMMMMW0:.;lclll. .xK;   0MO   kMX
 __          ___ ______ _   _____ _.:W0;,oxl:::oOOo:::lxo,;0W:   _   .ONo   KMk
 \ \        / (_|  ____(_) |  __ (_);cKMMMMWk:.;,.;kWMMMMKc;.   | |        .OX:
  \ \  /\  / / _| |__   _  | |__) _ _ __   ___  __ _ _ __  _ __ | | ___  NANO
   \ \/  \/ / | |  __| | | |  ___| | '_ \ / _ \/ _` | '_ \| '_ \| |/ _ \ 2.3.2
    \  /\  /  | | |    | | | |   | | | | |  __| (_| | |_) | |_) | |  __/
     \/  \/   |_|_|    |_| |_|   |_|_| |_|\___|\__,_| .__/| .__/|_|\___|.com
     With OpenWrt CHAOS CALMER                      | |   | |
                                                    |_|   |_|
root@Pineapple:~#

 

Posted

@kbeflo is right, you are using the wrong port. You should be going to 1471.

The reason you are getting a 200 on port 80 is because of the webserver running for captive portal purposes.

Posted

Ahhh, that makes sense. 

It wasn't super clear from the docs, but I only had WLAN1 and WLAN2 available on the list, so I assumed the external was being mapped to WLAN2 and WLAN1 is both internal radios. Is this not correct?

Posted

wlan0 is the internal AP radio interface, wlan1 is the secondary internal radio interface for PineAP. Any wlanX after that will be external.

 

You may come across wlan0-1, it's a virtual interface for the primary radio used for the management AP.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...