Jump to content

Usb Swap, Pineapple Restarting.


Recommended Posts

Hi there,

I have re-flashed my pineapple IV several times with the latest beta and the stable 2.5.0. Pineapple ALWAYS running off the mains. Each time I setup with USB storage swap from this awesome guide. http://forums.hak5.o...swap-partition/

config global automount
option from_fstab 1
option anon_mount 1
config global autoswap
option from_fstab 1
option anon_swap 1
config mount
option target /usb
option device /dev/sda1
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0
config swap
option device /dev/sda2
option enabled 1


mkswap /dev/sda2

All is well when issuing 'free' in the advanced section. It reports I have usb swap.

Then I found this posting about opkg and some modules requiring certain packages. so I use this code posted by

[b] Sebkinne http://forums.hak5.o...ad/page__st__20[/b]

sed -i 's/http:\/\/downloads.openwrt.org\/snapshots\/trunk\/ar71xx\/packages/http:\/\/cloud.wifipineapple.com\/packages/g' /etc/opkg.conf

After which I install urlsnarf + sslstrip to the USB, and logs to the usb instead of internal. Perfecto installs great.

Now, after starting karma and urlsnarf, i connect my phone and goto a website. Urlsnarf works and displays in the log section as it should. Then stops.

I am suffering from random restarts/reboots/crashing of the pineapple. I am beginning to think its because of a lack of space? I read that somewhere on this forum trying to figure it out on my own.[b] I believe the pineapple is not using the USB swap as it should, as it seems to be 100% everytime I check.[/b]

I have used two USB sticks, one 8gb and another 4gb, I have used gparted and the built in one in ubuntu to create two partitions, both ext4 and [color=#282828][font=helvetica, arial, sans-serif]unchecking the ownership box etc.[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]I believe my restarts are because of lack of free space. Have I missed a trick somewhere guys? - is there a way of forcing the pineapple to use the usb swap or something?[/font][/color][color=#282828][font=helvetica, arial, sans-serif]I look forward to hearing your thoughts.[/font][/color]

[color=#282828][font=helvetica, arial, sans-serif]Kind regards[/font][/color]

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.

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...