Jump to content


Photo

Mk4 Firmware Discussion


This topic has been archived. This means that you cannot reply to this topic.
104 replies to this topic

#101 robfields

robfields

    Newbie

  • Active Members
  • 7 posts

Posted 21 March 2013 - 12:31 PM

If you can access the UI, you can execute commands against the device. I dont remember off hand which tab this is on, but you can execute

 

 

rm -rf /root/.ssh/known_hosts

Thanks for the quick reply. I ran the command in the advanced tab and now in the ssh tab I have this error in the known host display . 

Warning: fopen(/root/.ssh/known_hosts) [function.fopen]: failed to open stream: No such file or directory in /pineapple/pages/ssh.php on line 142
Could not open file!

Not sure what do do next. I am pretty new at this.

Thanks Rob



#102 Sebkinne

Sebkinne

    WiFi Pineapple Developer

  • Root Admin
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 2,760 posts

Posted 21 March 2013 - 12:34 PM

Sigh, that was the wrong thing to do.

 

You need to remove it from the known_hosts file on your laptop.

On ubuntu (and most other OSs) do this:

ssh-keygen -R 172.16.42.1

Of course, run this on your laptop / desktop.

 

To fix the issue you are having please execute this on the pineapple:

touch /root/.ssh/known_hosts

 

 

Best Regards,

Sebkinne



#103 robfields

robfields

    Newbie

  • Active Members
  • 7 posts

Posted 21 March 2013 - 12:42 PM

Sigh, that was the wrong thing to do.

 

You need to remove it from the known_hosts file on your laptop.

On ubuntu (and most other OSs) do this:

ssh-keygen -R 172.16.42.1

Of course, run this on your laptop / desktop.

 

To fix the issue you are having please execute this on the pineapple:

touch /root/.ssh/known_hosts

 

 

Best Regards,

Sebkinne

Sweet I can get back in to pineapple with ssh through terminal. Thank you so much.

 

I am still getting the php function error in the ssh tab in know host on pineapple. Will this be an issue?

 

Regards,

 

Rob



#104 Sebkinne

Sebkinne

    WiFi Pineapple Developer

  • Root Admin
  • PipPipPipPipPipPipPipPipPipPipPipPip
  • 2,760 posts

Posted 21 March 2013 - 12:48 PM

Sweet I can get back in to pineapple with ssh through terminal. Thank you so much.

 

I am still getting the php function error in the ssh tab in know host on pineapple. Will this be an issue?

 

Regards,

 

Rob

Yes. Apply the fix I posted above.



#105 robfields

robfields

    Newbie

  • Active Members
  • 7 posts

Posted 21 March 2013 - 12:56 PM

Yes. Apply the fix I posted above.

My bad all is good again. Thanks Sebkinne.

 

Rob