I have a 2215 (is something like the 5550 with a half of the memory and without the integrated wifi) I made the usbnet works perfectly on opie familiar but I can't flash opie angstron on it (it flash but don't boot) :(

to make the usb net work you need:
on ipaq and PC:
g_ether

when you connect the usb wire on the both machines, made a dmegs to see if their load the g_ether module, if not you know: modprobe e_ether

my lan network is on 192.168.0.0 and my usb net is set to 192.168.1.0
on Ipaq you need to set a sub net for the USB0, I did this:
ip: 192.168.1.102
nm: 255.255.255.0
gateway: host pc IP: (ej: 192.168.1.100 in my case)
add one or two DNS servers, or if your host pc can resolve names use that ip (the usb0) , I use my ISP one.

On the pc:
1) set USB0
ip: 192.168.1.100 (or whatever)
nm: 255.255.255.0
gw: nada none nothing

2) now you neet to "bridge" your eth0 with your usb0:
as super user (sudo don't work)

echo 1 > /proc/sys/net/ipv4/ip_forward

and the iptables commands:
iptables --flush
route add -host 192.168.1.102 usb0
iptables -A INPUT -i usb0 -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i usb0 -j ACCEPT

now restart the both with: /etc/init.d/networks restart

ping from the ipaq to pc and pc to ipaq to check, and ping from ipaq to the world to check the internet connection

good luck



_______________________________________________
Angstrom-distro-users mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users

Reply via email to