Jump to content

Install to USB storage


AWR
 Share

Recommended Posts

Hi all,

Yes, I'm a newbie, don't pick on me too much.

I have a Wifi Pineapple Nano:

Quote

Current version: 1.1.3

I've followed Darren's instructions for setting up USB storage for swap and modules.

Quote

 

My fstab looks like this:

Quote

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/sdb1
       option fstype   ext4
       option options  rw,sync
       option enabled  1
       option enabled_fsck 0

config swap
       option device   /dev/sdb2
       option enabled  1

My resources look like this:

Quote

Filesystem                Size      Used Available Use% Mounted on
rootfs                    2.2M    328.0K      1.9M  15% /
/dev/root                12.5M     12.5M         0 100% /rom
tmpfs                    29.9M    128.0K     29.8M   0% /tmp
/dev/mtdblock3            2.2M    328.0K      1.9M  15% /overlay
overlayfs:/overlay        2.2M    328.0K      1.9M  15% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/sdb1                 2.7G     14.9M      2.5G   1% /usb

 

Quote

total         used         free       shared      buffers
Mem:         61204        59112         2092          160         8468
-/+ buffers:              50644        10560
Swap:       974844            0       974844

Here is my package config:

Quote

root@Pineapple:~# cat /etc/opkg.conf
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
dest usb /usb

 

However, when I select modules to install from available modules, the only option is to "Install to internal storage".

If I try to install modules via the command line using opkg I experience different issues:

1. Modules install but don't appear under Modules in the web interface

Quote

root@Pineapple:~# opkg install nmap  --dest usb
Package nmap (6.47-2) installed in usb is up to date.

2. Module fails to install e.g. urlsnarf:

Quote

root@Pineapple:~# opkg install urlsnarf  --dest usb
Unknown package 'urlsnarf'.
Collected errors:
 * opkg_install_cmd: Cannot install package urlsnarf.

3. Module cannot install with a space in the name, e.g. "Evil Portal":

Quote

root@Pineapple:~# opkg install "Evil Portal"  --dest usb
Unknown package 'Evil'.
Unknown package 'Portal'.
Collected errors:
 * opkg_install_cmd: Cannot install package Evil.
 * opkg_install_cmd: Cannot install package Portal.

The issues seems to relate more the installation of modules than USB storage.

Can anyone provide any assistance with these issues?

Thanks!

Link to comment
Share on other sites

that tutorial is for the Mark IV.  To install modules to the nano just make sure you have ICS and go to the modules tab and when you select one to install it will ask you at the top of the page if you want to install to sdcard or internal.   make sure you format your sd card before you start which is under the advanced tab. click the down arrow and it will show "format sdcard" .

Link to comment
Share on other sites

mine works fine with the sdcard.  make sure you format it from the pineapple under the advanced tab. next to USB at the top rightish it will say usb with a click down arrow.  That arrow when clicked will say format sd card.  Do so and then try again.   if that doesnt work and you have modified the fstab then do a factory reset and try that again.  It should work just fine.  Ive never had a single problem formatting and installing to the sdcard as the internal storage is to small for all the modules and some modules are to big for the internal storage.

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