← Back to team overview

touch-packages team mailing list archive

[Bug 1381448] Re: Support network over USB in developer mode

 

** Also affects: connectivity-api
   Importance: Undecided
       Status: New

** Changed in: connectivity-api
       Status: New => Triaged

** Changed in: connectivity-api
   Importance: Undecided => Wishlist

** Changed in: indicator-network
     Assignee: Antti Kaijanmäki (kaijanmaki) => (unassigned)

** Changed in: indicator-network (Ubuntu)
     Assignee: Antti Kaijanmäki (kaijanmaki) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to indicator-network in
Ubuntu.
https://bugs.launchpad.net/bugs/1381448

Title:
  Support network over USB in developer mode

Status in Ubuntu Connectivity API:
  Triaged
Status in Network Menu:
  Triaged
Status in indicator-network package in Ubuntu:
  Triaged

Bug description:
  Currently the SDK has to use "adb forward" in order to connect and talk to the devices.
  However it would be much more reliable if we could create a network over USB and talk
  directly to it. 
  Probably even run a DHCP server on usb0 so we do not need to setup the interface ourselves
  and provide a DBUS callback so the SDK can trigger the usbnet to be created over ADB.

  Quotes from a conversation with Wellark on IRC:

  <zbenjamin> Wellark: would be interesting for the SDK
  <zbenjamin> Wellark: instead of adb forwarding the ports, which is totally unreliable, we could create a network with the phone and talk to it directly
  <Wellark> zbenjamin: well, you file a bug
  <Wellark> zbenjamin: then you tell my manager to get me to do the UI
  <zbenjamin> Wellark: the idea would be that we setup the initial stuff with adb. And then switch over to usb network which is decoupled from the adb completely
  <Wellark> zbenjamin: yep.
  <Wellark> adb would only make one call over dbus
  <zbenjamin> Wellark: having a dhcp running on the usb interface would make things super easy
  <Wellark> com.ubuntu.connectivity.usbnet.Enable()
  <Wellark> or something
  <Wellark> that would kick up the usbnet
  <Wellark> zbenjamin: yep. and zeroconf dns
  <zbenjamin> yeah. And we could make ssh only listen on this interface instead of all, and enable wlan only if the user checks a box in the UI
  <Wellark> so you don't have to deal with IP's
  <zbenjamin> exactly

To manage notifications about this bug go to:
https://bugs.launchpad.net/connectivity-api/+bug/1381448/+subscriptions