XDA II as Bluetooth GPRS Modem in Windows and Linux - Networking

Hi All!
After spending hours on getting my XDAII to work as a Bluetooth GPRS Modem for my laptop, here a few things that may help others on setting this up:
- Turn on Bluetooth
- Pair the XDA with your Laptop
- make sure GPRS on the XDA is not connected
- it is NOT NEEDED to run the Wireless Modem App on the XDA
in Windows XP: set up a DUN connection using the Bluetooth Modem. Set AT+CGDCONT=1,"IP","vfinternet.au","",0,0 as additional AT command in the modem options, replace vfinternet.au with your provider's GPRS AP name. Use no user name and no password and dial *99#. If you cannot connect try soft resetting the XDA. Sometimes it takes a few minutes after soft resetting until you can connect.
in Linux:
- use "hcitool inq" or "hcitool scan" to find out your device's Bluetooth MAC Address
- add the following entry to your /etc/bluetooth/rfcomm.conf:
Code:
rfcomm0 {
# Automatically bind the device at startup
bind no;
# Bluetooth address of the device
device 00:02:E7:E6:FE:06;
# RFCOMM channel for the connection
channel 7;
# Description of the connection
comment "XDA2 DUN";
}
replace the MAC address with your device's bdaddr.
Then create a file /etc/ppp/peers/xda2 and fill it with:
Code:
/dev/rfcomm0
115200
mru 2000
crtscts
connect "/usr/sbin/chat -v -f /etc/chatscripts/xda2-chatscript"
defaultroute noipdefault persist usepeerdns
ipcp-accept-local name dummy
Create a chatscript /etc/chatscripts/xda2-chatscript:
Code:
"" ATZ
OK AT+CGDCONT=1,"IP","vfinternet.au","",0,0
OK "ATD *99#" CONNECT
Replace vfinternet.au with the correct GPRS AP name. Then you'll need to add a line in the file /etc/ppp/chap-secrets:
Code:
dummy * dummy *
that sets a dummy password for the CHAP authentication.
To dial, pair your XDA with your laptop (set the bluetooth pin in /etc/bluetooth/pin) and run "rfcomm bind 0" and then "pppd call xda2". To tear down the link use "killall pppd".
Hope this helps anyone!
Christoph

Hi,
what about Mac OS X Panther (10.3.7)?
I can't connect to the internet through my Qtek (via bluetooth)! Probably i do not have proper drivers for Mac OS X. Computer discovered my Pocket PC and Pocket see my PowerBook by bluetooth, but "Could not open the communication device."
Earlyer I used mobile phone Nokia 6310i and everything work correctly.
Pleas help!

Related

Macintosh - Again

