Re: Familiar on 5450 - Kernel upgrade

From: Stefano Salvi <stefano.salvi9.a.t.virgilio.it>
Date: Sat May 22 2004 - 11:40:37 EDT

At 13.15 22/05/2004 +0200, you wrote:
>I saw notes on using ipkg to install a new kernel (36.9?) which
>apparently eliminates this bug - however I have no way getting a direct
>connection to the Internet from my iPAQ (no expansion packs, and I have
>no WLAN or Bluetooth devices yet at home...). I have also tried to set
>up USB networking from my Debian laptop but this just made my iPAQ
>hang...
Did you try using PPP over the serial line. From Debian is very simple.
You only need a script to run from root like the following:
-----------------------------------------------------------------------
  #!/bin/bash
# Creates PPP connection
# WARNING 'iPAQ must not be logged on serial line (must be at login:)
# (The following command must be on a single line from '/' to '&')
/usr/sbin/pppd /dev/ttyS0 115200 192.168.0.1:192.168.0.2 ms-dns
195.130.224.18 nodetach local noauth nocrtscts lock user ppp connect
"/usr/sbin/chat -v -t3 ogin--ogin: ppp" &

# Setup for NetFilter
#
# Empties main table
iptables -F
# Empties 'nat' table
iptables -t nat -F
# Sets up "forwarding"
iptables -t nat -A POSTROUTING -s 192.168.0.2 -j SNAT --to 10.0.155.155
# Accepts packets to route
iptables -A FORWARD -s 192.168.0.2 -j ACCEPT

# Turns forwarding on
echo 1 > /proc/sys/net/ipv4/ip_forward
-----------------------------------------------------------------------
This creates a PPP connection to your iPAQ and allows it to share your
Internet connection.
You can log into you iPAQ from the Debian (Linux box) with the command:
ssh -l root 192.168.0.2
and, if you configure porperly the iPAQ resolv.conf file, access the
Internet from it.
         Stefano Salvi
Received on Sat May 22 15:41:15 2004

This archive was generated by hypermail 2.1.8 : Sat May 22 2004 - 11:41:18 EDT