Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| materiel:bluetooth_modem [Le 21/08/2007, 13:06] – énormes modifications suite à mes énormes difficultés à la configuration ... fabien26 | materiel:bluetooth_modem [Le 15/03/2008, 02:41] (Version actuelle) – effacée Ner0lph | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | {{tag> | ||
| - | ---- | ||
| - | ====== Configuration d'une connexion internet via un téléphone portable bluetooth ====== | ||
| - | |||
| - | |||
| - | |||
| - | ===== Introduction ===== | ||
| - | |||
| - | |||
| - | L' | ||
| - | |||
| - | ===== Pré-requis ===== | ||
| - | |||
| - | |||
| - | **Paquetages installés** : | ||
| - | |||
| - | < | ||
| - | gnome-bluetooth - GNOME Bluetooth tools | ||
| - | grml-btnet - Programs to quickly build a bluetooth network | ||
| - | obexftp - file transfer utility for devices that use the OBEX protocol | ||
| - | obexserver - Receive files with OBEX protocol | ||
| - | python2.4-libbtctl - Python bindings for libbtctl Bluetooth library | ||
| - | bluez-pcmcia-support - PCMCIA support files for BlueZ 2.0 Bluetooth tools | ||
| - | bluez-pin - Bluetooth PIN helper with D-BUS support | ||
| - | bluez-utils - Bluetooth tools and daemons | ||
| - | libbluetooth1 - Library to use the BlueZ Linux Bluetooth stack | ||
| - | libbtctl2 - GObject Bluetooth library | ||
| - | libgnomebt0 - GNOME Bluetooth library | ||
| - | gnome-ppp - modem internet connection tool for GNOME | ||
| - | </ | ||
| - | |||
| - | |||
| - | Ces programmes ne sont peut-être pas tous indispensables pour ce que je souhaite faire, mais c'est ce qui est actuellement installé sur mon poste, et comme ça marche, je ne touche plus à rien :-) | ||
| - | |||
| - | Et Avoir le [[: | ||
| - | |||
| - | ===== Configuration ===== | ||
| - | |||
| - | ==== • Rechercher le code pin de l' | ||
| - | |||
| - | En général c'est 1234. | ||
| - | |||
| - | < | ||
| - | $ sudo cat / | ||
| - | Password: ***** | ||
| - | 1234 | ||
| - | </ | ||
| - | |||
| - | ==== • Apparier le téléphone et le PC à partir du téléphone ==== | ||
| - | |||
| - | ==== • Dans / | ||
| - | |||
| - | Pour cela, ajouter un # en début de ligne. A défaut, la connexion risque d' | ||
| - | |||
| - | < | ||
| - | |||
| - | < | ||
| - | # If this option is given, pppd will send an LCP echo-request frame to the | ||
| - | # peer every n seconds. Normally the peer should respond to the echo-request | ||
| - | # by sending an echo-reply. This option can be used with the | ||
| - | # lcp-echo-failure option to detect that the peer is no longer connected. | ||
| - | # | ||
| - | |||
| - | # If this option is given, pppd will presume the peer to be dead if n | ||
| - | # LCP echo-requests are sent without receiving a valid LCP echo-reply. | ||
| - | # If this happens, pppd will terminate the connection. | ||
| - | # option requires a non-zero value for the lcp-echo-interval parameter. | ||
| - | # This option can be used to enable pppd to terminate after the physical | ||
| - | # connection has been broken (e.g., the modem has hung up) in | ||
| - | # situations where no hardware modem control lines are available. | ||
| - | # | ||
| - | </ | ||
| - | |||
| - | ===== Utilisation ===== | ||
| - | |||
| - | ==== • Rechercher l' | ||
| - | |||
| - | < | ||
| - | $ hcitool scan | ||
| - | Scanning ... | ||
| - | 00: | ||
| - | </ | ||
| - | |||
| - | ==== • Rechercher la liste des services du téléphone avec sdptool ==== | ||
| - | |||
| - | | ||
| - | |||
| - | < | ||
| - | $ sdptool browse 00: | ||
| - | Browsing 00: | ||
| - | Service Name: Dial-up Networking <----- | ||
| - | Service RecHandle: 0x10000 | ||
| - | Service Class ID List: | ||
| - | " | ||
| - | " | ||
| - | Protocol Descriptor List: | ||
| - | " | ||
| - | " | ||
| - | Channel: 1 <----- | ||
| - | Profile Descriptor List: | ||
| - | " | ||
| - | Version: 0x0100 | ||
| - | </ | ||
| - | Noter le canal (ici 1) | ||
| - | |||
| - | ==== • Créer un périphérique correspondant au téléphone avec rfcomm ==== | ||
| - | |||
| - | La syntaxe est : **rfcomm connect** < | ||
| - | |||
| - | < | ||
| - | $ rfcomm connect 0 00: | ||
| - | Connected / | ||
| - | Press CTRL-C for hangup | ||
| - | </ | ||
| - | |||
| - | En cas d' | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | ==== • Configuration de gnome-ppp ==== | ||
| - | |||
| - | |||
| - | < | ||
| - | |||
| - | * Ouvrez gnome-ppp (dans un terminal tapez gnome-ppp): | ||
| - | |||
| - | {{utilisateurs: | ||
| - | |||
| - | * Éditez les case en respectant la liste si dessous: | ||
| - | |||
| - | * Pour SFR: | ||
| - | * Nom d' | ||
| - | * Mot de passe: | ||
| - | * Numéros de Téléphone:< | ||
| - | * Pour Orange: | ||
| - | * Nom d' | ||
| - | * Mot de passe: | ||
| - | * Numéros de Téléphone: | ||
| - | * Pour Bouygues: | ||
| - | * Nom d' | ||
| - | * Mot de passe: | ||
| - | * Numéros de Téléphone: | ||
| - | |||
| - | * Cliquez sur Paramètres et éditez comme ci dessous (en respectant rfcomm comme vous l'avez paramétrer plus haut): | ||
| - | |||
| - | {{utilisateurs: | ||
| - | |||
| - | * Ensuite quand vous avez éditer le tous comme il faut faite fermer et essayer de vous connecter; si sa ne marche pas réouvrez les **préférences** puis cliquer sur **Chaines d' | ||
| - | |||
| - | Vous devez obtenir une ligne correspondant à init 2, supprimer là (pas un caractère) et faite entrer puis cliquez sur **fermer** puis encore **fermer**, et retentez la connection. | ||
| - | |||
| - | * Si sa ne marche toujours pas essayez de mettre en chaine d' | ||
| - | |||
| - | {{materiel: | ||
| - | |||
| - | * Pour SFR: | ||
| - | * AT+cgdcont=10," | ||
| - | * AT+cgdcont=1," | ||
| - | * AT+cgdcont=," | ||
| - | * Les même avec à la place de **" | ||
| - | * Pour Orange: | ||
| - | * AT+cgdcont=10," | ||
| - | * AT+cgdcont=1," | ||
| - | * AT+cgdcont=," | ||
| - | * les même avec à la place de **" | ||
| - | * Pour Bouygues: | ||
| - | * AT+cgdcont=10," | ||
| - | * AT+cgdcont=1," | ||
| - | * AT+cgdcont=," | ||
| - | * les même avec à la place de **" | ||
| - | |||
| - | <note important> | ||
| - | |||
| - | |||
| - | ===== Liens ===== | ||
| - | |||
| - | |||
| - | * http:// | ||
| - | * http:// | ||
| - | * http:// | ||
| - | |||
| - | ---- | ||
| - | // | ||