Hi all,
I'm trying to share Mac internet connection via bluetooth with my Xda2 but i don't know how....i've found some howto but only for Palm...
Who can help me?
I cannot also connect the mac via modem bluetooth...(xda2) sic
I cannot also connect the mac via modem bluetooth...(xda2) sic
Click to expand...
Click to collapse
well if you mean that the mac will use the xda2 as a modem then you need vmodem on the xda not sure if xda2 have that as default
since macOSX is really a bsd kernel you may be able to use linux or bsd howto's to fix it
may be a driver and setting issue
Rudegar said:
I cannot also connect the mac via modem bluetooth...(xda2) sic
Click to expand...
Click to collapse
well if you mean that the mac will use the xda2 as a modem then you need vmodem on the xda not sure if xda2 have that as default
since macOSX is really a bsd kernel you may be able to use linux or bsd howto's to fix it
may be a driver and setting issue
Click to expand...
Click to collapse
Yes i mean that...
I cannot use my XDA2 as a bluetooth modem on OSX...
If I look for serial ports on XDA2 I found
OBEX Object Push (?!?!?)
SSA
Serial Port COM4
I've installed these ports as MODEM and as RS-232, used a generic GPRS driver but no luck
With SSA i get "establish connection" the white G appears on XDA2 but it doesn't dial the gprs number (internet.wind)
Sic
Maybe i need a string? Not only internet.wind...
as far as i know
the program vmodem needs to be located on the
xda for it to work at all
my xda1 had it on it's org rom but every rom since
dont
also heard people with xda2 say it's not there
What version of OS X are you running ? (are you even running OS X or OS 9 ?
Aside from that, connect the blue tooth adapter to the pc (if its a laptop, most modern ibooks or power books dont come with blue tooth built in) and make sure thats setup correctly
then you have to marry the phone to the pc on both ends
and then just dial what ever # to reach gprs
on my xda gprs threw the phone is internet2.voicestream.com (tmobile usa) but on my girl friends ericson phone, its like ##949### or something like that (tmobile usa also)
i've used her phone with bluetooth on my ibook 12 inch 800mhz with os x 10.3 and it worked just fine
alot easier than it was to set it up with her toshiba laptop under XP Home
Hope this helps... XDA2 hasent come to the USA yet (to my knowledge) so i dont know specifics about using it with that)
-Mario
Also, OS X 10.3 comes with blue tooth software built in
If ur using 10.2 there may be a update, dunno
There are software updates (Apple Menu / System Updater) that you can get for 10.3 to help things out
-Mario
I use 10.3.3
I've read a FAQ to connect with my gprs provider with an ipaq + irda gprs phone.
The Ipaq will send via irda the number *99# plus this extra string +cgdcont=1,"IP","INTERNET.WIND";
So I think that with my Powerbook I should compose *99# and the string... but I don't know how to put the extra string... mm
Do anyone solve the problem?
I have configurated everything for gprs connection with xdaII on my powerbook. I have associated the two device also: in bluetooth device list of my mac the xdaII appears (and are also listed the service supported, such as ssa).
But there is no way to let the mac see that I'm running vmodem on xda: it tells me bluetooth device is not connected.
Any idea?
Alessio
alexvolo said:
Do anyone solve the problem?
I have configurated everything for gprs connection with xdaII on my powerbook. I have associated the two device also: in bluetooth device list of my mac the xdaII appears (and are also listed the service supported, such as ssa).
But there is no way to let the mac see that I'm running vmodem on xda: it tells me bluetooth device is not connected.
Any idea?
Alessio
Click to expand...
Click to collapse
I have managed to get my powerbook using GPRS connected to XDAII via Bluetooth. I've only just figured this out after days of reading posts etc. so forgive me if these instructions arent clear.
I'm using Mac OS X 10.4.1 but inorder to get it working I had to get hold of the Bluetooth Serial Utility (which was part of 10.3.x but removed in Tiger) from an other machine.
I had read that this App still works in Tiger. (and it does)
Using this I set up an new "outgoing" modem port and selected the SSA service on my bluetooth connected XDAII. I named the port "XDA2" and selected all the checkboxes (i.e. for it to appear in Network etc.)
I downloaded Ross Barkmans Generic GPRS scripts from his websitehttp://www.taniwha.org.uk/ and installed them in the /Library/Modem Scripts folder
I then went to System Preferences/Network and set up a Location that just had my new XDA2 port in it.
On the PPP Options window I switched off Header Compression and entered the following in the PPP settings(I have an O2 GPRS account in the UK):
Service provider: O2
Account Name: O2Web
Password: password
telephone number mobile.o2.co.uk
In the modem window, I selected Generic GPRS CID1
Heres where the fun started. When I tried to connect I was seeing script errors in the Internet Connect connect log. It turn out that most of these were because the script was sending a terminating \13 rather than a \13\10
By adding a \10 to the lines that seemed to be logged as failing, I eventually saw a "Making GPRS connection" appear in the log.
The next line that failed was were the scriot sends the "phone number".
This appears as write "ATD*99***1#\13"
From looking at some of the other documentation I found about connecting to O2 GPRS I tried changing it to:
write "ATD*99#\13\10"
To may amazement the next attempt to connect worked!!
Its still seems a bit flaky and I'm still seeing some disconnect errors in the log but at least I have it working.
If you would like to download my 'hacked' version of Ross's Generic GPRS script. I've uploaded it here http://www.430am.com/XDA2_GPRS.txt
I'd be interested to hear if anyone else has a similar success
I've done limited testing, but these are my notes on connecting an O2 XDAII to an IBook running MAC OS X10.4.7. Hope it helps someone..
Start Wmodem with a bluetooth connection on the XDA.
Place the modem script (attached - no need for the .txt extension, just needed it to upload the file here) in 'Library' -> 'Modem Scripts'
Go to 'System Preferences' -> 'Blutooth'
Press 'Setup New Device' and select 'Any Device'
Select 'Pocket_PC' and click 'Continue'.
Enter the passcode on the XDA and name the device.
Don't create a serial port on the XDA.
Go to 'System Preferences' -> 'Network'
Select 'Bluetooth' and enter the following details...
Account Name: O2Web
Password: password
Telephone Number: mobile.o2.co.uk
Select 'PPP Options' and uncheck 'Use TCP header compression'.
Go to 'Bluetooth Modem' and select 'Generic GPRS CID1'.
Go to 'Internet Connect', select 'Bluetooth' and click 'Connect'.

