usb0 disconnections on Ubuntu because of the NetworkManager
asked 2016-12-06 10:35:36 +0200
This post is a wiki. Anyone with karma >75 is welcome to improve it.
Hi,
When I connect to my Jolla through ssh over USB from my Ubuntu, I often get disconnected :
$ ifconfig usb0 | grep inet.addr
$
$ route -n | grep usb0
$
EDIT : I've finally set usb0
ip address manually :
$ sudo ip address add 192.168.3.14/31 dev usb0
$ ifconfig usb0 | grep inet.addr
inet addr:192.168.3.14 Bcast:192.168.3.255 Mask:255.255.255.254
$ ssh nemo@192.168.3.15
nemo@192.168.3.15's password:
X11 forwarding request failed on channel 0
Last login: Tue Oct 29 01:05:35 2019 from 192.168.3.14
NOTICE: Env value ignored QT_GSTREAMER_CAMERABIN_FLAGS=15
NOTICE: Env value ignored QT_WAYLAND_RESIZE_AFTER_SWAP=1
,---
| SailfishOS 1.0.4.20 (Ohijärvi) (armv7hl)
'---
[nemo@localhost ~]$
Can anyone help me solve this problem ?
I often got the same problem (usb reconnects) when moving the phone, I guess it's a mechanical problem due to the usb port/plug not being very reliable
till ( 2016-12-06 11:41:10 +0200 )edit@till I am NOT moving the phone and my USB does NOT have "reconnects" BUT "disconnects" problems so I guess it is not a mechanical problem
SebM ( 2016-12-06 12:11:58 +0200 )editis it related to the phone's screen switchting off? if so, power management might kick in and slow the phone down
till ( 2016-12-06 12:40:17 +0200 )editCould be something funny going on with your network manager in Ubuntu.
Check /var/log/syslog
juiceme ( 2016-12-06 13:11:33 +0200 )edit