subota, 31. siječnja 2015.

Install Libreoffice4.4 64bit and remove Libreoffice4.3 with command line CLI in Mint 17 Mate, Ubuntu, Xubuntu


Install Libreoffice4.4 64bit and remove Libreoffice4.3 with command line CLI in Mint 17 Mate, Ubuntu, Xubuntu

Download directly with terminal, CLI command line:
$ cd ~/Downloads
$ wget http://mirrors.uniri.hr/tdf/libreoffice/stable/4.4.0/deb/x86_64/LibreOffice_4.4.0_Linux_x86-64_deb.tar.gz

Change to download Libreoffice4.4 file,
example change to /home/Downloads folder:
$ cd ~/Downloads

Unpack Libreoffice4.4:
$ tar zxvf LibreOffice_4.4.0_Linux_x86-64_deb.tar.gz

Change to folder where you downloaded and unpack Libreoffice4.4 and install:
$ cd ~/Downloads/LibreOffice_4.4.0.3_Linux_x86-64_deb/DEBS
$ sudo dpkg -i *.deb

Remove old version Libreoffice4.3:
$ sudo apt-get remove libreoffice4.3-debian-menus
$ sudo apt-get remove libreoffice4.3-ure:i386
$ sudo apt-get remove libreoffice4.3:i386

After installing Libreoffice 4.4 restart restart x-server Mint 17.1:
$ sudo service mdm stop
$ sudo service mdm start

subota, 17. siječnja 2015.

Configure 3G UMTS TP-Link TL-WR703N on OpenWRT

First install OpenWRT on TP-Link TL-WR703N
http://wiki.openwrt.org/toh/tp-link/tl-wr703n

Insert SIM card in your 3G usb stick, and put USB 3G dongle in TP-Link router.

Connect TP-Link router to your PC with UTP cable, and power on router.


On picture is router TP-Link TL-WR703N

On Linux PC open Terminal, Terminator or any CLI you want, and connect with router.

$ ssh root@192.168.1.1
if you have a custom ssh port the command is:
$ ssh -p YOUR PORT root@YOUR Openwrt IP

-------------------------------------------

http://wiki.openwrt.org/doc/recipes/3gdongle

# opkg update
# opkg install kmod-usb2 
# opkg install kmod-usb-ohci 
# opkg install kmod-usb-uhci 
# opkg install kmod-usb-serial
# opkg install kmod-usb-serial-option
# opkg install kmod-usb-serial-wwan
# opkg install kmod-usb-acm
# opkg install kmod-usb-serial-option
# opkg install kmod-usb-serial
# opkg install luci-proto-3g

http://wiki.villagetelco.org/Using_a_3G_USB_Modem_with_the_TL_WR703n

# opkg install comgt
# opkg install kmod-usb-serial
# opkg install usb-modeswitch
# opkg install usb-modeswitch-data
# opkg install openssh-sftp-server    (this is just for file browsing)

-------------------------------------------

# cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  1/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=Generic Platform EHCI Controller
S:  SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1003 Rev= 0.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile

-------------------------------------------

# vi /etc/modules.d/usb-serial

usbserial vendor=12d1 ProdID=1003

-------------------------------------------

# reboot

-------------------------------------------

# ifup wan

-------------------------------------------

# vi /etc/chatscripts/3g.chat

ABORT   BUSY
ABORT   'NO CARRIER'
ABORT   ERROR
REPORT  CONNECT
TIMEOUT 10
""      "AT&F"
OK      "ATE1"
OK      'AT+CGDCONT=1,"IP","$USE_APN" '
SAY     "Calling UMTS/GPRS"
TIMEOUT 30
OK      "ATD*99***#"
CONNECT ' '

-------------------------------------------

# ls /dev/ttyUSB*
   /dev/ttyUSB0  /dev/ttyUSB1

-------------------------------------------

# vi /etc/config/network

config interface 'wan'
        option ifname 'ppp0'
        option pincode 'YOUR SIM PIN CODE'
        option device '/dev/ttyUSB0'
        option apn 'mobileinternet.tele2.hr'
        option service 'umts'
        option proto '3g'

