Thursday, July 27, 2017

How to view devices and sessions on Aruba remote access point VPN.

I have used Aruba access points with two ethernet ports as VPN devices. It was okay for a home office or small office. When troubleshooting a problem, there was not much visibility. These command helped.

sh ap database
(Find the IP address of target AP)

sh datapath tunnel | include x.x.x.x
(Find the tunnel number with R=wired)

sh datapath bridge | include 'tunnel xx'
(List of mac addresses on remote LAN)

sh datapath session | include 'tunnel xx'
(List of current connection from LAN with IP addresses)


Tuesday, July 25, 2017

How to copy file association from an individual to all users on a server.


I dont know why this application install will not do this automatically but I found a way.


reg copy HKEY_CURRENT_USER\Software\Classes\.upop HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.upop /s

reg copy HKEY_CURRENT_USER\Software\Classes\upopfile HKEY_LOCAL_MACHINE\SOFTWARE\Classes\upopfile /s


Of course it will be different for your app.

Friday, July 7, 2017

Business phone with bird poop!

I have worked on a lot of telephones but this was a first. Most of the buttons quit working so I had to replace it.


Monday, July 3, 2017

Mitel SMDR call records with telnet port 1752.


telnet 10.1.2.3 1752

 07/03 09:37A 0000:00:00 T104     *** 4372                      E
 07/03 09:37A 0000:00:49 T103     005 3225                        3225
 07/03 09:38A 0000:00:22 T101     004 3225                        3225
 07/03 09:53A 0000:00:01 T101     *** 1808                      E
 07/03 10:21A 0000:00:57 T101     008 3235                      T 3236
-07/03 10:24A 0000:06:33 T101     008 3215                        3215
 07/03 10:31A 0000:00:31 T102     009 3235                      T 3236
 07/03 11:00A 0000:01:06 T101     006 3225                        3225
 07/03 11:06A 0000:02:28 T101     006 3221                        3221
 07/03 11:29A 0000:02:04 T101     002 3223                        3223
 07/03 12:40P 0000:00:24 T101     *** 3216                        3216
 07/03 12:59P 0000:00:20 T103     002 3210                        501

The phone numbers are usually on the right side but I deleted that info. This is very quick and useful for troubleshooting phone issues.

Wednesday, June 14, 2017

Apple Mail 9,223,372,036,854,775,807 filtered messages.



I have seen this multiple times on my Mac. Click the filter off and the number goes back to normal.

Tuesday, June 13, 2017

Fortinet "diag vpn tunnel reset" command. Yikes!


While working on a Fortigate that is the central hub for a vpn network, I typed "diag vpn tunnel reset". I intended to type "diag vpn tunnel reset tunnel-name". Most of the vpns dropped and would not come back online. The equipment had to be rebooted at all the remote sites to bring up the vpn tunnels.

Dont do this!!!

Tuesday, June 6, 2017

How to get a list of ActiveSync users and devices from command line.

$mbx=get-mailbox

$mbx | foreach {$name = $_.name; $alias = $_.alias; $device = get-activesyncdevicestatistics -mailbox $_.identity; $device | foreach {write-output "$alias;$name;$($_.devicefriendlyname);$($_.deviceid);$($_.LastSuccessSync)"} } >list.txt

This is the output. One line for each mobile device.

smithb;Smith, Bob;iPad Air;Appl345SDFGDFG;06/06/2017 16:05:01
smithb;Smith, bob;iPhone 7;SDFGD987938798;06/05/2017 16:06:00
...