- At first install davfs2-1.4.7:
sudo apt-get install libneon27-dev cd ~/Downloads/ wget http://download.savannah.gnu.org/releases/davfs2/davfs2-1.4.7.tar.gz tar xzf davfs2-1.4.7.tar.gz cd davfs2-1.4.7/ ./configure
- Once davfs2 is installed, confirm that the coda kernel module is loaded on your system with
lsmod | grep coda
- If the module is not loaded, load it with
modprobe codaand do one of the following to make it persistent: add a line to /etc/modules reading "coda"
- If the module is not loaded AND the above modprobe fails, recompile your kernel with built-in coda support or a coda module.
- If the module is already loaded, proceed to the next step.
- If the module is not loaded, load it with
- Try to mount manualy
sudo mount -t davfs "http://sps.domain.com/folder/Sub Folder" /home/taras/davfs/sps Please enter the username to authenticate with server http://sps.domain.com/folder/Sub Folder or hit enter for none. Username: domain\username Please enter the password to authenticate user domain\username with server http://sps.domain.com/folder/Sub Folder or hit enter for none. Password:
- Make folder mounted automaticaly:
-
Add mount point to /etc/fstab (replace spaces by \040):
http://sps.domain.com/folder/Sub\040Folder /home/taras/davfs/sps davfs noauto,uid=taras,file_mode=640,dir_mode=755,user 0 0Save your credentials to /usr/local/etc/davfs2/secrets (If an item contains one of the characters space, tab, #, \ or ", this # character must be escaped by a preceding \):/home/taras/davfs/sps domain\\user password
Поиск по этому блогу
понедельник, 15 апреля 2013 г.
Mount WebDAV folder on Ubuntu
суббота, 6 апреля 2013 г.
Flashing ROMs from linux (ODIN alternative)
On device VolumeDown+Power
sudo heimdall flash --recovery ./recovery.img
How To Root Galaxy Nexus I9250 On Android 4.2.2 Jelly Bean (JDQ39) Official Firmware And Install CWM Recovery
Step 1 - Download Android SDK from the Android Developers website and install with USB drivers.
Step 2 - Enable USB Debugging mode in your phone.
Step 3 - Download SuperSU v1.04 (UPDATE-SuperSU-v1.04.zip) and copy it to your sdcard (on the root of it. not in any folders) on your device.
Step 4 - Download CWM 6.0.2.3 (recovery-clockwork-touch-6.0.2.3-maguro.img)
Step 5 - Go into Fastboot Mode on your device by pressing "Volume Down" + "Volume Up" + "Power" keys for a few seconds till you see some text on the screen. This is Bootloader Mode.
Step 6 - Type in the following command and press Enter.
Step 7: Select recovery from fastboot menu and you’ll be taken to the newly-flashed ClockworkMod recovery.
Step 8: In ClockworkMod recovery, scroll down to “flash zip from SD card” and press the power button to select it.
Step 9: Press the Power button again and select “choose zip from sdcard”.
Step 10: Use Volume keys to navigate to UPDATE-SuperSU-v1.04.zip. Select it by using the Power button and flash it.
Step 11: Once flashing is complete, reboot the device by selecting “reboot system now” from the Recovery menu. The first boot may take some time.
Step 2 - Enable USB Debugging mode in your phone.
Step 3 - Download SuperSU v1.04 (UPDATE-SuperSU-v1.04.zip) and copy it to your sdcard (on the root of it. not in any folders) on your device.
Step 4 - Download CWM 6.0.2.3 (recovery-clockwork-touch-6.0.2.3-maguro.img)
Step 5 - Go into Fastboot Mode on your device by pressing "Volume Down" + "Volume Up" + "Power" keys for a few seconds till you see some text on the screen. This is Bootloader Mode.
Step 6 - Type in the following command and press Enter.
sudo fastboot flash recovery ~/Downloads/Adnroid/recovery-clockwork-touch-6.0.2.3-maguro.img
Step 7: Select recovery from fastboot menu and you’ll be taken to the newly-flashed ClockworkMod recovery.
Step 8: In ClockworkMod recovery, scroll down to “flash zip from SD card” and press the power button to select it.
Step 9: Press the Power button again and select “choose zip from sdcard”.
Step 10: Use Volume keys to navigate to UPDATE-SuperSU-v1.04.zip. Select it by using the Power button and flash it.
Step 11: Once flashing is complete, reboot the device by selecting “reboot system now” from the Recovery menu. The first boot may take some time.
Ubuntu Touch on phone
Установил Ubuntu Touch (Developer Preview) на свой Samsung Galaxy Nexus. Интерес победил)
Инструкция здесь:
https://wiki.ubuntu.com/Touch/Install?action=show&redirect=TouchInstallProcess
Под Ubuntu 13.04 у меня все получилось быстро и без проблем.
Пока система слабо юзабельна. Звонить и смски писать можно, ходить в интернет по Wi-Fi тоже. На этом, пожалуй, все) Остальное еще не доделано.
Интерфейс красивый и удобный, но пока не очень шустрый.
Попутно набросал скрипт для переноса контактов из Google (да, пока синхронизации тоже нет).
Скрипт пока сырой (да и вряд ли есть смысл его допиливать), но телефоны и имейлы синхронизирует.
How to use: 1) Export Google Contacts to vCard format 2) run ./Google2Ubuntu_ContactsConverter.sh ~/Downloads/contacts.vcf 3) scp ./data.csv phablet@192.168.1.168:~/data.csv 4) connect to phone via SSH and do: phablet@localhost:~$ sudo mv data.csv /usr/share/demo-assets/contacts-data phablet@localhost:~$ manage-address-books.py create
#!/bin/bash googleContactsFile=$1 if [ "$googleContactsFile" == "" ]; then echo "USAGE: $0 contactFileName" exit 1 fi name="Name" email1="E-mail 1 - Value" email2="E-mail 2 - Value" phone1value="Phone 1 - Value" phone1detail="Phone 1 - detail" phone2value="Phone 2 - Value" phone2detail="Phone 2 - detail" blank="" facebookID="FacebookID" facebookStatus="Facebook Status" facebookLink="Facebook-link" Favorite="Favorite" poBox="poBox" extendedAddress="extended address" street_address="street address" locality="locality" region="region" postal_code="postal code" country_name="country name" echo "$name,$email1,$email2,$phone1value,$phone1detail,$phone2value,$phone2detail,$blank,$facebookID,$facebookStatus,$facebookLink,$Favorite,$poBox,$extendedAddress,$street_address,$locality,$region,$postal_code,$country_name"| tee data.csv cat $googleContactsFile | while read line #head -50 $googleContactsFile | while read line do if ( echo "$line"|grep "BEGIN:VCARD" > /dev/null ); then parse=1 name="" email1="" email2="" phone1value="" phone1detail="" phone2value="" phone2detail="" blank="" facebookID="" facebookStatus="" facebookLink="" Favorite="" poBox="" extendedAddress="" street_address="" locality="" region="" postal_code="" country_name="" continue fi if ( echo "$line"|grep "END:VCARD" > /dev/null ); then parse=0 continue fi if [ $parse -eq 1 ]; then key="`echo $line |awk -F":|;" '{print $1}'`" value="`echo $line |awk -F":" '{print $2}'|sed -e 's/[^a-zA-Z0-9@. +]//g'`" case $key in "FN") name="`echo "$value"|grep -ve '^ *$'`";; "EMAIL") if [ "$email1" == "" ]; then email1="$value"; else email2="$value"; fi ;; "TEL") if [ "$phone1value" == "" ]; then phone1value="$value"; else phone2value="$value"; fi ;; esac if [ "$name" == "" ]; then continue; fi echo "$name,$email1,$email2,$phone1value,$phone1detail,$phone2value,$phone2detail,$blank,$facebookID,$facebookStatus,$facebookLink,$Favorite,$poBox,$extendedAddress,$street_address,$locality,$region,$postal_code,$country_name" fi done | tee -a data.csv
Подписаться на:
Сообщения (Atom)