|
|
|

:: Research Group Embedded Interaction ::
Media Informatics ::
Ludwig-Maximilians-University Munich
Embedded Interaction - Internet over Bluetooth
With the most mobile phones it is easily possible to create a Bluetooth connection between the mobile phone and the PC. Based on this it is also mostly possible to use the PC as a proxy for internet connections. So the user of the mobile phone can access the internet and has only to pay the fees for the internet connection of the laptop and not expensive GPRS or UMTS fees. Especially for developing mobile applications this is quite useful.
Unfortunately is this function in the Nokia 6600 somehow disabled. There are some different tutorials/documentations [e.g. 1, 2,3] available which describe how this function can be enabled by the Nokia 6600, but none of them has worked for us. Afterwards we describe how we achieved such a connection (which is based on these tutorials, we reused the descriptions and source codes of these tutorials directly and integrated them in our tutorial ).
Used Hardware
We tested this tutorial with the following hardware:
- Acer Bluetooth USB Dongle (BT-600, Price ca. 25-30 Euro)
- Nokia 6600 (Software version 4.09.1)
- Used Applications: Opera for Smartphones/PDA, Doris Browser, Integrated Browser (Services), Own J2ME applications
Set up the PC
- Download proxy from www.analogx.com and install it, just setup everything using default, and run it through Start -->Programs --> Analogx --> Proxy --> Proxy
- Determine which COM port your Bluetooth is using by right-clicking on your Bluetooth tray icon (where the time is displayed) and select Advance Configuration, then go to Local Services tab, EVERYTHING in there EXCEPT Bluetooth Serial Port should be made manual. i.e, ONLY Bluetooth Serial Port is automatic startup, and make sure that Secure Connection is not required. Do take note of the COM port in use, for me, mine is COM6.
- Next, goto Start --> Settings --> Control Panel -->Phone and Modem Options -->Modem and do a Add, remember to check Don't detect my modem;I will select it from List. Click next. Out pops a window, under Manufacturer, select (Standard Modem Types), under Models select (Communications cable between two computers), click Next, selected ports should now point to the COM port you have found in step 2. For mi, i choose COM6. Then next next next till you are done. You will see an entry in the Modem(tab). Double-click on the Communication cable between two computers, and set maximum port speed to 115200.
- Now goto Start --> Settings --> Control Panel --> Network Connections --> Create a new connection. Choose Set up an advanced connection Choose Accept incoming connections. Check the Communication cable between two computers(COM6 -->you have to choose your port), click Next, select Do not allow virtual private network connections and under Users Permissions allowed to connect (as a first step choose a person with administration rights). Next again, double-click on Internet Protocol (TCP/IP), make sure the Allow callers to access my local area network is checked, Specify TCP/IP Addresses from 10.0.0.1 to 10.0.0.254. Click OK, then click Next
, then click Finish.
-
Enable NAT on your Windows XP box by typing in a CMD window (Start --> Run --> Type in "cmd" --> OK):
netsh routing ip nat install
netsh routing ip nat add interface "YOUR LAN INTERFACE NAME" full
If you get the error message NAT must be installed first after the second command, you have to reboot your system.
netsh routing ip nat add interface Internal private
Look up the interface name in the control panel network connections (e.g. Local Area Connection or in German LAN-Verbindung). Note that the 'Internal' name will depend on the language of your Windows XP (e.g. in Finnish it's Sisäinen and in German it's Intern instead). The first line enables network address translation (NAT), the second adds your LAN connection as something to send NATted traffic to and the third your incoming connections (they all get attached to the 'Internal' interface) as sources for NATted traffic.
Set up the Nokia 6600
- Install a special version of the gnubox (provided by Mika Raento) on your Nokia 6600 (fone memory or card is up to individual's preference)
- Go to Tools --> Settings --> Connection --> Access points --> Options --> New access point --> Use default settings. Ensure that the Connection name=Bt, Data bearer=High speed (GSM), Dial-up number=any 3 digit, User name = a valid username in your PC, Prompt password=No, Password= (password for the username on your PC), Authentication=normal, Homepage=none, Data call type=Analogue, Maximum data speed=Automatic
- Then select Options --> Advance settings. Phone IP Address=Automatic, Primary Name server=0.0.0.0, Second.name server=0.0.0.0, Proxy serv.address (your pc's ip address, which can be gotten by Start --> Run --> cmd --> ipconfig),proxy port number=6588 (the port used by analogx proxy server),Use callback=No, callback type=use server no., callback number=none,user PPP compression=YES,use login script=YES,
Login Script=
CHARMAP [windows-1252]
LOOP 10
{
SEND "CLIENT"+<0x0d>
WAIT 3
{
"SERVER" OK
}
}
EXIT KErrNoAnswer$
OK:
EXIT
(send a text file to your mobile phone, use the copy and paste function of the Nokia 6600),Modem initialisation=None. Then back back back till you get back to your main menu.
- What twinkerz (3) have found out is, you need to pair up your 6600 with your bluetooth dongle, and set it as authorized. After that, launch Gnubox --> Options --> 2box Direct --> Infrared (Stay with me here.. important step). then Options --> 2box Direct --> Bluetooth --> select your pc. Then press on your menu button, and fireup your browser, maybe say Doris browser.
- in Doris Browser, go to options-->preference-->proxy IP Address =(your pc ip),
proxy port=6588, the rest of the options set as default.
- then try to go to a url, maybe say www.google.com or whichever you prefer... and happy surfing
We would like to thank the authors of the articles in [1, 2,3] because this tutorial is only a merge of these three forum threads / tutorials.
If you have any comments or questions, please feel free to
ask us! |