Jump to content

SSHing into the nano


DaRealSatoshi

Recommended Posts

7 minutes ago, DaRealSatoshi said:

Ive sshed in fine, but when trying to clone stuff from a github repo I keep getting a bunch of weird errors. such as "-ash: sudo: not found" or "-ash: apt-get: not found". Why would this be?

To git clone from repos to the pineapple you would need to install git-http from opkg. Maybe even define the destination as /sd/ for the nano.

The sudo error is because you don't need sudo, your root on the pineapple by default.

Link to comment
Share on other sites

14 minutes ago, Just_a_User said:

To git clone from repos to the pineapple you would need to install git-http from opkg.

# simple examples

opkg update

# root install
opkg install git git-https

# sd install
opkg install --dest sd git git-https

 

14 minutes ago, Just_a_User said:

To git clone from repos to the pineapple you would need to install git-http from opkg. 

# git clone repo if you encounter https problems
git clone git://github.com/user/repo.git

 

Link to comment
Share on other sites

3 minutes ago, kbeflo said:

# simple examples

opkg update

# root install
opkg install git git-https

# sd install
opkg install --dest sd git git-https

 


# git clone repo if you encounter https problems
git clone git://github.com/user/repo.git

 

Awesome thank you so much. how would I make it so my nano utilizes space on my sd card rather than the internal storage. Its failing the install because there's not enough space on the internal

Link to comment
Share on other sites

20 minutes ago, DaRealSatoshi said:

Awesome thank you so much. how would I make it so my nano utilizes space on my sd card rather than the internal storage. Its failing the install because there's not enough space on the internal

With my nano, I install every module to the SD where possible. I also move the PineAP log destination to /sd/ and now the SSID pool location can be put there as well. EDIT you can also do a lot with symbolic links.

Cleaning up from a full internal storage can be tricky, quickest and easiest would be to reset everything and rebuild.

Link to comment
Share on other sites

13 hours ago, Just_a_User said:

With my nano, I install every module to the SD where possible.

Any modules you understand are best installed to the internal storage?

14 hours ago, DaRealSatoshi said:

how would I make it so my nano utilizes space on my sd card rather than the internal storage.

Make sure you’ve got a SD card installed.

you can also mount an USB drive to bypass finicky sd cards.

Link to comment
Share on other sites

1 hour ago, Spoonish said:

Any modules you understand are best installed to the internal storage?

Still early days with the new FW, I mostly use my Tetra so have only just started going through the modules on my NANO.

I have noticed that when you move the ssid pool location to the SD it works but does not display the ssid's in the GUI list on PineAP page or report them on the dashboard. It still seems to accept ssid's i give it from the GUI its just they dont show. I can manually add ssid's tothe ssid_file on the sd and they get reported. Remove ssid's does not empty the ssid_file though.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...