Boot into CLI.
$ sudo apt-get install nano
$ sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
to this
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash text”
$ sudo update-grub
$ sudo shutdown -r now
srijeda, 24. rujna 2014.
Monitorix - monitoring tool
Monitorix is a free, open source, lightweight system monitoring tool
How install to Raspbian
$ sudo apt-get update
$ sudo apt-get install rrdtool perl libwww-perl libmailtools-perl libmime-lite-perl librrds-perl libdbi-perl libxml-simple-perl libhttp-server-simple-perl libconfig-general-perl
$ cd ~/Desktop
Download file..
~/Desktop$ wget http://www.monitorix.org/monitorix_3.6.0-izzy1_all.deb
Install Monitorix..
~/Desktop$ sudo dpkg -i monitorix_3.3.0-izzy1_all.deb
~/Desktop$ sudo apt-get -f install
Remove *.deb file from Desktop
~/Desktop$ rm -f monitorix_3.3.0-izzy1_all.deb
~/Desktop$ cd
If you have ufw firewall on Raspberry Pi allow 8080 port
~$ sudo ufw allow proto tcp to any port 8080
Point your browser to http://localhost:8080/monitorix/ and enjoy!
How install to Raspbian
$ sudo apt-get update
$ sudo apt-get install rrdtool perl libwww-perl libmailtools-perl libmime-lite-perl librrds-perl libdbi-perl libxml-simple-perl libhttp-server-simple-perl libconfig-general-perl
$ cd ~/Desktop
Download file..
~/Desktop$ wget http://www.monitorix.org/monitorix_3.6.0-izzy1_all.deb
Install Monitorix..
~/Desktop$ sudo dpkg -i monitorix_3.3.0-izzy1_all.deb
~/Desktop$ sudo apt-get -f install
Remove *.deb file from Desktop
~/Desktop$ rm -f monitorix_3.3.0-izzy1_all.deb
~/Desktop$ cd
If you have ufw firewall on Raspberry Pi allow 8080 port
~$ sudo ufw allow proto tcp to any port 8080
Point your browser to http://localhost:8080/monitorix/ and enjoy!
subota, 26. travnja 2014.
Install Google Earth on Ubuntu, Xubuntu, Lubuntu 14.04
Install Google Earth on Ubuntu, Xubuntu, Lubuntu 14.04
$ sudo apt-get install libfontconfig1:i386 libx11-6:i386 libxrender1:i386 libxext6:i386 libgl1-mesa-glx:i386 libglu1-mesa:i386 libglib2.0-0:i386 libsm6:i386
$ sudo apt-get install ia32-libs
$ cd /tmp && wget http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb
$ sudo dpkg -i google-earth-stable_current_i386.deb
$ sudo apt-get install -f
$ sudo apt-get install libfontconfig1:i386 libx11-6:i386 libxrender1:i386 libxext6:i386 libgl1-mesa-glx:i386 libglu1-mesa:i386 libglib2.0-0:i386 libsm6:i386
$ sudo apt-get install ia32-libs
$ cd /tmp && wget http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb
$ sudo dpkg -i google-earth-stable_current_i386.deb
$ sudo apt-get install -f
utorak, 4. ožujka 2014.
Installing driver on Mint, Ubuntu, Xubuntu and Raspberry Pi Raspbian for WiFi USB RT5370 with chipset RTL8188ETV
or
$ cd
~/Downloads/8188EU/rtl8188eu-master
Unzip file
rpi-rtl8188eu-master.zip
$ cd
rtl8188eu-master
$ make
If your Raspbian
gives you this message:
make: ***
/lib/modules/3.10.25+/build: No such file or directory. Stop.
make: *** [modules]
Error 2
You must install
linux-headers
$ sudo apt-get
install linux-headers
$ sudo apt-get
install linux-headers-3.10-3-rpi
$ sudo ln -s
/lib/modules/3.10-3-rpi/build /lib/modules/3.10.25+/build
$ make
wait 5 minutes to
finish,
$ sudo make install
$ sudo modprobe -r
8188eu
$ sudo modprobe
8188eu
On my Xubuntu 12.04 chipset
RTL8188ETV works just fine.
But on my Raspberry
Pi Raspbian it doesn't work.
WiFi USB probably needs external power for Raspberry Pi.
subota, 1. ožujka 2014.
nedjelja, 16. veljače 2014.
Change audio to 3.5mm or headphone output on Raspberry Pi
--------------------------
Change audio to 3.5mm or headphone output on Raspberry Pi
--------------------------
$ sudo aptitude install alsa-utils
$ lsmod | grep snd_bcm2835
$ sudo -l
# amixer cset numid=3 1
0=auto, 1=headphones, 2=hdmi
or
$ sudo amixer cset numid=3 1
$ sudo alsamixer
--------------------------
Change audio to 3.5mm or headphone output on Raspberry Pi
--------------------------
$ sudo aptitude install alsa-utils
$ lsmod | grep snd_bcm2835
$ sudo -l
# amixer cset numid=3 1
0=auto, 1=headphones, 2=hdmi
or
$ sudo amixer cset numid=3 1
$ sudo alsamixer
--------------------------
Force VGA monitor output on Raspberry Pi
Force VGA monitor output on Raspberry Pi
--------------------------
$ sudo nano /boot/config.txt
Uncomment line 25: hdmi_mode=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
hdmi_mode=1
save and reboot
$ sudo shutdown -r now
--------------------------
--------------------------
$ sudo nano /boot/config.txt
Uncomment line 25: hdmi_mode=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
hdmi_mode=1
save and reboot
$ sudo shutdown -r now
--------------------------
subota, 15. veljače 2014.
Install CUPS Server to Raspberry Pi - Raspbian
--------------------------------
$ sudo apt-get install mc nano cups
--------------------------------
$ sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original
--------------------------------
$ sudo chmod a-w /etc/cups/cupsd.conf.original
--------------------------------
$ sudo cupsctl --share-printers --remote-admin --remote-printers
--------------------------------
http://raspberry_pi_IP:631
example:
http://192.168.1.16:631
If you can‘t connect to CUPS Server on Raspberry Pi via web browser try command line bellow:
$ sudo usermod -aG lpadmin USERNAME - "your Raspberry Pi USERNAME"
or
$ sudo adduser USERNAME lpadmin - "your Raspberry Pi USERNAME"
--------------------------------
$ sudo /etc/init.d/cups restart
--------------------------------
http://raspberry_pi_IP:631
example:
http://192.168.1.16:631
--------------------------------
$ sudo apt-get install mc nano cups
--------------------------------
$ sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf.original
--------------------------------
$ sudo chmod a-w /etc/cups/cupsd.conf.original
--------------------------------
$ sudo cupsctl --share-printers --remote-admin --remote-printers
--------------------------------
http://raspberry_pi_IP:631
example:
http://192.168.1.16:631
If you can‘t connect to CUPS Server on Raspberry Pi via web browser try command line bellow:
$ sudo usermod -aG lpadmin USERNAME - "your Raspberry Pi USERNAME"
or
$ sudo adduser USERNAME lpadmin - "your Raspberry Pi USERNAME"
--------------------------------
$ sudo /etc/init.d/cups restart
--------------------------------
http://raspberry_pi_IP:631
example:
http://192.168.1.16:631
--------------------------------
petak, 14. veljače 2014.
Pidora on Raspberry Pi configure static IP address
Pidora on Raspberry Pi configure static IP address
$ su -
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
NM_CONTROLLED=yes
DHCPCLASS=
HWADDR=00:xx:xx:xx:xx:xx (your MAC address)
IPADDR=192.168.1.16
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=8.8.8.8
--------------------
# /etc/init.d/network restart
--------------------
$ su -
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:xx:xx:xx:xx:xx
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
NM_CONTROLLED=yes
DHCPCLASS=
HWADDR=00:xx:xx:xx:xx:xx (your MAC address)
IPADDR=192.168.1.16
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=8.8.8.8
--------------------
# /etc/init.d/network restart
--------------------
Configure static network IP on Raspberry Pi
Configure static network IP on Raspberry Pi
Raspian - Debian
Basic vi commands:
i - insert text before cursor, until hit
I - insert text at beginning of current line, until hit
a - append text after cursor, until hit
:wq - quit vi, writing out modified file to file named in original invocation
http://www.lagmonster.org/docs/vi.html
----------------------------
$ sudo vi /etc/network/interfaces
----------------------------
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.16 (your Raspberry Pi static IP)
netmask 255.255.255.0
gateway 192.168.1.1
allow-hotplug wlan0
iface default inet dhcp
----------------------------
Restart network:
$ sudo /etc/init.d/networking restart
----------------------------
Reboot your Rasberry Pi:
$ sudo shutdown -r now
----------------------------
Raspian - Debian
Basic vi commands:
i - insert text before cursor, until
I - insert text at beginning of current line, until
a - append text after cursor, until
:wq - quit vi, writing out modified file to file named in original invocation
http://www.lagmonster.org/docs/vi.html
----------------------------
$ sudo vi /etc/network/interfaces
----------------------------
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.1.16 (your Raspberry Pi static IP)
netmask 255.255.255.0
gateway 192.168.1.1
allow-hotplug wlan0
iface default inet dhcp
----------------------------
Restart network:
$ sudo /etc/init.d/networking restart
----------------------------
Reboot your Rasberry Pi:
$ sudo shutdown -r now
----------------------------
Icons background on xfce4, Xubuntu, Mint-xfce4
Icons background on xfce4, Xubuntu, Mint-xfce4
------------------------------------
1.
Open XTerm, Terminal or Terminator
$ leafpad ~/.gtkrc-2.0
add this script bellow:
style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 15
XfdesktopIconView::selected-label-alpha = 100
XfdesktopIconView::ellipsize-icon-labels = 1
XfdesktopIconView::shadow-x-offset = 1
XfdesktopIconView::shadow-y-offset = 1
XfdesktopIconView::shadow-color = "#000000"
XfdesktopIconView::selected-shadow-x-offset = 0
XfdesktopIconView::selected-shadow-y-offset = 0
XfdesktopIconView::selected-shadow-color = "#ffffff"
XfdesktopIconVIew::cell-spacing = 6
XfdesktopIconView::cell-padding = 6
XfdesktopIconView::cell-text-width-proportion = 2.5
base[NORMAL] = "#cccccc"
base[SELECTED] = "#cccccc"
base[ACTIVE] = "#cccccc"
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#000000"
fg[ACTIVE] = "#000000"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
save and exit
------------------------------------
$ killall xfdesktop
------------------------------------
2.
Menu > Settings > Settings Manager > Aplication Autostart
Add > Name > xfwm4 --replace > command > xfwm4 --replace
------------------------------------
$ killall xfdesktop
------------------------------------
------------------------------------
1.
Open XTerm, Terminal or Terminator
$ leafpad ~/.gtkrc-2.0
add this script bellow:
style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 15
XfdesktopIconView::selected-label-alpha = 100
XfdesktopIconView::ellipsize-icon-labels = 1
XfdesktopIconView::shadow-x-offset = 1
XfdesktopIconView::shadow-y-offset = 1
XfdesktopIconView::shadow-color = "#000000"
XfdesktopIconView::selected-shadow-x-offset = 0
XfdesktopIconView::selected-shadow-y-offset = 0
XfdesktopIconView::selected-shadow-color = "#ffffff"
XfdesktopIconVIew::cell-spacing = 6
XfdesktopIconView::cell-padding = 6
XfdesktopIconView::cell-text-width-proportion = 2.5
base[NORMAL] = "#cccccc"
base[SELECTED] = "#cccccc"
base[ACTIVE] = "#cccccc"
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#000000"
fg[ACTIVE] = "#000000"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
save and exit
------------------------------------
$ killall xfdesktop
------------------------------------
2.
Menu > Settings > Settings Manager > Aplication Autostart
Add > Name > xfwm4 --replace > command > xfwm4 --replace
------------------------------------
$ killall xfdesktop
------------------------------------
subota, 11. siječnja 2014.
Install MPD server on Raspberry Pi - Music Player Daemon
Music Player Daemon
http://www.musicpd.org/
$ sudo apt-get update
$ sudo apt-get upgrade
$ mkdir ~/Music
$ sudo apt-get install mpd nano
$ sudo apt-get install alsa-utils
$ sudo modprobe snd_bcm2835
$ sudo nano /etc/rc.local
$ sudo amixer cset numid=3 1
Set Audio output from Raspberry Pi: 0=auto, 1=analog, 2=hdmi
I put analog output from Raspberry Pi > Hi-Fi.
$ sudo alsamixer
$ sudo nano /etc/mpd.conf
Change the following lines:
music_directory "/home/pi/music"
playlist_directory "/home/pi/Music/mpd/playlists"
bind_to_address "your static IP, example 192.168.1.16"
or
bind_to_address "127.0.0.1"
mixer_type "software"
$ sudo chmod g+w /var/lib/mpd/music/ /var/lib/mpd/playlists/
$ sudo chgrp audio /var/lib/mpd/music/ /var/lib/mpd/playlists/
$ sudo service mpd restart
--------------------
MPD Client install on Mint, Xubuntu, Ubuntu
$ sudo apt-get install ufw ario gmpc
$ sudo ufw disable
You must allow port 6600 in firewall.
$ sudo ufw proto tcp from 192.168.1.16 to any port 6600
192.168.1.16 is only my example, you must put your Raspberry Pi IP address !!!
$ sudo ufw enable
Ario
$ ario
Configure Ario, Edit > Preferences > Host "Raspberry Pi IP exp. 192.168.1.16"

