USE a linux box as an Ad-Hoc host. - Networking

People! just to share my experience. If you do not have a router at home and want to access the internet on your HTC device. Use a linux box and set up Internet Connection Sharing (ICS). The results are more than impressive.
I started by using the same PC running Windows XP, but when I swtiched to Linux, the connection has bee VERY fast, and I havent had to restart the host at all.
Need help on how to do that? I'm putting together a little Manual... should be up in a short while.

Related

Connecting a Smartphone to a Mac via USB.

I have been searching for more than 3 hours for some kind of driver for my T-Mobile Dash, to use it as a GPRS/EDGE Modem. My iBook is an old G3 model, so even if I were willing to purchase Missing Sync (which I'm not, btw), my iBook is not supported, as it is not a G4 or better.
I am looking for a FREE driver for OS X 10.4 Tiger, specifically an "RNDIS" driver. I am not particularly looking for speculation. I believe I have the correct modem scripts, but I can't get my Mac to see the USB Modem. Yes, I have put my Dash into ICS mode. Yes, I am running Windows Mobile 6. Yes, I have all of the updates to OS X. Yes, I have tried searching the forums (this one, and several others). Yes, I have tried "Googling it", which produced much good information, but no solutions to my problem. Although my Dash is Bluetooth enabled, my iBook is not. Yes, I know I can add a USB Adapter. I may well do that in the near future. Right now, however, I'm just looking for an RNDIS USB driver for Mac OS X. I don't need Synchronization features, at the moment.
Anyone have any ideas??
Correction: Does anyone have any "good" ideas??
Thanks,
--Aaron
I just wanted to touch this and see if anyone had any information to help. My girlfriend has a new Pantech Duo and I would like to get USB tethering working for that. I did find a couple sites that may help (HowTo: USB Internet Sharing With Linux And Windows Mobile 6), but I don't know enough about the technology to feel comfortable trying it. Thanks.
I use my wizard as a modem sometimes just using Internet Sharing in my TNT Rom. You may be able to find a .cab for it. From there just use activesync/WMDC. I haven't tried it on activesync, only on WMDC.
he's using mac
download wmwifirouter by chainfire or the free trial of walkinghotspot (if your handset and mac have wifi), or a micro bluetooth dongle if not.
leoni1980 said:
download wmwifirouter by chainfire or the free trial of walkinghotspot (if your handset and mac have wifi), or a micro bluetooth dongle if not.
Click to expand...
Click to collapse
Pantech Duo doesn't have Wifi. That was my first attempt before I realized it didn't have it, because I'm using that solution with my Kaiser.
RE: bluetooth. I haven't had a lot of success with a reliable connection. I've tried with my Kaiser and successfully configured it, using it to connect three or four times from my house, but as soon as I went on the road, I couldn't get it to connect at all, using the same steps as before. I'm sure that's either karma or equipment smarter then operator, but I'm hoping for a USB solution for simplicity (theoretically) as well as the better data throughput.
SyncMate
Well, if you are using a Mac then here is what i used to do before I got Missing Sync.
For Syncing contacts and dates and such i used Eltima Softwares SyncMate. Runs pretty good and can be done using the USB cable. It also provides the option to do it over Wifi, which is faster. The Full version allows your to Sync even more stuff I believe.
For Syncing files, I simply paired my phone with my mac and transfered the mp3's, jpg's, etc.
Hope this helps,
Paul
Welcome to the hell which is created when you have a Mac and a WM device!
I have been mucking around with trying to get my internet connection shared with my MacBook pro for a couple of months. Here is what I have tried
- Bluetooth PAN - There is an issue with the MacBook Pro whereby the bluetooth PAN will produce incredibly bad latency issues rendering it useless
- Modem Scripts (Bluetooth)- Have never found one which would connect....I have tried a few
- Mobile Stream (USB) - Never managed to get a connection. The support team said that they had never seen the issues I sent in logs. They will investigate and hopefully resolve in future releases.
-PDAnet (Bluetooth)- It actually works! although it seems to hang the dialer process on the Mac periodically which requires a reboot to resolve
-Wifirouter - It works although it caused issues with access points in the office and drained the battery very quickly.....even when powered from the MAC it would empty the battery. Worked OK when using a mains charger.
-VMware Fusion to XP desktop (USB) - Works and works well however you can't provide (well i havent got it working) an internet connection to the Host Mac.
At the moment I am using the PDAnet 'solution' but I am always looking for something more reliable. A usb connection would be better and more reliable as there seems to be big issues on the Mac bluetooth environment.
Cheers
Aidan
Hell, I couldn't even find an RNDIS driver for windows (apart from installing ActiveSync) which is why I made the Linux post.
Yeah, OSX is *nix based, but I don't think you can use Linux packages on it, what I know about macs could be written on the back of a postage stamp though.
Regarding the VMWare solution, did you try enabling internet sharing for WinXP in the VMWare session (using a different IP to the one the Mac uses) and set the default gateway of the Mac to the IP of the XP machine in VMWare?
What I mean here is that the PPC shares the connection to the VMWare windows machine via USB and the VMWare windows shares the connection to the Mac via TCP/IP.
To be honest I never really played about with sharing the virtual machine with OSX too much. I was a bit put off with running fusion like that all the time as it sucks the life out of the battery when out and about.
Until a better solution is available I will stick with PDAnet. It does put me off windows mobile (slightly) moving forward. It would be interesting to see if the Bluetooth PAN connection works correctly without the latency issue on the diamond when it is available. If it worked properly it would be the best solution.
Cheers
Aidan
Read http://forum.xda-developers.com/showthread.php?p=2398248 for a review & comparison of WalkingHotSpot
With VMWare Fusion, setup VPN connection for the OS X host to connect through guest
evilc said:
Hell, I couldn't even find an RNDIS driver for windows (apart from installing ActiveSync) which is why I made the Linux post.
Yeah, OSX is *nix based, but I don't think you can use Linux packages on it, what I know about macs could be written on the back of a postage stamp though.
Regarding the VMWare solution, did you try enabling internet sharing for WinXP in the VMWare session (using a different IP to the one the Mac uses) and set the default gateway of the Mac to the IP of the XP machine in VMWare?
What I mean here is that the PPC shares the connection to the VMWare windows machine via USB and the VMWare windows shares the connection to the Mac via TCP/IP.
Click to expand...
Click to collapse
I was reading this thread and you gave me the idea which led me to a workable solution so I thought I'd share back. I'm in the same boat as many ppl with latest MBP which doesn't work well with BT PAN (slooooowwwww). I sort of needed Fusion anyway since I'm starting to write WPF apps and performance is terrible over RDP from OSX (different subject). Anyway, here are some keys to getting this to work:
1. Setup a private network (not bridged or nat)
2. Install activesync on guest and fire up 'Internet Sharing' from WM6 device and connect device to Mac with USB cable.
-at this point you should be able to get online from the guest OS through the mobile device as previous post indicates-
Here is where the fun starts:
3. Create an advanced network connection on the guest (accept incoming connections, aka VPN connection)
4. *IMPORTANT* Go to the TCP/IP settings for the advanced network connection and setup a range of IP addresses in the same subnet as the active interface attached to the WM6 device (run ipconfig to determine). Make sure that 'clients can request their own IP address' is unchecked. Make sure this range falls outside of the IP address assigned to the guest interface from the WM6 device.
5. On the host Mac, create a new VPN connection (PPP) and set the host to the private IP address assigned to the guest (again, you can determine that through running ipconfig on the client). *IMPORTANT* Go to the advanced settings for the VPN connection on the Mac and set the DNS to point to the IP address of the router of the guest WM6 device interface.
6. Connect to the VPN from the Mac host and you should be off and running.
It works flawlessly with very good speed (relatively speaking) over the 3g connection. To get online in a pinch, now I just need to fire up the guest (which takes just a couple of seconds from a saved state), connect my device via usb with internet sharing started, and then connect to the vpn from the Mac.

ATT 8525 Tethered

PRoblem short and sweet:
1 laptop running win xp
1 desktop running vista home premium
ATT 8525 running wm6 and rom ver 3.62.502.2
radio 1.54.07.00
Both machines update daily for updates.
So i use my ATT 8525 to do internet sharing, laptop connects and works great. I can even do some bit torrent downloading but it is slow
the desktop machine running vista will connect but the the internet sharing application on the phone will show a message "waiting on network" and vista will disconnect. problem happens in no apparent time frame and happens with all applications.
THis has happened on ATT 3g network and Tmobiles edge network so it has to be a vista problem. I know this is not a vista forum but hoping someone knows what the problem might be.
I've done alot of goggling and found nothing on this.
Thanks for reading. Any help will be greatly appreciated.
hm.. if i understand this correctly, you are trying to get both machines to connect to the phone at the same time? that will not happen because the internet sharing is only designed to share 1 at a time. i believe there is some router software for windows mobile that can get your connection from the phone to a broadcasted wifi. you can then connect as many machines as your device can support to the "router" ran by the phone. the tilt should be able to handle 10 clients.
another way would be to share your connection that is shared with the mobile.
mobile <-> laptop <-> desktop
connect the mobile sharing to the laptop and let the laptop share the connection with the desktop and connect the desktop with the laptop, not the phone. this will add significant latency but who cares if you want to use 3g data, its always slow. i cant think of any other way you can do this but give the second one a try first. its probably the cheapest to set up.
No, i am not trying to use both computers at the same time. i was just saying that it works on the xp machine no problem, it's the vista machine that is not working correctly.
Connecting with Vista...
Curious can you sync with the Vista machine... I suggest trying this (I have the opposite setup as you but had a similar problem... Desktop-XP Laptop-Vista)...
Under connection settings, USB to PC - there is a box that says "Enable advanced network functionality" I have to check and uncheck this when switching between the two...
For me (maybe different for you) I have to have the box checked on my laptop (Vista) but UNCHECKED for my desktop (XP)... not sure if this is tied to the OS or the hardware, but give it a shot. But this allows me to both sync and use Internet Sharing accordingly.
Hope it helps.
Namaste
Well i have uncheck the ""Enable advanced network functionality" on the 8525 for my vista machine. So far I am staying connected even under heavy network load. We will just see how it goes.
Thanks KZIWarrior.
KZIWarrior said:
Curious can you sync with the Vista machine... I suggest trying this (I have the opposite setup as you but had a similar problem... Desktop-XP Laptop-Vista)...
Under connection settings, USB to PC - there is a box that says "Enable advanced network functionality" I have to check and uncheck this when switching between the two...
For me (maybe different for you) I have to have the box checked on my laptop (Vista) but UNCHECKED for my desktop (XP)... not sure if this is tied to the OS or the hardware, but give it a shot. But this allows me to both sync and use Internet Sharing accordingly.
Hope it helps.
Namaste
Click to expand...
Click to collapse

Using the PC host Internet connection

Hi All,
I have had a look through the forums, (I may just not be searching for the right thing.) so please excuse me if this has already been answered somewhere.
I have just bought the Hero everything is standard at the moment as I am not sure yet what I am doing with the Android OS as I currently have a Rhodium WinMo phone.
On the Rhodium you are able to connect the USB cable to the PC and use you PC's current DSL connection to access the internet from the phone and not the phones mobile internet connection, I have not been able to achieve this from the Hero, it keeps telling me I need to enable the mobile internet connection to access the internet.
Does the Hero have the same functionality as the WinMo devices?
Many Thanks
afaik this is not possible so far. easiest way to get landline internet on the hero is to use wifi.
Well, if you have Windows 7 in your PC, you can use Wireless Hosted Network and use PC's internet connection by connecting Hero to Win7 via WiFi. Manual instructions I used. Alternatively you can try Connectify or Virtual Router, but they are just a pretty interface for the same thing and I couldn't get them to work.
Many Thanks for the help i will try this out

[Q] Alternative way to access the internet

Hi,
I connect my laptops to the internet through a university LAN, with static IP adress.
When I wanted to connect my HD2 to the internet while on WinMo, it was pretty easy - i just had to do it through activesync, over USB.
However, on Android I am finding it really hard, because I have a few problems:
1. I can't get any wifi router to work over this LAN (and I know others can't too);
2. Ad-hoc isn't working on android, and I also couldn't get the patches here on xda to work;
3. I've tried Connectify (turn ad-hoc into ap/hotspot) but also it didn't work;
So I am running out of ideas. I have mobile carrier internet access, but of course i have limited bandwidth and trafic, and it would be much nicer to use my laptop's internet access.
Do you suggest any workaround for this situation? Is anyone working on some kind of "reverse tethering" usb solution for the Android, a la ActiveSync? Maybe I should keep trying to get ad-hoc to work?
Thanks for your time and help!
Luis
luigipirex said:
Hi,
I connect my laptops to the internet through a university LAN, with static IP adress.
When I wanted to connect my HD2 to the internet while on WinMo, it was pretty easy - i just had to do it through activesync, over USB.
However, on Android I am finding it really hard, because I have a few problems:
1. I can't get any wifi router to work over this LAN (and I know others can't too);
2. Ad-hoc isn't working on android, and I also couldn't get the patches here on xda to work;
3. I've tried Connectify (turn ad-hoc into ap/hotspot) but also it didn't work;
So I am running out of ideas. I have mobile carrier internet access, but of course i have limited bandwidth and trafic, and it would be much nicer to use my laptop's internet access.
Do you suggest any workaround for this situation? Is anyone working on some kind of "reverse tethering" usb solution for the Android, a la ActiveSync? Maybe I should keep trying to get ad-hoc to work?
Thanks for your time and help!
Luis
Click to expand...
Click to collapse
Try hyper droid. It has wifi routing built in. plus improvements to wifi...
Sent from my HTC HD2 using XDA App
FriedSushi87 said:
Try hyper droid. It has wifi routing built in. plus improvements to wifi...
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Thanks for the suggestion, but I would like to keep my android build (i feel comfortable with sense) and changing to that build would help me with wifi tethering, but I am looking for something different... unless that build already supports ad-hoc networks. However, ad-hoc is so unpredictable that a different solution altogether would be best.
Luis
Any other ideas on this?
Luis
Try bridging your laptops wireless and wired lan connections under windows. That will make your hd2 as if it is connected directly to LAN. (Select both connections with CTRL and right click bridge)
memin1857 said:
Try bridging your laptops wireless and wired lan connections under windows. That will make your hd2 as if it is connected directly to LAN. (Select both connections with CTRL and right click bridge)
Click to expand...
Click to collapse
Unfortunately, as I have stated before, I can't connect the HD2 to my laptop via wi-fi, because I can't get ad-hoc to work properly on the HD2. But thanks for your suggestion.
Sent from my HTC HD2 using XDA App
Did you try connectify in Access Point mode? (Connectify supports ad-hoc mode with every wifi chipset and real ap mode with some wifi chipsets)
Check: http://www.connectify.me/docs/supportedcards.html for AP mode compatible wifi chipsets and drivers.
You may get a cheap wifi card or usb wifi that is compatible with connectify ap mode.
Second solution: (Reverse usb tether method)
Another solution would be finding a Android build that has known working usb tether mode such as shubcraft 1.4c rmnet and connecting it to pc then bridging the usb and ethernet over a Linux computer. That will make the usb tether in reverse direction. You need a linux computer or a virtual machine with linux. Difficult but possible.
Follow these steps: http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
Third solution: (Share internet over bluetooth)
You can try this one too: http://www.geekzone.co.nz/content.asp?contentid=1285 and http://www.geekzone.co.nz/content.asp?contentid=445 You need a bluetooth module with lan profile support on your pc. Should be cheap if not already integrated to your pc.
I haven't tested due to lack of time. Could you provide feedback?
memin1857 said:
Did you try connectify in Access Point mode? (Connectify supports ad-hoc mode with every wifi chipset and real ap mode with some wifi chipsets)
Check: http://www.connectify.me/docs/supportedcards.html for AP mode compatible wifi chipsets and drivers.
You may get a cheap wifi card or usb wifi that is compatible with connectify ap mode.
Second solution: (Reverse usb tether method)
Another solution would be finding a Android build that has known working usb tether mode such as shubcraft 1.4c rmnet and connecting it to pc then bridging the usb and ethernet over a Linux computer. That will make the usb tether in reverse direction. You need a linux computer or a virtual machine with linux. Difficult but possible.
Follow these steps: http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
Third solution: (Share internet over bluetooth)
You can try this one too: http://www.geekzone.co.nz/content.asp?contentid=1285 and http://www.geekzone.co.nz/content.asp?contentid=445 You need a bluetooth module with lan profile support on your pc. Should be cheap if not already integrated to your pc.
I haven't tested due to lack of time. Could you provide feedback?
Click to expand...
Click to collapse
Thanks for taking the time to help me with a thorough, well written reply
Fortunately, I managed to solve my problem with a variation of your first solution
I had tried Connectify before. On my (older) HP laptop, it only provided ad-hoc networking. But on my eee-pc, it was able to work on AP mode. However, I couldn't connect to it from any of my devices, Android, WinMo or even my other laptop (Win 7).
So I did a little more research to check if there were any other apps available that would take advantage of Win7's ability to more or less easily create a hot spot (based on its Virtual Wifi Miniport Adapter) and I found this one: Virtual Router.
http://virtualrouter.codeplex.com/
I absolutely recommend it!
It worked flawlessly on my eee-pc and I manage to connect to it my (other) win 7 laptop, a touch HD on winmo, and my touch hd2 on both android and winmo, without a single glitch. So now I am using my LAN's internet access on my HD2 on Android through wifi, without having to use a wifi router or establishing any ad-hoc networks.
So problem solved (for now)!
Thanks for your help anyway. I hope that others may also find this app useful.
Luís
Well thank YOU, now me and also the community has a reverse wifi tether solution for Android.
solved
dude...use "mhotspot"
without installing the software....u can create the hotspot..its working great for my "ace"
www.mhotspot.com

