A Look into Tcpdump

Tcpdump is a packet capture for the Linux command line. This is by no means a full guide but a quick overview of some of the main commands. The syntax below will capture all traffic with IP address of 172.16.1.1 and and IP in the network 172.16.1.0/24 with a port of udp/53. This will write … Read more

UNIX – Tcpdump

Tcpdump is a packet capture for the Linux command line. This is by no means a full guide but a quick overview of some of the main commands. The syntax below will capture all traffic with IP address of 172.16.1.1 and and IP in the network 172.16.1.0/24 with a port of udp/53. This will write … Read more

Linux – How to Mount an ISO image

In order to mount your ISO you will need to add the ISO to your box, create the directory then mount the file, root@host:~$ mkdir /mnt/iso root@host:~$ mount -o loop -t iso9660 MYCD.iso /mnt/iso use the following command to confirm that you have mounted it correctly, root@host:~$ df -kh You should see, Filesystem           Size  Used … Read more

Solaris / ESX – Networking Issues

Networking connectivity Issue / Dropping packets Ok, so I finally installed Solaris 10 32bit, but then found that the network interface keep dropping packets (??)To fix this I installed VMware tools which installs a new vmxnet driver but as a result this also renames your interface to vmxnet0.  Installing VMware tools has affected your machine … Read more

Solaris – Enabling DNS resolution (Client)

 To enable the DNS resolver client on Solaris, follow these steps, Change the line in the file /etc/nsswitch.conf that reads “hosts:     files” to hosts:      dns files Add the following line to the file /etc/resolv.conf. If the file doesnt exsist, create one. nameserver      [DNS IP]

Solaris – Sed -i work around

The version of sed on Solaris cannot actually save the file. So as a work around just type ‘perl -pi -e’ instead of the sed command : perl -pi -e ’s/who/when/g’ /tmp/afile

Windows : System Error 1326 has occurred

Problem When trying to map a drive to a remote machine you receive,             System Error 1326 has occurred Logon failure: unknown user name or bad password. Also when you try access the share resource via run it only allows you to log in as guest. All passwords used (which are known to be correct) … Read more

Debian – How to configure an interface as promisc

In order to configure your interface you will need to edit the following file, /etc/network/interfacesBelow is an example of this file, this would set eth0 an IP (172.16.11.1) and eth1 and eth2 to promisc mode. # This file describes the network interfaces available on your system# and how to activate them. For more information, see … Read more

DOS – Boot Files

In order to get a USB disk to boot into a DOS prompt you will need to have the required boot files. These files can be found here.

ESXi – How to enable SSH

To enable SSH you will need to do the following, In the ESXi console press ALT+F1 Type unsupported(as you type you will not see anything on the screen) Enter the root password Edit the file /etc/inetd.conf and find the line which has #ssh and remove the #. Then Type /sbin/services.sh restart

ESXi White Box – HP DL140

White Box is a term used to describe a hardware spec/platform that has been used outside of the Vendors recommendations. In order to run VMware ESXi on a platform outside of the Vendors HCL (Hardware Compatibility List) I used various Whitebox resources to run ESXi on the below, HP Proliant DL140 G1 (2x 3Ghz Xeons … Read more

Windows – Installing exe shows MSI dialog Box

Issue When trying to install an .exe which contained an msi, you are just prompted with the MSI help dialog box.  Resolution Goto ‘Start / Run‘ and type CMD Once in the CLI type ‘echo %temp%‘ to find your default temp folders. Remove as much as you can from your temp folder. Try to run … Read more

Windows – What are Ports needed for Active Directory ?

In order to add a machine to the Active Directory (Domain) or to allow you machine to speak with a Domain Controller you will need to open the following ports, LDAP         – TCP+UDP/389DNS          – UDP/53SMB          – UDP/138SMB          – TCP/445 Kerberos   – UDP/88

Common Sed Examples

Below are some of the common uses and commands for sed that I have come across over the years, Find and Replace sed -i ‘s|arp|/sbin/arp|g’ /etc/init.d/proxyarp Find and Delete sed -e ‘/^$/d’ file.txt Remove Multiple words This will remove word, word1, or word2 from the file input.txt sed ‘s/word\|word1\|word2//g’ input.txt Change the first instance on … Read more

Windows – I can`t connect to my Wireless Network

Issue  I can see my wireless network but when i try to connect it says that it maybe out of range and that it cannot connect. But I can connect using a 3rd Party program such as Netgear Smart Wizard etc ?? Whats going on ?? Solution Check to see if you have set up … Read more

XP – Cannot login to Domain

This can be down to many many reasons. One reason can be due to “trust relationship between this workstation and the primary domain failed”. You can resolve this by adding the machine back to a workgroup then adding it back into the domain. Further information can be found here www.support.microsoft.com/kb/162797

Want to learn more about Operating Systems and Databases?

Here is our hand-picked selection of the best courses you can find online:
Linux Mastery course
Linux Administration Bootcamp
Learn Linux in 5 Days
Windows Server 2022 Administration course
Windows 10 Troubleshooting course
Complete VMware Administration course
VMware vSphere 8 – Install, Configure, Manage
Complete SQL Bootcamp
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial