Jump to content

Unable to access Pineapple Bar


Recommended Posts

Help a newbie to Pineapple please.

When I attempt to access the Pineapple bar from the Pineapple I get the following message:

The CGI process did not produce any response

I am using 2.8.1 and the pineapple can ping cloud.wifipineapple.com from a SSH shell.

root@Pineapple:~# ping cloud.wifipineapple.com
PING cloud.wifipineapple.com (206.72.192.42): 56 data bytes
64 bytes from 206.72.192.42: seq=0 ttl=51 time=29.415 ms
64 bytes from 206.72.192.42: seq=1 ttl=51 time=27.747 ms
64 bytes from 206.72.192.42: seq=2 ttl=51 time=28.010 ms
^C

Any clue on what I'm doing wrong?

Thanks!

Link to comment
Share on other sites

k4r0nt3 may be on to something... It's not clear from your first post. Are you trying to access the Pineapple's Administration page at 172.16.42.1:1471 ? or is it that you can access the admin page but not the page that allows installation of the Infusions?

Link to comment
Share on other sites

I am able to access the pineapple via http on port 1471 and via a SSH shell.

When in the web interface select the Pineapple Bar tab.

Select List Available Infusions (cloud.wifipineapple.com).

After about a minute I get the error message:

The CGI process did not produce any response

Running the command from the ssh shell: opkg update I get the following....
Downloading http://cloud.wifipineapple.com/packages/Packages.gz.

The Pineapple gets stuck here and requires a CTRL-C to break out of the stuck process.

Running Wireshark from my laptop I can see that the Pineapple is routing out to the Internet correctly and is redirected from cloud.wifipinepple.com to http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/Packages.gz.

Going to the openwrt website shows that the correct path is not

http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/Packages.gz but http://downloads.openwrt.org/snapshots/trunk/ar71xx/Packages.

However editing the /etc/opkg.conf file to reflect the URI http://downloads.openwrt.org/snapshots/trunk/ar71xx/Packages doesn't resolve the issue.

Right now I'm stuck in that I can't get install any packages on the pineapple.

Link to comment
Share on other sites

Could you re-flash 2.8.1?

We use a different package repository than OpenWRT for some versions, so that won't always help.

Either way, seeing this error is because the pineapple tries to make a connection out but fails / times out.

It seems that you cannot reach wifipineapple.com

Try running a wget on http://wifipineapple.com/ip.php

If that works and gives you a file with your IP, good, if not, alright.

Then, try the same for http://google.com if that works but the above doesn't, it would seem somehow the connection is not allowing our host.

Please report back with your findings!

Best Regards,

Sebkinne

Link to comment
Share on other sites

I reimaged the pineapple to 2.8.1

From a SSH shell

I am able to run the wget to wifipineapple.com/ip.php and I get 100%. - Reports back

"Connecting to wifipineapple.com <206.72.192.42:80>

"ip.php %100 |***********************************| 13 0:00:00 ETA

I am able to ping and google.com

I am not able to run "opkg update"

From the a web browser I then select "List available Infusions (aka modules)" After 60 seconds I get the following message "The CGI process did not produce any response".

This happens from a machine that is running Windows 7 and from a device that is running Ubuntu 12.04LTS.

Link to comment
Share on other sites

Running WGET in Windows this is what I get:

C:\Users\SKDHF\Desktop>wget http://cloud.wifipineapple.com/packages/Packages.gz
--2013-07-12 13:18:38-- http://cloud.wifipineapple.com/packages/Packages.gz
Resolving cloud.wifipineapple.com... 206.72.192.42
Connecting to cloud.wifipineapple.com|206.72.192.42|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/
packages/Packages.gz [following]
--2013-07-12 13:18:38-- http://downloads.openwrt.org/attitude_adjustment/12.09/
ar71xx/generic/packages/Packages.gz
Resolving downloads.openwrt.org... 78.24.191.177
Connecting to downloads.openwrt.org|78.24.191.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 303339 (296K) [application/octet-stream]
Saving to: `Packages.gz.1'

100%[======================================>] 303,339 252K/s in 1.2s

2013-07-12 13:18:40 (252 KB/s) - `Packages.gz.1' saved [303339/303339]

From the Pineapple via SSH shell:

root@Pineapple:~# opkg update
Downloading http://cloud.wifipineapple.com/packages/Packages.gz.

^C

root@Pineapple:~# wget http://cloud.wifipineapple.com/packages/Packages.gz
Connecting to cloud.wifipineapple.com (206.72.192.42:80)
Connecting to downloads.openwrt.org (78.24.191.177:80)
^C

root@Pineapple:~# ping www.google.com
PING www.google.com (74.125.224.243): 56 data bytes
64 bytes from 74.125.224.243: seq=0 ttl=52 time=30.455 ms
64 bytes from 74.125.224.243: seq=1 ttl=52 time=28.678 ms
64 bytes from 74.125.224.243: seq=2 ttl=52 time=28.687 ms
64 bytes from 74.125.224.243: seq=3 ttl=52 time=28.960 ms
64 bytes from 74.125.224.243: seq=4 ttl=52 time=28.288 ms
64 bytes from 74.125.224.243: seq=5 ttl=52 time=28.804 ms
^C
--- www.google.com ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 28.288/28.978/30.455 ms

root@Pineapple:~# wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/Packages.gz
Connecting to downloads.openwrt.org (78.24.191.177:80)
^C
root@Pineapple:~#

Each ^C is when I aborted the transfer after 5 minutes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

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