<?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=178.3.13.126</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=178.3.13.126"/>
	<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php/Special:Contributions/178.3.13.126"/>
	<updated>2026-04-22T00:29:27Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://maemo.octonezd.me/index.php?title=Debian-Tethering&amp;diff=5562</id>
		<title>Debian-Tethering</title>
		<link rel="alternate" type="text/html" href="https://maemo.octonezd.me/index.php?title=Debian-Tethering&amp;diff=5562"/>
		<updated>2010-05-27T17:20:19Z</updated>

		<summary type="html">&lt;p&gt;178.3.13.126: fix some missing whitespace in examples&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Setting up Debian for Tethering =&lt;br /&gt;
&lt;br /&gt;
How to setup the N900 is described here [[Bluetooth_DUN]]&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 pppconfig&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 (make sure to replace the bluetooth device address 11:22:33:44:55:66 with the bluetooth device address of your N900):&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 restart&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;
=== Dial-Up Settings ===&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;
 usepeerdns&lt;br /&gt;
 blackbox:~#&lt;br /&gt;
&lt;br /&gt;
For ifupdown integration add to /etc/network/interfaces&lt;br /&gt;
&lt;br /&gt;
 iface ppp0 inet ppp&lt;br /&gt;
  provider klarmobil&lt;br /&gt;
&lt;br /&gt;
Details are in the [http://www.debian.org/doc/manuals/reference/ch05.en.html#_the_ppp_connection Debian Reference].&lt;br /&gt;
&lt;br /&gt;
[[Category:Connectivity]]&lt;/div&gt;</summary>
		<author><name>178.3.13.126</name></author>
	</entry>
</feed>