nedjelja, 16. kolovoza 2015.

How to upgrade OpenSuse 13.1 to 13.2

How to upgrade OpenSuse 13.1 to 13.2




$ su

# cat /etc/os-release

# cp -Rv /etc/zypp/repos.d /etc/zypp/repos.d.orig

# sed -i 's/13.1/13.2/g' /etc/zypp/repos.d/*

# zypper lr --uri

# zypper ref

# zypper refresh && zypper update && zypper dup

# cat /etc/os-release

petak, 31. srpnja 2015.

configure NFS server and NFS client in OpenSuse

Example:
NFS Server IP: 192.168.1.5
NFS Client IP: 192.168.1.100
/home/user/folder : /home/your_username/your_folder


----------------------------------------
Configure NFS Server in OpenSuse 13.1:

SERVER nfs:
----------------------------------------

# zypper install nfs-kernel-server yast2-nfs-server

# systemctl enable rpcbind.service
# systemctl start rpcbind.service
# systemctl enable nfsserver.service
# systemctl start nfsserver.service

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

# vi /etc/exports

### share for all subnet:
/home/user/folder 192.168.1.0/24(rw,async,insecure,no_root_squash,no_subtree_check,nohide)
### share for one ip:
/home/user/folder 192.168.1.100(rw,async,insecure,no_root_squash,no_subtree_check,nohide)

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

# systemctl restart rpcbind.service
# systemctl restart nfsserver.service
# exportfs -a


----------------------------------------
----------------------------------------
Configure NFS Client in OpenSuse 13.1:

CLIENT nfs:
----------------------------------------

# systemctl enable rpcbind.service
# systemctl start rpcbind.service

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

# showmount -e 192.168.1.5

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

# vi /etc/fstab

192.168.1.5:/home/user_server/folder_server /client_home/client_username/client_folder   nfs     rw,async,hard,intr 0 0


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

Allow ports in firewall for nfs clients:
# yast > Security and Users > Firewall > Allowed Services > Add

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

ponedjeljak, 27. srpnja 2015.

How to create in command line qrcode with qrencode

OpenSuse 13.1

# su
# zypper refresh && zypper update && zypper dup
# zypper install qrencode

$ qrencode -o ~/Desktop/example.png "This is a example"


četvrtak, 9. srpnja 2015.

Distro upgrade Mint 17.1 to 17.2


$ sudo sed -i 's/rebecca/rafaela/' /etc/apt/sources.list

$ sudo sed -i 's/rebecca/rafaela/' /etc/apt/sources.list.d/official-package-repositories.list

$ sudo apt update && sudo apt upgrade && sudo apt-get -f install && apt dist-upgrade && sudo apt-get -f install


nedjelja, 28. lipnja 2015.

How to Huawei E173s work on OpenSuse 13.2 KDE

How to Huawei E173s-2 work on OpenSuse 13.2 KDE

------------------------------------------------------
$ lsusb
ID 12d1:1c05 Huawei Technologies Co., Ltd. E173s 3G broadband stick (modem off)

------------------------------------------------------
$ su

# mkdir /etc/usb_modeswitch.d

------------------------------------------------------
# vi /etc/usb_modeswitch.d/12d1:1c0b


#######################################################
# Huawei E173s

DefaultVendor= 0x12d1
DefaultProduct= 0x1c0b

TargetVendor= 0x12d1
TargetProduct= 0x1c0b

CheckSuccess=20

MessageEndpoint= 0x0f
MessageContent= "55534243123456780000000000000011062000000100000000000000000000"

------------------------------------------------------
# vi /lib/udev/rules.d/40-usb_modeswitch.rules

# Huawei E173s
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="/usr/sbin/usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1c0b"

------------------------------------------------------
# vi /etc/modules


# manual override for Huawei E173s to work
usbserial vendor=0x12d1 product=0x1c0b

------------------------------------------------------
Unplug and plug the USB device type lsusb
$ lsusb
ID 12d1:1c05 Huawei Technologies Co., Ltd. E173s 3G broadband stick (modem on)

nedjelja, 17. svibnja 2015.

How to install Virtual Machine Manager to Mint or Ubuntu

Install Virtual Machine Manager on Mint or Ubuntu:

$ sudo apt-get install qemu-system qemu-utils libvirt-bin virt-manager python-spice-client-gtk virt-viewer