Gnome Music Player Client
$ gmpc
Configure gmpc, Music > Preferences > Host "Raspberry Pi IP exp. 192.168.1.16" > Music directory > /home/pi/Music
MPDroid client for Android:
https://play.google.com/store/apps/details?id=com.namelessdev.mpdroid
--------------------
petak, 10. siječnja 2014.
Raspberry Pi - Raspbian ,LANGUAGE = (unset), LC_ALL = (unset)
$ sudo apt-get update
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_IE.UTF-8",
LC_MONETARY = "en_IE.UTF-8",
LC_ADDRESS = "en_IE.UTF-8",
LC_TELEPHONE = "en_IE.UTF-8",
LC_NAME = "en_IE.UTF-8",
LC_MEASUREMENT = "en_IE.UTF-8",
LC_IDENTIFICATION = "en_IE.UTF-8",
LC_NUMERIC = "en_IE.UTF-8",
LC_PAPER = "en_IE.UTF-8",
LANG = "hr_HR.UTF-8"
$ sudo apt-get install locales-all
$ sudo raspi-config
$ sudo apt-get update
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_IE.UTF-8",
LC_MONETARY = "en_IE.UTF-8",
LC_ADDRESS = "en_IE.UTF-8",
LC_TELEPHONE = "en_IE.UTF-8",
LC_NAME = "en_IE.UTF-8",
LC_MEASUREMENT = "en_IE.UTF-8",
LC_IDENTIFICATION = "en_IE.UTF-8",
LC_NUMERIC = "en_IE.UTF-8",
LC_PAPER = "en_IE.UTF-8",
LANG = "hr_HR.UTF-8"
$ sudo apt-get install locales-all
$ sudo raspi-config
$ sudo apt-get update
Pretplati se na:
Postovi (Atom)