Skip to Content

blog post

How to Un-ban an IP Blocked by Fail2Ban

When an IP is banned by Fail2Ban and you want to un-ban that IP, the command you need to run is:

sudo fail2ban-client set <jailname> unbanip ipaddress

You can get the jailname by running:

sudo fail2ban-client status

If you want to find what IPs are banned by Fail2Ban, you can check the IPTABLES by running:

sudo iptables -L -n

An example output would be:

Chain f2b-sshd (1 references)
target     prot opt source               destination
REJECT     all  --  188.29.164.197       0.0.0.0/0            reject-with icmp-p  ort-unreachable(1 references

To unban IP 188.29.164.197 from the sshd jail, the command would be:

sudo fail2ban-client set sshd unbanip 188.29.164.197
blog post

Migration from NY to LONDON

First post under new London server!

blog post

Billion BiPac 7800n – O2 Broadband ADSL to Sky Broadband MER Migration

If you own a Billion 7800n router then you will know where these settings go:

Main Port: ADSL
Protocol: PPPoA (RFC2364, PPP over AAL5)
[sometimes ATM instead of AAL5]

VPI / VCI: 0 / 38
Username: install@o2broadband.co.uk
[this is for both O2 and BEthere customers]

Password: [leave blank]
Encap. Method: VC/MUX
Auth. Protocol: Auto
IP Address: 0.0.0.0
Obtain DNS Automatically: enabled
Primary DNS: if you leave them as there are then they will automatically change as long as obtain DNS Automatically is enabled

MTU: 1492

blog post

Manually Updating Roundcube Webmail on cPanel Installation

cd <where-you-want-tarball-saved>
wget <download-latest-version-here-http://roundcube.net/download/>
tar xf roundcubemail-*.tar.gz
cd <the-unpacked-roundcube-directory>
bin/installto.sh /usr/local/cpanel/base/3rdparty/roundcube/config 
blog post

Installing JDBC (MAC OS)

Install location (JAR): /Library/Java/Extensions

blog post

Brother HL-2135W Toner Reset

1) Turn the printer OFF (yes-OFF)
2) Open the front cover
3) Press AND Hold the GO button while you TURN THE POWER BACK ON
4) When all 3 lights are lit, Release and press GO twice
5) All lights turn solid — with all lights solid, press GO 5 times (yes, really, 5 times)
6) Ready light turns red
7) Close the door and you’re all set!

blog post

MySQL 5 Commands

shell> sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
(Enter your password, if necessary)
(Press Control-D or enter "exit" to exit the shell)

You might want to add aliases to your shell’s resource file to make it easier to access commonly used programs such as mysql and mysqladmin from the command line. The syntax for bash is:

alias mysql=/usr/local/mysql/bin/mysql
alias mysqladmin=/usr/local/mysql/bin/mysqladmin
blog post

Cherries

DSC00481