Author Topic: Ubuntu And 3.5.3  (Read 2942 times)

Sethmahoney

  • Newbie
  • *
  • Posts: 4
    • View Profile
Ubuntu And 3.5.3
« 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

But now when I try to ping the Z I get

 ping: sendmsg: Operation not permitted

Any ideas?
« Last Edit: April 13, 2005, 10:59:58 pm by Sethmahoney »

dreadlocks

  • Jr. Member
  • **
  • Posts: 71
    • View Profile
    • http://zaurus.nayr.net
Ubuntu And 3.5.3
« Reply #1 on: April 14, 2005, 02:21:36 am »
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
Code: [Select]
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
Code: [Select]
#!/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
« Last Edit: April 14, 2005, 02:28:11 am by dreadlocks »
RETIRED - Zaurus SL-5600 (and a dead 5000D)
Wapaton 1.6.1 - Personal Watapon Feed
SMC 2642W & Linksys WCF12, Targus Universal IR Keyboard
Sandisk 512mb SD, Lexar 64mb SD, Sharp Camera
Extreme Limit Metal & Leather Suit

Sethmahoney

  • Newbie
  • *
  • Posts: 4
    • View Profile
Ubuntu And 3.5.3
« Reply #2 on: April 14, 2005, 05:06:35 am »
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

acpkendo

  • Full Member
  • ***
  • Posts: 169
    • View Profile
    • http://
Ubuntu And 3.5.3
« Reply #3 on: April 14, 2005, 12:18:17 pm »
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.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Ubuntu And 3.5.3
« Reply #4 on: April 14, 2005, 12:21:32 pm »
I'd check your firewall settings.

Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

Sethmahoney

  • Newbie
  • *
  • Posts: 4
    • View Profile
Ubuntu And 3.5.3
« Reply #5 on: April 26, 2005, 08:15:15 pm »
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?