Author Topic: Usb Networking On Android  (Read 13964 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Usb Networking On Android
« on: January 15, 2008, 06:28:33 pm »
from cortez's install, I found that usb0 didn't come up by itself so I had to "modprobe g_ether" and "modprobe cdc_ether" and then usb0 appeared.

this could be added to the /etc/network/interfaces file using the "pre-up" functions; and the post-down could rmmod those kernel modules.

Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Usb Networking On Android
« Reply #1 on: January 16, 2008, 04:55:36 pm »
Quote from: speculatrix
from cortez's install, I found that usb0 didn't come up by itself so I had to "modprobe g_ether" and "modprobe cdc_ether" and then usb0 appeared.

this could be added to the /etc/network/interfaces file using the "pre-up" functions; and the post-down could rmmod those kernel modules.

Paul

hmm, despite this, I can't make android see the network despite the default.props change. need to play a bit more

--edit--
even more odd, I have added the modprobe as pre-up statements for usb0, and I have to suspend and although it pretends to start usb networking, I have to suspend and resume before usb0 will actually work - the connected linux box doesn't even initially see a device there.
« Last Edit: January 16, 2008, 06:24:25 pm by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.