]> git.vanrenterghem.biz Git - www.vanrenterghem.biz.git/blobdiff - Linux/GPRS_on_iPAQ_running_Familiar.shtml
Verwijder verouderde bestanden.
[www.vanrenterghem.biz.git] / Linux / GPRS_on_iPAQ_running_Familiar.shtml
diff --git a/Linux/GPRS_on_iPAQ_running_Familiar.shtml b/Linux/GPRS_on_iPAQ_running_Familiar.shtml
deleted file mode 100644 (file)
index d04d00a..0000000
+++ /dev/null
@@ -1,171 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15" />
-   <meta name="author" content="Frederik Vanrenterghem" />
-   <meta name="Description" content="Personal homepage - GNU/Linux stuff - Connecting to GPRS network with iPAQ running Familiar Linux" />
-   <title>vanrenterghem.biz - GNU/Linux - Connecting to GPRS network with iPAQ PDA running Familiar Linux</title>
-<link rel="stylesheet" href="/styles/header.css" type="text/css" />
-<link rel="stylesheet" href="/styles/main.css" type="text/css" />
-</head>
-<body>
-<!--#include virtual='/header.shtml' -->
-
-<h1>GPRS network connection for the iPAQ</h1>
-<h2>Introduction</h2>
-<p>
-In this document, I outline the steps necessary to get an iPAQ running Familiar Linux on the net via GPRS using a Bluetooth-capable phone.
-</p>
-
-<h2>Hard- and software</h2>
-<ul>
-<li>Compaq iPAQ 3955 (h3900 series)</li>
-<li>Nokia Bluetooth CF Card DTL-1</li>
-<li>Nokia 6131 camera phone</li>
-<li><a href="http://familiar.handhelds.org/">Familiar Linux</a></li>
-</ul>
-<h2>Provider</h2>
-<p>
-Belgian wireless carrier <a href="http://base.be/">Base</a>.
-</p>
-<h2>Steps</h2>
-<h3>Get Bluetooth working</h3>
-<p>
-There's various HOWTO's available on getting Bluetooth functioning on (Familiar) Linux. Tip: use <a href="http://www.bluez.org/">Bluez</a>. If you are using the Opie image of Familiar 0.8.4, 
-you will have to replace <em>/bin/bluepin</em> with a shell script like this one:
-</p>
-<code>
-#!/bin/sh<br />
-echo -n PIN:<br />
-cat /etc/bluetooth/pin<br />
-exit 0<br />
-</code>
-<h3>Find the hardware address of the phone</h3>
-<p>
-Use hcitool to find the various bluetooth devices in your neighbourhood. Provided you've made the phone broadcast its presence, it should show up in the scan.
-</p>
-<code>
-~ # hcitool scan<br />
-Scanning ...<br />
-&nbsp;&nbsp;&nbsp;&lt;address&gt;   &lt;friendly name&gt;
-</code>
-<h3>Find the channel for dial-up networking</h3>
-<p>
-Check on what channel the phone provides dial-up networking (DUN): 
-</p>
-<code>
-sdptool search --bdaddr &lt;bd&gt; DUN
-</code>
-<p>
-where <em>&lt;bd&gt;</em> is the hardware address of your mobile phone as detected by hcitool scan.
-</p>
-<h3>Bind rfcomm</h3>
-<p>
-I decided to bind <em>/dev/rfcomm0</em> to the DUN channel of my phone.
-</p>
-<code>
-/etc/init.d # cat bind_dun<br />
-rfcomm bind 0 &lt;bdaddr&gt; &lt;channel&gt;<br />
-mknod -m 666 /dev/rfcomm0 c 216 0<br />
-</code>
-<h3>Configure PPP</h3>
-<p>
-I assume you have the point-to-point protocol set up on your device already. If not, <code>ipkg search *ppp*</code> is your friend.
-</p>
-<p>
-On Familiar 0.8.x, the pppd options were changed versus 0.7.x. The file now only contains a minimal <code>lock</code> as option. I 
-prefer the following:
-</p>
-<code>
----------------- cut and paste from here ----------------<br />
-cat &gt; /etc/ppp/options &lt;&lt; EOF<br />
--detach<br />
-defaultroute<br />
-nocrtscts<br />
-lock<br />
-noauth<br />
-lcp-echo-interval 5<br />
-lcp-echo-failure 3<br />
-usepeerdns<br />
-460800<br />
-local<br />
-asyncmap 0<br />
-EOF<br />
------------------------- end cut ------------------------<br />
-</code>
-<p>
-Now you'll need a chat script to tell the phone what to do.
-</p>
-<code>
----------------- cut and paste from here ----------------<br />
-cat &gt; /etc/ppp/chat.gprs.base &lt;&lt; EOF<br />
-ABORT "BUSY"<br />
-"" "\d"<br />
-SAY "Resetting modem\n"<br />
-"" "atz"<br />
-SAY "Dialing\n"<br />
-OK 'AT+cgdcont=1,"IP","gprs.base.be"'<br />
-OK "ATD*99#"<br />
-TIMEOUT 60<br />
-CONNECT ''<br />
-SAY "Connected\n"<br />
-EOF<br />
------------------------- end cut ------------------------<br />
-
-</code>
-<p>
-You'll also need to provide some additional options for <em>pppd</em>:
-</p>
-<code>
----------------- cut and paste from here ----------------<br />
-cat &gt; /etc/ppp/peers/base_gprs  &lt;&lt; EOF<br />
-debug <br />
-noauth <br />
-usepeerdns<br />
-/dev/rfcomm0 460800<br />
-460800<br />
-user base<br />
-password base<br />
-local<br />
-nocrtscts<br />
-defaultroute<br />
-noipdefault<br />
-connect '/usr/sbin/chat -f /etc/ppp/chat.gprs.base -r /dev/console'<br />
-EOF<br />
------------------------- end cut ------------------------<br />
-</code>
-<h3>Get connected</h3>
-<p>
-Start <em>pppd</em> as follows:
-</p>
-<code>
-~ # pppd call base_gprs
-</code>
-<p>
-If all goes well (and only if you changed the <em>/etc/ppp/options</em> file), you should see something like this:
-</p>
-<code>
-Reseting modem<br />
-Dialing...<br />
-Connected<br />
-Serial connection established.<br />
-using channel 13<br />
-Using interface ppp0<br />
-Connect: ppp0 <--> /dev/rfcomm0<br />
-</code>
-
-<h3>Check routing</h3>
-<p>
-As I had a default route already (via the USB connection in the cradle), I had to replace it:
-</p>
-<code>
-route del default<br />
-route add default ppp0<br />
-</code>
-</p>
-<!--#include virtual='/footer.shtml' -->
-</body>
-</html>
-
-