April 22nd, 2005
Linux Networking on a PDA
It sounds impossible to do Linux networking on a PDA, doesn’t it? But it’s not any different from doing Linux networking with desktop machines.
My setup added some complications to the problem. I lived in an apartment off-campus, so I didn’t have the free campus wireless access that everyone had. Instead, I had a desktop computer connected 24 hours a day to the internet via cable modem, and I had to connect the iPAQ to the internet via USB networking and IP masquerading.
The desktop computer was running Debian Linux. To complicate matters further, I had a laptop computer also connected to the internet through the desktop computer, using IP masquerading.
The hardest part of the problem was changing the config files so that both the PDA and the laptop computer could be connected to the internet at the same time, through the desktop computer.
I spent over 40 hours getting the setup to work. During this time I promised myself that I would learn everything there ever was to know about Linux networking, in order to understand what I was doing while minimizing the amout of trial and error. It is funny to think about that now, since I have hardly needed to touch Linux during the past few months and feel like I have forgotten everything about Linux networking.
Anyhow, in the end I figured it out somehow. It was amazing just to be able to ping web.mit.edu and google.com from the iPAQ via USB. Wow. Later, I was able to help others with their iPAQ networking issues, but I don’t think anyone realized just how long I had struggled before finding a way to resolve all the networking troubles.