guide to connecting laptop to web via universal

i have an m5000 and would like to use it as a modem to surf the web on my laptop. can anyone give me simple instructions as to how this is done. i have looked at the wireless modem app but can't see how to initiaite a connection on the laptop,
cheers
Using your device as a modem to your PC via USB
This is for GPRS connection
You must have from your network provider: the internet access point name, your user name and password.
Download and unzip the attached file in a folder on your desktop
1- Disconnect the device from your desktop
2- On the Activesync icon on your desktop, open "Connection Settings". Uncheck "Allow USB Connection".
3- On your device: Go to "Beam" (in Settings/Connections), and uncheck "Receive all Incoming beams".
4- Then in Programs, click on "Wireless Modem". With the Connection type on USB, click on "Start".
5- Now, connect your device to the desktop. The "Found New Hardware Wizard" starts on your desktop. Click "Install from a specific location", then "Don’t search. I will choose…", then click on "Modems", and "Have Disk…" and go to the folder where you unzipped the attached file.
The HTC USB Modem will be shown in the compatible hardware: click to install. Continue if you receive the alert of the software not passing the Windows XP compatibility test (Continue anyway). Finish.
6- Now, in Control Panel of your desktop, open "Phone and Modem Options". Select the "HTC USB Modem" and click on "Properties". In the "Advanced" tab type for "Extra initialization commands":
AT+CGDCONT=1,”IP”,”xxx”,””,0,0
where xxx is your internet access point.
Click OK to finish.
7- On your device (always open in the Wireless Modem program), click on Tools/Options. Check the Preset GPRS connections and write in the APN, your network provider internet access point.
8- Finally, on your desktop, go to "Network Connections" and click "Create a new connection". Choose "Connect to the internet", then "Set up my connection manually". Click "Connect using a dial-up modem", then give a name to your ISP. In phone number type *99#. Get username and password from your network provider.
Better keep a shortcut of this connection on your desktop for quick access.
Each time you want to use your device as a modem:
Disconnect your device
Disable Activesync from your desktop by unchecking the “Allow USB connection”
Open Wireless Modem on your device and push on Start (with the Connection Type on USB)
Connect your device, then dial from your desktop using the shortcut you created
PS: Remember to enable Activesync once you’ve finished.
Hi Tekflow
I have never seen on this forum such a precise and simple guide !
You thought of everything and it is working perfectly for me
Until now I had a Novatel internal UMTS modem,but using the JJ is much better
Thanks mate (actually neighbour...)
Raphael
How much of Tekflow's excellent guide applies to Bluetooth modem connections?
Well, guys and dear neighbour, regarding Bluetooth, I did not try it yet, because I work on a desktop and not a notebook, so I prefer USB connection.
Still you can try this:
(If your PC does not have an integrated Bluetooth connection, you must first install a Bluetooth dongle (USB to Bluetooth) on your PC, with the related software (widcomm or other))
Open on your PC in the Control Panel the Phone and Modem Options
Choose Modems, pick the Bluetooth Modem, then click on Properties
Click on Advanced tab
Type in Extra Initialization commands:
AT+CGDCONT=1,”IP”,”xxx”,””,0,0
where xxx is your internet access point.
Now, on the Wireless Manager of your device, turn WiFi Off, and Bluetooth On, then click on Settings/Bluetooth Settings and check "Make this device discoverable..."
On your PC:
Click on Bluetooth icon (My Bluetooth places)
Click Bluetooth Setup Wizard.
Choose I want to find a specific Bluetooth device …
After a search period, an icon of your device is displayed (usually with your owner’s name): double click for settings
From the Dial-up Networking Links, click on SSA
SSA settings: Modem: Bluetooth Modem
Number to dial: *99#
User name and password, according to Network provider
Please tell me if this works
Tekflow:
Thanks for your additional input. I'm not having any success though, although I'm convinced I'm not far from success.
I'm confused: In the help for my laptop's BT it says that "Dial-up Networking allows a remote Bluetooth device to use a modem that is physically attached to [the laptop]."
When I search for Bluetooth devices, choose my Exec and then browse the Exec services, I see the service "Dial-up Networking on HTC Universal". Is this correct? Maybe both the laptop and the Universal offer this service. I want to use the DUN on the Universal but don't need it on the laptop. Is that right? (I can disable DUN in the laptop's list of services?)
I've turned on BT on the Universal and started the Wireless Modem app, choosing Bluetooth as the Connection Type.
So, I've created a Bluetooth modem attached to COM5 with your special initialisation command (using 'mobileweb' as my internet access point). When I query the modem it responds confirming it's a Pocket PC. All looks good.
I've created a new dial-up connection, using the new Bluetooth modem and with the connection properties for O2 GPRS (number= *99#, username= mobileweb, password= password).
However, when I try to connect this new DU connection, I immediately get the error dialog on the PC- "Error 633: The modem (or other connecting device) is already in use or is not configured properly."
Any ideas?
OK, here is another step by step:
First on the UNIVERSAL open Wireless Manager: turn WiFi OFF and Bluetoth ON
then in Settings select Bluetooth Settings, and check "Make this device discoverable to other devices".
To set up Bluetooth drivers on your PC, click on the Bluetooth icon in the System Tray in the bottom right hand corner of the PC's screen. Click 'Add' to begin the search for the UNIVERSAL. Note that some PC's are installed with other types of BT software that will look slightly different.
Check the 'My device is set up and ready to be found' (discoverable) and press 'Next'.
After a short period of searching, an icon representing the device will apppear, with your owner's name used on the Universal.
Select the UNIVERSAL device and begin the Bluetooth "Pairing/Bonding" process. Select the 'Use the Passkey found in the documentation' and enter the appropriate PIN (usually "0000") and then press 'Next'.
The pairing process begins with the UNIVERSAL.
On your UNIVERSAL, enter the same Passkey/PIN entered on the PC and tap on the 'ok'. The Partnership Settings screen will appear, press Finish.
Windows™ XP Service Pack 2 automatically detects and installs the drivers.
Press Finish to complete the Pairing of the PC and Device.
Clicking on the System Tray Bluetooth icon again will now find the previously bonded UNIVERSAL. Select the device and click Properties.
Check the available services on the UNIVERSAL. Select the Dial-Up Networking (DUN) Bluetooth Profile and click OK.
From the Network Connections screen click on "Create a new connection" and click "Next".
Proceed with the following: "Connect to the internet", then "Set up my connection manually", then "connect using dial up modem"
Select the Bluetooth link, click Next, then OK on the next window
Name the Connection and click Next.
Enter the User name and Password for the Connection and click Next. Then click Finish. The dial up connection is now setup.
Now use the Control Panel > Phone and Modem Options to add in your operator's APN:
Select Bluetooth Modem and click Properties. Then select the Advanced tab at the top. You must enter your operator's APN (Access Point Name) to the internet in that location. This is a common mistake and the modem won't work without it! This information is also contained in the UNIVERSAL in the 'Start > Settings > Connections > Tasks > My ISP > Manage Connections'. The APN for the O2 UK network, for example is "mobile.o2.co.uk", so the line would be at+cgdcont=1,"IP","mobile.o2.co.uk".
[The APN selects which path the data takes within your operator's network. Alternatives to the internet APN may be APN's to WAP or MMS servers.]
Optionally, the Access Point can also be defined in the WModem > Tools menu.
On the UNIVERSAL, run the Wireless Modem application by pressing Start > Programs >Wireless Modem. Select Connection Type: Bluetooth. Then tap Start.
From Network Connections, dial the recently created connection (i.e. "My dial-up to the Internet via UNIVERSAL Bluetooth Modem" if that was the name assigned to it).
UNIVERSAL Dial-up Connection Progress: "Dialing *99#" then "Verifying username and password" then "Registering your computer on the network"
Finally, the popup shows that the modem is now connected
When finished browsing or e-mailing, first right click the connections icon on the right hand side of the PC and press disconnect. Then deactivate the USB Modem by pressing Stop at the WModem application.
Tell me if this works, because I still don't have a bluetooth connection on my PC
thanks for a great set of instructions, very easy to follow. However it does not quite seem to work for me. I can add the exec as a modem and when I try to connect I can see that a gprs/ 3g connection is made on the exec. On my laptop it goes through the authenticating user prompt, but when it gets to registering the computer on the network it just times out and the exec drops the connection, any ideas?
I am using
Username: o2web have tried mobileweb as well
Password: password
advanced command: AT+CGDCONT=1,"IP","mobile.o2.co.uk","",0,0
wireless modem apn: mobile.o2.co.uk
Hiya megman,
In anticipation of doing tech support at my folks' house tomorrow (dial-up *shudder) I decided to set my trusty Exec up as a modem. Booze almost certainly smoothed the process out
Some notes: (a) I'm a tad drunk . (b) On the Exec, I had to make a new modem connection. I use "work" for both connection types so added my new connection there. (c) I first paired my Exec with my lappie, choosing serial port and then set up an incoming com port on 4.
Having done this, and topped up my glass, I did:
1) Connect from lappie to Exec on BT, choose dial-up networking, use the string from Tekflow (respect going out):
AT+CGDCONT=1,"IP","mobile.o2.co.uk","",0,0
in the advanced bit. Set the phone number to *99#; username:mobileweb; passwordassword.
2) On Exec, make a new connection (I didn't have one to start with) Manage Existing Connections > New... -> line:cellular gprs; APN:mobile.o2.co.uk; username:mobileweb; passwordassword; no advanced stuff.
3) Connect that puppy
4) Start Wireless Modem, making sure it's a bluetooth connection
5) On lappie, connect to the Exec via Bluetooth Settings window.
6) Job's a good 'un. Use new connection to do this!
HTH
Thanks this_mike. I forgot to put on my post that I was trying a USB connection though. I don't have bluetooth on either of my laptops.
Two things...
First, a massive thanks to Tekflow for your great setup instructions... i had been trying to do this for ages without any success
Second, for those Vodafone 3G users, the setup instructions are exactly the same, except the username and password (in the UK at least) are:
Username: web
Password: web
THANKS, THANKS, THANKS!!!
Dear,
Million Thanks to Tekflow and all the folks engaging in sheding lights on all this. I had been wrestling the use of that since my old XDA I -> XDA II. And now i just succeeded using the wireless modem with my XDA Universal.
Thank you
Ken
Re: Using your device as a modem to your PC via USB
Tekflow said:
This is for GPRS connection
You must have from your network provider: the internet access point name, your user name and password.
Download and unzip the attached file in a folder on your desktop
1- Disconnect the device from your desktop
2- On the Activesync icon on your desktop, open "Connection Settings". Uncheck "Allow USB Connection".
3- On your device: Go to "Beam" (in Settings/Connections), and uncheck "Receive all Incoming beams".
4- Then in Programs, click on "Wireless Modem". With the Connection type on USB, click on "Start".
5- Now, connect your device to the desktop. The "Found New Hardware Wizard" starts on your desktop. Click "Install from a specific location", then "Don’t search. I will choose…", then click on "Modems", and "Have Disk…" and go to the folder where you unzipped the attached file.
The HTC USB Modem will be shown in the compatible hardware: click to install. Continue if you receive the alert of the software not passing the Windows XP compatibility test (Continue anyway). Finish.
6- Now, in Control Panel of your desktop, open "Phone and Modem Options". Select the "HTC USB Modem" and click on "Properties". In the "Advanced" tab type for "Extra initialization commands":
AT+CGDCONT=1,”IP”,”xxx”,””,0,0
where xxx is your internet access point.
Click OK to finish.
7- On your device (always open in the Wireless Modem program), click on Tools/Options. Check the Preset GPRS connections and write in the APN, your network provider internet access point.
8- Finally, on your desktop, go to "Network Connections" and click "Create a new connection". Choose "Connect to the internet", then "Set up my connection manually". Click "Connect using a dial-up modem", then give a name to your ISP. In phone number type *99#. Get username and password from your network provider.
Better keep a shortcut of this connection on your desktop for quick access.
Each time you want to use your device as a modem:
Disconnect your device
Disable Activesync from your desktop by unchecking the “Allow USB connection”
Open Wireless Modem on your device and push on Start (with the Connection Type on USB)
Connect your device, then dial from your desktop using the shortcut you created
PS: Remember to enable Activesync once you’ve finished.
Click to expand...
Click to collapse
Excellent guide. Thanks Tekflow!
I'd had problems with this up until now, just followed the guide and got it working first time... Thisll save me trying to find a wifi connection when on business
usb modem error!
Hi everybody!
I tried to connect laptop to my Universal but in wireless modem with USB type when I tap START I receive an error: " COM OPEN ERROR"
Any idea???
thanks
cata delete any bluetooth outgoing port setup you have for xample I had a bluetooth outgoing gps reiciver setup and delted that fixed the com port issue,
got the info from another thread so if it works all credit due to that chap
Nice work Tekflow
I added a link to this topic in the wiki under Universal/FAQ
How can I figure the username/password for T-Mobile USA?
t mobile mda pro user pass ?? anyone?
Thanks to Tekflow et al. I have now managed to connect using both methods [USB/Bluetooth], I prefer BT over USB though so I don't have to keep on fiddling with Activesync Connection Settings. BTW am posting this now using my Exec as the modem.

