Aller au contenu



Photo

[s60] Internet ADSL via bluetooth


  • Veuillez vous connecter pour répondre
854 réponses à ce sujet

#21 ghalou

ghalou

     

  • +Membres +
  • 41 messages

Posté 03 Sep 2004 - 12:26

Voila Voila ---> GnuBox <---

Ciao  :cry:

<{POST_SNAPBACK}>


:P Windows XP/2000 Pro doesn't allow you to NAT to a dialup :-(.!!!!
c'est peut etre ca notre problème :P j'ai XP PRO
et toi scc007???tu as XP pro ou WIN 2000? :whistling:
[SIZE=1]
GHALOU
Nokia 6600+bientot MMC 128MB/7650/siemens c62/n7210/n6100
Image IPB

ici ....appli et jeux s60...



#22 gilleto

gilleto

    mIRC - M@N

  • +Membres +
  • 4708 messages
  • Sexe:Masculin
  • Localisation:charleroi - belgium
  • Mobile:Nokia
  • Modèle:N8-00
  • Opérateur:BE Mobistar

Posté 20 Dec 2004 - 22:08

hello,

sachant que beaucoup de gens cherchent une manière d'utiliser sa connection internet pour l'utiliser sur son mobile grâce au BT (je me demande pourquoi mais bon... :wub: ) je l'ai cherché et j'ai trouvé une manière qui fonctionne mais il faut s'y connaître car c'est loin d'être aussi simple que ce qui est inscrit sur les différentes façons que l'on peut trouver sur ce forum :lol: et en plus c'est en anglais.

si ça peut intéresser quelqun là voilà:

                              Utiliser sa connection Internet sur son mobile via le bluetooth
                              ---------------------------------------------------------------



Symbian Programming - Bluetooth WAP/Sync/Internet
Note
This page is intended for people reasonably familiar with TCP/IP routing (including concepts like PPP, proxy-arp, NAT, IP addresses, subnets). If you don't think that you understand these concepts, please refer to a good TCP/IP text first.

Updated for 6600! These instructions work on my phone with software version 3.42.1. Reported working on 4.09.1 as well.