Exit fullscreen from Virtual Machine Manager on CentOS, Mint, Ubuntu

Exit fullscreen from Virtual Machine Manager on CentOS, Mint, Ubuntu


 
hit Ctrl-Alt to 'unhinge' the mouse and move the mouse to the top-middle of the screen.
A little applet drops down to allow you to leave full screen.

subota, 2. svibnja 2015.

utorak, 28. travnja 2015.

crontab


This is the format of /etc/crontab:

# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  * user-name  command to be executed

Configure static IP on Q4OS

Configure static IP on Q4OS

$ sudo nano /etc/network/interfaces

# The loopback network interfaces
auto lo
iface lo inet loopback

# The primary network interfaces
auto eth0
iface eth0 inet static
 address 192.168.1.16
 netmask 255.255.255.0
 gateway 192.168.1.1
 broadcast 192.168.1.255
 dns-nameservers 192.168.1.1 8.8.8.8 8.8.4.4

subota, 11. travnja 2015.

How to install BitTorrent Sync "btsync" on Mint, Ubuntu...

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

$ sudo add-apt-repository ppa:tuxpoldo/btsync

$ sudo apt-get update

$ sudo mkdir /mnt/btsync

$ sudo apt-get install btsync btsync-gui btsync-common

Allow firewall, example for IP 192.168.1.0/24 and default btsync port 8888:
$ sudo ufw allow from 192.168.1.0/24 to any port 8888


Reconfigure:
$ sudo dpkg-reconfigure btsync

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

How to install BitTorrent Sync "btsync" on Rasppbery Pi "Raspbian GNU/Linux 7 (wheezy)"

Raspbian GNU/Linux 7 (wheezy)

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

$ sudo apt-get install nano

$ sudo nano /etc/apt/sources.list.d/btsync.list

deb http://debian.yeasoft.net/btsync wheezy main contrib non-free
deb-src http://debian.yeasoft.net/btsync wheezy main contrib non-free

Save nano editor with: ctrl+x

$ sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 6BF18B15;

$ sudo apt-get update

$ sudo mkdir /mnt/btsync

$ sudo apt-get install btsync btsync-gui btsync-common

Allow firewall, example for IP 192.168.1.0/24 and default btsync port 8888:
$ sudo ufw allow from 192.168.1.0/24 to any port 8888











Reconfigure:
$ sudo dpkg-reconfigure btsync

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

petak, 3. travnja 2015.

X2Go (VNC) to Mint 17.1

Install X2Go Server:

$ sudo apt-get install python-software-properties software-properties-common
$ sudo add-apt-repository ppa:x2go/stable
$ sudo apt-get update
$ sudo apt-get install x2goserver x2goserver-xsession x2gognomebindings

-------------------------------------------------
Install X2Go Client:

$ sudo apt-get install x2goclient

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

Distro upgrade Linux Mint

sudo sed -i 's/quantal/trusty/' /etc/apt/sources.list

sudo sed -i 's/nadia/qiana/' /etc/apt/sources.list

Upgrade Mint 17 to Mint 17.1
sudo sed -i 's/qiana/rebecca/' /etc/apt/sources.list

sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get upgrade
sudo shutdown -r now

-----------------------------------------------
Cleaning /etc/apt/sources.list
Remove contents from /etc/apt/sources.list and stick with /etc/apt/sources.list.d/official-package-repositories.list

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get upgrade

sudo ln -s /usr/lib/x86_64-linux-gnu/libturbojpeg.so.0 /usr/lib/x86_64-linux-gnu/libturbojpeg.so

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

UFW user rules in Raspberry Pi, Ubuntu, Mint 17.1 ...


/lib/ufw/user.rules

$ sudo nano /lib/ufw/user.rules

Reinstall grub2 on Mint 17.1, Ubuntu 14.04, Xubuntu 14.04

$ sudo apt-get remove --purge grub-common grub-pc-bin grub-pc grub2-common grub-gfxpayload-lists

$ sudo apt-get install grub-common grub-pc-bin grub-pc grub2-common grub-gfxpayload-lists

Remove LXQt / LXDE-QT from Mint 17.1, Ubuntu 14.04, Xubuntu 14.04 ...

