Showing posts with label Server. Show all posts
Showing posts with label Server. Show all posts

Sep 7, 2022

fail2ban unban command

fail2ban-client -i
then in interactive mode type read the status of a jail:
status sshd
you'll get:
Status for the jail: ssh
|- Filter
|  |- Currently failed: 0
|  |- Total failed: 3
|  `- File list:    /var/log/auth.log
`- Actions
   |- Currently banned: 1
   |- Total banned: 2
   `- Banned IP list:   192.168.0.100
then type in fail2ban interactive mode:
set sshd unbanip 192.168.0.100
you'll get:
192.168.0.100
it means no longer 192.168.0.100 in ban list.

Oct 11, 2019

Fixed: Dell iDRAC6 SMTP Email Alert Settings

Goal: get email notifications sent from a Dell Poweredge with iDRAC6 when a server issue occurs.

Problem: "Email not sent." is the message displayed after clicking Send Test Email.

Solution: 
  1. iDRAC Settings > Network/Security > Enter your DNS Domain Name (ex. yourdomain.com)
  2. iDRAC Settings > Network/Security > Set DNS Servers (this is so external SMTP domains can be translated)
  3. Apply
  4. System > Alerts > Click Enabled for Enable Platform Event Filter Alerts
  5. Apply
  6. System > Alerts > Email Alert Settings > Enter destination email and Email Description
  7. System > Alerts > Email Alert Settings > Enter in either your internal email server or external email relay. iDRAC 6 does work with external email relays outside of your organization.
  8. Apply
  9. System > Alerts > Email Alert Settings > Click Send to Test E-Mail
A successful email will be sent:

Subject: Alert from iDRAC

Message: [DELL IDRAC WARNING]
Message: TEST PAGE
Event: Email paging test to user.
Date: 10/11/2019
Time: 13:41
Severity: Info/Normal

Nov 28, 2018

How to: Installing Pi-hole on the Raspberry Pi w/CLI and SSH



This tutorial will build a Pi-hole server running on a Raspberry Pi 3. Pi-hole enables network-wide adblocking. Pi-hole is your own personal DNS Server and will not only protect your network from ads, but also from malicious websites, all the while improving page load performance. You will be able to access the Pi-hole via a web interface, and also manage the Raspberry Pi unit via SSH.

Hardware Required:

  • Raspberry Pi 3
  • 4GB+ microSD card
  • Ethernet
  • Monitor connected via HDMI
  • Keyboard

Step 1: Getting the Raspberry Pi up and running


Download RASPBIAN STRETCH LITE  https://www.raspberrypi.org/downloads/raspbian/

Unzip the image

Download Etcher https://github.com/balena-io/etcher/releases/download/v1.4.8/balenaEtcher-Setup-1.4.8-x64.exe

Flash the image to the microSD card (use a 4GB card or larger)

Connect keyboard and monitor and power to Raspberry Pi

Boot up

https://www.raspberrypi.org/documentation/linux/usage/users.md
Log in using

pi
passwd

Change password using: passwd

ifconfig
Write down the MAC address

If possible, assign the Raspberry Pi a static IP from within your router/firewall

Reset the Raspberry Pi so that the device gets assigned the new IP address from the router/firewall

ifconfig
confirm the IP is correct

Step 2: Installing Pi-hole

https://github.com/pi-hole/pi-hole/#one-step-automated-install

From Raspberry Pi's CLI, enter the following commands:
wget -O basic-install.sh 
https://install.pi-hole.net
sudo bash basic-install.sh

This will bring up the GUI to install Pi-hole. Use all of the default recommended settings.

Write down the password that is generated. This will be used to log into the web admin interface.


Step 3: Enabling SSH


https://www.raspberrypi.org/documentation/remote-access/ssh/

From Raspberry Pi's CLI:

Enter sudo raspi-config in a terminal window
Select Interfacing Options
Navigate to and select SSH
Choose Yes
Select Ok
Choose Finish
Alternatively, use systemctl to start the service

sudo systemctl enable ssh
sudo systemctl start ssh

Step 4: Configuring Pi-hole from web admin interface


Go to another computer/device connected to the same network

Open a browser

Visit the IP address of the Pi Hole device
Begin configuring Pi-hole.

Step 5: Set up Router's DNS settings to point to Pi-hole

Log into your Router
Change the DNS to point to the IP address of Pi-hole

Reboot all client machines to update their DNS server


Please consider making a donation to Pi-hole to support the development: https://www.patreon.com/pihole



Apr 13, 2009

How to: Get Vmware Server for FREE & Install to Ubuntu 8.04

This post was quoted from Ubuntu's Documentation:

Ubuntu 8.04 (VMWare Server 2.0.0 Build 116503)

You can download it at http://www.vmware.com/go/getserver

  1. Get a serial number (displayed at the download page link received by email as part of the registration process)
  2. Download the tar.gz file
  3. Install the build package
  4. sudo apt-get install build-essential linux-headers-`uname -r`
  5. Unzip
  1. sudo ./vmware-install.pl
  2. Follow the settings displayed at your screen and don't change default values if not necessary. Be sure to add your normal username as VMware Server administrator

  3. Enter the serial number when prompted
  4. Vmware2 has a web interface. Browse with Firefox to http://localhost:8222.

  5. Log in with your normal username and password
Note: You can also access the web interface via SSL at https://localhost:8333. You will probably need to add this site to your SSL Exception sites on your browser.
.

Dec 6, 2008

1000HA AR5007EG Wireless Vista Drivers

It was a challenge searching and installing wireless drivers for the 1000HA, so I figured I'd try and make the process easier for those who attempt a Vista install. Hope this helps.

From:
http://www.xpvistaworld.com/atheros_ar5 … r_1131.htm

Direct Link:
http://download.boulder.ibm.com/ibmdl/p … cna5ww.exe

Instructions:
1. Download and open, the files will unpack to a folder you specify
2. Go to Device Manager
3. Right click on Update Driver Software
4. Click Browse my computer for driver software
5. Point to the folder you specified in step 1, and click Next
6. The drivers will install, and you should be on your way to browsing

.