It seems that you'll need a permanent Internet connection (LAN) to make this work for the 6600. Windows XP/2000 Pro doesn't allow you to NAT to a dialup :-(. Only 'demand-dial' interfaces are available in netsh, not normal dialups, and those seem to be only available on Server. If anyone knows how to get around this, please contact me. You could probably use a proxy instead of NAT if you are satisfied with proxyable protocols (HTTP), like the one from Analog.

Intro
You've probably noticed that although you can use third-party software over the MRouter-Bluetooth connection, you can't use Nokia's own software like the WAP browser or Syncml. These require a functional Access point that is WAP-enabled. Nokia has (purposefully?) made this impossible to set up via the phone UI, but it is quite possible to do programmatically.

There is a piece of software called gnubox that is supposed to be able to this. It probably is on some software versions, but not all. I have modified the software to work on the newer software versions. You can download the source or just the phone installation file (7650), 6600.

All that the gnubox does is modify the communications database settings. You need it because the user interface (Settings|Connection|Access points) doesn't allow you to specify the right settings. No software is needed to run in the background for this to work.

On the 6600 it's been made even harder. The phone still has all the components needed for using the Internet (and WAP) over Bluetooth, but it's been purposefully made so that it won't use the mRouter connection for this. It all hangs on the IP it gets: if it's from the range mRouter hands out (169.254.x.x) it won't route any traffic through the interface; if it's something else everything works.

Instructions
7650: On your PC (Windows)
First make sure that your PC Suite works with Bluetooth. TDK has a nice set of instructions for this.

Install Nokia Gateway Simulator (part of the Nokia Mobile Internet Toolkit). When you are ready to test WAP, run the WAP gateway console (Start|Programs|Nokia|Nokia WAP Gateway Simulator|WAP Gateway Simulator 4.0 - Console). You can use some other WAP gateway as well, e.g. Kannel.

6600: On your PC (Windows XP)
Check that your firewall isn't blocking the connection we want to use. Probably best to disable it first, get these things running and then enable it again, possibly changing some settings for it.

Set up an Incoming Connection for Bluetooth as described by Troy Fontaine. Make sure PC-Suite/mRouter isn't enabled for the Bluetooth serial port.

If you are able to hand out real addresses on your local area network, this is enough. If not, read further.

Set the Incoming Connection to hand out addresses from a private range, e.g. 10.0.0.1-10.0.0.254. Remove Internet Connection Sharing from all interfaces. Enable NAT on your Windows XP box by typing in a CMD window:

netsh routing ip nat install
netsh routing ip nat add interface "YOUR LAN INTERFACE NAME" full
netsh routing ip nat add interface Internal private

Look up the interface name in the control panel network connections. A dialup connection won't work, use a proxy instead. Note that the 'Internal' name will depend on the language of your Windows XP (e.g. in Finnish it's 'Sisäinen' 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.

I don't know about WAP on the 6600, since it's WAP 2.0 now. The Nokia gateway might support it, or might not. I don't know how to tell the phone who to connect.

On the phone
This will modify your communications settings. Back up your phone first! If you are actually using GSM-data for something, this will break it. You should be able to get the settings back by selecting Options|1Box phone in Gnubox.

You can also use Nokia PC Suite to set up the access point. You'll have to set the password manually on the phone, though.

Create a new Access Point on the phone (Setting|Connection|Access points|New access point|Use default settings).
Use the following settings for it:
Name: Bt. The name is important, the software will look for it, and case matters.
Data Bearer: GSM data
Dial-up number: e.g. 2222. It doesn't matter what you have here as long as it's not empty
7650:
Username: RasUser. Note the uppercase and lowercase letters.
Promp password: No
Password: pass.
Gateway IP Address: 169.254.1.68
Homepage: http://www.google.com/wml. Any public wap site will do.
6600:
Username: a username that can log in on your Windows box
Promp password: No
Password: password for the user on Windows
Authentication: Normal
Advanced Settings: Use Login Script Yes
Advanced Settings: Login Script
CHARMAP [windows-1252]
LOOP 10
{
SEND "CLIENT"+<0x0d>
WAIT 3
{
"SERVER" OK
}
}
EXIT KErrNoAnswer$

OK:
EXIT

be careful that you get it exactly as show here, including linebreaks. You could save it to a file, send to the phone and copy-paste to the settings.
Advanced Settings: Use PPP Compression Yes
Run gnubox and select Options|2box Direct|Bluetooth and select your laptop. It should list the new settings and switch to a light blue background if everyting works ok. The output should look like:
Bluetooth settings...
DialOutISP
  Description: Direct 2box
  DefaultTelNum:
ModemBearer
  PortName: BTCOMM::0
  CSYName: BTCOMM
  TSYName: PHONETSY

Activate the WAP browser (Services). Change the default access point to Bt (Options|Settings|Default access points).
Now you should be able to surf to the Bt bookmark!
For sync set the sync profile to use the Bt access point.
Linux
Leonard Penzer wrote more step-by-step instructions for 6600, Bluetooth and Linux.

It's quite easy to use Linux as the Bluetooth access point instead of Windows and mrouter. Basically you have to (these are written from memory, so caveat emptor):

Have your Linux box configured as a router with NAT.
Install bluez, bluez-libs, bluez-sdp, bluez-pan, bluez-utils.
Get bluetooth working (test that you can see your phone with sdptool browse)
Run sdpd
Add the serial port to your services with sdptool add --channel=3 SP
Run dund with something like dund --listen --channel 3 --msdun noauth 169.254.1.68:169.254.1.1 crtscts 115200 ms-dns YOUR_DNS_SERVER lock
Get and run kannel
The first time using this, to get the phone to connect to your machine for Bt serial:
rfcomm bind 4 <phone's Bt address> <phone's BT serial port service channel>
echo x > /dev/rfcomm4
Use the output from sdptool browse to figure out your phone's address and the channel number for the serial port. By connecting to the phone you trigger mrouter on it, which will try to connect back and store the PC's Bluetooth address (and channel) as the preferred serial connection

6600: change the addresses above to something else than 169.254.x.x. Don't set up a login script on the phone, since this is RAS specific.

If you are using Linux you don't have to set up the username and password. It should work with them set as well, though. Do not try to use authentication with pppd. It's very easy to crash the phone with it. It seems the ppp stack is not very good at handling authentication options it doesn't understand :-/.

You can read a description of setting up a P800 with linux for a more in-depth description of the issues involved. Note that we are not using the mrouter stuff here, so we don't need any DNS records, and the phone initiates the connectionw without having to send stuff to it's serial port.

Mac OS X
Marcus has written simple instructions for Mac OS X and a 6600.

I have zero experience of Max OS X, but from what I understand from reading posts it should support the necessary components.

http://www.macosxhin...1675&mode=print seems to have instructions for something like this. The site can be down sometimes, use Google's cache instead.

Basically what you need on the Mac is:

internet sharing by some means
a PPP-server (pppd) listening on a Bluetooth serial port, with settings like what I wrote for Linux
and you'll need to make the phone connect to the Mac's Bt serial. This can be done normally on a PC by:

setting up a Bluetooth serial port service _on the PC_
trying to connect _from_ the PC to the _phone's_ Bt serial port. This will give an error
wait for the phone to connect to the PC's serial port
kill this connection from either the phone or the PC
That uses the fact that the phone's mRouter software will connect back to a device that tries to connect to the phone's serial port and will store that device's address in the phone as the preferred bluetooth serial connection. How this is done is undocumented, so I haven't been able to add it to the gnubox software (well actually it's not too complicated, but I'm too lazy to do it since it works anyway).

Typical problems
Error message cause/solution/notes
Invalid phone number The gnubox software hasn't been run or didn't work correctly. Rerun it, select 1 box, select 2 box direct|bluetooth and make sure it prints the correct settings on a blue background
NAT must be installed first Either you didn't run 'netsh routing ip nat install' or it didn't work. It won't work if you still have Internet Connection Sharing active, so disable that.
An interface with this name is not registered with the router You gave the wrong interface name in 'netsh add interface' or you are trying to use a dial-up interface.

Technical notes
About the commdb
The before and after dumps of the commdb (just the relevant bits) show the changes made. The important bits are:

The new access point is created in all the relevant tables.
Change the default modem to use the Bluetooth serial port, and bluetooth CSY.
The DialOutISP phone number is emptied so that it doesn't try to call anywhere.
You can read the code for seeing how the changes are made. The changes in the code compared to the stock gnubox are:

Set commdb to show hidden records.
Search for specific rows instead of using the first one (Modem and DialOutISP). The first row is not the default one.
The main differences for the 6600 are that the records are named a bit differently and the MODEM table has become MODEMBEARER.

Debugging the connection
If something goes wrong with the commdb modifications in gnubox, create the directory c:\logs\gnubox on the phone. Debug information will appear there.

Make sure the phone is using your PC for a Bt serial connection by getting the mrouter connection up (enable mrouter on the bluetooth port, get PC-Suite working, disable mrouter afterwards).

It's actually possible to get quite a bit of logging out of Windows for the RAS. The first thing to look at is c:\windows\ModemLog_CONNECTIONNAME.txt for the Bluetooth serial connection.

If the serial connection works, but RAS doesn't, enable tracing with netsh ras set tracing * enable and look in c:\windows\tracing

If RAS seems to be working but the connection still doesn't work, you can have a look at the traffic on both the RAS interface and the LAN interface with WinDump.

Other technical notes
I had problems getting the NAT work if there were multiple network connections set up as FULL in netsh so I'm only got one now. I don't know if it's because of trying to use a Wi-Fi connection or because there were two.

--------------------------------------------------------------------------------

By Mika Raento, mikie(at)iki.fi



si ça vous tente... :cool:


bye.
GiLlEt0

-= Proprio D'un Nokia N8-00 "Unsigned" Black =-
-= Proprio D'une PSP CFW 6.60 PRO-MOD B10 Fix + MS SanDisk 8Go =-
-= Proprio D'une DS Lite Red + R4 SDHC + Micro-SDHC 4Go =-
-= Proprio D'une PS2 + Chip "Messiah 2" =-

mIRC Pow@@@

#23 samskdf

samskdf

     

  • +Membres +
  • 53 messages

Posté 20 Dec 2004 - 23:09

Déja posté gilletto... (pour une fois une recherche s'imposait pour toi...) :wub:

==<<ICI>>==


:angry:

#24 Anakronik

Anakronik

     

  • V.I.P.
  • 11143 messages
  • Sexe:Masculin
  • Localisation:Alpes Maritimes
  • Mobile:Nokia
  • Modèle:S60 User
  • Opérateur:-----

Posté 20 Dec 2004 - 23:23

ah oui et en français en plus :angry:

[Edité par Anakronik : sujets combinés]

Modifié par anakronik, 20 Dec 2004 - 23:41.

Fly me to the moon
FlickR


#25 gilleto

gilleto

    mIRC - M@N

  • +Membres +
  • 4708 messages
  • Sexe:Masculin
  • Localisation:charleroi - belgium
  • Mobile:Nokia
  • Modèle:N8-00
  • Opérateur:BE Mobistar

Posté 20 Dec 2004 - 23:46

re,

samskdf, regarde la taille des tutos celui que je poste est 2x plus gros. regarde les mobiles proposés tu as les symb6 et les symb7 :wub:

n.b. justement j'avais fait option "recherche" :angry:


à bientôt...

Modifié par gilleto, 20 Dec 2004 - 23:51.

GiLlEt0

-= Proprio D'un Nokia N8-00 "Unsigned" Black =-
-= Proprio D'une PSP CFW 6.60 PRO-MOD B10 Fix + MS SanDisk 8Go =-
-= Proprio D'une DS Lite Red + R4 SDHC + Micro-SDHC 4Go =-
-= Proprio D'une PS2 + Chip "Messiah 2" =-

mIRC Pow@@@

#26 b93140

b93140

    El Oujdi

  • +Membres +
  • 726 messages
  • Sexe:Masculin
  • Localisation:- 93 -
  • Mobile:Nokia
  • Modèle:N85
  • Opérateur:F SFR

Posté 20 Mar 2005 - 10:21

J'ai un Nokia 6260 et j'ai suivi a la lettre les explication de samskdf mais lorsque je tente de me connecter avec Agile Messenger il me demande le point d'acces, je choisis donc Bt il se connecte et me redemande de choisir un point d'acces et cela 5 fois de suite jusqu'a ce qu'il me mette "Unable to connect to server". Et avec Opera, lorsque je choisis le point d'acces Bt il me met "- Impossible de situer le server distant". Comment faire ? C'est mon 6260 qui n'est pas compatible ?

Modifié par b93140, 20 Mar 2005 - 10:23.

Image IPB


#27 tonydu93

tonydu93

     

  • Membres
  • 58 messages
  • Mobile:LG
  • Modèle:KS20
  • Opérateur:F SFR

Posté 28 Mar 2005 - 11:38

slt tous

bon moi g une Ngage ... mais il me semble que c un s60 donc je vais tester la methode
avec un peu de chance :top:
Rien n'est impossible ... dans la limite raisonnable biensur ^^
Image IPB
Image IPB
Image IPB
Image IPB
Image IPB

#28 wouf

wouf

     

  • +Membres +
  • 35 messages

Posté 01 Sep 2005 - 19:44

Topic d'information

Je me renseigne depuis un petit moment sur comment faire pour profiter de mon ADSL sur mon mobile en passant par ma connection bluetooth. Tout en parcourant divers forums anglais et français et même quelques topics ici sur FM j'ai pu comprendre comment faire pour y arriver, aussi je vous fait part des questions que je me suis posées et des réponses que j'ai pues trouver.

Comment marche cette connection ?
La connection utilise un logiciel appelé gnubox et un point d'accès à définir sur son mobile.


Est ce que gnubox marche sur mon mobile ?
Le logiciel gnubox est censé marché sur tout nos s60, il est distribué en .sis et peut être téléchargé ici : Download GnuBox
Sur cette page vous trouverez des versions de gnubox pour presque tout nos mobiles s60.


Est il possible de créér un point d'accès sur mon mobile ?
Il est possible de créer un point d'accès sur tout nos s60. Cependant c'est un point d'accès particulier qui est nécessaire.


Quel est la particularité de ce point d'accès ?
En fait ce point d'accès doit être de type Data call ou CSD ou dial-up ou GSM Data. Si en créant un nouveau point d'accès vous avez le choix entre plusieurs type et qu'au moins l'un d'entre eux et possible alors OUI vous pourrez acceder au net via votre connexion bluetooth...


Si y'a pas le bon type je fais quoi ?
Peut être il est bloqué par l'opérateur... mais c'est vraiement a prendre avec des pincettes...


Quelle est alors la procédure exacte pour ce connecter si tout semble etre bon ?
Vous trouverez une procédure détaillée sur cette page : GnuBox


Quels sont les mobiles qui n'auront jamais la connection ?
- 6630
- 6680 :w00t:
- 6681
- et probablement les futurs s60 :top:


Pourquoi certains mobiles n'auront jamais la connection ?
C'est une volontée de Nokia. Sur s60, a partir du 6630, ils ont désactivé ce que l'on appelle techniquement le NETCODE directement sur l'operating system et il n'est plus du tout possible dans ce cas de créer le point d'accès particulier.


Existe t'il un espoir ?
Non. A moins que Nokia revienne sur sa décision, remette une équipe en place pour sortir une mise a jour du firmware... ce qui est très très peu probable.

[Edité par Anakronik : Sujet combiné]

Modifié par anakronik, 07 Jan 2006 - 19:54.


#29 Totov

Totov

     

  • +Membres +
  • 144 messages
  • Mobile:Nokia
  • Modèle:6670
  • Opérateur:F Orange

Posté 01 Sep 2005 - 19:59

:top:

merci pour ces détails.

Je vais tester de ce pas sur mon 6670.

Dommage que Nokia bloque ca sur les nouveaux téléphones ... :w00t:
"Notre passé est horrible, notre présent est pitoyable, heureusement nous n'avons pas d'avenir"
proverbe serbe

#30 wouf

wouf

     

  • +Membres +
  • 35 messages

Posté 01 Sep 2005 - 20:03

Je vais tester de ce pas sur mon 6670.

<{POST_SNAPBACK}>


Tiens nous au courrant si ca marche !

#31 Totov

Totov

     

  • +Membres +
  • 144 messages
  • Mobile:Nokia
  • Modèle:6670
  • Opérateur:F Orange

Posté 01 Sep 2005 - 20:18

erreur système au premier démarrage...

C'est pas gagné.

Question concernant la création de la connexion "Bt" : qu'est ce que vous mettez dedans ?

en fait quand je crée une nouvelle connexion je n'ai pas les bons choix je pense :
Porteuse de donnée :
- GPRS
- Appel de données


est ce que c'est ça le fameux "Data call ou CSD ou dial-up ou GSM Data" dont tu parles ?

Modifié par Totov, 01 Sep 2005 - 20:22.

"Notre passé est horrible, notre présent est pitoyable, heureusement nous n'avons pas d'avenir"
proverbe serbe

#32 brryaz

brryaz

     

  • +Membres +
  • 184 messages
  • Sexe:Masculin
  • Localisation:Bordeaux
  • Mobile:Nokia
  • Modèle:N97 mini
  • Opérateur:F Orange

Posté 02 Sep 2005 - 10:24

le "Data call" correspond à "Appel de données".

Donc pour la porteuse de données, tu dois choisir "data call".

J'espère que ça te sera utile.

Bye
La vie c'est comme une bicyclette, il faut avancer pour ne pas tomber

Nokia N97 mini

#33 destroyer

destroyer

     

  • +Membres +
  • 87 messages

Posté 02 Sep 2005 - 10:56

Quels sont les mobiles qui n'auront jamais la connection ?
- 6630
- 6680  :SandmaN:
- 6681
- et probablement les futurs s60 :SandmaN:


je suis vraiment blazé sur ce coup la ;)
La mort est une maladie que l'on attrape a la naissance...

6680

Essayer symbian, c'est l'adopter!

#34 freeman512

freeman512

     

  • +Membres +
  • 111 messages
  • Mobile:Apple
  • Modèle:iPhone 3G
  • Opérateur:F SFR

Posté 02 Sep 2005 - 12:09

Quels sont les mobiles qui n'auront jamais la connection ?
- 6630
- 6680  :SandmaN:
- 6681
- et probablement les futurs s60 :SandmaN:


je suis vraiment blazé sur ce coup la ;)

