OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Sethmahoney on April 13, 2005, 10:58:32 pm
-
I'm running Ubuntu linux on my box (its Debian based, if that helps) and OZ 3.5.3 (with Opie) on the 5600 and I'm having issues starting a network connection. I followed the directions here:
http://www.openzaurus.org/web/index.php?op...id=29&Itemid=44 (http://www.openzaurus.org/web/index.php?option=com_content&task=view&id=29&Itemid=44)
But now when I try to ping the Z I get
ping: sendmsg: Operation not permitted
Any ideas?
-
You proably dont have the routes setup properly..
type "route" and paste the output
I use debian and here is my setup.. I use watapon but I dont use the docking cradle, all of this was setup back when I was running OZ
/etc/network/interfaces
iface usb0 inet static
address 192.168.129.127
pointopoint 192.168.129.201
netmask 255.255.255.128
and a script in /etc/network/if-up.d/50zaurus
#!/bin/sh
case $IFACE in
usb0)
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t filter -F FORWARD
iptables -t filter -P FORWARD DROP
iptables -t filter -A FORWARD -s $IF_POINTOPOINT/$IF_NETMASK -j ACCEPT
iptables -t filter -A FORWARD -d $IF_POINTOPOINT/$IF_NETMASK -j ACCEPT
iptables -t nat -F PREROUTING
iptables -t nat -P PREROUTING ACCEPT
iptables -t nat -F POSTROUTING
iptables -t nat -P POSTROUTING ACCEPT
iptables -t nat -F OUTPUT
iptables -t nat -P OUTPUT ACCEPT
iptables -t nat -A POSTROUTING -s $IF_POINTOPOINT/$IF_NETMASK -o eth0 -j $;;
esac
-
Here's my route output:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
-
Assuming you used the values on the web page you mentioned, I think you need to add routes for the subnet (192.168.129.0). If you use a firewall, there could also be problem there. I use guarddog to manage my firewall, and I remember having to configure it to permit ping traffic from and to the Z's subnet (192.168.129.0 for me). If you're using regular Ubuntu (i.e. not Kubuntu), I'm not sure what the GUI program is to configure firewall, and my kung-fu isn't strong enough to recommend changes to ip[chains|tables].
FWIW, I use /etc/network/interfaces to add and remove routes, and (with OZ) it works for me w/o needing to install the /etc/network/ifup.d script that Dreadlocks listed below. IIRC, that script was originally on the docs.zaurus.com site, which was run by Sharp. I'm not sure if its specific to Sharp ROM's. . . All I generally need to do is the following:
1) modprobe usbnet
2) plug in the Z
3) ifup usb0
I'll post my /etc/network/interfaces tonight when I get home.
-
I'd check your firewall settings.
Si
-
So I've got pinging working. Now I just need to get Multisync to do its job. It gets as far as trying to connect to the second client (the Z), but never actually connects. Any ideas?