Jump to content

Recommended Posts

Hi Folks

i bought pineapple nano few days ago and i am running firmware version 2.7.0. The problem is that i can't see my sdcard that i inserted in it to install modules.

I format the sd card in configuration - USB & Storage, once the format is complete i restart the nano as per some forums but so far i am not getting any luck. if i will try to install any module it will still show to install internally.

Any help in this regard would be much appreciated.

the fstab looks like below


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'
    option device '/dev/sdcard/sd1'
    option fstype 'auto'
    option options 'rw,sync'
    option enabled '1'

 

Share this post


Link to post
Share on other sites

Check once if your SD card was recognized ....
What is the output when you enter "fdisk -l" in the terminal?

  • Like 1

Share this post


Link to post
Share on other sites

i am sorry bro i access it from the web interface not terminal. I know there is a way to telnet it with putty but didn't try it yet.

Any guidance towards resolution would be highly appreciated.

By the way the card works if i put it in the card reader

Share this post


Link to post
Share on other sites

Buddy can you establish an SSH connection to your pineapple?

In the web interface you can see this under Advanced USB & Storage but I don't see whether the SD card was recognized even if no SD card is inserted, the message when formatting, formatting is successful. Where I find it a little strange 😲

The safest way is to set this via ssh in my opinion

Share this post


Link to post
Share on other sites

Hi

thanks for bearing with me bro, i install putty and trying to ssh to wifi pineapple but for some reason can't really connect. The error is "Remote Side expectedly closed network connection" and than putty just close it self.

i tried to search it a bit either but there is not really a lot of settings to configure in putty to connect to wifi pineapple. I open the session put the ip 172.16.42.1 and in port section 1471 and as soon as i connect the error shows up and close.

I am soory man if this is too basic for you but i really need your help to figure this out thanks once again

Share this post


Link to post
Share on other sites

i have been reading and been advised by many people to install 2.6.2 firmware for the same issues. its more stable than the new release well i tried and i reset my firmware to 2.4.2 which is the default recovery mode. how can i install 2.6.2 manually where in advance menu it automatically takes me to the newest version which i was running earlier.

 

Share this post


Link to post
Share on other sites

that you can connect via ssh you have to specify port 22 in putty. Port 1471 is the graphical user interface in the web browser

Share this post


Link to post
Share on other sites

Possibly having the same problem here:

root@Pineapple:~# fdisk -l
Disk /dev/sdb: 29 GB, 31267487744 bytes, 61069312 sectors
29819 cylinders, 64 heads, 32 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device  Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/sdb1    1023,63,32  1023,63,32     2097184   61069311   58972128 28.1G 83 Linux
/dev/sdb2    0,1,1       1023,63,32          32    2097183    2097152 1024M 83 Linux

thinking I would see it with df if it was mounted, correct?

root@Pineapple:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                13312     13312         0 100% /rom
tmpfs                    29776       192     29584   1% /tmp
/dev/mtdblock3            1280       308       972  24% /overlay
overlayfs:/overlay        1280       308       972  24% /
tmpfs                      512         0       512   0% /dev
root@Pineapple:~#

 

Share this post


Link to post
Share on other sites

Should we be adding something to /etc/fstab? What would be the mount command to get the sdcard [ /dev/sdb1 ? ]  mounted correctly on the nano?

Share this post


Link to post
Share on other sites

Odd... I would have thought this would have worked on the Nano. Any thoughts as to why it does not?

root@Pineapple:/# fdisk -l
Disk /dev/sdb: 29 GB, 31267487744 bytes, 61069312 sectors
29819 cylinders, 64 heads, 32 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device  Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/sdb1    1023,63,32  1023,63,32     2097184   61069311   58972128 28.1G 83 Linux
/dev/sdb2    0,1,1       1023,63,32          32    2097183    2097152 1024M 83 Linux

Partition table entries are not in disk order
root@Pineapple:/# ls -ld /sd
drwxr-xr-x    2 root     root             0 Feb 27 15:05 /sd
root@Pineapple:/# mount /dev/sdb1 /sd
mount: mounting /dev/sdb1 on /sd failed: Invalid argument
root@Pineapple:/#

 

 

Share this post


Link to post
Share on other sites

ok, crazy but I am having the same exact issues as Khan1988. I mean the EXACT and resetting firmware does not work. No SD access but the ssh tunnel worked.

Share this post


Link to post
Share on other sites

Having the same issue, and cant seem to mount it, haven't tried a firmware rollback but hoping I dont have to as I got this thing yesterday...

Share this post


Link to post
Share on other sites

ok wtf.....

root@Pineapple:~# fdisk -l
Disk /dev/sdb: 30 GB, 32010928128 bytes, 62521344 sectors
30528 cylinders, 64 heads, 32 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device  Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/sdb1    1023,63,32  1023,63,32     2097184   62521343   60424160 28.8G 83 Linux
/dev/sdb2    0,1,1       1023,63,32          32    2097183    2097152 1024M 83 Linux

 

but web gui...

 

            total        used        free      shared  buff/cache   available
Mem:          59556       28776       12600          72       18180       10056
Swap:       4194288        1012     4193276

 

Plz send halp, when going to modules in the web gui there is no option for saving to sd, and the gui format sd dropdown fails...

Share this post


Link to post
Share on other sites
Posted (edited)

the web gui looks like the output from the "free" command

$ free

which is RAM,

see if this program is installed

$ lsblk

it will list what disks, partitions, and mountpoints are setup/available. May give you ideas what is going on. also try the plain mount command,

$ mount

 

Edited by kdodge
typo

Share this post


Link to post
Share on other sites

So in the past I've had problems using raspberry pi's, when the power is cut to a pi while data is being written to the SD card, it can fry the SD card permenetly damaging it. I have a stack of dead SD cards from doing this. I don't know for sure how the pineapple handles this, but if you have an extra (good/new) SD card available, you might try it out just to see if that resolves the problem. It's an easy test anyway...

Share this post


Link to post
Share on other sites
401/5000
 
 
 
Hi guys,
I have the same problem for some reason I can't mount the SD card - Sandisk 64GB, visible with GUI, formats it. However, it is impossible to install modules on it, only the installation on the internal card works. root @ Pineapple: ~ # fdisk -l - detect new SD card - Firmware latest 2.7.0 - Pineapple Nano.
PS. Maybe you have some beginner tutorials on nano configuration?

Share this post


Link to post
Share on other sites


The problem is solved, it was enough to change fstab to:

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'
option device '/ dev / sda1'
option fstype 'auto'
option options 'rw, sync'
option enabled '1'

config 'swap'
         option device '/ dev / sda2'
         option enabled '1'

And then format the SD card
 

Share this post


Link to post
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.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...