Jump to content

Scout32

Active Members
  • Posts

    27
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Wisconsin

Recent Profile Visitors

1,075 profile views

Scout32's Achievements

Newbie

Newbie (1/14)

  1. Cool thanks. Yeah I ended up just scrapping everything and flashing Firmware 1.1.1. I definitely think something went haywire during the flashing process of 1.1.0, or maybe dnsspoof installation. Either way, the reflash to 1.1.1 did the trick and everything is working. I immediately saw index.php, redirect.php, and error.php all in /www/ so something clearly happened in the previous firmware flash for me. That php code snippit should (and I'm sure would now) call the selected random rolls. I probably won't be installing RandomRoll, even though it looks like a pretty fun module, because my testing will be more focused on user awareness than Nyan Cat... although that would be pretty hilarious with some of my clients ;). Thanks again for the assistance. I'm attributing the issue to a bad flash. -Scout
  2. Ok, thanks for the suggestion. Am I correct in assuming there should have been a default redirect.php and error.php in /www/ that shipped with the Pineapple? I'm also not sure why the default index.php page has the php extension, as there is no php in it, just HTML and JS which loads a ton of hidden iframes. So here's what's going on from start to finish. My network info tab shows my route as: Destination Gateway <...snip...> Iface default 192.168.2.1 wlan1 172.16.42.0 * br-lan 192.168.2.0 * wlan1 I have internet connection through wlan1 and am accepting hosts on wlan0. Dnsspoof shows disabled in the Configuration tile and the dnsspoof tile. I then go to the RandomRoll tile, select my "rolls", click the "Apply Selected Rolls" button, confirm the popup, then click the "Start RandomRoll" button. The tile reports randomroll has been started. I attempt to brows to www.google.com and I get "This webpage is not available". I go back to the pineapple WUI and check the RandomRoll Log Output, which shows: dnsspoof: listening on br-lan [udp dst port 53 and not src 172.16.42.1] 172.16.42.159.8396 > 172.16.42.1.53: 33684+ A? www.google.com 172.16.42.159.8396 > 208.67.222.222.53: 33684+ A? www.google.com 172.16.42.159.11371 > <...snip...rinse and repeat...snip...> 208.67.222.222 is OpenDNS. Why is this request going out to OpenDNS and not being handled by the pineapple? SSHing into the pineapple, I see a newly created symlink to index.php, and now (didn't show before because I guess I was envoking dnsspoof incorrectly) rickroll.php and rcmroll.php (the two 'rolls' i picked). Now my question is, why the eff aren't these being called? Here's the Index.php created by RandomRoll <?php //Cache Control header("Cache-Control: no-cache, must-revalidate"); eader("Expires: Sat, 26 Jul 1997 05:00:00"); ?> <?php //Thanks newbi3 for fixing my shitty php ;) $loop = 0; foreach(glob("/www/*.php") as $roll){ $rolls[$loop] = $roll; //[debug] echo " $roll "; $loop++; } $element = rand(0, count($rolls)-1); require($rolls[$element]); ?> Reading the code, it should call one of the two rolls - but it doesn't. I'm also looking at the code for the rolls and there's nothing that stands out to me as an issue. Does any of this look familiar? Did your pineapple (or anyone else) come with error.php and redirect.php already in /www/? The MK IV did, which is why I'm confused as to why this one didn't. I'm also confused why index.php has no php code and just loads iframes for a bunch of sites like google, facebook, and twitter. Do you, or anyone else that could chime in, have an example of index.php, redirect.php, and error.php that is working for you? I'm not sure what the deal is really. I'm assuming this functionality should work out of the box and not require this much jacking around with. The MK IV worked for me with no issues. I"m almost wondering if an install was corrupt or dnsspoof didn't install correctly. Frustrating when you just want it to work. I don't mind tinkering with things, but functionality that should just work, I'm not too happy messing around with. Anyway, I'm going to mess with this till it works and I might just uninstall and reinstall to see if that helps. Thanks for the advise, I appreciate all the help. -Scout
  3. Ok... so that failed. I installed the RandomRoll module, started dnsspoof, went to browse to www.google.com and the same thing happened; "This web page is not available" (Chrome). I think this is an issue with dnsspoof itself. Also, RandomRoll deleted my original index.html, redirect.php, and error.php (which I expected) - replacing them with JUST index.php in my /www/ directory. No redirect.php, no error.php, anywhere. The redirect.php tab in dnsspoof is now also blank. Pinging google.com as a 'target' with dnsspoof/randomrool enabled shows the pineapple (obviously). SSHing into the pineapple and pinging google.com shows the correct dns resolution for google. There is a clear disconnect with requests while dnsspoof is running. Also, this redirect.php and error.php is interesting and they clearly aren't being created for me. -Scout EDIT: I also noticed the newly created index.php file has a broken html tag in it? It just has a closing </html> tag randomly put at the end of the php... thought that was odd. Further exploring the files with the infusion, I did find "redirect.orig" and "error.orig". Not sure why they never changed to .php, but I'll give that a shot and see how it goes.
  4. Thanks for the reply thesugarat. Yeah, I tired powered & non-powered hubs with my MK IV and I wasn't able to get them to work. Or, I should say, I wasn't able to get everything to work at once using a hub. If I used a USB hub, It would recognize the Alpha for only a short time but not the SD card housing my infusions. To me, that was a power issue, however, I tested the MK IV setup with both DC and battery and had the same results. I was mainly trying to use the alpha as a second radio to connect to an AP - which is mainly why I got the MK V. When I first turned dnsspoof on, there was no redirect or error php pages - and for me they didn't get created by enabling dnsspoof. I could only directly access via the web index.php by browsing to 172.16.42.1:8080/index.php. Thanks for the tip on the RandomRoll infusion, I'll install it and take a look at how that one works. I didn't install it because it was one I didn't think I'd use. I'll definitely take a look at it. Thanks again! Scout.
  5. UPDATE: The old MK IV index.html, redirect.php, and error.php do not work - and neither does dnsspoof. Not sure if it's a bug or what, but this feature isn't really working like it has in the past on the MK IV. I'm testing this on my home network. Firmware version is 1.1.0. I'm also using the MK V in client mode on wlan1 connected to my home ap, and wlan0 is up for clients to connect to my MK V. I turn dnsspoof on via the "configuration" tile, and it's also available to enable on the dnsspoof tile. I also confirmed I have an internet connection. My host file is: 172.16.42.1 *facebook.com My Index.php file is: <html> <head> <meta http-equiv="REFRESH" content="0;url=redirect.php"> </head> <body> </body> </html> My redirect.php is: <?php $ref = $_SERVER['HTTP_REFERER']; if (strpos($ref, "facebook")) { header('Location: facebook.html'); } ?> I have "facebook.html" in /sd/www/facebook.html and a symlink in /www/ pointing to that file (that's how I had my MK IV). My error.php is: <?php $ref = $_SERVER['HTTP_REFERER']; $today = date("F j, Y, g:i a"); if (isset($_POST['name']) && !empty($_POST['name'])) { $nam = stripslashes($_POST['name']); $pas = stripslashes($_POST['pass']); $nam = htmlspecialchars($nam, ENT_QUOTES); $pas = htmlspecialchars($pas, ENT_QUOTES); $content = $today . " -- " . $ref . " -- " . $nam . " -- " . $pas; $filed = @fopen("/sd/logs/phish.log", "a+"); @fwrite($filed, "$content\n"); @fclose($filed); } ?> <html><body> <h1>503 Service Unavailable</h1> </body></html> My dnsspoof log shows activity: dnsspoof: listening on br-lan [udp dst port 53 and not src 172.16.42.1] 172.16.42.159.9964 > 172.16.42.1.53: 27677+ A? facebook.com 172.16.42.159.37718 > 172.16.42.1.53: 55323+ A? www.facebook.com 172.16.42.159.12724 > 208.67.222.222.53: 34488+ A? facebook.com 172.16.42.159.12164 > 208.67.222.222.53: 44409+ A? www.facebook.com 172.16.42.159.12164 > 172.16.42.1.53: 44409+ A? www.facebook.com 172.16.42.159.12164 > 208.67.222.222.53: 44409+ A? www.facebook.com I wonder if openDNS is the problem? I'm not sure if this is an error with dnsspoof, openDNS, or an error on my part (although this is how I had my MK IV setup and it worked flawlessly). I'd like to get this issue figured out as I have a pentest coming up mid April that has on-site social engineering in scope. I'd like to employ this MK V in some fashion during that engagement. I could also use the MK IV, but it was a HUGE p.i.t.a. since I was never able to get usb support for a powered hub (bought the HakShop one, plus 5 other powered hubs and they never worked as they should, so I couldn't get a second radio up AND have my usb with infusions installed at the same time). Thanks in advance, -Scout
  6. Hey guys, I just received my new Mark V a few days ago (upgraded from the Mark IV) and I was wondering if anyone else was having issues with DNSSpoof working? The 2GB sd card that shipped with the MK V was corrupt, so I had to download the latest (at the time it was 1.1.0) firmware to my own 8GB sd card. After that it flashed without a hitch. When I SSHed into the pineapple I noticed there was no redirect.php or error.php in /www/, or anywhere else on the MK V for that matter. So I checked the index.html and compared it to the one from the MK IV and they're completely different. Is the MK V handling dnsspoof differently now than the MK IV? I'm going to use my old redirect.php and error.php and try it out, but I was just curious if anyone else had this "issue", or if anyone knows if the MK V is handling dnsspoof differently now. MK V Index.html that came on my pineapple is: <HTML> <BODY> <SCRIPT> if ( window.top==window.self ) { document.write('<iframe src=http://www.google.com style="display:none;"></iframe>'); document.write('<iframe src=http://www.facebook.com style="display:none;"></iframe>'); document.write('<iframe src=http://www.twitter.com style="display:none;"></iframe>'); document.write('<iframe src=http://www.hotmail.com style="display:none;"></iframe>'); document.write('<iframe src=http://www.gmail.com style="display:none;"></iframe>'); document.write('<iframe src=http://www.yahoo.com style="display:none;"></iframe>'); document.write('<iframe src=http://www.paypal.com style="display:none;"></iframe>'); document.write('<iframe src=http://www.live.com style="display:none;"></iframe>'); document.write('<iframe src=http://www.linkedin.com style="display:none;"></iframe>'); } </SCRIPT> </BODY> </HTML> The MK IV Index.html was simply: <html> <head> <meta http-equiv="REFRESH" content="0;url=redirect.php"> </head> <body> </body> </html> Very different. The only other file in /www/ is ncsi.txt and a directory /library/ (within that directory is /test/success.html which is just a simple one liner like the MK IV index.html, just without "REFRESH"). Thanks in advance for any responses/dialog. -Scout.
  7. Good luck with the powered hub. My opinion is definitely "mileage may vary" with powered hubs. I went through two Pineapples (factory defects with the wireless) and have never been able to get a powered hub to work. I've tried several different powered hubs, including the one sold from the HakShop, and not a single one has worked. I've gone through all the forums and done every recommendation out there to no avail. Direct power on the hub & pineapple, nothing; Anker Astro 10000mah, nothing; doesn't seem to matter. I always get power to the Pineapple, but the hub is never recognized and the SD card never mounts when inserted into the hub (SD runs fine when inserted directly into the pineapple). Forget about the Alfa sparking up, never happens either. Personally, I feel it's a hardware issue with Alfa and cheap parts. My usb wont mount unless I set my anker to 12V. I've gone through a few Pineapples over the past year... always seems to come down to crappy hardware. If you get (or got) one that works, cherish it LOL! I whish the hardware was 1/2 as good as the firmware.
  8. Dahveed311, Sounds a lot like the unresolved issue I had a while back with my first Pineapple. I replaced the U.FL to RP-SMA twice, and tried a host of other "fixes" with no luck. I'd recommend searching the forums and trying all of the fixes... maybe something would work for you. I'd definitely check the cable like telot suggested. Alfa does a crap job at tightening the antenna cable and it can get kinked up. For me, in the end I attributed my issues to Alfa wifi failure and had to contact the HakShop for an exchange. They're really good with customer support and assistance. I'd definitely try the recommended fixes though before considering a return/exchange. Scout
  9. Unfortunately I haven't been able to fix this issue and no one has offered any suggestions on any of my posts for wifi problems or this power issue. I haven't been able to get the HakShop usb hub reliably working. I'm really disappointed in the Alfa hardware, which I'm attributing my issues to. I wish the hardware was half as good as the software and modules the community is developing! I think what the devs and community are contributing are amazing - it's just unfortunate the Alfa hardware isn't more reliable. This is my second Pineapple due to the first one's wifi burning out completely... I even bought two different internal antenna cables. Oh well, its a cheap router. The amazing software makes the hardware headaches worth it ;)
  10. I flashed 2.7.4 and that fixed the error booting with a usb device installed, however it did not fix the issue where the USB is unrecognized when reinserted into a running Pineapple. That issue still exists and I'm not entirely sure why. Has anyone else experienced this, or a similar, issue? The Pineapple I returned didn't have a problem with removing and reinserting USBs, but this one does. Not sure if my logs will help, but if anyone has any suggestions, please let me know! 04:15:01 Pineapple user.notice root: CLEANUP: memory looking good 04:15:01 Pineapple user.notice root: CLEANUP: Karma log looking good 04:15:01 Pineapple user.notice root: CLEANUP: Clean-up Script Executed 04:15:01 Pineapple cron.info crond[1510]: crond: USER root pid 2028 cmd /pineapple/scripts/cleanup.sh 04:14:02 Pineapple cron.err crond[1510]: time disparity of 22655773 minutes detected 04:13:30 Pineapple daemon.info dnsmasq-dhcp[1605]: DHCPREQUEST(br-lan) 172.16.42.201 18:87:96:3b:50:8f 04:13:30 Pineapple daemon.info dnsmasq-dhcp[1605]: DHCPOFFER(br-lan) 172.16.42.201 18:87:96:3b:50:8f 04:13:30 Pineapple daemon.info dnsmasq-dhcp[1605]: DHCPDISCOVER(br-lan) 18:87:96:3b:50:8f 04:13:30 Pineapple daemon.info dnsmasq-dhcp[1605]: DHCPACK(br-lan) 172.16.42.201 18:87:96:3b:50:8f Android_A1000017D9A557 04:13:23 Pineapple daemon.info hostapd: wlan0: STA 18:87:96:3b:50:8f IEEE 802.11: authenticated 04:13:23 Pineapple daemon.info hostapd: wlan0: STA 18:87:96:3b:50:8f IEEE 802.11: associated (aid 1) 00:01:06 Pineapple user.info sysinit: sh: write error: Invalid argument 00:01:06 Pineapple user.info sysinit: sh: write error: Invalid argument 00:01:06 Pineapple user.info sysinit: setting up led WLAN 00:01:06 Pineapple user.info sysinit: setting up led WAN 00:01:06 Pineapple user.info sysinit: setting up led USB 00:01:06 Pineapple user.info sysinit: setting up led LAN 00:01:06 Pineapple user.info sysinit: Selected interface 'wlan0' 00:01:06 Pineapple user.info sysinit: OK 00:01:06 Pineapple user.info sysinit: /etc/rc.common: eval: line 1: can't create /sys/class/leds/alfa:blue:wan/mode: nonexistent directory 00:01:06 Pineapple user.info sysinit: /etc/rc.common: eval: line 1: can't create /sys/class/leds/alfa:blue:wan/device_name: nonexistent directory 00:01:06 Pineapple user.info sysinit: /etc/rc.common: eval: line 1: can't create /sys/class/leds/alfa:blue:lan/mode: nonexistent directory 00:01:06 Pineapple user.info sysinit: /etc/rc.common: eval: line 1: can't create /sys/class/leds/alfa:blue:lan/device_name: nonexistent directory 00:01:04 Pineapple kern.info kernel: [ 64.890000] br-lan: port 2(wlan0) entered forwarding state 00:01:03 Pineapple kern.err kernel: [ 63.120000] ath: phy0: Could not stop RX, we could be confusing the DMA engine when we start RX up 00:01:03 Pineapple kern.err kernel: [ 63.110000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x00000024 AR_DIAG_SW=0x02000020 DMADBG_7=0x00026e00 00:01:02 Pineapple kern.info kernel: [ 62.890000] br-lan: port 2(wlan0) entered forwarding state 00:01:02 Pineapple kern.info kernel: [ 62.890000] br-lan: port 2(wlan0) entered forwarding state 00:01:02 Pineapple kern.info kernel: [ 62.810000] device wlan0 entered promiscuous mode 00:01:01 Pineapple kern.info kernel: [ 61.690000] device wlan0 left promiscuous mode 00:01:01 Pineapple kern.info kernel: [ 61.690000] br-lan: port 2(wlan0) entered disabled state 00:01:01 Pineapple daemon.info dnsmasq[1605]: using nameserver 8.8.8.8#53 00:01:01 Pineapple daemon.info dnsmasq[1605]: using local addresses only for domain lan 00:01:01 Pineapple daemon.info dnsmasq[1605]: using local addresses only for domain lan 00:01:01 Pineapple daemon.info dnsmasq[1605]: started, version 2.62 cachesize 150 00:01:01 Pineapple daemon.info dnsmasq[1605]: reading /tmp/resolv.conf.auto 00:01:01 Pineapple daemon.info dnsmasq[1605]: read /etc/hosts - 1 addresses 00:01:01 Pineapple daemon.info dnsmasq[1605]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack 00:01:01 Pineapple daemon.info dnsmasq-dhcp[1605]: read /etc/ethers - 0 addresses 00:01:01 Pineapple daemon.info dnsmasq-dhcp[1605]: DHCP, IP range 172.16.42.100 -- 172.16.42.249, lease time 12h 00:00:58 Pineapple user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses! 00:00:58 Pineapple user.notice dnsmasq: Allowing 127.0.0.0/8 responses 00:00:54 Pineapple cron.info crond[1510]: crond: crond (busybox 1.19.4) started, log level 5 00:00:54 Pineapple authpriv.info dropbear[1530]: Not backgrounding 00:00:53 Pineapple daemon.notice netifd: wan (1012): Sending discover... 00:00:52 Pineapple kern.info kernel: [ 52.030000] br-lan: port 2(wlan0) entered forwarding state 00:00:50 Pineapple kern.info kernel: [ 50.030000] br-lan: port 2(wlan0) entered forwarding state 00:00:50 Pineapple kern.info kernel: [ 50.020000] br-lan: port 2(wlan0) entered forwarding state 00:00:50 Pineapple kern.info kernel: [ 49.940000] device wlan0 entered promiscuous mode 00:00:50 Pineapple daemon.notice netifd: wan (1012): Sending discover... 00:00:48 Pineapple kern.info kernel: [ 48.740000] br-lan: port 1(eth0) entered forwarding state 00:00:47 Pineapple daemon.notice netifd: wan (1012): Sending discover... 00:00:46 Pineapple kern.info kernel: [ 46.740000] eth0: link up (1000Mbps/Full duplex) 00:00:46 Pineapple kern.info kernel: [ 46.740000] br-lan: port 1(eth0) entered forwarding state 00:00:46 Pineapple kern.info kernel: [ 46.740000] br-lan: port 1(eth0) entered forwarding state 00:00:46 Pineapple kern.info kernel: [ 46.140000] device eth0 entered promiscuous mode 00:00:46 Pineapple daemon.notice netifd: wan (1012): udhcpc (v1.19.4) started 00:00:46 Pineapple daemon.notice netifd: Interface 'loopback' is now up 00:00:46 Pineapple daemon.notice netifd: Interface 'lan' is now up 00:00:41 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=ALCOR Product=USB_Hub_2.0 Serial=? 00:00:41 Pineapple user.notice usb-modeswitch: 1-1.4:1.0: Manufacturer=? Product=Staples Serial=4C532000020322115083 00:00:41 Pineapple user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.6.11_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform 00:00:41 Pineapple kern.info kernel: [ 41.720000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null) 00:00:41 Pineapple kern.info kernel: [ 41.710000] EXT4-fs (sda1): recovery complete 00:00:41 Pineapple kern.info kernel: [ 41.330000] Adding 2097148k swap on /dev/sda2. Priority:-1 extents:1 across:2097148k 00:00:39 Pineapple kern.warn kernel: [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. 00:00:39 Pineapple kern.warn kernel: [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes 00:00:39 Pineapple kern.warn kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 00:00:39 Pineapple kern.warn kernel: [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] 00:00:39 Pineapple kern.notice kernel: [ 13.560000] sd 0:0:0:0: [sda] Attached SCSI removable disk 00:00:39 Pineapple kern.notice kernel: [ 13.500000] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA 00:00:39 Pineapple kern.notice kernel: [ 13.500000] sd 0:0:0:0: [sda] Write Protect is off 00:00:39 Pineapple kern.notice kernel: [ 13.480000] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB) 00:00:39 Pineapple kern.notice kernel: [ 13.470000] scsi 0:0:0:0: Direct-Access Staples 1.22 PQ: 0 ANSI: 5 00:00:39 Pineapple kern.notice kernel: [ 0.000000] __ex_table already sorted, skipping sort 00:00:39 Pineapple kern.notice kernel: [ 0.000000] Kernel command line: board=HORNET-UB console=ttyATH0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6144k(rootfs),1600k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) rootfstype=squashfs,jffs2 noi 00:00:39 Pineapple kern.info kernel: [ 35.190000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2 00:00:39 Pineapple kern.info kernel: [ 35.140000] usbcore: registered new interface driver rtl8187 00:00:39 Pineapple kern.info kernel: [ 35.000000] usbcore: registered new interface driver rt73usb 00:00:39 Pineapple kern.info kernel: [ 34.620000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 34.610000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 34.610000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 34.600000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 34.590000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 34.580000] cfg80211: World regulatory domain updated: 00:00:39 Pineapple kern.info kernel: [ 34.580000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) 00:00:39 Pineapple kern.info kernel: [ 33.550000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 33.540000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 33.530000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 33.520000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 33.520000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) 00:00:39 Pineapple kern.info kernel: [ 33.510000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) 00:00:39 Pineapple kern.info kernel: [ 33.500000] cfg80211: World regulatory domain updated: 00:00:39 Pineapple kern.info kernel: [ 33.500000] cfg80211: Calling CRDA to update world regulatory domain 00:00:39 Pineapple kern.info kernel: [ 33.460000] compat.git: wireless-testing.git 00:00:39 Pineapple kern.info kernel: [ 33.450000] Compat-drivers backport release: compat-drivers-2012-12-04 00:00:39 Pineapple kern.info kernel: [ 33.450000] Backport based on wireless-testing.git master-2012-12-06 00:00:39 Pineapple kern.info kernel: [ 32.380000] eth0: link down 00:00:39 Pineapple kern.info kernel: [ 13.540000] sda: sda1 sda2 00:00:39 Pineapple kern.info kernel: [ 12.470000] scsi0 : usb-storage 1-1.4:1.0 00:00:39 Pineapple kern.info kernel: [ 12.460000] usb 1-1.4: not running at top speed; connect to a high speed hub 00:00:39 Pineapple kern.info kernel: [ 12.350000] usb 1-1.4: new full-speed USB device number 3 using ehci-platform 00:00:39 Pineapple kern.info kernel: [ 12.060000] hub 1-1:1.0: USB hub found 00:00:39 Pineapple kern.info kernel: [ 12.060000] hub 1-1:1.0: 4 ports detected 00:00:39 Pineapple kern.info kernel: [ 11.900000] usb 1-1: new full-speed USB device number 2 using ehci-platform 00:00:39 Pineapple kern.info kernel: [ 11.860000] USB Mass Storage support registered. 00:00:39 Pineapple kern.info kernel: [ 11.850000] usbcore: registered new interface driver usb-storage 00:00:39 Pineapple kern.info kernel: [ 11.850000] Initializing USB Mass Storage driver... 00:00:39 Pineapple kern.info kernel: [ 11.730000] uhci_hcd: USB Universal Host Controller Interface driver 00:00:39 Pineapple kern.info kernel: [ 11.610000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver 00:00:39 Pineapple kern.info kernel: [ 11.490000] hub 1-0:1.0: USB hub found 00:00:39 Pineapple kern.info kernel: [ 11.490000] hub 1-0:1.0: 1 port detected 00:00:39 Pineapple kern.info kernel: [ 11.490000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 00:00:39 Pineapple kern.info kernel: [ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) 00:00:39 Pineapple kern.info kernel: [ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes) 00:00:39 Pineapple kern.info kernel: [ 0.580000] TCP: reno registered 00:00:39 Pineapple kern.info kernel: [ 0.570000] TCP: Hash tables configured (established 1024 bind 1024) 00:00:39 Pineapple kern.info kernel: [ 0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 00:00:39 Pineapple kern.info kernel: [ 0.560000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) 00:00:39 Pineapple kern.info kernel: [ 0.560000] NET: Registered protocol family 2 00:00:39 Pineapple kern.info kernel: [ 0.550000] bio: create slab at 0 00:00:39 Pineapple kern.info kernel: [ 0.550000] Switching to clocksource MIPS 00:00:39 Pineapple kern.info kernel: [ 0.090000] NET: Registered protocol family 16 00:00:39 Pineapple kern.info kernel: [ 0.090000] MIPS: machine is ALFA NETWORKS Hornet-UB 00:00:39 Pineapple kern.info kernel: [ 0.080000] pid_max: default: 32768 minimum: 301 00:00:39 Pineapple kern.info kernel: [ 0.080000] Mount-cache hash table entries: 512 00:00:39 Pineapple kern.info kernel: [ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) 00:00:39 Pineapple kern.info kernel: [ 0.000000] Writing ErrCtl register=00000000 00:00:39 Pineapple kern.info kernel: [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 00:00:39 Pineapple kern.info kernel: [ 0.000000] Readback ErrCtl register=00000000 00:00:39 Pineapple kern.info kernel: [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) 00:00:39 Pineapple kern.info kernel: [ 0.000000] NR_IRQS:51 00:00:39 Pineapple kern.info kernel: [ 0.000000] Memory: 29124k/32768k available (2115k kernel code, 3644k reserved, 395k data, 212k init, 0k highmem) 00:00:39 Pineapple kern.info kernel: [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) 00:00:39 Pineapple kern.info kernel: [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) 00:00:39 Pineapple kern.debug kernel: [ 35.190000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' 00:00:39 Pineapple kern.debug kernel: [ 35.190000] Registered led device: ath9k-phy0 00:00:39 Pineapple kern.debug kernel: [ 35.180000] ath: doing EEPROM country->regdmn map search 00:00:39 Pineapple kern.debug kernel: [ 35.180000] ath: country maps to regdmn code: 0x37 00:00:39 Pineapple kern.debug kernel: [ 35.180000] ath: Regpair used: 0x37 00:00:39 Pineapple kern.debug kernel: [ 35.180000] ath: EEPROM regdomain: 0x833a 00:00:39 Pineapple kern.debug kernel: [ 35.180000] ath: EEPROM indicates we should expect a country code 00:00:39 Pineapple kern.debug kernel: [ 35.180000] ath: Country alpha2 being used: GB 00:00:39 Pineapple kern.debug kernel: [ 13.500000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 00:00:39 Pineapple kern.debug kernel: [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 00:00:39 Pineapple kern.debug kernel: [ 0.000000] pcpu-alloc: [0] 0 00:00:39 Pineapple kern.debug kernel: [ 0.000000] free_area_init_node: node 0, pgdat 802d35b0, node_mem_map 81000000 00:00:39 Pineapple kern.debug kernel: [ 0.000000] On node 0 totalpages: 8192 00:00:39 Pineapple kern.debug kernel: [ 0.000000] Normal zone: 8128 pages, LIFO batch:0 00:00:39 Pineapple kern.debug kernel: [ 0.000000] Normal zone: 64 pages used for memmap
  11. I recently received my replacement Pineapple due to faulty wifi hardware (no other explanation why it wasn't working). I'm now experiencing USB issues that I hand't come across with the other Pineapple I had to return. I'm on a MK IV, 2.7.0 with my formatted USB per the directions and infusions installed. The problem I'm experiencing is the USB drive, and also the USB hub, are recognized on the USB page, but they're not being read for some reason. I first tested this out with my Anker Astro 3 10000 mah battery. The Pineapple was plugged into the 9v plug and the HakShop usb hub was in the 5v usb plug, then my USB drive (16gb San Disk) was in the hub along with my Alfa 036H. The Pineapple recognized the hub, usb, and alfa at first, and my infusions worked and I could bring the Alfa up, but then it seemed the Pineapple stopped reading from the hub after only a minute or two. I tried to plug the usb directly into the Pineapple, but it wouldn't read it then either. If I restarted the Pineapple with the USB inserted, the Pineapple wouldn't boot up and the WPS button would blink until I took the USB out, then it would work properly. I then replaced the USB and it worked fine, but if I remove the USB at any point and reinsert it, it doesn't work. I know this isn't a power issue because I've seen several other posts on the forums where others are using the same battery pack with the Pineapple, powered hub, and usb PLUS a Rasberry Pi. Plus my battery is fully charged. I've also tested this while on DC power. If I remove the usb and try to plug it back into the Pineapple, it won't work. If the USB is in the Pineapple when booting, it won't boot properly until I unplug the USB. I've also tested the hub independantly with my PC. I powered the hub with the Anker and my computer recognized and read my usb with no problem. I think this is an issue with the Pineapple's USB port. I'm really hoping I didn't get a second hardware-faulty Pineapple :( (and I 100% know & believe its not at all a HakShop issue; the hardware is all Alfa obviously and the HakShop has been absolutely great on customer support). Would flashing to 2.7.1+ be a good resolution? I saw in the changelogs there was better USB reliablilty in the new releases. I'm just not sure why I'm now having a USB read issue when I didn't experience it with the other Pineapple. Any help or recommendations would be greatly appreciated. Thank in advance!! :)
  12. You could also look at the various HakTip Videos from Snubs on Linux terminal. I know they helped me out a lot.
  13. That would be pretty awesome! The power cable from hub-to-Anker is the only cable I didn't show. I lost the original power cable years ago and was trying to come up with a solution. The Anker came with a bunch of different size barrel adapters that fit on a 5.5mm 2.1mm barrel plug, so I'm going to give that a try since one of the adapters fits my hub (and the adapters fit on the usb-to-barrel plug sold for the pineapple in the HakShop). Here is the briefcase mod I saw. It's pretty clever! http://forums.hak5.org/index.php?/topic/25796-my-breifcase-wifi-pineapple-rig/?p=206249 EDIT: The USB plug on the barrel-to-USB cable (sold in the HakShop) is just a little too long to fit. I'm going to end up either getting another USB swivel adapter or getting a second cable I can mod to fit.
  14. I just got my Pelican 1050 case from the HakShop and my Anker Astro3 battery, so I figured I'd share a few of the cases I've been working on and the pelican case. I wish I could test this, but my Pineapple's WiFi seems to be shot and I can't figure out how to fix it (considering sending it back for a replacement). Anyway, I've managed to fit everything in the Pelican 1050 with slight modifications. I still need to mod a power cable to power my external hub, so that is the only cord you won't see. But everything fits in each case very well. Pelican 1050 Case: WiFi Pineapple Mk IV Alfa AWUS036H (Top part of case REMOVED < important for proper fit) Anker Astro3 10000 mha battery 5v/9v/12v 2A Pelican 1050 from the HakShop 16gb SanDisk Fit style usb USB swivel adapter (HakShop) Two RP-SMA extension cables Two 5dBi antennas Tripp-Lite powered travel 4-port usb hub Here are the images of my setup http://www.flickr.com/photos/92060902@N04/8366817784/ http://www.flickr.com/photos/92060902@N04/8365753401/ http://www.flickr.com/photos/92060902@N04/8366821614/ http://www.flickr.com/photos/92060902@N04/8365753869/ I have attached Anker to the lid with two strips of velcro. The only real way it would all fit was with the top portion of the Alfa case removed, and the Alfa put on its side next to the pineapple. When the lid closes, there is a void between the battery and side of the lid where the protruding portion of the Alfa can fit unobstructed. The next two mods are with a double CD case, and a single CD case Double CD Case: I plan to secure the Pineapple, Anker, Alfa, and usb hub down to the case with velcro but it all fit just fine. http://www.flickr.com/photos/92060902@N04/8366823234/ http://www.flickr.com/photos/92060902@N04/8365755789/ http://www.flickr.com/photos/92060902@N04/8365755455/ Single CD Case: I only used the Anker and Pineapple (along with the 16gb drive) for this mod. This case is too small to include a hub and Alfa, so internet would need to be shared via ethernet. http://www.flickr.com/photos/92060902@N04/8365761403/ http://www.flickr.com/photos/92060902@N04/8365756231/ http://www.flickr.com/photos/92060902@N04/8365756531/ http://www.flickr.com/photos/92060902@N04/8366830102/ http://www.flickr.com/photos/92060902@N04/8365762849/ I used my netbook just for the pic. The laptop I'd normally use with this has a cd drive in it so it wouldn't look suspicious with a cd case and a netbook with no drive ;) . Looking forward to seeing more case mods for this! I saw a really cool breifcase mod in a different thread that was awesome.
  15. UPDATE: I just received two new U.FL to RP-SMA cables in the mail. The oen I linked above isn't 6" as advertised, its 8" and doesn't fit that well. Anyway, I was hoping the new connector would fix my WiFi range, but sadly, it didn't. I still can't connect via WiFi from more than 3-5 feet away from the unit, line of sight. I used to be able to connect to the pineapple while it was in my office (2nd floor) and I was in my living room (1st floor) with zero problem. Also, I use Site Survey to find local APs... my laptop picks up approximately 20... my pineapple doesn't pick up a single one now. The only way I was able to get my laptop to connect to the pineapple was to have the pineapple sitting [literally] on the keyboard. Odd, however, when 'connected' via WiFi my laptop is showing full signal strength, but I have one hell of a time getting into the WUI. Most times it times out, along with pings to the pineapple. This is really frustrating now, as it worked great for the first few days I had it, then it all of a sudden stopped. I'm not sure what else to do other than exchange it at the HakShop. Does anyone have any suggestions or ideas as to how I can fix this? Also, what range are other people seeing in line of sight or obstructed/walled environments? I'm literally getting 1-2 feet maximum with a 5dBi antenna (where before it was much greater). Hardware: Mk IV Software: 2.7.0 Things I've done to try and fix this: I've tried two different U.FL to RP-SMA cables, both brand new I've tried 5 different antennas, four 5dBi and one 9 dBi (very slight improvement with 9dBi... one whole foot LoS). I've run the Pineapple on three different forms of power: Laptop USB, wall plug, and my newly acquired Anker Astro3 fully charged... same results on all three I've changed channels from 11 to 6 to 1... everything except 12 & 13. I've reflashed OTA twice now (pineapple plugged into the wall, ethernet cable to pc > go to web ui and click upgrade > Check for Upgrades > then "Re-Flash 2.7.0?"... I've never entered anything into the Perform Upgrade section where you can add an upgrade.bin and md5... I've only clicked the "Re-Flash 2.7.0" link under "Check for Upgrades". I have NOT reflashed since replacing the antenna cable... I'm going to give that a shot in a few. Am I re-flashing wrong? Missing a step? Or does it sound like my pineapple's wireless is just FUBAR? My iwconfig looks like this: Execute: iwconfig wlan0 wlan0 IEEE 802.11bgn Mode:Master Tx-Power=18 dBm RTS thr:off Fragment thr:off Power Management:on My wireless configuration file (/etc/config/wireless) looks like this config wifi-device radio0 option type mac80211 option channel 11 option macaddr 00:c0:xx:xx:xx:xx option hwmode 11gn option htmode HT20 list ht_capab SHORT-GI-20 list ht_capab SHORT-GI-40 list ht_capab RX-STBC1 list ht_capab DSSS_CCK-40 # REMOVE THIS LINE TO ENABLE WIFI: config wifi-iface option device radio0 option network lan option mode ap option ssid "noInternet" option encryption none Is there another file / location I need to be looking at to solve this or find the potential problem, or does this sound like a hardware issue? Any help / suggestions would be greatly appreciated! Thanks!
×
×
  • Create New...