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
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
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
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
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]
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
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
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
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
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
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
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
Issue When trying to install MSN Messenger Live you get the message You must install the critical update Windows Update Agent 5.8.02469 Resolution Install the update via http://support.microsoft.com/kb/946928
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
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
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?