Guys.. Just when my A780 is dying, I was able to do amazing things in 1 day:
1. Use A780 thru USBNET from Ubuntu Hardy
2. Install multisync on pc.
3. use mack connectivity pack. Make some modifications (instead of ppp use directly on usb)
#Modified inet-usb for USB LAN from Mack connectivity pack
#to be run
#!/bin/sh
ln -s /diska/.system/QTDownLoad/mack /tmp
ifconfig gprsv0 down
rmmod gprsv
insmod /tmp/mack/iptables/modules/fake_gprs.o
ifconfig gprsv0 10.1.1.1
insmod /tmp/mack/iptables/modules/ip_tables.o
insmod /tmp/mack/iptables/modules/iptable_filter.o
insmod /tmp/mack/iptables/modules/iptable_mangle.o
insmod /tmp/mack/iptables/modules/ipt_ROUTE.o
/tmp/mack/iptables/sbin/iptables -t mangle -A PREROUTING -d 10.1.1.1 -i usbl0 -j ROUTE --iif gprsv0
/tmp/mack/iptables/sbin/iptables -t mangle -A POSTROUTING -o gprsv0 -j ROUTE --gw 192.168.1.1
/tmp/mack/iptables/sbin/ip route del default
#/tmp/mack/iptables/sbin/ip route add default dev usbl0
/tmp/mack/iptables/sbin/ip route add default dev gprsv0
echo "nameserver 192.168.100.99" >/ram/tmp/resolv.conf
echo "nameserver 194.168.2.254" >>/ram/tmp/resolv.conf
/tmp/mack/iptables/sbin/fake_dsm &
#Routing script to be run on Linux PC
#
#
#!/bin/sh
while ! ping -c 1 192.168.1.2 >/dev/null 2>&1 ; do echo -n "."; sleep 1; done
iptables -D FORWARD -i usb0 -j ACCEPT >/dev/null 2>&1
iptables -I FORWARD -i usb0 -j ACCEPT
iptables -D FORWARD -o usb0 -j ACCEPT >/dev/null 2>&1
iptables -I FORWARD -o usb0 -j ACCEPT
iptables -t nat -D POSTROUTING -s 10.1.1.1 -j MASQUERADE >/dev/null 2>&1
iptables -t nat -I POSTROUTING -s 10.1.1.1 -j MASQUERADE
route add 10.1.1.1 dev usb0
cat /proc/sys/net/ipv4/ip_forward >/dev/null;
if [ $? -eq 0 ]
then echo 1 > /proc/sys/net/ipv4/ip_forward;
fi;
echo Ready
4. Able to sync all the contacts to pc (backup on a folder)
5. Now i was wondering how to sync with evolution. But multisync does nt support evolution >1.2 . Also Evolution cannot import all the .vcf from backup folder in one shot..so started searching n found
https://wiki.ubuntu.com/OpenSync
basically, install opensync and multisync.90
sudo apt-get install opensync-plugin-evolution opensync-plugin-file opensync-plugin-syncml opensyncutils multisync-tools multisync0.90
6. setup a pair b/w which it has to be synched (evolution and filebackup)
7. Run multisync and get the contacts in folder
8. sync the same folder with multicync.90 to get the contacts in evolution
Voila...
I'm planning to write a detailed article soon...
Hope this helps you..




Reply With Quote