sudo apt-get remove elementary-icon-theme gnome-icon-theme-full gtk2-engines gtk2-engines-murrine gtk2-engines-pixbuf gtk3-engines-unico juffed juffed-plugins kde-style-qtcurve kwin-style-qtcurve libfm-data libfm-extra4 libfm-modules libfm-qt-data libfm-qt0 libfm4 libid3tag0 libimlib2 liblxqt-data liblxqt-mount0 liblxqt0 libmenu-cache-bin libmenu-cache3 libobrender29 libobt2 libqscintilla2-11 libqscintilla2-l10n libqtermwidget-data libqtermwidget0 libqtermwidgetplugin libqtxdg-data libqtxdg0 libqxt-core0 libqxt-gui0 libstatgrab9 libsysstat0  libxcb-dpms0 libxcb-screensaver0 lm-sensors lubuntu-artwork lubuntu-artwork-14-04 lubuntu-default-settings lubuntu-extra-sessions lubuntu-icon-theme lubuntu-lxpanel-icons lximage-qt lxmenu-data lxqt-about lxqt-appswitcher lxqt-common lxqt-config lxqt-globalkeys lxqt-lightdm-greeter lxqt-metapackage lxqt-notificationd lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-power lxqt-powermanagement lxqt-runner lxqt-session lxrandr-qt lxsession lxsession-data lxsession-logout obconf-qt pcmanfm-qt qt4-qtconfig qterminal murrine-themes gtk2-engines-qtcurve fancontrol sensord read-edid i2c-tools amixer scrot galculator xscreensaver dmz-cursor-theme gpicview lxde-common lxpanel pcmanfm icu-tools

Install LXQt / LXDE-QT via PPA on Mint 17.1, Ubuntu 14.04, Xubuntu 14.04 ...

$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:lubuntu-dev/lubuntu-daily
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install lxqt-metapackage lxqt-panel openbox



Remove lubuntu-desktop to Mint 17.1, Ubuntu 14.04, Xubuntu 14.04

sudo apt-get remove abiword abiword-plugin-grammar abiword-plugin-mathview apturl apturl-common audacious audacious-plugins audacious-plugins-data ffmpegthumbnailer galculator gecko-mediaplayer giblib1 gnome-disk-utility gnome-mplayer gnumeric gpicview guvcview gvfs-fuse libabiword-3.0 libaudcore1 libbinio1ldbl libbs2b0 libchamplain-0.12-0 libchamplain-gtk-0.12-0  libcompfaceg1 libcue1 libdiscid0 libffmpegthumbnailer4 libfm-data libfm-extra4 libfm-gtk-data libfm-gtk4 libfm-modules libfm4 libgmlib1 libgmtk1 libgmtk1-data libgoffice-0.10-10 libgoffice-0.10-10-common libguess1 libmenu-cache-bin libmenu-cache3 libmowgli2 libmusicbrainz3-6 libobrender29 libobt2 libonig2 libpisock9 libsidplayfp libuniconf4.6 libwebcam0 libwvstreams4.6-base libwvstreams4.6-extras lubuntu-artwork lubuntu-artwork-14-04 lubuntu-core lubuntu-default-session lubuntu-default-settings lubuntu-desktop lubuntu-icon-theme lubuntu-lxpanel-icons lubuntu-software-center lxappearance lxappearance-obconf lxinput lxlauncher lxmenu-data lxpanel lxpanel-indicator-applet-plugin lxrandr lxsession lxsession-data lxsession-default-apps lxsession-logout lxshortcut lxtask lxterminal mtpaint obconf openbox pcmanfm plymouth-theme-lubuntu-logo plymouth-theme-lubuntu-text python-gudev python-pysqlite2 scrot sylpheed sylpheed-doc sylpheed-i18n sylpheed-plugins transmission uvcdynctrl uvcdynctrl-data wvdial xfonts-100dpi xpad

Install lubuntu-desktop to Mint 17.1, Ubuntu 14.04, Xubuntu 14.04

