Community
cancel
Showing results for 
Search instead for 
Did you mean: 
wwelc1
New Contributor II
1,535 Views

XDK IoT edition fails to connect to Joule running Ubuntu 16.04.1

Jump to solution

I have installed Ubuntu 16.04.1 classic on my Joule and set up SSH connection as follows;

1. sudo vi /etc/ssh/sshd_config

added a line "PermitRootLongin yes"

2. sudo passwd

set the root password

3. sudo iptables -F

4. sudo iptables -P INPUT ACCEPT

5. sudo iptables -P FORWARD ACCEPT

6. sudo iptables -P OUTPUT ACCEPT

7. sudo iptables -S

-P INPUT ACCEPT

-P FORWARD ACCEPT

-P OUTPUT ACCEPT

Then I confirmed that I can SSH login to Joule from Mac;

ssh sorrow@192.168.xxx.xxx

However, when I try to connect to my Joule from XDK IoT Edition on the same Mac, it gives me an error;

Error forwarding port

Error: (SSH) Channel open failure: Connection refused

I tried ssh sorrow@192.168.xxx.xxx -p 58888 and this gives me the same Conncetion refused error. It appears to be a problem of port forwarding, but sudo iptables -S gives me -P FORWARD ACCEPT.

The XDK IoT Edition is updated to 3641. It is not likely to be a problem of the rooter, since I could connect to the same Joule with Ostro XT from a PC.

Any suggestion would be most welcome.

sorrow

Tags (1)
0 Kudos
1 Solution
wwelc1
New Contributor II
258 Views

Hi Pablo,

I came to realize that "xdk-daemon" has to be installed and running on the target device to be accessed from XDK. And I found an answere here;

https://software.intel.com/en-us/xdk/faqs/iot# linux-distributions Intel® XDK FAQs - IoT | Intel® Software

Can the xdk-daemon run on other Linux distributions besides Yocto?

The Intel XDK xdk-daemon is currently (November, 2016) only supported on the Yocto and Ostro Linux distributions. Work is ongoing to provide a version of the xdk-daemon that will run on a wider range of IoT Linux platforms.

It appears that xdk-daemon setups port forwarding from tcp input to 58888. I hope they do it first for Ubuntu. Until then I will have to wait or use another IDE.

cheers,

sorrow

View solution in original post

3 Replies
idata
Community Manager
258 Views

Hi Sorrow,

 

 

Thank you for reaching out. I would like to let you know that for all Ubuntu questions on Joule, you should contact the Ubuntu Support. Here's the link https://developer.ubuntu.com/en/snappy/start/intel-joule/ https://developer.ubuntu.com/en/snappy/start/intel-joule/. Please keep in mind that this product is still in beta.

 

 

Regards,

 

-Pablo
wwelc1
New Contributor II
258 Views

Thanks Pablo,

I posted the question to askubuntu.com.

http://askubuntu.com/questions/853700/ssh-connection-error-of-intel-joule-running-ubuntu-16-04-1-lts SSH connection error of Intel Joule running Ubuntu 16.04.1 LTS

sorrow

wwelc1
New Contributor II
259 Views

Hi Pablo,

I came to realize that "xdk-daemon" has to be installed and running on the target device to be accessed from XDK. And I found an answere here;

https://software.intel.com/en-us/xdk/faqs/iot# linux-distributions Intel® XDK FAQs - IoT | Intel® Software

Can the xdk-daemon run on other Linux distributions besides Yocto?

The Intel XDK xdk-daemon is currently (November, 2016) only supported on the Yocto and Ostro Linux distributions. Work is ongoing to provide a version of the xdk-daemon that will run on a wider range of IoT Linux platforms.

It appears that xdk-daemon setups port forwarding from tcp input to 58888. I hope they do it first for Ubuntu. Until then I will have to wait or use another IDE.

cheers,

sorrow

View solution in original post

Reply