Using GPRS as a Modem to surf internet with Desktop/Notebook

There are three main steps:
1. Pairing the devices
2. Configuring the modem using an AT string
3. Creating a new internet connection using the modem
Let's start with the first step: pairing the devices and using the modem on the PDA.(Photo 1-3)
Now, run a connection wizard on the Desktop/Notebook (New Connection). I am going to show you the procedure in detail, so I opted for the Custom Mode.(Photo 4-6) The device is then checked for supported services. In our case, the Wizard offers only one but very important service, Dial-up Networking.(Photo 7)When you click Next, the devices will try to pair.
If everything goes well, the PC should display a window asking for a PIN. It does not matter what you type in (can be 8888) [Photo 8], you only need to remember this because you will have to enter the same code in the PDA. This protects you against intruders. On the pocket device, first confirm that you realy want to communicate with the PC (Yes) and then enter the PIN (Photo 9-10) .Check the box at Serial Port and tap on Finish.(Photo 11)
We are done with the PDA for the time being but need to do some more setting on the desktop/notebook. A Bluetooth driver from Notebook offers a quick configuration of the newly connected modem (Photo 12). Click on Advanced Modem Settings and enter the following string in the only possible field: AT+CGDCONT=1,"IP","APN", where the "APN" should be replaced with APN details of your provider (Photo 13).
For Example. APN for 'Peoples' is Peoples.net
Please note that different notebook may have different bluetooth module so that the above photo display may not be same.
The last step involves filling in a form where you enter a name for the connection being created in the first field and specify a dial-up string in the second field and leave the rest blank. In this case, we typed in Dial-up Connection Name : Vodafone GPRS or keep the current default connection unchanged. Telephone number is *99# which is universal setting for GPRS.(Photo 14)
That's it. Now at Notebook/Desktop select Start -> Settings -> Network connections -> Your new connection and then Dial and you should be connected to the internet .
The procedure should be similar with other BT modules.
Please note that all photo is not mine but I tested on my 818pro and Notebook and work fine.
Using GPRS as a Modem to surf internet with Desktop/ Notebook with USB Cable:
sas, I have tried your procedure and for some reason can't get it to work... do you know if the Prophet will work as a GPRS modem through USB cable? I have the newest ROM for the JAMin... maybe this is why I can't get it to work??