sudo apt-get install abiword abiword-plugin-grammar abiword-plugin-mathview apturl apturl-common audacious audacious-plugins audacious-plugins-data ffmpegthumbnailer galculator gecko-mediaplayer giblib1 gnome-disk-utility gnome-mplayer gnumeric gpicview guvcview gvfs-fuse libabiword-3.0 libaudcore1 libbinio1ldbl libbs2b0 libchamplain-0.12-0 libchamplain-gtk-0.12-0  libcompfaceg1 libcue1 libdiscid0 libffmpegthumbnailer4 libfm-data libfm-extra4 libfm-gtk-data libfm-gtk4 libfm-modules libfm4 libgmlib1 libgmtk1 libgmtk1-data libgoffice-0.10-10 libgoffice-0.10-10-common libguess1 libmenu-cache-bin libmenu-cache3 libmowgli2 libmusicbrainz3-6 libobrender29 libobt2 libonig2 libpisock9 libsidplayfp libuniconf4.6 libwebcam0 libwvstreams4.6-base libwvstreams4.6-extras lubuntu-artwork lubuntu-artwork-14-04 lubuntu-core lubuntu-default-session lubuntu-default-settings lubuntu-desktop lubuntu-icon-theme lubuntu-lxpanel-icons lubuntu-software-center lxappearance lxappearance-obconf lxinput lxlauncher lxmenu-data lxpanel lxpanel-indicator-applet-plugin lxrandr lxsession lxsession-data lxsession-default-apps lxsession-logout lxshortcut lxtask lxterminal mtpaint obconf openbox pcmanfm plymouth-theme-lubuntu-logo plymouth-theme-lubuntu-text python-gudev python-pysqlite2 scrot sylpheed sylpheed-doc sylpheed-i18n sylpheed-plugins transmission uvcdynctrl uvcdynctrl-data wvdial xfonts-100dpi xpad

Remove xubuntu-desktop from Mint 17.1, Ubuntu 14.04, Xubuntu 14.04

sudo apt-get remove xubuntu-desktop abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview apg apport-gtk apt-offline avahi-utils blueman brltty-x11 catfish cheese-common cups-pk-helper dconf-cli dmz-cursor-theme doc-base espeak espeak-data evince evince-common evolution-data-server evolution-data-server-common evolution-data-server-online-accounts fonts-nanum geoclue geoclue-ubuntu-geoip gigolo gir1.2-appindicator3-0.1 gir1.2-atspi-2.0 gir1.2-gmenu-3.0 gir1.2-gnomebluetooth-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gudev-1.0 gir1.2-ibus-1.0 gir1.2-notify-0.7 gir1.2-packagekitglib-1.0 gir1.2-wnck-3.0 gkbd-capplet gmusicbrowser gnome-accessibility-themes gnome-bluetooth gnome-calculator gnome-control-center-shared-data gnome-desktop-data gnome-desktop3-data gnome-icon-theme-full gnome-menus gnome-mines gnome-session-bin gnome-settings-daemon-schemas gnome-sudoku gnome-system-tools gnome-themes-standard gnome-themes-standard-data gnome-user-share gnomine gnumeric gnumeric-common gnumeric-doc gsettings-ubuntu-schemas gstreamer0.10-alsa gstreamer0.10-plugins-base-apps gstreamer0.10-tools gstreamer1.0-clutter gstreamer1.0-tools gtk-theme-config gtk2-engines-murrine gtk2-engines-pixbuf gucharmap gvfs-backends gvfs-bin gvfs-fuse hwdata ibus indicator-applet indicator-bluetooth indicator-datetime indicator-keyboard indicator-messages indicator-power indicator-sound language-selector-gnome libabiword-3.0 libcamel-1.2-45 libcanberra-gtk3-0 libcanberra-gtk3-module libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcheese-gtk23 libcheese7 libclutter-1.0-0 libclutter-1.0-common libclutter-gst-2.0-0 libclutter-gtk-1.0-0 libcogl-common libcogl-pango15 libcogl15 libdee-1.0-4 libdigest-crc-perl libdotconf0 libebackend-1.2-7 libebook-1.2-14 libebook-contacts-1.2-0 libecal-1.2-16 libedata-book-1.2-20 libedata-cal-1.2-23 libedataserver-1.2-18 libespeak1 libevdocument3-4 libevview3-3 libframe6 libgail-3-0 libgdata-common libgdata13 libgdome2-0 libgdome2-cpp-smart0c2a libgee2 libgeis1 libgnome-bluetooth11 libgnome-desktop-3-7 libgnome-menu-3-0 libgnomekbd-common libgnomekbd8 libgoa-1.0-0b libgoa-1.0-common libgoffice-0.10-10 libgoffice-0.10-10-common libgrail6 libgrip0 libgstreamer-perl libgtk2-notify-perl libgtk2-trayicon-perl libgtkmathview0c2a libgtkmm-3.0-1 libgucharmap-2-90-7 libgweather-3-6 libgweather-common libgxps2 libido3-0.1-0 libintl-perl libkpathsea6 liblink-grammar4 libmessaging-menu0 libnet-dbus-perl libnm-gtk-common libnm-gtk0 liboauth0 liboobs-1-5 libotr5 libots0 libpackagekit-glib2-16 libpanel-applet-4-0 librest-0.7-0 libsexy2 libsignon-glib1 libsonic0 libsystemd-journal0 libt1-5 libtcl8.5 libtidy-0.99-0 libtie-ixhash-perl libtimezonemap1 libunity-control-center1 libunity-protocol-private0 libunity-scopes-json-def-desktop libunity9 liburl-dispatcher1 libuuid-perl libwacom-common libwacom2 libwnck-3-0 libwnck-3-common libwv-1.2-4 libxfce4ui-2-0 libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libyaml-tiny-perl light-locker light-locker-settings lightdm-gtk-greeter link-grammar-dictionaries-en menulibre mousetweaks mugshot network-manager-gnome network-manager-pptp-gnome onboard onboard-data oneconf oneconf-common parole pastebinit pavucontrol pidgin pidgin-data pidgin-libnotify pidgin-otr pkg-config plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-debtagshw python-gi-cairo python-gnomekeyring python-oneconf python-piston-mini-client python-psutil python-smbc python-xdg python3-aptdaemon.gtk3widgets python3-aptdaemon.pkcompat python3-cairo python3-crypto python3-gi-cairo python3-httplib2 python3-oauthlib python3-oneconf python3-pexpect python3-piston-mini-client python3-psutil python3-xdg session-migration shimmer-themes simple-scan software-center software-center-aptdaemon-plugins software-properties-gtk speech-dispatcher speech-dispatcher-audio-plugins system-config-printer-common system-config-printer-gnome system-tools-backends tcl8.5 ubuntu-release-upgrader-gtk ubuntu-system-service unity-control-center unity-settings-daemon update-manager update-notifier xbrlapi xchat xchat-common xchat-indicator xdg-user-dirs-gtk xfce4-indicator-plugin xfce4-whiskermenu-plugin xubuntu-artwork xubuntu-community-wallpapers xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers zenity zenity-common

