summaryrefslogtreecommitdiff
path: root/posts/g1-tomtom-tether.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'posts/g1-tomtom-tether.mdwn')
-rw-r--r--posts/g1-tomtom-tether.mdwn51
1 files changed, 51 insertions, 0 deletions
diff --git a/posts/g1-tomtom-tether.mdwn b/posts/g1-tomtom-tether.mdwn
new file mode 100644
index 0000000..5ad6de5
--- /dev/null
+++ b/posts/g1-tomtom-tether.mdwn
@@ -0,0 +1,51 @@
+[[!meta title="Tethering a Tomtom to a G1…"]]
+[[!meta author="Daniel Silverstone"]]
+[[!meta date="2009-03-10 18:16:09 +0000"]]
+[[!tag tech]]
+
+Before any of you get your hopes up. **NO** I have **NOT** managed it
+yet.
+
+However, a bit of fiddling today did get me as far as the tomtom
+establishing a PPP connection. Unfortunately it subsequently did
+chuff-all with the link, not even a SYN packet afaict.
+
+Here’s roughly what I did:
+
+<ol>
+<li>
+Wrote a skanky shell script to pretend to be a modem, enough to persuade
+the tomtom it had dialled:
+<a href="http://users.pepperfish.net/dsilvers/g1-and-tomtom/call-tomtom-script">call-tomtom.sh</a>.
+Note heinous use of `tr` in order to get the `\r` which the tomtom
+sends, to be a `\n` which the busybox shell expects.
+
+</li>
+<li>
+Wrote a teeny script to automate starting dund because I am slack and
+can’t be bothered to type too much:
+<a href="http://users.pepperfish.net/dsilvers/g1-and-tomtom/dund-script">dund.sh</a>
+
+</li>
+<li>
+Watched as the PPPD connected and logged such:
+<a href="http://users.pepperfish.net/dsilvers/g1-and-tomtom/pppd-log">extract
+of log</a>
+
+</li>
+<li>
+I even straced the pppd (once it had launched the script) and got:
+<a href="http://users.pepperfish.net/dsilvers/g1-and-tomtom/pppd-strace">this
+strace output</a>.
+
+</li>
+<li>
+Then I cried because no packets were going from the Tomtom to the G1 or
+vice-versa, and nothing useful happened. Eventually I pressed cancel on
+the tomtom which caused the LCP packet for disconnection by “User
+Request” — Yeesh!
+
+</li>
+</ol>
+So, if anyone wants to pick up where I have left off, and have a go some
+more, then please do tell me if you manage to get anywhere more useful.