Sailfish X USB DevMode

asked 2017-12-06 00:55:29 +0200

Leon gravatar image

updated 2017-12-07 00:08:11 +0200

Filip K. gravatar image

Plugging my Jolla1 phone to my workstation (linux) via USB and enabling devmode (usbmodeswitch), I get an network interface with an IP address (DHCPDISCOVER receives DHCPOFFER).

Plugging my Xperia phone with SFOS X to my workstation does not work like with the jolla1 phone. DHCPDISCOVER is waiting to get a response.

Any hint?

edit retag flag offensive close delete


Probably you should repeat the third step and assign different inet address for each phone.

At least I encountered this problem on Windows. I had manually assign different RNDIS interface ip to each phone.

Ta_das ( 2017-12-06 13:00:26 +0200 )edit

Thanks. Manually adding an IP address establishes the connection, but the cause is still unknown. Maybe a DHCP service is missing on the phone side while enabling usbdevmode?

Leon ( 2017-12-06 14:51:26 +0200 )edit

I am not so familiar with DHCP implementation and principles neither in Linux nor in Windows 7. Just tried unsuccessfully connect my XperiaX in Windows via Putty via USB. To add my language (Lithuanian) keybord layout. The same computer before was configured to connect to JollaC via USB SSH.

Putty connection was unsuccessfull until I manually configured IP. While adding same IP as with JollaC Windows warned that previous connection will be overwritten and thus non-functional, so I chose different last digit in IP address for the XperiaX.

I'd be thankful as well if somebody explains for layman the design of Sailish SSH via USB connection and interaction with Windows (Linux).

Ta_das ( 2017-12-06 21:00:51 +0200 )edit