-------------------------------------------
http://wiki.openwrt.org/doc/recipes/3gdongle

http://wiki.villagetelco.org/Using_a_3G_USB_Modem_with_the_TL_WR703n
-------------------------------------------

petak, 9. siječnja 2015.

JOSM is an extensible editor for ​OpenStreetMap

JOSM is an extensible editor for ​OpenStreetMap (OSM) written in ​Java 7.


Currently it supports loading stand-alone GPX tracks and GPX track data from the OSM database as well as loading and editing existing nodes, ways, metadata tags and relations from the OSM database.





----------------------------------

https://josm.openstreetmap.de/wiki/Download

Install JOSM – Java OpenStreetMap Editor
on Mint 17, Ubuntu 14.04 LTS

$ sudo apt-get install nano
$ sudo nano /etc/apt/sources.list
add these two lines below in the bottom on sources.list, hit ctrl+x and "y".

# JOSM
deb http://josm.openstreetmap.de/apt trusty universe

$ wget -q https://josm.openstreetmap.de/josm-apt.key -O- | sudo apt-key add -
$ sudo apt-get update
$ sudo apt-get install josm-latest

----------------------------------

Openstreetmap Apps for Android
http://osmand.net/

on F-droid Market
https://f-droid.org/repository/browse/?fdid=net.osmand.plus

or

Google Play market
https://play.google.com/store/apps/details?id=net.osmand

----------------------------------

F-Droid Market for Android

 F-Droid Market for Android



F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform.

DOWNLOAD

https://f-droid.org

--------------------------

četvrtak, 8. siječnja 2015.

Telegram is a popular free Instant messenger application...

Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.

Telegram is a popular free Instant messenger application that can be used to chat with your friends all over the world.

Telegram is free forever, no ads, no subscription fees.

Telegram is available for many different platforms, including Linux, Android, iOS, Windows Phone, Windows, and Mac OS X.

https://telegram.org



Install telegram on Mint 17, Ubuntu 14.04

$ sudo add-apt-repository ppa:atareao/telegram
$ sudo apt-get update
$ sudo apt-get install telegram

srijeda, 7. siječnja 2015.

How to fix Virtualbox error

How to fix Virtualbox error “Kernel driver not installed (rc=-1908)”
on Ubuntu 14.04, Mint 17

$ sudo apt-get install build-essential module-assistant
$ sudo m-a prepare
$ sudo /etc/init.d/vboxdrv setup
$ sudo /etc/init.d/vboxdrv setup

nmon - Nigel's performance Monitor for Linux

nmon - Nigel's performance Monitor for Linux

This systems administrator, tuner, benchmark tool gives you a huge amount of important performance information in one go.

http://nmon.sourceforge.net/pmwiki.php


Install nmon on Mint, Ubuntu, and all Debian based distro...

$ sudo apt-get update
$ sudo apt-get install nmon
$ nmon


Popcorn Time streams movies and TV shows from torrents

https://popcorntime.io/

Watch Movies and TV Shows instantly
Popcorn Time streams movies and TV shows from torrents

 

Install on Mint, Ubuntu, Xubuntu, all Debian based...


$ sudo add-apt-repository ppa:webupd8team/popcorntime
$ sudo apt-get update
$ sudo apt-get install popcorn-time

---------------------------------------------------

Syncthing

Syncthing is still in development, although a large number of features have already been implemented:

Web GUI. Configure and monitor Syncthing via a responsive and powerful interface accessible via your browser.

Portable. Works on Mac OS X, Windows, Linux, FreeBSD and Solaris. Run it on your desktop computers and synchronize them with your server for backup.

Simple. Syncthing doesn't need IP addresses or advanced configuration: it just works, over LAN and over the Internet. Every machine is identified by an ID. Just give your ID to you friends, share a folder and watch: UPnP will do if you don't want to port forward or you don't know how.

Powerful. Synchronize as many folders as you need with different people.

http://syncthing.net

-----------------------------

Install Syncthing on Mint, Ubuntu...

$ sudo add-apt-repository ppa:ytvwld/syncthing
$ sudo apt-get update
$ sudo apt-get install syncthing



Install Syncthing GTK

$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install syncthing-gtk