or:

sudo apt-get remove abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview alacarte bison blueman brltty-x11 catfish espeak exo-utils flex fonts-droid fonts-lyx gigolo gmusicbrowser gnome-system-tools gnome-time-admin gstreamer0.10-gnomevfs gthumb gthumb-data gtk2-engines-pixbuf indicator-application-gtk2 indicator-sound-gtk2 leafpad libabiword-3.0 libbison-dev libdigest-crc-perl libexo-1-0 libexo-common libexo-helpers libfl-dev libgarcon-1-0 libgarcon-common libgdome2-0 libgdome2-cpp-smart0c2a libglade2-0 libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libgsf-1-114 libgsf-1-common libgstreamer-perl libgtk2-notify-perl libgtk2-trayicon-perl libgtkmathview0c2a libgtkspell0 libido-0.1-0 libindicate-gtk3 libintl-perl libjpeg-progs libjpeg-turbo-progs libkeybinder0 liblink-grammar4 libloudmouth1-0 libnet-dbus-perl liboobs-1-5 libots0 librarian0 libsexy2 libtagc0 libthunarx-2-0 libtidy-0.99-0 libtie-ixhash-perl libtumbler-1-0 libunique-1.0-0 libvte-common libvte9 libwv-1.2-4 libxfce4ui-1-0 libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util6 libxfcegui4-4 libxfconf-0-2 libxml-parser-perl libxml-twig-perl libxml-xpath-perl lightdm-gtk-greeter link-grammar-dictionaries-en m4 orage parole pastebinit pavucontrol pidgin pidgin-data pidgin-libnotify pidgin-microblog pidgin-otr plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-configobj rarian-compat ristretto screensaver-default-images scrollkeeper shimmer-themes system-tools-backends tcl8.5 thunar thunar-archive-plugin thunar-data thunar-media-tags-plugin thunar-volman tumbler tumbler-common xbrlapi xchat xchat-common xfburn xfce-keyboard-shortcuts xfce4-appfinder xfce4-cpugraph-plugin xfce4-dict xfce4-indicator-plugin xfce4-mailwatch-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-verve-plugin xfce4-volumed xfce4-weather-plugin xfce4-xkb-plugin xfconf xfdesktop4 xfdesktop4-data xfwm4 xscreensaver xscreensaver-data xscreensaver-gl xubuntu-artwork xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers && sudo apt-get install kubuntu-desktop