<{POST_SNAPBACK}>

+1

Modifié par freeman512, 02 Sep 2005 - 12:10.


#35 wouf

wouf

     

  • +Membres +
  • 35 messages

Posté 02 Sep 2005 - 14:29

et oui c'est bien triste... Je regrette presque mon achat...

Bon je continue a mon renseigner... en trainant sur des boards anglaises j'ai trouver des infos et des gars qui semblent motivés par le projet.

Il existerai une autre solution apparement facile a mettre en oeuvre...

Peut être un nouvel espoir ?

#36 Totov

Totov

     

  • +Membres +
  • 144 messages
  • Mobile:Nokia
  • Modèle:6670
  • Opérateur:F Orange

Posté 02 Sep 2005 - 17:28

Bon je ré-essaie ca dimanche soir quand je retrouve mon PC.
"Notre passé est horrible, notre présent est pitoyable, heureusement nous n'avons pas d'avenir"
proverbe serbe

#37 destroyer

destroyer

     

  • +Membres +
  • 87 messages

Posté 02 Sep 2005 - 18:03

et oui c'est bien triste... Je regrette presque mon achat...

<{POST_SNAPBACK}>



ouais, si une technique pourrait fonctionner ça serait nickel!
Je me lance a la recherche de cette fameuse méthode...
La mort est une maladie que l'on attrape a la naissance...

