Connecting to Jolla via SSH over USB from Fedora 19?
Fedora 19 is using NetworkManager so the setup in https://wiki.merproject.org/wiki/Nemo/USBNetworking for /etc/network/interfaces I couldnt use, other than as a pointer for what to do.
Anyway I have setup an Ethernet connection on my computer for the jolla and the network tool has created the following files
/etc/sysconfig/networking/devices/ifcfg-jolla
TYPE=Ethernet
BOOTPROTO=none
DEFROUTE=no
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
NAME=jolla
UUID=c0ef376f-6a23-43a8-9af6-a7dd4d5866fd
ONBOOT=yes
USERCTL=no
HWADDR=FA:D4:92:3E:EA:51
IPADDR0=192.168.2.15
PREFIX0=24
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
/etc/sysconfig/network-scripts/ifcfg-Jolla
HWADDR=FA:D4:92:3E:EA:51
TYPE=Ethernet
BOOTPROTO=none
IPADDR0=192.168.2.15
PREFIX0=24
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
IPV6_FAILURE_FATAL=no
NAME=Jolla
UUID=51d7082e-7d93-4908-8992-6b9271ce7fa8
ONBOOT=yes
When I plug jolla in
ifconfig -a reports
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.15 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::f8d4:92ff:fe3e:ea51 prefixlen 64 scopeid 0x20<link>
ether fa:d4:92:3e:ea:51 txqueuelen 1000 (Ethernet)
RX packets 3 bytes 196 (196.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25 bytes 4779 (4.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Ping is fine
[root@parkroyal ~]# ping 192.168.2.15
PING 192.168.2.15 (192.168.2.15) 56(84) bytes of data.
64 bytes from 192.168.2.15: icmp_seq=1 ttl=64 time=0.027 ms
64 bytes from 192.168.2.15: icmp_seq=2 ttl=64 time=0.035 ms
but I cant login! either as nemo or root
[stewar02@parkroyal ~]$ ssh nemo@192.168.2.15
nemo@192.168.2.15's password:
Permission denied, please try again.
I havent changed anything in /etc/ssh on the jolla
I am a bit stumped with what to do next. Any suggestions?
Go to settings->developer mode and set a password. Just under remote connection.
Philippe De Swert ( 2014-03-20 15:47:37 +0200 )editI did that. Didnt include that in the post as I thought it was obvious :-)
sugnea ( 2014-03-20 16:01:17 +0200 )editSee https://together.jolla.com/question/34437/q-devel-su-requires-remote-connection-enabled-security-hole/
Did you enable remote access?
jgr ( 2014-03-20 16:24:43 +0200 )edit