Tethering with Android

Forum thread started by admin on Sun, 2011-10-02 18:36

I was wondering if it is possible to connect to the internet in Haiku by tethering with my android phone because there are no drivers for my ethernet or wifi card. I thought that maybe the usb device would appear as a network adapter in the preferences when I plugged in my phone, but this does not seem to be the case.


Re: Tethering with Android

Via an USB connection, nope, as Haiku don't have a working modem dialup support yet.

But via wifi - Android can act as an hotspot point - sure. Well, when your wifi card will be supported, that is :-\
The USB cable can still be useful : to keep your phone battery charging while serving as a private wifi access point.

Anyway, please file an enhancement ticket requiring support for your wired and wifi cards. There is more probability that Haiku can support them sooner than dialup, I fear.

Re: Tethering with Android

Haiku would need to implement Microsoft's RNDIS into the network stack, something which some OS's like Linux and Windows have done but many others like FreeBSD haven't.
I don't know how complex the framework is or how difficult it would be to implement into Haiku but I don't think it would be high on the to-do list right now.

A wrapper like PdaNet could be written, but that would take a lot of work too.

Re: Tethering with Android

If you have a working wlan on your laptop you can use Android 2.3 as a hotspot :)

Our network was down at home and we set up my girfriends HTC as a hotspot. Made changes in my config file (rename hotspot name on the phone without spaces, ad '_' in stead) and I was up :D. Dind't work for my girfiends Laptop with Windows 7 ;)

Re: Tethering with Android

phoudoin: Could you please elaborate on

> Via an USB connection, nope, as Haiku don't have a working modem dialup support yet.

I mean, why does it need modem dial-up functionality? Isn't that something old and obsolete (thus, never to be implemented, and your post pointed it out too?).

At first I thought that some kind of an intermediate software layer for Haiku could be written which would do the following:
-treat pin X from USB device as pin Y in Cat-5 cable (Ethernet)
-act as an ethernet device supported by Haiku,
...and in a way treat the USB port as an ethernet port

But then I realised the difference between 'device' and 'cable', and that it might not be as simple, ie.:
-perhaps the voltages might be different
-Ethernet cable has different number of pins than USB (so it wouldn't work with USB 1.0, I guess)

and then I stumbled upon this post:


where user