{"id":21,"date":"2008-12-10T20:03:16","date_gmt":"2008-12-10T20:03:16","guid":{"rendered":"https:\/\/www.linuxnoob.net\/wordpress\/?p=21"},"modified":"2011-02-04T16:00:53","modified_gmt":"2011-02-04T16:00:53","slug":"handy-als-modem-fuer-bluetooth-interverbindung-einsetzen","status":"publish","type":"post","link":"https:\/\/blog.linuxnoob.net\/?p=21","title":{"rendered":"Handy als Modem fuer Bluetooth Interverbindung einsetzen"},"content":{"rendered":"<p>Es werden ben\u00f6tigt die Bluez-Utils und Gnome-PPP als Einwahlprogramm<\/p>\n<p>Die Bluez-Utils sind normalerweise auf jeden halbwegs aktuellen System bereits installiert.<\/p>\n<p>Mit <strong>sudo apt-get install gnome-ppp<\/strong> das Programm installieren.<\/p>\n<p>Nun ben\u00f6tigen wir unsere Bluetooth Adresse und den richtigen Kanal fuer die Einwahl Verbindung<\/p>\n<p><strong>hcitool scan<\/strong><\/p>\n<p>00:01:02:03:04:05\tTest<\/p>\n<p>So in etwa sollte die Ausgabe aussehen<\/p>\n<p>Als n\u00e4chtes m\u00fcssen wir den Kanal f\u00fcr eine DialUp (Einwahlverbindung) herausfinden<\/p>\n<p><strong>sdptool search DUN | grep Channel<\/strong><\/p>\n<p>falls ihr nur ein Ger\u00e4t gefunden habt reicht dies aus, die Antwort sollte dann so aussehen<\/p>\n<p>Channel: 2<\/p>\n<p>Nun m\u00fcssen wir dem System noch beibringen das es ein entsprechendes Device (Ger\u00e4t) anlegt<\/p>\n<p>Dazu \u00f6ffnen wir einen Editor unserer Wahl und bearbeiten die Datei \/etc\/bluetooth\/rfcomm.conf<\/p>\n<p># RFCOMM configuration file.<\/p>\n<p>rfcomm0 {<br \/>\n#\t# Automatically bind the device at startup<br \/>\nbind yes;<br \/>\n#<br \/>\n#\t# Bluetooth address of the device<br \/>\ndevice 00:01:02:03:04:05; \/\/hier tragt ihr die gescannte Adresse ein<br \/>\n#<br \/>\n#\t# RFCOMM channel for the connection<br \/>\nchannel\t2; \/\/hier tragt ihr den gescannte Kanal ein<br \/>\n#<br \/>\n#\t# Description of the connection<br \/>\ncomment &#8222;und hier irgendeine Beschreibung um sich merken zu k\u00f6nnen f\u00fcr welches Ger\u00e4t dies ist&#8220;;<br \/>\n}<\/p>\n<p>Zu guter letzt m\u00fcssen wir noch den Bluetooth Dienst neu starten<\/p>\n<p>sudo \/etc\/init.d\/bluetooth restart<\/p>\n<p>Getestet ist dies auf einen Debian basierenten System mit einem Nokia N95<br \/>\nGrundlage fuer die Funktion ist das sie das Telefon bereits ueber den Bluetooth Manager mit PC verbunden haben<\/p>\n<p>Jetzt geht es daran das Programm Gnome-PPP einzurichten<br \/>\nIm Beispiel geht es um die Einrichtung mit Vodafone<br \/>\nIm Benutzername und Passwort gebt ihr user ein<br \/>\nAls Telefonnummer *99***1#<br \/>\nUnter dem Punkt Konfiguration das Ger\u00e4t w\u00e4hlen \/dev\/rfcomm0<br \/>\nGeschwindigkeit 460800<br \/>\ndann weiter unter Initialisierungsstring<br \/>\nInit2 ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0<br \/>\nInit3 AT+CGDCONT=1,&#8220;IP&#8220;,&#8220;web.vodafone.de&#8220;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Es werden ben\u00f6tigt die Bluez-Utils und Gnome-PPP als Einwahlprogramm Die Bluez-Utils sind normalerweise auf jeden halbwegs aktuellen System bereits installiert. Mit sudo apt-get install gnome-ppp das Programm installieren. Nun ben\u00f6tigen wir unsere Bluetooth Adresse und den richtigen Kanal fuer die &hellip; <a href=\"https:\/\/blog.linuxnoob.net\/?p=21\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21"}],"version-history":[{"count":3,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":89,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions\/89"}],"wp:attachment":[{"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.linuxnoob.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}