Return client's IP address in Lotusscript
paul | Tuesday, 10 March 2015 | IBM | Lotusscript
Below is a short peice of Lotusscript to return the clients ip address.
 
Dim objWMIService As Variant
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2")
Dim colItems,i As Variant
Set colItems = objWMIService.ExecQuery("Select IPAddress from Win32_NetworkAdapterConfiguration WHERE IPEnabled = 'True'")
Forall objItem In colItems
If Not Isnull(objItem.IPAddress) Then
For i = Lbound(objItem.IPAddress) To Ubound(objItem.IPAddress)
If Not Instr(objItem.IPAddress(i), ":") > 0 Then
Msgbox "IP Address: " & objItem.IPAddress(i)
End If
Next
End If
End Forall
 
Thanks for Florian Vogler's WMI example - http://blog.panagenda.com/pub/panablog.nsf/d6plinks/FLOR-7D5KZR
Display Comments...
PRTG WMI sensor Error - Connection could not be established
paul | Friday, 06 March 2015 | PRTG | WMI

After having issues with a WMI sensor accessing a new Windows 2012 R2 server I eventually got it to connect by change the device settings "IPv4 Address/DNS Name" field to use the full server domain name rather than the IP address (as suggested by Nick Russo in the KB article below).

http://kb.paessler.com/en/topic/14-what-can-i-do-about-connection-could-not-be-established-errors-on-my-wmi-sensors

Display Comments...
Windows Update breaks Cisco AnyConnect VPN Client on Windows 8
paul | Friday, 13 February 2015 | Microsoft | Cisco

Recent Windows Update KB3023607 (https://support.microsoft.com/kb/3023607) has broken the Cisco AnyConnect VPN client on Windows 8 machines.

It then displays the error "Failed to initialize connection subsystem" when ran after this update was installed.

Finding the vpnui.exe program in explorer and changing the Compatibility setting to "Windows 8" should then allow it to run.

Look at Jason Hamilton's blog post for more info: https://www.404techsupport.com/2015/02/kb3023607-cisco-anyconnect-vpn/

Display Comments...
Windows 2012 Server change product key
paul | Friday, 13 February 2015 | Microsoft | Server

In case on activation issues to manually change the product key on Windows Server 2012 R2 follow the next steps:

  1. Open Powershell as an Administrator
  2. run slmgr -upk
  3. slmgr -ipk xxxx-xxxx-xxxx-xxxx

Then try activating using the Action Center.

Display Comments...
Configure TFT for Raspberry Pi
paul | Saturday, 17 January 2015 | Pi | TFT

I have source a Raspberry Pi TFT on Ebay. The model is a Waveshare 3.2inch 3.2" 320x240 Touch LCD Screen SPI TFT LCD Display Module for Raspberry Pi B B+.

It does come supplied with a preconfigured Raspian image on a CD but it is possible to load the drivers on to an existing Raspian installation using the instructions below.

Thanks to Imaginal's instructions at: https://github.com/notro/rpi-firmware/issues/6

1) Use FBTFT drivers built into the kernel

sudo REPO_URI=https://github.com/notro/rpi-firmware BRANCH=builtin rpi-update
sudo reboot

2) After rebooting, check that SPI was created

# dmesg | grep spi
 Linux version 3.12.25+ (pi@raspi2) (gcc version 4.8.3 20140106 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.01 - Linaro GCC 2013.11) ) #1 PREEMPT Sat Aug 2 19:08:33 CEST 2014
 bcm2708_spi bcm2708_spi.0: DMA channel 2 at address 0xf2007200 with irq 77
 bcm2708_spi bcm2708_spi.0: DMA channel 4 at address 0xf2007400 with irq 20
 bcm2708_spi bcm2708_spi.0: SPI Controller at 0x20204000 (irq 80)
 bcm2708_spi bcm2708_spi.0: SPI Controller running in dma mode

3) Add to /boot/cmdline.txt (in one line)

fbtft_device.custom
fbtft_device.name=fb_ili9340
fbtft_device.gpios=dc:22,reset:27
fbtft_device.bgr=1
fbtft_device.speed=48000000

4) To enable console on boot add to /boot/cmdline.txt

fbcon=map:10
fbcon=font:ProFont6x11
logo.nologo

5) Also may be useful to add

dma.dmachans=0x7f35
console=tty1
consoleblank=0
fbtft_device.fps=50
fbtft_device.rotate=270

 

Then restart the Pi with a sudo reboot and the TFT should now work.

 

Display Comments...
Page 1 of 55 (278 Articles) << 1 2 3 4 5  Next >>