BlueDUN +: MB Comand OnLine and Android phones

5:49:00 PM 1 Comment
BlueDUN +: MB Comand OnLine and Android phones -
The Bluetooth pairing between Android phones and MB COMAND Online allows users to share phone contacts and make phone calls. Besides Navi (obli-), Audio, Phone (EPhone), video and system menu options, you can see another icon: web browsing.
Selecting this menu option, the user can open a web browser and insert the URL for browsing the Web, or access features COMAND Online, including weather, facebook, point of interest more ...



The COMAND online needs to a bluetooth DUN (Dial) service, but Android phones are not natively support (because it is an old technology), so you need to install an application to activate this service.


BlueDUN the app for Android Bluetooth DUN service on your phone; this guide shows how it is possible to open Web access to MB Comand OnLine:

1. Remove the former pairing between the Navi and telephone
If you have not recently purchased your car, it is quite possible that you have already paired the phone with the Comand to make phone calls. When you create the Bluetooth
connection between two devices, each search and save all the available services on the other device, then when you try to open a web link you can get the message "Connected phone does not support data communications."



No problem, it is normal, simply back to the initial situation, as if the two devices had never met. In other words, you must remove the pairing: Select the Tel menu option / Phone in the submenu / low Bluetooth phones / scroll through the list and select the phone phone to delete / click the white icon on the right of option / de-authorization and finally confirm.






2. Open BlueDUN, start the DUN service and create a new twinning

After removing the pairing, you need to create a new connection between the phone and Comand: normally, you must enable bluetooth interface on your phone and do it by d other devices. The BlueDUN application automatically makes bluetooth, but you must check the "discoverable" option in the properties panel (click the / hard left menu button to show):




BlueDUN requires valid Internet connection to begin with, so when you click the "start Service" button, the first message that you can see is "Internet connection Testing ..." . The application emulates the characteristics of the modem, but it does not work a real call dial up when the device client requests information, BlueDUN transmits these messages to the wireless or mobile (HSDPA / EDGE / GPRS) connection data and sends to the client all the answers.


If BlueDUN screen shows the status "customer waiting Bt .." you are ready to be coupled to the new Comand and phone by following the same steps: select Tel option [Menu/ Phone on the submenu / low Bluetooth phones / search discoverable devices.

3. Select a provider and configure connection settings
once the Comand stored phone BT services, including DUN, you do not have to pair them again, but the first time you try to open a web link, you'll get this message: "No selected provider or supplier data is incorrect please check the settings.". You must assign a provider for Internet connection and you can choose one of the list of providers in your country.


connection parameters (phone number, AP, used ID and password) are not important, so do not bother them. The only parameter that affects the DNS address is: If you enter the wrong IP that you may not be able to access the server MB, so it is best to leave as assigned automatically. In this case, BlueDUN use by IP Primary DNS default Google (8: 8: 8: 8) and secondary DNS IP (8: 8: 4: 4).




4. Access to COMAND Online apps or web page
steps above should be performed only the first time, in normal use, you can select the web browser icon and open a URL or Mercedes Benz Apps menu.


It is important to note that Comand OnLine not access directly to web pages on the Internet, but downloads them from Mercedes Berz VPN server, this means that the download speed is considerably more respect slow the browser to your phone as it depends on congestion MB server.



I suggest using the telephone connected to a Wi-fi network (as the point home or office wifi) when you use the online Comand first to access online services : the browser gets from the numerous data server to configure the menu and applications and the phone must have a stable connection if you need to restart the process again if the connection drops.

again, you must remember to start the BlueDUN service on your phone before you open a www link, otherwise you will get the message "Function not possible at present. " For this reason, you can activate the "Auto-Start" (and "Auto-Resume") option BlueDUN property panel; in this way the DUN service will always be when the application is running.




If after several attempts, you can not connect, always get the message "connection Failed" message, it means that the bluetooth channel can not be reused.
Try to close the connection by clicking on the logout icon in the lower right on the Comand, turn off the Bluetooth interface on the phone and then restart BlueDUN the service.




in the preferences panel, you can also change the Bluetooth channel : the default is the number 0 [auto-assigned] , but it seems that you can not not start the Bluetooth DUN service and enter a value in the 1-30 range. In general, this has no effect for the new version of Android because the DUN channel is always self-assigned.

another very important parameter for connection success is the packet delay UDP ; this parameter represents the delay time between each UDP packet sent to the server. Its default value is 50ms but you can increment (eg defined 100ms or 150ms) if the phone connection problems. [Deprecated on new versions]

If none of the above actions is successful, please activate " UDP compatibility "in the property panel, this option increases the time connetion and reduces the download speed, but allows COMAND to connect online. [Deprecated on new versions]

BlueDUN: Connect Windows 7 PCs to internet via bluetooth via Android phones

4:48:00 PM Add Comment
BlueDUN: Connect Windows 7 PCs to internet via bluetooth via Android phones - This post shows how to install and configure Bluetooth and pair your computer with an Android mobile phone to activate the Internet Connection
.
Requirements are that you have already installed the Bluetooth adapter on your Windows 7 computer and turned on the Bluetooth interface.

the matching process can be started from both the computer and the phone. If you choose to boot from the phone, you must also turn in the Bluetooth settings of the option: " Allow Bluetooth devices to find this computer ".
In this example, I'll choose to start pairing from your computer.


In the notification area, click on the arrow to reveal a series of additional icons. Then right-click the Bluetooth icon and click on " Show Bluetooth Devices "


Now you can see the list of previously paired devices, but before clicking " Add device " to create a new connection with your phone, it is necessary to activate the service on your phone BlueDUN.


BlueDUN Open the app and activate " Discoverable " option on preferences panel (click the menu button to access the preferences); Now when you start the service you should get the message " Bluetooth authorization request " asking you to enable the Bluetooth visibility status for a limited time.





If the BlueDUN service is running on the phone, you can click on the " Add device button" on PC; it begins " Add Device " wizard that will search for new devices, including Bluetooth.
After a few seconds, your phone should appear in the list of available devices. If it does not, then you must make sure that Bluetooth is enabled on the phone and the phone is defined as discoverable.

Select your phone and click Next .




The wizard displays a code that you type on your mobile telephone, so the pairing is completed.



on your mobile phone, you are informed that your computer wants to connect via Bluetooth . Press OK and enter the code. Once the code is entered, the association is established and Windows will automatically search for drivers for all Bluetooth profiles available on your mobile phone and then installs them.



To check the BT profiles discovered and installed, you can right-click the phone you just added and select Properties:



note: " Dial Up Network (
DUN ) "profile will be available on the phone when the BlueDUN service is running; if you pair the devices in a different state, you can not create a new Internet connection on PC in this case. remove the old pairing and create a new one by following the steps above.



