Jump to content

KaliLo_G

Members
  • Content Count

    1
  • Joined

About KaliLo_G

  • Rank
    Newbie
  1. Alright this issue was plaguing me for an afternoon and I figured I share how I solved my problem: I bought a 32gb micro SD card and formatted it to ext4 and expected it to work on the Pineapple Nano (ver 2.6.0). It didnt work. I tried then popping it in and then formatting it through the web UI (Advanced->USB->Format SD Card). That didnt work. This was through my linux laptop via usb to pineapple. Two tabs to notice: Resource: Filesystem Size Used Available Use% Mounted on /dev/root 13.0M 13.0M 0 100% /rom tmpfs 29.1M 168.0K 28.9M 1% /tmp /dev/mtdblock3 1.3M 272.0K 1008.0K 21% /overlay overlayfs:/overlay 1.3M 272.0K 1008.0K 21% / tmpfs 512.0K 0 512.0K 0% /dev USB ( the second field below devices): config global option anon_swap '0' option anon_mount '0' option auto_swap '1' option auto_mount '1' option delay_root '5' option check_fs '0' config mount option target '/sd' <-- this directory needs to exist in the pineapple (step #2) option device '/dev/sda1' <--- this needs to be changed to sd card the nano recognizes (step # 3) option fstype 'auto' option options 'rw,sync' option enabled '1' #1 Connect to your laptop and pineapple via usb (take the male end of the nano, plug into the female end of the y splitter, then connect it to your usb port). - SSH into it. Open up your linux terminal: $ SSH root@@172.16.42.1 - Enter your nano's pw #2 move one level up. In terminal enter: $ cd .. $ ls and then you'll get bin lib pineapple root tmp www dev mnt proc sbin usr etc overlay rom sys var notice that in the resource tab from the web ui there exists mnt,tmp,(etc etc) but not one for sd (default config value) in the config mount. so just make one through terminal: $ mkdir sd #3 ID your SD card, format it, then mount it. find the name of your storage device. without your micro sd card inserted, type: $ls -la /dev/sd* take note of the device(s) listed brw------- 1 root root 8, 0 Aug 15 12:02 /dev/sda insert the sd card and type the command again: $ls -la /dev/sd* root@FUCKWAD1:/dev# ls -la /dev/sd* brw------- 1 root root 8, 0 Aug 15 12:02 /dev/sda brw------- 1 root root 8, 1 Aug 15 12:02 /dev/sda1 so the device I want to mount is sda1, this might be different for your cards, take note of the name. I also learned that you can use fdisk -l and determine the device name by size. Formatting: The pineapple nano has a built in functions for formatting. For future reference if you guys want to see what other formats it understands you can use: $ cat /proc/filesystems Anyway, use mkfs to format the sd card to ext4 $ mkfs.ext4 /dev/sda1 once it finishes, mount it: $ mount /dev/sda1 /sd Refresh the advanced tab of the pineapple ui and it should appear. You should then be able to navigate over to the modules tab and add modules and be given an option to install them on the SD card. Filesystem Size Used Available Use% Mounted on /dev/root 13.0M 13.0M 0 100% /rom tmpfs 29.1M 168.0K 28.9M 1% /tmp /dev/mtdblock3 1.3M 272.0K 1008.0K 21% /overlay overlayfs:/overlay 1.3M 272.0K 1008.0K 21% / tmpfs 512.0K 0 512.0K 0% /dev /dev/sda1 29.1G 44.1M 27.6G 0% /sd Hope this helps. Here are also the resources I used: https://scotthelme.co.uk/wifi-pineapple-usb-storage-and-infusions/ https://askubuntu.com/questions/95391/how-do-i-mount-an-sd-card
×
×
  • Create New...