sudo: add-apt-repository: command not found
If this happens, you must first install python-software-properties, which contains the add-apt-repository command.
To do so enter the following:
sudo apt-get install python-software-properties
Friday, 2 November 2012
Tuesday, 3 April 2012
8ta 2GB+1GB using Vodaphone ZTE K3805-Z USB Modem
I've got a ZTE Vodaphone USB Modem that I'm going to use with my 3G network instead of paying R400 or some places charge R600 for a generic USB Modem.
I didn't want to be bothered to flash the USB Modem and its too lenghty a process so all I did was:
1. Topped up the 8ta simcard to the 3GB+1GB Deal (popped it into another phone and followed the prompts - you have to have the "3GB+1GB" deal attached to your simcard as it wont work on all 8ta sims)
2. Put the simcard into the USB modem
3. Install the Vodaphone software (which above all else installs the USB modem drivers)
4. Select the 8ta network from "my network connections" once the modem have been installed
My current 8ta network is "655002".
Works a charm..........
I didn't want to be bothered to flash the USB Modem and its too lenghty a process so all I did was:
1. Topped up the 8ta simcard to the 3GB+1GB Deal (popped it into another phone and followed the prompts - you have to have the "3GB+1GB" deal attached to your simcard as it wont work on all 8ta sims)
2. Put the simcard into the USB modem
3. Install the Vodaphone software (which above all else installs the USB modem drivers)
4. Select the 8ta network from "my network connections" once the modem have been installed
My current 8ta network is "655002".
Works a charm..........
Monday, 26 March 2012
Nagios 3.3.1 bug - Host stuck in scheduled down time
Setup
Ubuntu: 10.04.4
Nagios: 3.3.1
Plugins 1.4.14
Host scheduled for downtime but downtime have exceeded and host is still stuck in downtime.
Unable to get host out of the downtime
RESOLUTION
Remove Host from Nagios complete, do a reboot, recreate host - this was the only way I could get my host from being stuck in a downtime situation.
Friday, 23 March 2012
Windows 7 Remote Administration Tools
(Taken from the Technet site - for my reference only)
Instructions
Installing Remote Server Administration Tools for Windows 7 with SP1
You must be either a member of the Administrators group on the computer on which you want to install the Administration Tools pack, or you must be logged on to the computer by using the built-in Administrator account.
Important: Remove all versions of Administration Tools Pack or Remote Server Administration Tools from the computer before installing Remote Server Administration Tools for Windows 7 with SP1.
Important: Only one copy of Remote Server Administration Tools for Windows 7 with SP1 can be installed on a computer at one time. Before you install a new package, remove any existing copies of Remote Server Administration Tools for Windows 7 with SP1. This includes any copies that are in different languages. To remove existing copies of Remote Server Administration Tools for Windows 7 with SP1, see Removing the complete Remote Server Administration Tools for Windows 7 with SP1 pack on this page.
1. On a computer that is running Windows 7 or Windows 7 with SP1, download the Remote Server Administration Tools for Windows 7 with SP1 package from the Microsoft Download Center.
2. Open the folder into which the package downloaded, double-click the package to unpack it, and then start the Remote Server Administration Tools for Windows 7 with SP1 Setup Wizard.
Important: You must accept the License Terms and Limited Warranty to start to install the Administration Tools pack.
3. Complete all installation steps in the wizard, and then click Finish to exit the wizard when installation is finished.
4. Click Start, click Control Panel, and then click Programs.
5. In the Programs and Features area, click Turn Windows features on or off.
6. If you are prompted by User Account Control to enable the Windows Features dialog box to open, click Continue.
7. In the Windows Features dialog box, expand Remote Server Administration Tools.
8. Select the remote management tools that you want to install.
9. Click OK.
10. Configure the Start menu to display the Administration Tools shortcut, if it is not already there.
• Right-click Start, and then click Properties.
• On the Start Menu tab, click Customize.
• In the Customize Start Menu dialog box, scroll down to System Administrative Tools, and then select Display on the All Programs menu and the Start menu. Click OK. Shortcuts for snap-ins installed by Remote Server Administration Tools for Windows 7 with SP1 are added to the Administrative Tools list on the Start menu.
You must be either a member of the Administrators group on the computer on which you want to install the Administration Tools pack, or you must be logged on to the computer by using the built-in Administrator account.
Important: Remove all versions of Administration Tools Pack or Remote Server Administration Tools from the computer before installing Remote Server Administration Tools for Windows 7 with SP1.
Important: Only one copy of Remote Server Administration Tools for Windows 7 with SP1 can be installed on a computer at one time. Before you install a new package, remove any existing copies of Remote Server Administration Tools for Windows 7 with SP1. This includes any copies that are in different languages. To remove existing copies of Remote Server Administration Tools for Windows 7 with SP1, see Removing the complete Remote Server Administration Tools for Windows 7 with SP1 pack on this page.
1. On a computer that is running Windows 7 or Windows 7 with SP1, download the Remote Server Administration Tools for Windows 7 with SP1 package from the Microsoft Download Center.
2. Open the folder into which the package downloaded, double-click the package to unpack it, and then start the Remote Server Administration Tools for Windows 7 with SP1 Setup Wizard.
Important: You must accept the License Terms and Limited Warranty to start to install the Administration Tools pack.
3. Complete all installation steps in the wizard, and then click Finish to exit the wizard when installation is finished.
4. Click Start, click Control Panel, and then click Programs.
5. In the Programs and Features area, click Turn Windows features on or off.
6. If you are prompted by User Account Control to enable the Windows Features dialog box to open, click Continue.
7. In the Windows Features dialog box, expand Remote Server Administration Tools.
8. Select the remote management tools that you want to install.
9. Click OK.
10. Configure the Start menu to display the Administration Tools shortcut, if it is not already there.
• Right-click Start, and then click Properties.
• On the Start Menu tab, click Customize.
• In the Customize Start Menu dialog box, scroll down to System Administrative Tools, and then select Display on the All Programs menu and the Start menu. Click OK. Shortcuts for snap-ins installed by Remote Server Administration Tools for Windows 7 with SP1 are added to the Administrative Tools list on the Start menu.
Windows 2008 R2 DHCP MAC Filtering
MAC Filtering using DHCP in Windows 2008 R2
Setting up White-listing in DHCP for MAC Filtering
1. Click on all the current leases - and select "ALLOW"
2. Then click on the Filters and enable the "ALLOW" list - this will setup and enable white-listing
Command Line Support of DHCP MAC Address filtering
netsh dhcp server v4 set filter [enforceallowlist=1|0] [enforcedenylist=1|0]
example:
netsh dhcp server v4 set filter enforceallowlist=1
Setting up White-listing in DHCP for MAC Filtering
1. Click on all the current leases - and select "ALLOW"
2. Then click on the Filters and enable the "ALLOW" list - this will setup and enable white-listing
Command Line Support of DHCP MAC Address filtering
netsh dhcp server v4 set filter [enforceallowlist=1|0] [enforcedenylist=1|0]
example:
netsh dhcp server v4 set filter enforceallowlist=1
Tuesday, 20 March 2012
Windows 2008 R2, Printer OFFLINE
When a print queue is deleted Windows fail to clear a registry setting and even though the printer is online its listed as OFFLINE.
Things to try:
1. Restart print spooler
2. Restart printer (for a few minutes)
3. Reboot Workstation
4. Re-add printer to workstation
Things to try:
1. Restart print spooler
2. Restart printer (for a few minutes)
3. Reboot Workstation
4. Re-add printer to workstation
Tuesday, 6 March 2012
That wicked word "WSUS" - Installation/Uninstallation tragedies
My Guide to WSUS.... after wasted hours getting it up or removing it....
Installation Issues
regedit - Local Machine/Software/Policies/Microsoft/Windows/WindowsUpdate
Check WSUServer entry
2. run gpupdate /force
3. Make sure there isn't a WSUS server running anywhere else.
REMOVAL issues
Fatal Error 0x80070643 when trying to run uninstall
Installation Issues
WSUS install on Server 2008 R2 - Installation failed the update could not be found there may be a network connection issue.
- Remove WSUS from the GP
regedit - Local Machine/Software/Policies/Microsoft/Windows/WindowsUpdate
Check WSUServer entry
2. run gpupdate /force
3. Make sure there isn't a WSUS server running anywhere else.
REMOVAL issues
Fatal Error 0x80070643 when trying to run uninstall
- Use windows uninstaller to remove.
- From Command prompt: net stop wsusservice, net stop wsuscertserver
- From Command Prompt: sc delete wsusservice, sc delete wsuscertserver
- Uninstall IIS & WSUS
- Reboot
Friday, 2 March 2012
WSUS - Client Side Troubleshooting
gpresult.exe from command prompt to find out computer and user config
Run WUAUCLT /DETECTNOW and GPUPDATE /FORCE
Reboot client. Log back again.
Now go to HKEY_Local_Machine\Software\Policies\Microsoft\Windows\Windows Update
Run WUAUCLT /DETECTNOW and GPUPDATE /FORCE
Reboot client. Log back again.
Now go to HKEY_Local_Machine\Software\Policies\Microsoft\Windows\Windows Update
Tuesday, 28 February 2012
Setup DNS on 2 win2008 Servers
on the existing server, under 'namesrevers' tab, add the new name server.
on the existing server, under 'zone transfer' ensure that transers are permitted to only the servers on the name servers tab
on the new server, create a new secondary zone.
add the ip address of the current master server.
it should automatically replicate.
allow Zone Transfers from the existing server.
Wednesday, 22 February 2012
Nagios Error: could not fetch information from server
Check nsclient++ ini file on PC
** Check Nagios IP "allowed"
** Restart Nsclient++ service
The most logical first step is to re-verify the Nagios server config file. Check to make sure DNS resolution is correct. Second, take a look at the NSC.log on the client system. In my case, I saw:
2009-03-30 10:52:23: error:.\NSClientListener.cpp:307: Unauthorized access from: *************
Well, that could definitely be a problem. My fault this time was in editing the NSC.ini after installation. The allowed_hosts line of:
allowed_hosts=****************
needed to be like:
allowed_hosts=***********/23
Subscribe to:
Posts (Atom)