6680

Essayer symbian, c'est l'adopter!

#38 wouf

wouf

     

  • +Membres +
  • 35 messages

Posté 05 Sep 2005 - 13:48

Je me lance a la recherche de cette fameuse méthode...

<{POST_SNAPBACK}>

Voila la source de mes informations...

#39 brryaz

brryaz

     

  • +Membres +
  • 184 messages
  • Sexe:Masculin
  • Localisation:Bordeaux
  • Mobile:Nokia
  • Modèle:N97 mini
  • Opérateur:F Orange

Posté 05 Sep 2005 - 17:29

Merci beaucoup pour ce topic.

J'ai télécharger GnuBox, la version correspondant à mon Nokia 3230.
Je l'ai installé et je l'ai configuré.
En tout cas, mon 3230 est bien reconnu par l'ordinateur, l'application GnuBox semble fonctionner aussi correctement.
J'ai créé le point d'accès Bt comme indiqué.

Mais à chaque fois que je lance une page, mon 3230 essaie de se connecter pendant quelques temps puis me met "connexion impossible. Vérifiez les paramètres de connexion.."

Quelqu'un a t-il déjà eu ce problème?

Merci d'avance
La vie c'est comme une bicyclette, il faut avancer pour ne pas tomber

Nokia N97 mini

#40 wouf

wouf

     

  • +Membres +
  • 35 messages

Posté 05 Sep 2005 - 18:15

Merci beaucoup pour ce topic.

J'ai télécharger GnuBox, la version correspondant à mon Nokia 3230.
Je l'ai installé et je l'ai configuré.
En tout cas, mon 3230 est bien reconnu par l'ordinateur, l'application GnuBox semble fonctionner aussi correctement.
J'ai créé le point d'accès Bt comme indiqué.

Mais à chaque fois que je lance une page, mon 3230 essaie de se connecter pendant quelques temps puis me met "connexion impossible. Vérifiez les paramètres de connexion.."

Quelqu'un a t-il déjà eu ce problème?

Merci d'avance

<{POST_SNAPBACK}>


Je ne peux te répondre car ayant un 6680 je n'ai jamais pu faire marcher quoi que ce soit. Par contre je te conseille de suivre les liens indiqués dans le topic. Tu trouveras surement l'information qui t'interresse !




1 utilisateur(s) li(sen)t ce sujet

0 membre(s), 1 invité(s), 0 utilisateur(s) anonyme(s)