Jump to content
DaRealSatoshi

SSHing into the nano

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

  • Like 1

Share this post


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

 

Edited by kbeflo
  • Like 2

Share this post


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

Share this post


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

Edited by Just_a_User

Share this post


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

Share this post


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

 

Edited by Just_a_User

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