sudo apt-get autoremove --purge xubuntu-* && sudo apt-get autoremove --purge xfce*

sudo apt-get autoremove --purge $( dpkg-query -l *xubuntu* | grep ii | tr -s " " | cut -d" " -f2; dpkg-query -l *xfce* | grep 'ii' | tr -s " " | cut -d" " -f2 )

Install xubuntu-desktop to Mint 17.1, Ubuntu 14.04, Xubuntu 14.04

sudo apt-get install xubuntu-desktop abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview apg apport-gtk apt-offline avahi-utils blueman brltty-x11 catfish cheese-common cups-pk-helper dconf-cli dmz-cursor-theme doc-base espeak espeak-data evince evince-common evolution-data-server evolution-data-server-common evolution-data-server-online-accounts fonts-nanum geoclue geoclue-ubuntu-geoip gigolo gir1.2-appindicator3-0.1 gir1.2-atspi-2.0 gir1.2-gmenu-3.0 gir1.2-gnomebluetooth-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gudev-1.0 gir1.2-ibus-1.0 gir1.2-notify-0.7 gir1.2-packagekitglib-1.0 gir1.2-wnck-3.0 gkbd-capplet gmusicbrowser gnome-accessibility-themes gnome-bluetooth gnome-calculator gnome-control-center-shared-data gnome-desktop-data gnome-desktop3-data gnome-icon-theme-full gnome-menus gnome-mines gnome-session-bin gnome-settings-daemon-schemas gnome-sudoku gnome-system-tools gnome-themes-standard gnome-themes-standard-data gnome-user-share gnomine gnumeric gnumeric-common gnumeric-doc gsettings-ubuntu-schemas gstreamer0.10-alsa gstreamer0.10-plugins-base-apps gstreamer0.10-tools gstreamer1.0-clutter gstreamer1.0-tools gtk-theme-config gtk2-engines-murrine gtk2-engines-pixbuf gucharmap gvfs-backends gvfs-bin gvfs-fuse hwdata ibus indicator-applet indicator-bluetooth indicator-datetime indicator-keyboard indicator-messages indicator-power indicator-sound language-selector-gnome libabiword-3.0 libcamel-1.2-45 libcanberra-gtk3-0 libcanberra-gtk3-module libchamplain-0.12-0 libchamplain-gtk-0.12-0 libcheese-gtk23 libcheese7 libclutter-1.0-0 libclutter-1.0-common libclutter-gst-2.0-0 libclutter-gtk-1.0-0 libcogl-common libcogl-pango15 libcogl15 libdee-1.0-4 libdigest-crc-perl libdotconf0 libebackend-1.2-7 libebook-1.2-14 libebook-contacts-1.2-0 libecal-1.2-16 libedata-book-1.2-20 libedata-cal-1.2-23 libedataserver-1.2-18 libespeak1 libevdocument3-4 libevview3-3 libframe6 libgail-3-0 libgdata-common libgdata13 libgdome2-0 libgdome2-cpp-smart0c2a libgee2 libgeis1 libgnome-bluetooth11 libgnome-desktop-3-7 libgnome-menu-3-0 libgnomekbd-common libgnomekbd8 libgoa-1.0-0b libgoa-1.0-common libgoffice-0.10-10 libgoffice-0.10-10-common libgrail6 libgrip0 libgstreamer-perl libgtk2-notify-perl libgtk2-trayicon-perl libgtkmathview0c2a libgtkmm-3.0-1 libgucharmap-2-90-7 libgweather-3-6 libgweather-common libgxps2 libido3-0.1-0 libintl-perl libkpathsea6 liblink-grammar4 libmessaging-menu0 libnet-dbus-perl libnm-gtk-common libnm-gtk0 liboauth0 liboobs-1-5 libotr5 libots0 libpackagekit-glib2-16 libpanel-applet-4-0 librest-0.7-0 libsexy2 libsignon-glib1 libsonic0 libsystemd-journal0 libt1-5 libtcl8.5 libtidy-0.99-0 libtie-ixhash-perl libtimezonemap1 libunity-control-center1 libunity-protocol-private0 libunity-scopes-json-def-desktop libunity9 liburl-dispatcher1 libuuid-perl libwacom-common libwacom2 libwnck-3-0 libwnck-3-common libwv-1.2-4 libxfce4ui-2-0 libxml-parser-perl libxml-twig-perl libxml-xpathengine-perl libyaml-tiny-perl light-locker light-locker-settings lightdm-gtk-greeter link-grammar-dictionaries-en menulibre mousetweaks mugshot network-manager-gnome network-manager-pptp-gnome onboard onboard-data oneconf oneconf-common parole pastebinit pavucontrol pidgin pidgin-data pidgin-libnotify pidgin-otr pkg-config plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-debtagshw python-gi-cairo python-gnomekeyring python-oneconf python-piston-mini-client python-psutil python-smbc python-xdg python3-aptdaemon.gtk3widgets python3-aptdaemon.pkcompat python3-cairo python3-crypto python3-gi-cairo python3-httplib2 python3-oauthlib python3-oneconf python3-pexpect python3-piston-mini-client python3-psutil python3-xdg session-migration shimmer-themes simple-scan software-center software-center-aptdaemon-plugins software-properties-gtk speech-dispatcher speech-dispatcher-audio-plugins system-config-printer-common system-config-printer-gnome system-tools-backends tcl8.5 ubuntu-release-upgrader-gtk ubuntu-system-service unity-control-center unity-settings-daemon update-manager update-notifier xbrlapi xchat xchat-common xchat-indicator xdg-user-dirs-gtk xfce4-indicator-plugin xfce4-whiskermenu-plugin xubuntu-artwork xubuntu-community-wallpapers xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers zenity zenity-common

