Jump to content

Recommended Posts

Posted

Upgraded to 2.0.0 and am having difficulty with the modules system.

1. I log into the device and go to the modules page by clicking the modules link.

2. I click on the "Show" link to view availalable infusions.

This presents me with a list of seven of whistlemasters modules.

3. I select the link to install the Site Survey module and am presented with this error:

Warning: file_get_contents(/tmp/modules/mk4-module-sitesurvey-1.5.1/module.conf) [function.file-get-contents]: failed to open stream: No such file or directory in /www/pineapple/modules.php on line 10
 Already installed

It also displays the page below the arror as if I just ran step 1 of these procedures.

If I click "Show" again and select a different module I get the same error regardless of which I pick.

I test software for a living, so I don't mind doing some beta testing for the dev team if you guys want.

Posted

i get this when i try to load it

Warning: file_get_contents() [function.file-get-contents]: HTTP request failed! HTTP/1.1 404 Not Found

in /www/pineapple/modules.php on line 92

Warning: file_get_contents(http://cloud.wifipin....php?moduleList) [function.file-get-contents]: failed to open stream: Address family not supported by protocol in /www/pineapple/modules.php on line 92

Posted

If you manually go to http://cloud.wifipineapple.com/mk4/downloads.php?moduleList, what do you see ?

You mean by going from a browser or thru ssh ?

Also getting the same error as OP with it pointing to line 10 of www/pineapple/modules.php , I reflashed ver 2 again same error.

One more thing it seems to cut the wired connection to ICS when using a USB storage.

Posted

Warning: file_get_contents() [function.file-get-contents]: HTTP request failed! HTTP/1.1 404 Not Found

in /www/pineapple/modules.php on line 92

Warning: file_get_contents(http://cloud.wifipin....php?moduleList) [function.file-get-contents]: failed to open stream: Address family not supported by protocol in /www/pineapple/modules.php on line 92

I was able to fix an issue with the same error using the ultra quick start command;

wget wifipineapple.com/wp4.sh; chmod +x wp4.sh; ./wp4.sh; firefox http://172.16.42.1/pineapple &

Related Post, same error;

http://forums.hak5.org/index.php?showtopic=26362

Posted

People need to make sure the have a internet connection to the pineapple, otherwise you will get these errors.

A simple ping to google.com on the Advanced page will do just fine.

Posted

Yes, I mean with a browser. Can you see the list ?

Yes I can see the list from the browser, we're you able to replicate the error?

Posted (edited)

If you manually go to http://cloud.wifipineapple.com/mk4/downloads.php?moduleList, what do you see ?

Problem was a borked net connection. I have the pineapple connected to an ubuntu server that I built... the NIC I had it hooked to didn't have all of the iptables rules set to correctly allow the pineapple to talk outside... [edited to add]but it WAS able to ping and that's what lead me to thing there was a proble...[end edit] my bad.

Also saw a note from someone else, my 3 partition usb device was also making it difficult for the pineapple to boot correctly... it wouldn't boot with it plugged in and would boot fine without it and would work fine until I tried to use it... It worked 100% a/ok in this configuration on 1.1.1... Following the advice in the other thread I repartitioned the drive and reflashed the pineapple to 2.0.0 and now all is well. I've reinstalled the modules under 2.0.0...

Edited by TomCat
Posted (edited)

Warning:  file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/pineapple/modules.php on line 120



Warning:  file_get_contents(http://cloud.wifipineapple.com/mk4/downloads.php?moduleList) [function.file-get-contents]: failed to open stream: Address family not supported by protocol in /www/pineapple/modules.php on line 120

Module	Version	Download Size	Author	Description	

Im getting the error also.

Edited by abxy007
Posted

Warning:  file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /www/pineapple/modules.php on line 120



Warning:  file_get_contents(http://cloud.wifipineapple.com/mk4/downloads.php?moduleList) [function.file-get-contents]: failed to open stream: Address family not supported by protocol in /www/pineapple/modules.php on line 120

Module	Version	Download Size	Author	Description	

Im getting the error also.

SSH into the pineapple. Ping www.google.com, if you can't ping, your ics is borked. If you have no internet connection from the pineapple, you aren't going to be able to download modules from the internet.

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.

  • Recently Browsing   0 members

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