Next Previous Contents

3. Networking

3.1 Setting up PPP

Set pppd on your iPAQ as root-setuid (chmod 4755 /usr/sbin/pppd) and add user ppp to /etc/passwd (e.g. "echo ppp::666:666:PPP user:/:/sbin/pppd >> /etc/passwd"). Then execute on you Linux box (not iPAQ) following command (assuming that your iPAQ is connected to /dev/ttyS0 and your IP addresses will be 192.168.2.1/192.168.2.2):


pppd /dev/ttyS0 115200 192.168.2.1:192.168.2.2 nodetach noauth nocrtscts lock user ppp connect "/usr/sbin/chat -v -t3 ogin--ogin: ppp"

3.2 SSH access to your iPAQ

To run ssh daemon on you iPAQ, you must generate ssh keys and run sshd:


ssh-keygen -b 512 -f /etc/ssh/ssh_host_key -N ''
ssh-keygen -d -b 512 -f /etc/ssh/ssh_host_dsa_key -N ''
sshd


Next Previous Contents