File sharing with NFS (Network File System) from Mint to Mint

------------------------
------------------------
 NFS SERVER: (example IP: 192.168.1.15)
------------------------
------------------------

$ sudo apt-get install nano
$ sudo mkdir /media/folder_to_share
$ sudo chown -R your_user:your_user /media/folder_to_share
$ sudo chmod -R 755 /media/folder_to_share
$ mkdir ~/folder_to_share

$ sudo apt-get install nfs-kernel-server
$ sudo cp -a /etc/exports /etc/exports_original
$ sudo nano /etc/exports

# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes       hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4        gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes  gss/krb5i(rw,sync,no_subtree_check)
#
# Export /home/user/folder_to_share and /media/folder_to_share to IP adresses 192.168.1.0/24 and 192.168.1.10 :
/home/user/folder_to_share   192.168.1.0/24(rw,async,insecure,no_subtree_check,nohide)
/media/folder_to_share   192.168.1.10(rw,async,insecure,no_subtree_check,nohide)

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

$ sudo cp -a /etc/default/nfs-kernel-server /etc/default/nfs-kernel-server_original
$ sudo nano /etc/default/nfs-kernel-server

#RPCMOUNTDOPTS="--manage-gids"
RPCMOUNTDOPTS="-p 41051"

$ sudo service rpcbind restart
$ sudo service nfs-kernel-server restart

$ rpcinfo -p
$ exportfs -a

NFS to UFW:

$ sudo ufw allow from 192.168.1.0/24 to any port 111
$ sudo ufw allow from 192.168.1.0/24 to any port 2049
$ sudo ufw allow from 192.168.1.0/24 to any port 41051

$ sudo service ufw restart
$ exportfs -a


------------------------
------------------------
 NFS CLIENT: (example IP: 192.168.1.10)
------------------------
------------------------

$ showmount -e 192.168.1.15

$ sudo mkdir /media/a1
$ sudo mkdir /media/a2
$ sudo chown -R your_user:your_user /media/a1
$ sudo chmod -R 755 /media/a1
$ sudo chown -R your_user:your_user /media/a2
$ sudo chmod -R 755 /media/a2

$ sudo nano /etc/fstab

192.168.1.15:/home/user/folder_to_share /media/a1 nfs   soft,intr,rsize=8192,wsize=8192
192.168.1.15:/media/folder_to_share /media/a2 nfs   soft,intr,rsize=8192,wsize=8192

$ sudo mount -a
$ nfsstat -m

NFS to UFW:

$ sudo ufw allow from 192.168.1.0/24 to any port 111
$ sudo ufw allow from 192.168.1.0/24 to any port 2049
$ sudo ufw allow from 192.168.1.0/24 to any port 41051

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

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