The Linux iPAQ HOWTO: Instructions for Familiar v0.5.3 | ||
---|---|---|
Prev | Chapter 1. Connecting a PocketPC iPAQ to a GNU/Linux host | Next |
On the GNU/Linux host, you can launch the connection manually by typing:
bash# /usr/sbin/pppd call PocketPC |
This launches pppd, calling the iPAQ with the option file we created in Section 1.1.1.
Alternatively, you can launch it automatically, by adding the following lines to your /etc/inittab file:
# Run a connection to the iPAQ ppp:2345:respawn:/usr/sbin/pppd call PocketPC |
This last line tells the init process (father of all) to launch the same command whenever it enters into run levels 2,3,4 or 5, and to respawn (relaunch) it when it dies.
You can enter these two lines either using your favorite text editor, or by issuing the following commands:
bash# echo "# Run a connection to the iPAQ" >> /etc/inittab bash# echo "ppp:2345:respawn:/usr/sbin/pppd call PocketPC" >> /etc/inittab |
For this automatic feature to take effect, you have to tell the running init process to re-read its configuration by typing:
bash# init q |
You can observe if pppd is running by checking the /var/log/messages file.
You just have to open your "modem" connection:
From the "Start" menu, tap on the "Parameters" entry
Tap on the "Connections" tab
Tap on the "Connections" icon
Tap on "Connect"
If a "Login/Password/Domain" dialog appears, just check "Remember password" and tap on "OK"
A "Connecting..." window will pop up, soon replaced by a "Connected" window, that will close automatically after 5 sec., unless you tap on "Hide" before...
Tap on "ok" to close the "connections" screen
Tap on "X" to close the "parameters" screen
The connection status is visible in the top bar as two small arrows. By tapping on these, a popup window will appear, that gives you the ability to close the connection by tapping on "Finish".