<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=91.32.28.69</id>
	<title>Maemo Wiki Mirror - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://maemo.octonezd.me/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=91.32.28.69"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/91.32.28.69"/>
	<updated>2026-04-22T01:47:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Debian-Tethering&amp;diff=5572</id>
		<title>Debian-Tethering</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Debian-Tethering&amp;diff=5572"/>
		<updated>2010-02-28T19:21:27Z</updated>

		<summary type="html">&lt;p&gt;91.32.28.69: New page: = Setting up Debian for Tethering =  == Setup bluetooth connectivity ==  === Installing required Debian packages ===   apt-get install bluez-utils  === Setting Up Bluetooth Connectivity ==...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Setting up Debian for Tethering =&lt;br /&gt;
&lt;br /&gt;
== Setup bluetooth connectivity ==&lt;br /&gt;
&lt;br /&gt;
=== Installing required Debian packages ===&lt;br /&gt;
&lt;br /&gt;
 apt-get install bluez-utils&lt;br /&gt;
&lt;br /&gt;
=== Setting Up Bluetooth Connectivity ===&lt;br /&gt;
&lt;br /&gt;
 blackbox:~# hcitool scan&lt;br /&gt;
 Scanning ...&lt;br /&gt;
   11:22:33:44:55:66       Nokia N900&lt;br /&gt;
 blackbox:~# sdptool browse 11:22:33:44:55:66&lt;br /&gt;
&lt;br /&gt;
Search for the &#039;&#039;Dial-Up Networking service&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 blackbox:~# sdptool browse 11:22:33:44:55:66&lt;br /&gt;
 Browsing 11:22:33:44:55:66 ...&lt;br /&gt;
 [...]&lt;br /&gt;
 &lt;br /&gt;
 Service Name: Dial-Up Networking&lt;br /&gt;
 Service RecHandle: 0x10005&lt;br /&gt;
 Service Class ID List:&lt;br /&gt;
   &amp;quot;Dialup Networking&amp;quot; (0x1103)&lt;br /&gt;
   &amp;quot;Generic Networking&amp;quot; (0x1201)&lt;br /&gt;
 Protocol Descriptor List:&lt;br /&gt;
   &amp;quot;L2CAP&amp;quot; (0x0100)&lt;br /&gt;
   &amp;quot;RFCOMM&amp;quot; (0x0003)&lt;br /&gt;
     Channel: 1&lt;br /&gt;
 Profile Descriptor List:&lt;br /&gt;
   &amp;quot;Dialup Networking&amp;quot; (0x1103)&lt;br /&gt;
     Version: 0x0100&lt;br /&gt;
 &lt;br /&gt;
 [...]&lt;br /&gt;
 &lt;br /&gt;
 blackbox:~#&lt;br /&gt;
