Thread: sync and linux?
View Single Post
  #19 (permalink)  
Old 06-13-2008, 02:41 AM
Bobby Budnick's Avatar
Bobby Budnick
N00b
Offline
 
Join Date: Nov 2007
Posts: 25
Reputation: 20
Bobby Budnick is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: sync and linux?

Sorry for the delay. The following are my scripts and instructions. Unzip the scripts and put both into your home folder. You may need to restart sync-engine on the PC occasionally. You also may need to restart odccm on the PC once in a while. This script helps you to do that and more. You will need zenity installed on your GNU/Linux PC to run it.

http://www.badongo.com/file/9863538
http://www.sendspace.com/file/0djx6u

1.Enable advanced network functionality on Device

2.Connection internet settings set to 'My Work Network' on Device

3.As root, enable ipv4_forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
(allows routing of packets between network interfaces)

4.Add to /etc/modprobe.d/blacklist
blacklist ipaq
(a precaution against accidentally not setting advanced network functionality on device)

5.Add to sources.list
deb http://ppa.launchpad.net/synce/ubuntu hardy main
deb-src http://ppa.launchpad.net/synce/ubuntu hardy main
(extra repos for drivers and libraries)

6.Note: for Kernel 2.6.24-19 (at the moment available in hardy-proposed) and newer this step should be skipped.
sudo rmmod rndis_host cdc_ether usbnet
(unload old kernel drivers)

7.Note: for Kernel 2.6.24-19 (at the moment available in hardy-proposed) and newer this step should be skipped.
sudo rm /lib/modules/`uname -r`/kernel/drivers/net/usb/{rndis_host,cdc_ether,usbnet}.ko
(delete old kernel drivers)

8.Note: for Kernel 2.6.24-19 (at the moment available in hardy-proposed) and newer this step should be skipped.
sudo apt-get install usb-rndis-source cdbs
sudo module-assistant auto-install usb-rndis
(compile new kernel drivers)

9.sudo apt-get install odccm librra0-tools librapi2-tools
(download and install new libraries)

10.pls
(should list files)

11.Add to /etc/network/interfaces
iface <interface of your device> inet dhcp
(configure network-manager to ignore the new interface)

12.sudo /etc/init.d/networking restart
(restart networking)

13.Add to /etc/resolv.conf
(DNS server address)
(to fix host network with network manager)

14.sync-engine &
(to background the process)

15.create_partnership.py "Linux desktop" "Contacts"
(uses sync-engine to establish partnership)

16.Test

17.Close everything and use script for everyday use
__________________
My Mostly Clean Rom
http://forum.ppcgeeks.com/showthread.php?t=26615

Windows Mobile Devices:
Alltel Titan
Alltel Vogue
Asus A620

Last edited by Bobby Budnick; 06-13-2008 at 02:46 AM.
Reply With Quote