Make sure that the DUN profile is selected and click OK to confirm
now it's time to create a new Internet connection to access the Internet throught tethering bluetooth phone :. right-click your phone again, and choose "Dial-up Networking" > "Create a dial-up connection ..."




after you click it, it will ask you which modem device to use in your dial-up choose the latter, if it does not work, try others ...



now enter the required dial-up number (eg * 99 *** 1 # is most often used ), and enter a name for your dial-up connection ... no need for user name and password with BlueDUN application ...


after entering the details, click connect, it will try to call the number on your phone and check your connection to the network server, and after that will test your connection ...




on BlueDUN app you should see the message "Modem negotiation .." and shortly after panel with connection statistics indicating the connection has been successfully established.



now your done! Click the close button to close the window and open your browser to start surfing the web, Enjoy




Reference: http : // www.7tutorials.com/transfer-files-between-devices-your-windows-7-pc-bluetooth

Bluetooth tethering for Android devices: make BlueVPN BlueDUN and work together

4:47:00 PM Add Comment
Bluetooth tethering for Android devices: make BlueVPN BlueDUN and work together -


The BlueVPN Android app acts as a " Bluetooth DUN reverse "functionality, or in other words, it is able to open a dial up connection on a bluetooth cell phone and use it as a modem. This function is natively supported in many operating systems (Windows, Mac OS, Linux ...) but not for Android: the previous post showed how create a modem Internet connection on Windows 7 . In the current state, the only way to route all network traffic to a custom channel to an Android device "not rooted" is to open a VPN connection. This is why the application name.


What does "tethering"?

For people who are not familiar with the concept of tethering, I quote a definition from wikipedia:

"tethering means sharing the connection Internet from a mobile phone or Internet tablet internet compatible with other devices. This sharing can be offered on a wireless LAN (Wi-Fi), Bluetooth, or a physical connection using a cable (USB). in the case of the modem on the wireless LAN function can be marked as a mobile hotspot. the Internet-connected mobile phone acts as a portable router when providing fastening of services other. "

While Wi-Fi and USB tethering has been disabled on some Android devices Bluetooth tethering is not supported in all cases. These features can be reactivated by a "root" device (hack the firmware to achieve root access) and there are several applications that work well for rooted devices.
Anyway not all users are willing to change the original manufacturer of the firmware because this does come with some risks. The most significant risk is that you void any warranty you have on your device and you may have trouble finding the original ROM on your device.
In addition, some users may experience problems, such rendering completely non-functional phone, having problems with reboots (Endless start cycles) or make the device more respect vulnerably to virus attacks.
The main advantage of using Bluetooth or Wi-Fi instead of a USB cable tethering is that you can keep your phone in your bag or pocket and still make the connection. In addition, Bluetooth uses less energy respect to Wi-Fi and it is best suited for use in small portable electronic devices that rely on battery power.
Indeed wireless device is constantly sending data back and forth between connections, and it takes a lot of energy to transmit large amounts of data. Bluetooth, on the other hand, maintains a connection with very little energy expenditure, about a fifth of that of Wi-Fi.


The BlueVPN, app also works for "not rooted" ad devices can connect online Android device without an ability to access the Internet, sharing the connection available on another phone or tablet.

told before, this application routes network traffic to a VPN connection and, finally, it exchanges data packets throught bluetooth channel. VPN connections are fully supported on the latest Android Ice Cream Sandwich versions 4.0.x but limited to Previuos press (Girgerbread 2.x and 3.x Honeycomb)

BlueVPN for Android 2.x and 3. x is quite unstable and difficult to implement


while the version for Android 4.0.x (ics BlueVPN) is more simple and reliable



In this post we will see how to couple two Android devices bluetooth tethering: on the second device (host -router) we install the BlueDUN application to enable bluetooth DUN profile [generally not natively supported]

Installation:.
1. Create BT pairing between the client device (with BlueVPN installed) and the host device

settings / Wireless and network / Bluetooth settings / Enable Bluetooth if off and visible device on the two / Search devices when the name of the other device appears in the lower list, click (maybe you need to insert a paring code eg 1234) and confirm. Insert the same code, if any, on the host device and confirm.






2. Make sure you have a valid Internet connection and BT-DUN profile on the host; if necessary install the app BlueDUN

[ 3. Create a new connection L2TP VPN on the client device -. only for Android 2.x and 3.x ]

Settings / Wireless network / settings VPN / Add VPN / Add L2TP


VPN set name = BlueVPN and the VPN server = 127.0.0.1 disable L2TP secret and leave empty the search parameter DNS domains


Normal use :.
[ 0. Enable connection wifi / mobile data on the client (only required to allow the opening of the VPN connection, but not used for transfers data) - only for Android 2.x and 3.x ]

This is a limitation of Android 2.x and 3.x: . even if the VPN is enabled, traffic is not routed to it if wireless connectivity is down

1. Enable bluetooth interface [if BT DUN profile is natively supported] or open BlueDUN application of the host machine and start the service.



2. Open the BlueVPN application on the client, click the host name in the list of BT devices

on Android ICS, the first time you click a button list, you can get a message asking to confirm the VPN connection creation. Check the "I hope that this request" and confirm; that click again on the name of the host device on the device list.


at this stage, the application tries to open the Bluetooth connection to the device host and open the VPN called "BlueVPN" to route network traffic.


if all goes well, you should see the stop button and the message "BlueVPN connected with ...."; otherwise, click the lively center image to return to the main menu.


The VPN is really connected that if you can see it on the notice board a "key" icon and Traffic Statistics click on it (please do not disconnect the VPN direclty from here, but click the stop button when finished).



If BlueVPN does not automatically connect ( Honeycomb), start it manually from the system parameters (define any user name and password):

settings Wireless network parameters / / VPN / BlueVPN



Although BlueVPN is connected, you can open a browser and Internet throught bluetooth tethering.




BlueVPN +, connect your Android device to the Internet with a GPRS modem phone

3:46:00 PM 1 Comment
BlueVPN +, connect your Android device to the Internet with a GPRS modem phone - In the previous post, we saw how to couple two Android devices and share the Internet connection with them BlueDUN installed on the master and BlueVPN installed on the slave. In particular, we described how to install and configure BlueVPN: This application implements a Bluetooth dial up client, also called reverse DUN function.
However, there are situations where you need to connect an Android device such as a tablet, and you do not have a second Android device (usually a phone), but you only have a GPRS [General Packet Radio Service] phone (like many towns BlackBerry, Nokia, Samsung phones ...) with a built-in modem capacity.
Until now, you were able to use this phone as an external modem to connect a laptop to the Internet, but not to connect the Android device.
the latest version of Android ICS for BlueVPN (4.0.x) allows the Internet connection of Android devices through a modem line to phones and thus circumvents this limitation.

to set up the connection you can follow the same steps described above: bluetooth enabled on Android without Android device and create the BT pairing. For some Android limitation, it is highly recomended to remove any space in the Bluetooth device names before pairing (eg rename "Nokia E65" to "NokiaE65")



the main differences are in the control parameters:

compatibility Modem : some modems do not allow no more lines to AT commands; if you enable this option, the AT commands are not prefixed by ( "carriage return" and "line feed")
For example: the disabled compatibility: AT enabled compatibility: AT

newline Modem : If you disable this option aT commands will only use the character "carriage return" () if thery will use both the "carriage return" and "line feed" ( )
for example: compatibility disabled: AT enabled compatibility: AT

AT Initialization : it is the modem initialization string, the default is E0V1 & C1 & D2 but you can modify it to your specifications modern

Login timeout is the time after which the application will send the same data if it does not receive the replay for the first AT command or the first LCP / NCP initialization packet

character delay . some devices are slow in processing characters so we have to wait a few milliseconds between each of them (for example, send AT equals send 'A', wait a few milliseconds, send 'T', wait a few milliseconds, etc .)

LCP compatibility : it is an option to force the PPP LCP negotiation, you must enable this option only in extremely rare cases

Blackberry compatibility : enable this option if you connect a Blackberry phone as a modem

Bluetooth Insecure Socket : switch this option only if you get problems with the Bluetooth connection

DUN service channel represents the channel for Bluetooth DUN profile; change the value and define a number like 2, 3, 4 or 6 if the connection does not work with the default value of 0 (self-assigned)

Access Point then BlueDUN needs no special configuration because it routes data packets to / from the mobile existing connections 3G or Wi-Fi to your phone to connect via GPRS, you will need to tell the phone that APN ( Access Point Name ) to use.
GPRS is a service provided by the mobile network operators and the NPC is used to determine where to route data requests. Most operators have different access points for different services, and you will need to choose the right or things do not work; usually the Internet access point is used for web browsing, email and instant messaging, etc. Here is the List GPRS APN world .
For CDMA (Code Division Multiple Access) connections keep the value of the white point of access.

phone number GPRS not use a dial-up number (such as GSM data calls do), but a conventional dial up phone number (* 99 #, * 99 *** 1 # or something similar) should be set for the negotiation of modem.
for CDMA in general the number is # 777



Authentication : the authentication step is usually necessary, even if the username and password are not defined, so you can select the authentication type = PAP (default) or CHAP. UserName and Password are sometimes required by some mobile operators and you have to insert the right for user authentication (otherwise leave them blank).

DNS Finally, you may need to adjust the primary and other addresses (secondary) DNS; they are used to resolve domain names and are usually awarded automatically when the connection configuration when equal to 0.0.0.0 . If you force these settings, it is possible that the service provider can not resolve Internet URL and the connection does not work.


Note :. The numbering and the connection is supported by the wireless service provider, and additional charges or additional charges may apply as it goes through the carrier's network


BlueVPN tested BlackBerry 9300, Nokia (E65, E66, N8-00 Belle, C60-01), Samsung SGH-L760.


Log reports

You can help the 'application development in these terms:
1. Open BlueVPN settings and activate the options " activate Logger " + " Log to File "
2. return and press on GPRS phone name on the list of paired devices (starting new connection)
3. If the connection fails or after a while, open BlueVPN settings again and click on the last item [ Send files for Debug ] to send all generated log files ( application.log appointed) by e-mail


known problems

a) BlueVPN the application seems stuck on or modem negotiation messages LCP

1. Pair the GPRS phone with a Windows PC and create a bluetooth modem connection
2. Open a command prompt window on the PC (cmd) and type in the order the following commands:
  • netsh
  • ras
  • tracing PPP enable set
3. Connect Internet -you PC with your phone GPRS
4. Email this file / Windows /tracing/PPP.log and application.log (generated as described -Dessus)


B) app BlueVPN shows the logged messages (and the stop button) but will suddenly return to the list of paired devices

Some manufacturers of Android devices (eg Sony) do not understand the
VPN TUN module in Android version 4.0.x is installed on the device. This module is similar to a device driver. Without the module installed, a VPN tunnel can not be established from the device
To check if your device supports VPN you can install the CatLog -. Logcat player! app;
If no VPN support, an error message appears similar to the following is written in the report CatLog when you press the BlueVPN application on connect button:

E / VpnJni (189): Unable to allocate TUN: Bad file number
E / F5EdgeClient (1391): Unable to establish VPN
E / F5EdgeClient (1391): java.lang.IllegalStateException: Unable to create the interface

You can install the TUN module installing the application "install TUN.ko "

https://play.google?. .com / store / apps / details? id = com.aed.tun.installer

Please contact the manufacturer's support for more information

Best Practices: Use only letters and numbers for the Bluetooth device name (no tanks or special spaces)


C) After the update to Android 4.1 or 4.2 (Jelly Bean ) BlueVPN does not connect when clicking the remote device name

Solution :.
- delete the pairing with the remote device to Android Settings and create new
- click the icon to the right of the name of the associated device
- activate the "Use for access to internet "(do not worry if one remains unchecked)