I use this script to setup usb networking on my machine. I haven't
tried to get it to work automatically. There is a script on familiar,
that sets up the networking in /etc/init.d/initd-usbnet. You need to
copy that script over to intimate and get it to run automagically on
startup (make the appropriate symlink in /etc/rc2.d). Then you can
reboot the ipaq (without being connected tot he PC), when it's done run
the script below, and when prompted attach the ipaq (or place it in the
cradle). By default the familiar distro is using 192.168.0.202 for the
ipaq. That changed in either 0.6 or 0.6.1.
If you put the appropriate dns in /etc/resolv.conf on the ipaq, you will
be able to download and do apt-get or ipkg to your heart's content. I
got as far as getting intimate installed, but never got anything useable
with X happening.
As most people are going to be using either big flash cards, 2G, or 5G
pcmcia cards, I would suggest that someone put the boot image online so
that we can dd it to the appropriate partition on the pcmcia card. It
would be nice to be able to do that with the root image too, but that
may be somewhat more challenging given the variable size of those
partitions.
My pet project right now is trying to get sync working between opie and
evolution. I don't care about mail, just contacts and calendar. I'm
hacking a bit at zesync for this. I tried multisync, but I don't see
any IrMC software for opie/familiar as the device to sync to.
#!/bin/bash
#sleep 5
insmod usbnet
echo "You have 10 seconds to plug in your iPAQ!!"
sleep 10
echo "Time is now Up!!"
# Now you are supposed to plug iPAQ into USB bus
ifconfig usb0 192.168.0.200 netmask 255.255.255.0
# this is for iPAQ to be able to communicate with other world besides my
# PC host
iptables -t nat -I POSTROUTING -j MASQUERADE -s 192.168.0.202/32
# You may need to allow forwarding on this interface
iptables -I FORWARD -s 192.168.0.202/32 -j ACCEPT
iptables -I FORWARD -d 192.168.0.202/32 -j ACCEPT
# You may need to enable IP Forwarding:
echo 1 > /proc/sys/net/ipv4/ip_forward
On Mon, 2003-02-03 at 06:28, Tudor Holton wrote:
> Quoting Des Johnston <D.A.Johnston@ma.hw.ac.uk>:
>
> >
> >
> > On Mon, 3 Feb 2003, Tudor Holton wrote:
> >
> > > Hello Des,
> > >
> > > I tried using the dest option for installing gcc, but ipkg threw alot of
> > symlink
> > > errors and the compiler didn't appear to work. (I have had it working
> > before on
> > > the default dest)
> > >
> >
> > Hi Tudor,
> > Is the destination partition VFAT formatted? I don't thing that can handle
> > symlinks. The cramfs image I mentioned will work off any card.
> >
> >
> Hello Des,
>
> No, it was ext3 formatted. I'm starting to get the feeling that ipkg doesn't
> like me. :-(
>
>
> >
> > > I'm now up to step 3, but I can't seem to configure usb networking. Where
> > is
> > > the /etc/network/interfaces file? Hotplug on my PC picks up that the USB
> > is
> > > there, but ifconfig refuses to assign correct values to it.
> > >
> >
> > There I'm afraid I can't help at all :(
> >
> > I use good old fashioned ethernet
> > or the wireless version. There are terabytes of messages on the familiar
> > and ipaq lists about the tribulations of usb networking, it's
> > probably worth having a dig there. I think I copied across my familiar
> > configuration for the ethernet, if I remember correctly, would something
> > similar work for usb?
> >
> Well, that's what I would expect, but every time I try to create a directory or
> anything, it won't let me. I'm not used to dealing with a cramfs image. Is
> there a guide somewhere to the intimate cramfs layout?
>
> Cheers,
> Tudor.
> _______________________________________________
> Full Blown Linux on Handheld Devices.
> Intimate mailing list
> Intimate@handhelds.org
> https://handhelds.org/mailman/listinfo/intimate
-- Paul Stillwell <paul@vnetsec.com>Received on Mon Feb 03 12:53:20 2003
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:42:41 EDT