TomCat Posted May 6, 2012 Posted May 6, 2012 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. Quote
vince2015 Posted May 6, 2012 Posted May 6, 2012 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 Quote
Whistle Master Posted May 6, 2012 Posted May 6, 2012 If you manually go to http://cloud.wifipineapple.com/mk4/downloads.php?moduleList, what do you see ? Quote
Molotof Posted May 6, 2012 Posted May 6, 2012 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. Quote
Whistle Master Posted May 6, 2012 Posted May 6, 2012 Yes, I mean with a browser. Can you see the list ? Quote
Synsafe Posted May 6, 2012 Posted May 6, 2012 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 Quote
WatskeBart Posted May 6, 2012 Posted May 6, 2012 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. Quote
Molotof Posted May 6, 2012 Posted May 6, 2012 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? Quote
Whistle Master Posted May 6, 2012 Posted May 6, 2012 No but as WatskeBart said, it seams that you don't have any connectivity from your pineapple. Can you ssh to the pineapple and try ping 8.8.8.8 -c 10 Quote
TomCat Posted May 7, 2012 Author Posted May 7, 2012 (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 May 7, 2012 by TomCat Quote
abxy007 Posted May 14, 2012 Posted May 14, 2012 (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 May 14, 2012 by abxy007 Quote
barry99705 Posted May 14, 2012 Posted May 14, 2012 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. Quote
Sebkinne Posted May 14, 2012 Posted May 14, 2012 I should catch that error, huh? makes mental note.... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.