CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Wed Oct 18, 2017 8:43 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Mar 09, 2017 11:23 pm 
Offline

Joined: Tue Sep 15, 2015 10:23 pm
Posts: 13
Hello,
I did kernel update as described by Edwin
viewtopic.php?f=26&t=5652&start=30#p15463
I have tried kernel 4.4.14-bone-rt-r11, tried 4.9.13-bone-rt-r4
https://www.rcn-ee.com/deb/jessie-armhf/

also tried 4.4.52-ti-rt-r91
https://github.com/beagleboard/linux/co ... ertCNelson

Every time when I update to RT kernel I loose SSH access to BBB.
In case of problem with SSH, BBB FAQ says:
Delete the file called "dropbear_rsa_host_key" in the location of /etc/dropbear/.
Then you need run the command '/etc/init.d/dropbear start'.

After update to RT kernel directory /etc/dropbear/ does not exist and no command /etc/init.d/dropbear

Any suggestions how to activate SSH?

Thanks


Top
   
PostPosted: Tue Mar 14, 2017 1:36 pm 
Offline

Joined: Mon Nov 23, 2015 4:59 pm
Posts: 3
Hello,
I have the sampe problem. Have you solved it?


Top
   
PostPosted: Wed Mar 15, 2017 1:29 am 
Offline

Joined: Tue Sep 15, 2015 10:23 pm
Posts: 13
In Putty choose "Serial" instead of SSH, change COM1 to COM3, leave speed at 9600.
Open connection and login as root. If invitation doesn't come left-click inside putty window on the cursor and wait 15-30sec.

If doesn't work, connect monitor, keyboard, mouse to beaglebone and do steps below in terminal. Open terminal and login as root.

First try to regenerate host keys:

Code:
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server

If doesn't help, delete keys,
Code:
rm /etc/ssh/ssh_host_*

Reinstall SSH server. Beaglebone has to see Internet, connect Ethernet cable.
Code:
apt-get install openssh-server

If doesn't work, regenerate keys again:
Code:
rm /etc/ssh/ssh_host_*
dpkg-reconfigure openssh-server

In my case I have got SSH working. In your case please post the result in this thread.

https://wiki.debian.org/SSH


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited