Tag Archives: linux

How to monitor CentOS and Ubuntu servers with Pandora FMS

Zabihah Halal Vitamins
How to monitor CentOS and Ubuntu servers with Pandora FMS
Pandora FMS (Pandora Flexible Monitoring System) is a flexible and highly scalable monitoring software for networks, servers, applications and virtual environments. In this tutorial I will show you how to install Pandora FMS Server on Centos 7 and how to add a monitoring agent on Ubuntu 15.04.

Powered by WPeMatico

How to install and set up multiple chess engines on XBoard

Zabihah Halal Vitamins
How to install and set up multiple chess engines on XBoard
XBoard is an open source graphical chess interface that was made to be compatible with the X window system and that can accept mouse moves, support countless chess engines and even allow the playing of chess variations. It can also serve as a front-end for local game analysis, net server based games, or even email chess (auto-parsing of received mail moves and auto-sending of mail when move is done).

Powered by WPeMatico

How to monitor free disk space at Amazon EC2 with Cloud Watch

Zabihah Halal Vitamins
How to monitor free disk space at Amazon EC2 with Cloud Watch
Amazon AWS is a great platform to develop a Cloud Infrastrucutre, it supposedly covers every aspect that is needed for a whole IT infrastructure and provides also a nice monitoring tool named Cloud Watch. Today I will show you how to monitor free disk space with Cloud watch.

Powered by WPeMatico

How to secure your PDF documents with passwords (and how to crack them if needed)

Zabihah Halal Vitamins
How to secure your PDF documents with passwords (and how to crack them if needed)
Documents safety is a particularly sensitive matter due to the typical usage nature and possible value and importance of the contents. That said, users should be extra careful when sharing documents that shouldn’t be leaked to other parties.

Powered by WPeMatico

How to Install Proftpd with TLS on Ubuntu 15.04

Zabihah Halal Vitamins
How to Install Proftpd with TLS on Ubuntu 15.04
This article describes the installation of Proftpd with TLS on Ubuntu 15.04. FTP is a insecure protocol as passwords and data are transferred unencrypted. The whole communication can be encrypted by using TLS, thus making FTP a safe protocol to transfer files. This tutorial shows you how to setup a TLS enabled FTP server on Ubuntu.

Powered by WPeMatico

ISPConfig 3: Automated installation on Debian

Zabihah Halal Vitamins
ISPConfig 3: Automated installation on Debian
As you might know, ISPConfig is one of the best free opensource hosting control panels available to manage linux servers in single and multi server environments. This tutorial explains how to deploy and install this amazing contol panel with ispconfig_setup script.

Powered by WPeMatico

How to record from JACK with Ardour on Linux

Zabihah Halal Vitamins
How to record from JACK with Ardour on Linux
With all the madness that prevails the Linux audio engines and complex inter-related frameworks and subsystems, it is very easy to get lost and overwhelmed when you want to do something as simple as to record yourself playing an electric musical instrument. Recording from JACK is imperative in that case, as using a “mic to speaker” arrangement will introduce unwanted noise to the recording, no matter what.

Powered by WPeMatico

Configure Clamav for daily system scans and email notification on Debian

Zabihah Halal Vitamins

Powered by WPeMatico

How to connect to Ad Hoc networks using Tmobile G1 Android

Intro

The G1 does not connect to ad hoc networks through the wifi manager but we can hack it to allow scanning and connecting to ad hocs. I’ve been trying to figure this out for the longest time. Before you begin, you need to root your G1 and be comfortable using the command line. We will be editing tiwlan.ini and wpa_supplicant.conf. I will be showing you 2 ways to edit the files. Using vi and adb.


Settings

edit tiwlan.ini to read:

WiFiAdHoc = 1
dot11DesiredSSID = HydtechAdhoc (or whatever name u want)
dot11DesiredBSSType = 0

edit wpa_supplicant.conf to read:

ctrl_interface=tiwlan0
update_config=1
eapol_version=1
ap_scan=2 (tells wpa_supplicant to scan hidden networks)

network={
ssid=”HydtechAdhoc”
scan_ssid=1 (for APs with multiple SSIDS)
mode=1
key_mgmt=NONE
group=WEP104
auth_alg=SHARED
wep_key0=”MyWepKey” (replace MyWepKey with your key)
}

How to edit using vi:

Download terminal from the market and type:

su (for superuser mode)
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system (mount partition as writable)
vi /system/etc/wifi/tiwlan.ini (open tiwlan.ini in vi text editor)

now type A to enter editing mode, finish editing your file and hold trackball+1 to stop editing. To save and exit type :wq

vi /data/misc/wifi/wpa_supplicant.conf (open file for editing)

edit with the settings given above and exit and don’t forget to change the partition back to read only
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system

reboot

How to edit files with adb on Ubuntu:

Connect your g1 to the computer using a usb cable and make sure USB debugging in enabled
Open up terminal and type
cd /home/hydtech/[android sdk folder]/tools (navigate to the directory which has you adb tool)

get the files from the device and place them in the root folder
sudo ./adb pull /system/etc/wifi/tiwlan.ini /
sudo ./adb pull /data/misc/wifi/wpa_supplicant.conf /

edit and save the files with the settings provided above using gedit or kate or what have you

make the partition read writable
adb shell
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
exit

place the files back onto the device
sudo ./adb push /tiwlan.ini /system/etc/wifi/tiwlan.ini
sudo ./adb push /wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf

make partition read only again
adb shell
mount -o ro,remount -t yaffs2 /dev/block/mtdblock3 /system
exit

reboot device.

Troubleshooting

shows connected but no internet
1. I was having a problem where the connection would keep disconnecting and when it would connect, it wouldn’t load pages. To fix this I had to disable my WEP key.

SSID not showing
2. If the SSID isn’t showing up in the list, make sure you have ap_scan=2 in your wpa_supplicant

Unsuccessful connection
3. Try enabling static IP if DHCP isn’t working for you. It’s under advanced menu.

Sponsored by Chromehost.net