english, how-to, linux, mobile devices
Windows Mobile 5 and Linux
Inca un post partial in engleza, tot pentru ca in target probabil nu sunt multi romani.
Romana
Descarcarea surselor synce cu suport Windows Mobile 5:
cd /usr/src
svn co https://svn.sourceforge.net/svnroot/synce/branches/libsynce/WM5/libsynce
svn co https://svn.sourceforge.net/svnroot/synce/branches/librapi2/WM5/librapi2
svn co https://svn.sourceforge.net/svnroot/synce/trunk/vdccm
Compilarea:
1) libsynce
cd libsynce/
./bootstrap
./configure
make
make install
cd ..
2) librapi2
cd librapi2/
./bootstrap
./configure
make
make install
cd ..
3) vdccm
cd vdccm/
make -f Makefile.cvs
./configure
make
make install
cd ..
In timp ce am compilat aceste programe am primit mai multe erori si a fost necesara editarea fisierelor sursa. Daca patiti la fel si nu va descurcati, contactati-ma pe email sau postati un comment aici.
Conectarea PDA-ului/telefonului prin USB:
1) Compilarea driverului usb-rndis
cd /usr/src
svn co https://svn.sourceforge.net/svnroot/synce/trunk/oleavr-files/usb-rndis
cd usb-rndis/
make
./clean.sh
make install
2) Gasirea interfete folosite de usb-rndis
dmesg | grep “eth[0-9″>: register” | grep “rndis_host” | tail -1
Daca totul a mers bine, veti vedea o linie de genul
eth1: register ‘rndis_host’ at usb-0000:00:02.0-2, RNDIS device, 80:00:60:0f:e8:00
3) Asignarea adresei ip
ifconfig eth1 169.254.2.2 netmask 255.255.255.0 up
Daca e cazul, inlocuiti eth1 cu interfata obtinuta prin rularea comenzii de mai sus.
4) Realizarea conexiunii
Aceste comenzi vor trebui rulate de user-ul pe care il folositi in mod normal.
vdccm -s 40
triggerconnection 169.254.2.1
5) Testarea conexiunii
pls /
Daca primiti o lista cu directoarele de pe dispozitivul mobil, totul a mers bine.
Accesul la file system-ul dispozitivului se realizeaza cel mai usor folosind un plugin pentru nautilus:
svn co https://svn.sourceforge.net/svnroot/synce/trunk/gnomevfs
cd gnomevfs/
./bootstrap
./configure
make
make install
In /etc/gnome-vfs-2.0/modules/default-modules.conf se adauga linia: synce: libsyncevfs.
Restartati sistemul.
Autentificati-va.
Conectati dispozitivul mobil.
Rulati din nou comenzile pentru asignarea adresei ip si realizarea conexiunii.
Rulati comanda nautilus synce:///.
Felicitari, ar trebui sa aveti acces la file system-ul dispozitivului.
English
Downloading synce with Windows Mobile 5 support:
cd /usr/src
svn co https://svn.sourceforge.net/svnroot/synce/branches/libsynce/WM5/libsynce
svn co https://svn.sourceforge.net/svnroot/synce/branches/librapi2/WM5/librapi2
svn co https://svn.sourceforge.net/svnroot/synce/trunk/vdccm
Compiling:
1) libsynce
cd libsynce/
./bootstrap
./configure
make
make install
cd ..
2) librapi2
cd librapi2/
./bootstrap
./configure
make
make install
cd ..
3) vdccm
cd vdccm/
make -f Makefile.cvs
./configure
make
make install
cd ..
During the compiling of this programs, there may be some errors. If this happens, you need to edit some source files. If you don’t know how, post a comment here or send me an email.
Connecting you device using an USB cable:
1) Compiling the usb-rndis driver
cd /usr/src
svn co https://svn.sourceforge.net/svnroot/synce/trunk/oleavr-files/usb-rndis
cd usb-rndis/
make
./clean.sh
make install
2) Finding the interface used by usb-rndis
dmesg | grep “eth[0-9″>: register” | grep “rndis_host” | tail -1
If everything went well, you will see a line like
eth1: register ‘rndis_host’ at usb-0000:00:02.0-2, RNDIS device, 80:00:60:0f:e8:00
3) Asigning the ip adress
ifconfig eth1 169.254.2.2 netmask 255.255.255.0 up
4) Connecting
This commands must be run by your normal user.
vdccm -s 40
triggerconnection 169.254.2.1
5) Testing the connection
pls /
If the command above returns a list with the folders from your PDA, everything is ok.
The most simple method to access your mobile device is to use a nautilus plugin.
svn co https://svn.sourceforge.net/svnroot/synce/trunk/gnomevfs
cd gnomevfs/
./bootstrap
./configure
make
make install
Add a line containing synce: libsyncevfs to /etc/gnome-vfs-2.0/modules/default-modules.conf .
Restart you computer.
Log in.
Connect you mobile device.
Run the commands for assigning the ip adress and connecting.
Run the command nautilus synce:///.
Now you should have acces to the filesystem of you mobile device.
06 Oct 2006 Cosmin 4 comments