idea for reverse tethering (windows)

Hi to all
as i heave seen there is no solution for reverse tethering for android.
partial solution may be in using adb forward command and some sort of tunneling on windows.
What i think is that software on windows machine acts as tcp/ip tunnel and all packets are transfered to usb and on android device should run app that acts as other side of tunnel.
since im not software developer i wonder if someone might take a look at this type of solution for reverse tethering
please no solutions as buying router and similar.
grunf said:
as i heave seen there is no solution for reverse tethering for android.
Click to expand...
Click to collapse
Errr... no? Android is just linux, so you could do anything with it. It should be possible to tether using wifi, bluetooth or even usb.
I was reverse-tethering over bluetooth some time ago, cause I didn't have data plan.
Root your phone - most decent roms have ad-hoc support, so you could very easily share your internet connection from windows. I don't know about BT and USB on Windows. I think there are some PAN managers, so you will be able to create BT connection. Also I think there is usbnet driver for windows. But I don't know, whether it's possible to share internet to these two connections. It's all much easier on linux ;-)
i was thinking about sharing thru wifi and bt but when i activate ICS ip address changes and router at work doesn't like that...
using usb- i did find some reference about Remote NDIS based Internet Sharing Device and i got drivers but i can not figure out how to install them without messing adb.
my phone(lg gw620) is rooted and i do agree that on linux is easier but due to company policy i heave to use windows.
Have you tried conectify for your PC?
grunf said:
i was thinking about sharing thru wifi and bt but when i activate ICS ip address changes and router at work doesn't like that...
Click to expand...
Click to collapse
I'm not sure what do you mean. You connect your PC to a router using cable and want to share this connection to a phone using wifi, right? Then ICS shouldn't change your IP on router side (ethernet one) - AFAIK it set IP of interface you share *to*, not *from*. Modifying *from* connection doesn't have much, cause it would always broke your connection to the internet. Are you sure you share it in correct direction? ;-)
Brut.all said:
Root your phone - most decent roms have ad-hoc support, so you could very easily share your internet connection from windows.
Click to expand...
Click to collapse
Humm.... so that's what the point of adhoc support on phone would be. I couldn't think of any reason my phone would need to pick up an adhoc connection
Ahh or maybe you have 192.168.0.* subnet in your work, ICS set same subnet on wifi side and this is your problem?
Also you could try to bridge these connections instead of doing "normal" sharing. It's easier and if your router doesn't do some MAC checks, this should work.
Isn't there are a easier way like we had on WM6. I am wanting to do it since ages and couldn't get through.
Brut.all said:
Root your phone - most decent roms have ad-hoc support, so you could very easily share your internet connection from windows. I don't know about BT and USB on Windows. I think there are some PAN managers, so you will be able to create BT connection. Also I think there is usbnet driver for windows. But I don't know, whether it's possible to share internet to these two connections. It's all much easier on linux ;-)
Click to expand...
Click to collapse
Could you recommend such a decent rom? I'm using LG GT540. So far didn't see a need to root, but internet connection sharing is definitely worth it.
Brut.all said:
I don't know about BT and USB on Windows. I think there are some PAN managers, so you will be able to create BT connection.
Click to expand...
Click to collapse
It's possible, but Widcomm bt stack is needed, microsoft's built-in can't do it.
Search for Widcomm bt software v 5.0.1.801- Logitech branded (doesn't ask for licence files and no "software expired" message). NOTE- Widcomm drivers are not WHQL certified.
I use BTPAN for my ancient laptop with WinXP and Xubuntu 10.04, no problems with connection
@gen_scheisskopf
bt pan does exactly same as ics would. problem is that firewall at work doesn't work with other IP address then ones assigned by dhcp. doing bridje of two networks messes up ip addresses and then firewall messes with me .
why is it so hard to achieve? windows limitation or android limitation? can we write software to behave like generic rndis (winmo device description)?
grunf said:
why is it so hard to achieve? windows limitation or android limitation?
Click to expand...
Click to collapse
Both. As I said if you have some decent ROM and OS on your PC, then this is just few clicks. I have an Ubuntu, so I click on "create network", then my G1 detects it and connects without any problem. That's all. On Windows Vista you won't have DHCP server and good NAT capabilities. On WinXP you will have problems even with creating a network. On the other hand if you have stock Android on your device, you will get into problems too.
hmmm....
some time ago i heave found drivers for linux devices that in windows it is installed as network device. i need to find that again.(here they are http://forum.xda-developers.com/showpost.php?p=4438553&postcount=41)
maybe this can be used to enable android to act as usb/network device and then to make some sort of routing in windows from regular network to this virtual usb/network...
time to bash my head with solutions and to try some of them, windows pc is ready for format c:.
Check this for a possible solution:
blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
thx for info.
my problem is that i heave phone with android 1.5 and lg is not going to release newer version. until community makes 2.2 available i can't use this trick.
Reverse thetering in windows is possible and easy...
but it may depend on some drivers from your phone manufacturer.
I am using a Motorola XT300 Spice.
To use a USB reverse tether (i.e. sharing the computer network, so I can connect the phone to the internet to sync emails or browse the app market when I don't have a data plan from my company or a wi-fi network available) with XT300:
On the XT300:
- enable USB debugging
- root your phone (z4root works on the xt300)
- connect the USB cable and connect the phone on the computer
- a menu window will appear, select the Motorola PC Tools option
On the computer (tested with Windows 7):
- wait for all Motorola driver's be installed
- a new network interface will be created. That is your phone
- on the network management right click on the network interface that you use to connect to the internet, select properties, advanced, mark the internet sharing checkbox and select the network interface that has been created for your phone to share the connection
On the XT300:
- open a terminal emulator and type the comands
su
netcfg usb0 dhcp
That is it. You have access to the internet.
On the computer don't forget to create rules in your firewall and/or anti-virus program to permit network traffic between the computer and the phone.
It should be even easier on Linux computers, since newer kernels usually have netusb support enabled but it seems that Ubuntu has its netusb.ko driver or some other needed module broken. I could not enable it to work on Ubuntu 10.04 but I could do this on Ubuntu 8.04 and Centos 5.x
I don't know if other android manufacturers are shipping NDIS5 USB capable drivers. I suppose that all have drivers but the only one that I have is the XT300. A little fidling with USB configuration may be needed, since names and options and menu can vary.
If someone knows the steps needed to enable usbnet on Ubuntu 10.04 I would appreciate the help.
HTH
orlando
jorlando said:
but it may depend on some drivers from your phone manufacturer.
I am using a Motorola XT300 Spice.
To use a USB reverse tether (i.e. sharing the computer network, so I can connect the phone to the internet to sync emails or browse the app market when I don't have a data plan from my company or a wi-fi network available) with XT300:
On the XT300:
- enable USB debugging
- root your phone (z4root works on the xt300)
- connect the USB cable and connect the phone on the computer
- a menu window will appear, select the Motorola PC Tools option
On the computer (tested with Windows 7):
- wait for all Motorola driver's be installed
- a new network interface will be created. That is your phone
- on the network management right click on the network interface that you use to connect to the internet, select properties, advanced, mark the internet sharing checkbox and select the network interface that has been created for your phone to share the connection
On the XT300:
- open a terminal emulator and type the comands
su
netcfg usb0 dhcp
That is it. You have access to the internet.
On the computer don't forget to create rules in your firewall and/or anti-virus program to permit network traffic between the computer and the phone.
It should be even easier on Linux computers, since newer kernels usually have netusb support enabled but it seems that Ubuntu has its netusb.ko driver or some other needed module broken. I could not enable it to work on Ubuntu 10.04 but I could do this on Ubuntu 8.04 and Centos 5.x
I don't know if other android manufacturers are shipping NDIS5 USB capable drivers. I suppose that all have drivers but the only one that I have is the XT300. A little fidling with USB configuration may be needed, since names and options and menu can vary.
If someone knows the steps needed to enable usbnet on Ubuntu 10.04 I would appreciate the help.
HTH
orlando
Click to expand...
Click to collapse
You can easily undo this by disabling the internet connection sharing on the PC?
Its already here. I use it a lot. It is a standard feature on HTC sense revolution in the rom I am using. The function appear whenever you connect to PC with usb cable. So...
I guess you just need a sense rom or maybe extract it from sense...

Categories

Resources