WM5 microsoft bluetooth stack PAN

Today I was able to connect my PDA to Computer over PAN without starting ICS! My PDA do not have "PAN user driver" and might work only as "Network Access Point".
If you change these key:
HKEY_LOCAL_MACHINE\software\microsoft\bluetooth\pan\activateonboot to 1
then while enable bluetooth will start "bluetooth network adapter BTPAN1"
but will be another problem - the windows did not see that connection is established.
I solved the problem by changing the key
HKEY_LOCAL_MACHINE\comm\btpan1\parms\protocolstobindto from "NOT NDISUIO" to "NOT".
Remained only appoint a static address for bluetooth network adaptor on PDA and Computer. After that start on a computer connection to bluetooth network access point and all is work.
Computer can ping PDA and PDA can ping Computer.
But one problem still remains: Packages go to the computer and no further.
Attempting to use the computer as a gateway to connect PDA to the Internet failed.
Maybe somebody who will help solve this problem?
I apologize for my English. I am from Russia.

Any way to share desktop internet with droid by USB?

Hey there.
I´ve searched the forums but i didnt found for a way to share a desktop internet connection with the phone by USB.
There are many ways to tether (share phone connection with the desktop/laptop, wired or wireless), but are there any way to share internet the opposite way?
Thanks!
Dont think so.
As far as I know, there is only one option to connect to internet through PC. You can connect by WiFi, but only with Windows 7, because Desire can't connect to ad-hoc network.
If you are interested in this subject, go to connectify.me
Thanks for your help!
YES if you have windows 7 and wifi.
Sorry to bump this but was a big deal for me also and I found a solution.
I use a peice of software called connectify (google it) which uses some new part of windows 7 networking to allow you to turn your computer into a wifi router.
It even works when connected via wifi which obviously it pointless if you have wifi already. We dont at work so I use it then and have about 6 others connected from thier desires with no effect on me.
HI
I have found the solution to share PC's internet on mobile via USB. I am using ubuntu 10.04 and HTC dream with superfroyo2.2. I just did the following:
First of all, connect the PC to Phone via usb. and enable tethering on phone. (Don't panic. I am going to tell you how to do the reverse of it.)
Your PC will get the IP 192.168.42.37 and mobile will have the IP 192.168.42.129.
Settings on PC
sysctl net.ipv4.ip_forward=1
Above command will enable routing on the PC.
Now go to your phone via adb shell
and give following commands;
#setprop net.dns1 8.8.8.8
also need to set default gw using
# busybox route add default gw 192.168.42.37
by above commands on mobile you have set the dafault gateway to be PC's IP and also set the DNS.
and BINGO..your internet should work on mobile now.
If you still get some problem, then troubleshoot it step by step. First ping your PC from mobile and mobile from PC, both should ping each other and make sure, your PC is connected to internet and there is no firewall or antivirus on the PC that may block incomming traffic from mobile.
As a further test you can give following command to enable NAT on your PC:
// iptables -t nat -A POSTROUTING -s 192.168.42.0/24 -j MASQUERADE
I did not use this command and natting was done without this command on my PC, my be due to some error or other configurations that I don't know but its good for me that its working without it
HD roms had that IIRC
Sent from my HDfied HTC Desire
i dont think its possible right now :/

Categories

Resources