Gentoo Archives: gentoo-user

From: Jeff Cranmer <jcranmer01@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Multisync with evolution and Zaurus
Date: Wed, 08 Dec 2004 00:46:10
Message-Id: 1102467790.14564.27.camel@tux
In Reply to: Re: [gentoo-user] Multisync with evolution and Zaurus by Jeff Cranmer
1 I manually installed the CVS snapshot, and that allowed me to compile
2 the options I needed.
3
4 Now all I need to do is get the Zaurus properly connected.
5 I have configured my kernel (2.4.27) so that the usbnet.o module is
6 compiled (USB-to-USB Networking cables, Linux PDAs, ... ), and have
7 added the usbnet module to /etc/modules.autoload.d/kernel-2.4
8
9 When I plug in and unplug the Zaurus, the following info shows on dmesg.
10
11 usb.c: USB disconnect on device 00:10.1-2.4 address 6
12 usb0: unregister usbnet usb-00:10.1-2.4, Sharp Zaurus SL-5x00
13 hub.c: new USB device 00:10.1-2.4, assigned address 7
14 usb0: register usbnet usb-00:10.1-2.4, Sharp Zaurus SL-5x00
15 usbdevfs: USBDEVFS_CONTROL failed dev 7 rqt 128 rq 6 len 18 ret -6
16
17 I've created a file, /etc/hotplug/usb/usbnet containing the following
18 data:
19 ------------------------------
20 #! /bin/bash
21 echo "usbnet hotplug script running"
22 typeset -i num
23 num=`ifconfig | grep usb0 | wc -l`
24 if [ $num -eq 0 ] ; then
25 echo "Loading Zaurus"
26 ifconfig usb0 192.168.129.1 netmask 255.255.255.255
27 up
28 route add -host 192.168.129.201 usb0
29 fi
30 --------------------------------
31
32 I suspect I may need to add a line to my /etc/conf.d/net file.
33 I found some instructions on the web at
34 http://www.ruault.com/Zaurus/ethernet-over-usb-howto.html, which advised
35 adding the lines below to /etc/network/interface if dealing with a
36 debian system
37
38 --------------------------------
39 iface usb0 inet static
40 address 192.168.129.1
41 pointopoint 192.168.129.201
42 netmask 255.255.255.255
43 --------------------------------
44
45 ifconfig -a returns the following information for usb0
46
47 --------------------------------
48 usb0 Link encap:Ethernet HWaddr AA:C0:32:AA:9E:32
49 BROADCAST MULTICAST MTU:1500 Metric:1
50 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
51 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
52 collisions:0 txqueuelen:1000
53 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
54 --------------------------------
55
56 After running the following commands and temporarily turning off
57 shorewall (I've got to fix that<g>), I was able to successfully ping the
58 zaurus
59
60 --------------------------------
61 ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up
62 route add -host 192.168.129.201 usb0
63 --------------------------------
64
65 I set up multisync to the correct IP address, with no password or
66 username. When I click on 'sync' on multisync, it simply flashes
67 "connecting to first client" then back to 'Press "Sync" to synchronize,
68 without transferring any data or the Zaurus indicating that it is
69 synchronizing.
70
71 >From this investigation, I have two questions - what is the best way to
72 automate the ifconfig steps so that I don't need to do it every time,
73 and what do I need to do to successfully sync to evolution 2?
74
75 Any assistance greatly appreciated.
76
77 Thanks
78
79 Jeff
80
81
82 On Tue, 2004-12-07 at 18:29 -0500, Jeff Cranmer wrote:
83 > The two files are very small. The zipfile is only 1.5k, so is obviously
84 > not the source code.
85 >
86 > I copied the ebuild file as described below, then ran
87 > emerge -pv =/usr/portage/app-pda/multisync/multisync-cvs-0.82.ebuild,
88 > and I got the error
89 > ------------------------------------
90 > Calculating dependencies
91 > *** You need to adjust PORTDIR or PORTDIR_OVERLAY to emerge this
92 > package.
93 > ------------------------------------
94 >
95 > Jeff
96 >
97 >
98 > On Tue, 2004-12-07 at 14:05 -0500, Jeff Cranmer wrote:
99 > > Thanks.
100 > >
101 > > There are four files under multisync-cvs snapshot ebuild, two of which are struck out.
102 > >
103 > > Presumably I download the multisync live cvs ebuild (a tgz file), putting it in /usr/portage/distfiles,
104 > > and copy the app-pda/multisync-cvs/multisync-cvs-0.82.ebuild file text file into
105 > > /usr/portage/app-pda/multisync-cvs/multisync-cvs-0.82.ebuild, then run emerge multisync-cvs-0.82?
106 > >
107 > > Jeff
108 > >
109 > > -----Original Message-----
110 > > From: MOLNÁR Péter <mp428@××××××××.hu>
111 > > Sent: Dec 7, 2004 12:03 PM
112 > > To: gentoo-user@l.g.o
113 > > Subject: Re: [gentoo-user] Multisync with evolution and Zaurus
114 > >
115 > > On Tue, 2004-12-07 at 07:26 -0500, Jeff Cranmer wrote:
116 > > > Here's a little bit of additional info from the multisync sourceforge
117 > > > website. This is an excerpt from an anonymous posting in the support
118 > > > area regarding evolution 2:
119 > > >
120 > > > --------------------------------
121 > > > it almost works fine now, but it were some problems
122 > > > with compilation (I had to copy multisync/specs/* files
123 > > > manually to apropriate plugin dirs and correct
124 > > > configure.in then it started to compile)
125 > > > --------------------------------
126 > > >
127 > > > I'm not sure how to convert these comments to the correct thing to do in
128 > > > the gentoo environment. Any assistance greatly appreciated.
129 > > >
130 > >
131 > > The multisync in portage does not come with an evolution2 plugin, you
132 > > have to get the latest 0.8 branch snapshot from cvs, and build it.
133 > >
134 > > Alternatively, there is a multisync-cvs ebuild in bugzilla, which you
135 > > can put into your portage overlay. It has a few problems, but it is
136 > > worth a try.
137 > >
138 > > Search for "ALL multisync" on the gentoo bugzilla, and it will be the
139 > > topmost entry.
140 --
141 Jeff Cranmer <jcranmer01@×××××××××.net>
142
143
144 --
145 gentoo-user@g.o mailing list