Gmane
From: David Golpira <golpira <at> alternatecomputing.com>
Subject: Re: Sharp Zaurus SL-5500
Newsgroups: gmane.linux.gentoo.user
Date: 2003-04-14 01:56:25 GMT (5 years, 25 weeks, 5 days, 22 hours and 19 minutes ago)
Here's the contents of my script that gets my Z "online":

----
modprobe usb-ohci
modprobe usbdnet
modprobe iptable_filter
modprobe ip_conntrack
modprobe ip_conntrack_ftp
modprobe ip_conntrack_irc
modprobe ip_nat_ftp
modprobe ip_nat_irc
modprobe ip_tables
modprobe ipt_MASQUERADE
modprobe iptable_nat

ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up
route add -host 192.168.129.201 usb0
iptables -t nat -F
iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to 192.168.1.2
echo 1 > /proc/sys/net/ipv4/ip_forward
----

Double-check that you have the correct modules loaded for your specific
machine.

-Dave

On Sun, 2003-04-13 at 21:44, Mathew Leland Alexander wrote:
> Could you help me a bit with the masq'ing... I'm having problems getting
> it working. iptables is giving me iptables: Invalid argument when I
> enter iptables -t nat -A POSTROUTING -j SNAT -o $localIface --to
> $localIp, using the correct variables for localIface and localIp...
> 
> 
> On Sun, 2003-04-13 at 17:13, David Golpira wrote:
> > I've been able to communicate with my 5500 over USB.  Syncing with
> > Qtopia works.  The Z can get out to the internet via USB too.  I haven't
> > been able to get hotplug working, so I have to manually run a script to
> > set up NAT & routing from my desktop to the Z.
> > 
> > I pretty much followed the steps on
> > http://docs.zaurus.com/lc_generic.shtml
> > 
> > As I said, everything on that page worked for me except hotplug.
> > 
> > On Sun, 2003-04-13 at 14:15, Mathew Leland Alexander wrote:
> > > Does anyone have this PDA and have it working with gentoo. I'm following
> > > the directions on http://docs.zaurus.com/lc_generic.shtml but still
> > > having problems getting it recognized. Any help will do!
> > > 
> > > Also, there is a patch on that website that I can use. But it seems that
> > > there is already a patch for usbdnet for the gentoo-sources kernel. 
-- 
David Golpira <golpira <at> alternatecomputing.com>

--
gentoo-user <at> gentoo.org mailing list