* Re: [gentoo-user] Multisync with evolution and Zaurus
@ 2004-12-08 1:03 99% ` Jeff Cranmer
0 siblings, 0 replies; 1+ results
From: Jeff Cranmer @ 2004-12-08 1:03 UTC (permalink / raw
To: gentoo-user
I manually installed the CVS snapshot, and that allowed me to compile
the options I needed.
Now all I need to do is get the Zaurus properly connected.
I have configured my kernel (2.4.27) so that the usbnet.o module is
compiled (USB-to-USB Networking cables, Linux PDAs, ... ), and have
added the usbnet module to /etc/modules.autoload.d/kernel-2.4
When I plug in and unplug the Zaurus, the following info shows on dmesg.
usb.c: USB disconnect on device 00:10.1-2.4 address 6
usb0: unregister usbnet usb-00:10.1-2.4, Sharp Zaurus SL-5x00
hub.c: new USB device 00:10.1-2.4, assigned address 7
usb0: register usbnet usb-00:10.1-2.4, Sharp Zaurus SL-5x00
usbdevfs: USBDEVFS_CONTROL failed dev 7 rqt 128 rq 6 len 18 ret -6
I've created a file, /etc/hotplug/usb/usbnet containing the following
data:
------------------------------
#! /bin/bash
echo "usbnet hotplug script running"
typeset -i num
num=`ifconfig | grep usb0 | wc -l`
if [ $num -eq 0 ] ; then
echo "Loading Zaurus"
ifconfig usb0 192.168.129.1 netmask 255.255.255.255
up
route add -host 192.168.129.201 usb0
fi
--------------------------------
I suspect I may need to add a line to my /etc/conf.d/net file.
I found some instructions on the web at
http://www.ruault.com/Zaurus/ethernet-over-usb-howto.html, which advised
adding the lines below to /etc/network/interface if dealing with a
debian system
--------------------------------
iface usb0 inet static
address 192.168.129.1
pointopoint 192.168.129.201
netmask 255.255.255.255
--------------------------------
ifconfig -a returns the following information for usb0
--------------------------------
usb0 Link encap:Ethernet HWaddr AA:C0:32:AA:9E:32
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
--------------------------------
After running the following commands and temporarily turning off
shorewall (I've got to fix that<g>), I was able to successfully ping the
zaurus
--------------------------------
ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up
route add -host 192.168.129.201 usb0
--------------------------------
I set up multisync to the correct IP address, with no password or
username. When I click on 'sync' on multisync, it simply flashes
"connecting to first client" then back to 'Press "Sync" to synchronize,
without transferring any data or the Zaurus indicating that it is
synchronizing.
>From this investigation, I have two questions - what is the best way to
automate the ifconfig steps so that I don't need to do it every time,
and what do I need to do to successfully sync to evolution 2?
Any assistance greatly appreciated.
Thanks
Jeff
On Tue, 2004-12-07 at 18:29 -0500, Jeff Cranmer wrote:
> The two files are very small. The zipfile is only 1.5k, so is obviously
> not the source code.
>
> I copied the ebuild file as described below, then ran
> emerge -pv =/usr/portage/app-pda/multisync/multisync-cvs-0.82.ebuild,
> and I got the error
> ------------------------------------
> Calculating dependencies
> *** You need to adjust PORTDIR or PORTDIR_OVERLAY to emerge this
> package.
> ------------------------------------
>
> Jeff
>
>
> On Tue, 2004-12-07 at 14:05 -0500, Jeff Cranmer wrote:
> > Thanks.
> >
> > There are four files under multisync-cvs snapshot ebuild, two of which are struck out.
> >
> > Presumably I download the multisync live cvs ebuild (a tgz file), putting it in /usr/portage/distfiles,
> > and copy the app-pda/multisync-cvs/multisync-cvs-0.82.ebuild file text file into
> > /usr/portage/app-pda/multisync-cvs/multisync-cvs-0.82.ebuild, then run emerge multisync-cvs-0.82?
> >
> > Jeff
> >
> > -----Original Message-----
> > From: MOLNÁR Péter <mp428@hszk.bme.hu>
> > Sent: Dec 7, 2004 12:03 PM
> > To: gentoo-user@lists.gentoo.org
> > Subject: Re: [gentoo-user] Multisync with evolution and Zaurus
> >
> > On Tue, 2004-12-07 at 07:26 -0500, Jeff Cranmer wrote:
> > > Here's a little bit of additional info from the multisync sourceforge
> > > website. This is an excerpt from an anonymous posting in the support
> > > area regarding evolution 2:
> > >
> > > --------------------------------
> > > it almost works fine now, but it were some problems
> > > with compilation (I had to copy multisync/specs/* files
> > > manually to apropriate plugin dirs and correct
> > > configure.in then it started to compile)
> > > --------------------------------
> > >
> > > I'm not sure how to convert these comments to the correct thing to do in
> > > the gentoo environment. Any assistance greatly appreciated.
> > >
> >
> > The multisync in portage does not come with an evolution2 plugin, you
> > have to get the latest 0.8 branch snapshot from cvs, and build it.
> >
> > Alternatively, there is a multisync-cvs ebuild in bugzilla, which you
> > can put into your portage overlay. It has a few problems, but it is
> > worth a try.
> >
> > Search for "ALL multisync" on the gentoo bugzilla, and it will be the
> > topmost entry.
--
Jeff Cranmer <jcranmer01@earthlink.net>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2004-12-07 19:05 [gentoo-user] Multisync with evolution and Zaurus Jeff Cranmer
2004-12-07 23:29 ` Jeff Cranmer
2004-12-08 1:03 99% ` Jeff Cranmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox