Posts Tagged ‘solved’

Step-by-Step : Install Odoo 9 on Ubuntu 14.04

June 2, 2017

Here is our experience how to install Odoo 9 on Ubuntu 14.04 (Desktop or Server), step-by-step.

Step 1: Before begin the installation
Make sure your Ubuntu has all the latest versions & patches by doing an update:
sudo apt-get update
sudo apt-get dist-upgrade

(more…)

Advertisements

[SOLVED] fail2ban and denyhosts constantly ban me

March 22, 2014

Banned

Installing and using fail2ban is a great way to prevent attacks on SSH but I encountered an unusual problem with it: I sometimes got banned after frequent successful ssh logins. The reason was that I had public key authentication set up for another user on the same host and ssh was trying to use it for all the other accounts before prompting me for a password. The default fail2ban filters consider the “Failed publickey” error in the sshd log file at the same level with a failed password login hence the ban.

To change this behavior I had to edit /etc/fail2ban/filter.d/sshd.conf and change.

^%(__prefix_line)sFailed (?:password|publickey) for .* from (?: port \d*)?(?: ssh\d*)?$

into

^%(__prefix_line)sFailed password for .* from (?: port \d*)?(?: ssh\d*)?$

Solved : Problem and Step-by-Step Installing NS-2.34 On Ubuntu 12.04 LTS

July 11, 2012

A few days ago, I installed my new PC in my lab with Ubuntu 12.04 LTS. I used to work with Ubuntu 10.04 LTS, but now I want to try Ubuntu 12.04. For my research purpose, I need to install Network Simulation NS-2 on it. As usual everything is not that easy while you’re going to work with Open Source or freeware…hehehe. That’s the challenges in Open Source. I like it.

(more…)

Sharing Internet Connection using ppp0

August 20, 2011

I have a usb modem with internet connection. And I need to share its connection to my PC Desktop. So, here is my experiment howto share internet connection via ppp0.

My laptop is using Ubuntu 11.04 with 2 connections: ppp0 and Eth0. My PC Desktop is connected to my laptop using cross-cable with Eth0. I use static IP address for both Eth0.
To share ppp0 connection, I just need install ‘firestarter’ in my laptop.

~$ sudo apt-get install firestarter

Then configure ‘firestarter’ to select the device which connected to internet and enabled the internet connection sharing.