&lt;br /&gt;
Add an rfcomm device (e.g. rfcomm0) to /etc/bluetooth/rfcomm.conf:&lt;br /&gt;
&lt;br /&gt;
 /etc/bluetooth/rfcomm.conf&lt;br /&gt;
 rfcomm0 {&lt;br /&gt;
 #       # Automatically bind the device at startup&lt;br /&gt;
         bind yes;&lt;br /&gt;
 #&lt;br /&gt;
 #       # Bluetooth address of the device&lt;br /&gt;
         device 11:22:33:44:55:66;&lt;br /&gt;
 #&lt;br /&gt;
 #       # RFCOMM channel for the connection (whatever you get from the sdptool output)&lt;br /&gt;
         channel 1;&lt;br /&gt;
 #&lt;br /&gt;
 #       # Description of the connection&lt;br /&gt;
         comment &amp;quot;N900&amp;quot;;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the bluetooth stack:&lt;br /&gt;
&lt;br /&gt;
 blackbox:~# /etc/init.d/bluetooth&lt;br /&gt;
&lt;br /&gt;
For bluetooth pairing you can run&lt;br /&gt;
&lt;br /&gt;
 blackbox:~# cat &amp;lt; /dev/rfcomm0&lt;br /&gt;
&lt;br /&gt;
and first the n900 then the Debian system should ask you for a 4 digit PIN which you define on the n900 and confirm on the Debian system. You might have to configure the helper application which is using the PIN in /etc/bluetooth/hcid.conf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Run pppconfig and use /dev/rfcomm0 as modem interface:&lt;br /&gt;
&lt;br /&gt;
In my settings for klarmobil (Germany) I manually added two lines (at+cdgcont=... and AT+CREG...):&lt;br /&gt;
&lt;br /&gt;
 blackbox:~# cat /etc/chatscripts/klarmobil&lt;br /&gt;
 # This chatfile was generated by pppconfig 2.3.18.&lt;br /&gt;
 # Please do not delete any of the comments.  Pppconfig needs them.&lt;br /&gt;
 #&lt;br /&gt;
 # ispauth PAP&lt;br /&gt;
 # abortstring&lt;br /&gt;
 ABORT BUSY ABORT &#039;NO CARRIER&#039; ABORT VOICE ABORT &#039;NO DIALTONE&#039; ABORT &#039;NO DIAL TONE&#039; ABORT &#039;NO ANSWER&#039; ABORT DELAYED&lt;br /&gt;
 # modeminit&lt;br /&gt;
 &#039;&#039; ATZ&lt;br /&gt;
 # ispnumber&lt;br /&gt;
 OK at+cgdcont=1,&amp;quot;IP&amp;quot;,&amp;quot;internet.t-mobile&amp;quot;,&amp;quot;&amp;quot;,0,0&lt;br /&gt;
 OK AT+CREG=2&lt;br /&gt;
 OK-AT-OK &amp;quot;ATDT*99#&amp;quot;&lt;br /&gt;
 # ispconnect&lt;br /&gt;
 CONNECT \d\c&lt;br /&gt;
 # prelogin &lt;br /&gt;
&lt;br /&gt;
 # ispname&lt;br /&gt;
 # isppassword&lt;br /&gt;
 # postlogin&lt;br /&gt;
&lt;br /&gt;
 # end of pppconfig stuff&lt;br /&gt;
 blackbox:~#&lt;br /&gt;
&lt;br /&gt;
In my peers file I changed the baud rate to the device&lt;br /&gt;
&lt;br /&gt;
 blackbox:~# cat /etc/ppp/peers/klarmobil&lt;br /&gt;
 # This optionfile was generated by pppconfig 2.3.18.&lt;br /&gt;
 #&lt;br /&gt;
 #&lt;br /&gt;
 hide-password&lt;br /&gt;
 noauth&lt;br /&gt;
 connect &amp;quot;/usr/sbin/chat -v -f /etc/chatscripts/klarmobil&amp;quot;&lt;br /&gt;
 debug&lt;br /&gt;
 /dev/rfcomm0&lt;br /&gt;
 #460800&lt;br /&gt;
 921600&lt;br /&gt;
 defaultroute&lt;br /&gt;
 noipdefault&lt;br /&gt;
 user &amp;quot;tm&amp;quot;&lt;br /&gt;
 remotename klarmobil&lt;br /&gt;
 ipparam klarmobil &lt;br /&gt;
 &lt;br /&gt;
 usepeerdnsblackbox:~#&lt;/div&gt;</summary>
		<author><name>91.32.28.69</name></author>
	</entry>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Bluetooth_DUN&amp;diff=1631</id>
		<title>Bluetooth DUN</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Bluetooth_DUN&amp;diff=1631"/>
		<updated>2010-02-28T19:04:58Z</updated>

		<summary type="html">&lt;p&gt;91.32.28.69: /* Bluetooth DUN server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Bluetooth]] DUN (dial-up networking) allows one to set up Bluetooth networking using a cellular device and a device supporting Bluetooth SPP/DUN profile.&lt;br /&gt;
&lt;br /&gt;
While [[Bluetooth PAN]] offers slightly faster connection speeds than DUN, but DUN does not require having to install any extra software packages. This method also works for software versions older than OS2008.&lt;br /&gt;
&lt;br /&gt;
=== Nokia N900 ===&lt;br /&gt;
As the N900 now has its own GSM/3G capability, Bluetooth DUN may have two different meanings for this device :&lt;br /&gt;
&lt;br /&gt;
# if the N900 has net access itself, another Bluetooth-equipped device (such as a PC or laptop) may use it as a modem. In this case it plays the role of the mobile phone in the previous scenarios, and act as a Bluetooth DUN server&lt;br /&gt;
# if the N900 is not equipped with a data SIM, it may use another GSM/3G phone as a modem to access the network, and act as a Bluetooth DUN client&lt;br /&gt;
&lt;br /&gt;
==== Bluetooth DUN server ====&lt;br /&gt;
&lt;br /&gt;
This does not work out of the box (at least in early versions of Maemo5, as of December 2009). A tweak is needed to enable it, which has been described and packaged by [http://intr.overt.org/blog/?p=91 Philip Langdale] as “&#039;&#039;[http://maemo.org/packages/view/bluetooth-dun/ Bluetooth Dial-up Networking]&#039;&#039;”. Installing this package from the Extras repository is all that is required.&lt;br /&gt;
&lt;br /&gt;
If the device that&#039;s being tethered runs Windows, there may be additional complications. Installing a recent version of Nokia PC Suite (with partial N900 support), and connecting it to the N900, may be necessary to create the relevant &amp;quot;Bluetooth Modem&amp;quot; in Network Connections; for others, simply pairing the N900 with the Windows Bluetooth stack is enough.&lt;br /&gt;
&lt;br /&gt;
Additionally, the &amp;quot;modem&amp;quot; may need to have an &amp;quot;init string&amp;quot; set. In the Control Panel, choose phone and modem options, bring up properties for the bluetooth modem under the modems tab, and then go to advanced. In the init command field enter something like this:&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;at+cgdcont=1,&amp;quot;IP&amp;quot;,&amp;quot;your_apn&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
...where &#039;&#039;your_apn&#039;&#039; is the APN for your carrier that you can get from the network connections list in your N900 settings.&lt;br /&gt;
&lt;br /&gt;
If the dial-up connection goes through most of the steps: find port, dial number, log in, but stalls at the very end (on &amp;quot;Registering your computer on the network&amp;quot;), setting the init string is probably the last missing part. Thanks to [http://talk.maemo.org/showpost.php?p=436634&amp;amp;postcount=7 Kyle] for that one!&lt;br /&gt;
&lt;br /&gt;
==== Setting up the Computer which Tethers the N900 ====&lt;br /&gt;
&lt;br /&gt;
* Linux&lt;br /&gt;
** [[Debian-Tethering|Debian]]&lt;br /&gt;
&lt;br /&gt;
=== Nokia N8x0 ===&lt;br /&gt;
&lt;br /&gt;
# Goto &#039;Menu → Tools → Control Panel → Bluetooth → Devices → New&#039;&lt;br /&gt;
# You should see your phone or PC, pair up with it. I recommend using a 10-digit or greater pairing code&lt;br /&gt;
# Set it as a &amp;quot;Trusted Device&amp;quot;... I haven&#039;t tried it the other way yet&lt;br /&gt;
# Goto &#039;Connectivity → Connections → New&#039; in the Control Panel&lt;br /&gt;
# Choose GPRS → Next&lt;br /&gt;
# Leave Access Point and Tel# at defaults, leave user/pass blank → Next&lt;br /&gt;
# IF you chose not to specify the remote IP on the PC side (see above) THEN choose Advanced → IP Addresses and put in an appropriate IP and DNS servers.&lt;br /&gt;
# Goto &#039;Phone&#039; in the Control Panel&lt;br /&gt;
# Choose your new Device from step 2. It is now &#039;selected&#039;. If you don&#039;t do this then it won&#039;t show up in the Connection Manager.&lt;br /&gt;
&lt;br /&gt;
=== Nokia 770 ===&lt;br /&gt;
&lt;br /&gt;
# Goto &#039;Menu → Tools → Control Panel → Phone → New&#039;&lt;br /&gt;
# You should see your PC. Make a pairing with it. I recommend a PIN of at least 10 characters.&lt;br /&gt;
# You will get a warning that you can only use the phone for Dial-Up Networking, not transferring files. Use class 0x120108 in /etc/bluetooth/hcid.conf and set up OBEX if you want file sharing, see http://www.mulliner.org/bluetooth/sobexsrv.php&lt;br /&gt;
# Goto &#039;Connectivity → Connections → New&#039; in the Control Panel&lt;br /&gt;
# Choose &#039;Packet Data&#039; → Next&lt;br /&gt;
# Leave Access Point and Tel# at defaults, leave user/pass blank → Next&lt;br /&gt;
# IF you chose not to specify the remote IP on the PC side (see above) THEN choose Advanced → IP Addresses and put in an appropriate IP and DNS servers.&lt;br /&gt;
&lt;br /&gt;
[[Category:Users]]&lt;br /&gt;
[[Category:Connectivity]]&lt;br /&gt;
[[Category:Bluetooth]]&lt;br /&gt;
[[Category:Cellular]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Beginners]]&lt;/div&gt;</summary>
		<author><name>91.32.28.69</name></author>
	</entry>
</feed>