2014-11-20

Windows built-in troubleshooting tools and basic example

#
Name
Protocol
TCP/UDP Ports
Description
Comment
1
ping
ICMP
NA
ping 1.1.1.1

icmp echo, icmp reply between both end systems.
Can be used to test MTU with additional parameters

ping -f -l 1472 destIP


This will try to send the packet with MTU 1500.

1472 + 8 ICMP Header + 20 IP header = 1500

Reduce 1472 to lower number if you get errors until you reach the number that works.

(linux uses udp ports in the range of 30'000 to 33'000 and needs to be forced to use icmp
ping -M do -s 1472 -c 1 destIP

2
tracert
ICMP
NA
traceroute -d 1.1.1.1


icmp echo, with increasing time to live, starts with 1 and usually ends at 30.

Every system on the way to the end system should return a Time to live exceeded message and therefore you will be able to identify the IP of a machine in the path
If the end system does not respond the tool will continue to present up to 30 entries all with ****

(-d does not resolve DNS names, which can take longer. Better for trouble shooting to start with -d and then if you need the names rerun or do a dns lookup individually for the ones you want.)

3
telnet
TCP
any
telnet 1.1.1.1 3389
telnet 1.1.1.1 389

Can be used to test TCP on specified ports.
Somewhat dangerous as it can be misleading without a network trace if it really worked or not.

The behavior should be that you connect and it erases the content of the screen and you have  a blinking cursor in the top left corner. To end the session sometimes you have to quit cmd completely.
4
nslookup
UDP (+ TCP)
53
nslookup 1.1.1.1 2.3.4.5
nslookup system.com. 2.3.4.5

Can be tested to query a DNS server, default is UDP connection
first parameter is the label which can be IP or DNS name, please make use of FQDN with the . at the end then it will only do 2 queries instead of x (based on search suffixes)

2nd is the DNS server you want to test.

If you are not doing zone transfer and the answer is less than 512 Bytes (usually all single client connections are less) then it's always UDP otherwise it can be TCP
5
net view
TCP
445
net view \\1.1.1.1


6
nbtstat
UDP
137
nbtstat -A 1.1.1.1

7
netsh


netsh trace start capture=yes persistent=yes tracefile=c:\temp\capture.etl

Do your tests and then stop

netsh trace stop

The file can then be analyzed by Microsoft Message Analyzer
The directory uses in tracefile= must exist before you can start.
8
procmon


    • Start the tool,
    • immediately click on the  zoom glass
    • then disable everything except the network button.
    • under advanced select drop filtered events
    • add filters such as path contains 127.0.0.1 exclude


This tool is not installed by default, must be downloaded from live.sysinternals.com, is a Microsoft official tool now. 

If you don't stop the collection and configure the settings the tool will respond very sluggish at best.
9
Message Analzer


Microsoft Network Analysis tool (Wireshark).

But very important it captures traffic before it hits the windows firewall, whereas Wireshark will not see the packets if blocked by the windows firewall.


On Windows packet captures can be created without installing any software.
10
QRadar


Use Netflow tool to verify if packets travelled and in which direction etc.

Network Activity, you'll be able to see in real time the flows

11
hfs


Not installed by default, small executable, is a http server for download and upload.

Used to upload captures to my client for analysis.


So a test series should look something like this:

  • ipconfig /all on both
  • route print on both
  • ping
  • tracert
  • telnet (must be added, usually can be done without installation path/dvd, just add feature)
  • net view
  • nbtstat
  • nslookup

Here is an example of a test protocol where A-B communication did not work (only UDP and ICMP issue on a single system) but for the windows guys it was both ways for A and B.

Firewall was on but allowed the packets specified. System was a DC so 389 was also used, regular windows system should have TCP/3389(rdp), TCP/445(smb) open as well as UDP/137. Not going into protocol specifics there is much better material available.

Ping
C
to
A
ok


C
to
B
ok


C
to
E
ok


C
to
F
ok


C
to
D1, D2, D3
ok


A
to
C
ok


B
to
C
ok


A
to
B
FAILED


B
to
A
FAILED


B
to
E
ok
same network as A

A
to
F
ok
same network as B

With the help of netflow and or wireshark, netsh trace, message analyzer or procmon it was seen that A does not process incoming ICMP and UDP packets.

Further tests:

telnet
C
to
B
3389
ok

telnet
C
to
B
389
ok

net view
C
to
B
445
ok

nbtstat
C
to
B
UDP/137
ok








telnet
C
to
A
3389
ok

telnet
C
to
A
389
ok

net view
C
to
A
445
ok

nbtstat
C
to
A
UDP/137
ok















telnet
A
to
B
3389
ok

telnet
A
to
B
389
ok

net view
A
to
B
445
ok

ping
A
to
B
icmp
FAILED

nbtstat
A
to
B
udp/137
FAILED








same tests
A
to
E

all ok!








telnet
B
to
A
3389
ok

telnet
B
to
A
389
ok

net view
B
to
A
445
ok

ping
B
to
A
icmp
FAILED

nbtstat
B
to
A
udp/137
FAILED








same tests
B
to
F

all ok!









TCP connections A - B all work, only icmp and udp fail. Then it got weirder as dns to primary dns was also failing, as well as ICMP but not to 2nd IP of the primary DNS.



Reboot of the server solved the issue, but I would love to have nailed it down, maybe with procmon but was not sure.

2014-11-06

XenMobile WorxWeb: Browsing in enterprise environment, Proxy, SSO *Update necessary, 54.9*

Update:
54.9 breaks XenMobile Browser Session Policy due to correctly processing of policy expression!

The policy expressions are wrong and I need to find out what will be the best policy for HTTPS and HTTP to go forward. This expression is wrong as it fires for anything with Mozilla and port 443 and even IE11 has a user agent containing Mozilla: 

REQ.HTTP.HEADER User-Agent CONTAINS Mozilla || REQ.HTTP.HEADER User-Agent CONTAINS com.citrix.browser

Most probably it is only required to keep com.citrix.browser? 

Original:
Deploying Netscaler globally in a corporate environment.

Use XenMobile WorxWeb application to achieve the following:

  • Access to internal http applications (SSO)
  • Access to internal https applications
  • Access to Internet http web sites via a Proxy
  • Access to Internet https web sites via a Proxy
After many hours we got this to work correctly and this is how:


  • FullTunnel for WorxWeb is a must, otherwise HTTPS via Proxy does not work
  • create a trafficPolicy for each requirement and a policyAction

This is a short summary of the 4 traffic policies:


intranet                - http, SSO          (filter on networks and port 80)
intranet-https       - tcp                     (filter on networks)
proxy-http           - http, proxy, proxy port, SSO (filter on port 80)
proxy-https          - tcp, proxy, proxy port (filter on port 443)


Citrix has many different setup possibilities but it's hard to find the correct to achieve what you want.

In this environment there are still some challenges:

  • multi-user active directory authentication
    • solved using a single LDAP policy using UPN to a Global Catalog Server
  • SSO issues with Proxy (407 Proxy)
    • UPN looks like \user.name@company.com and if you need only NTLM format this will not work
    • Citrix has a filed SSO Name Attribute and it actually works but setting it to sAMAccountName but this ends up with NETSCALER\user.name
      • This again can be fixed with some Session policies that match an active directory group that identifies the user as being part of a domain and then set the SSO Domain, but I have not yet implemented it.
      • The SSO Name Attribute could also be another attribute but I have not found one that is like the pre Windows 2000 displayed in dsa. And a custom attribute I won't propose.
    • Ultimately in this case proxy is used with authentication bypass
  • Kerberos SSO for internal web pages not yet configured

Here are the traffic policies necessary:

add vpn trafficPolicy HTTP-TP "(REQ.HTTP.HEADER User-Agent CONTAINS Mozilla || REQ.HTTP.HEADER User-Agent CONTAINS com.citrix.browser) && REQ.TCP.DESTPORT == 80" proxy-http
add vpn trafficPolicy HTTPS-TP "(REQ.HTTP.HEADER User-Agent CONTAINS Mozilla || REQ.HTTP.HEADER User-Agent CONTAINS com.citrix.browser) && REQ.TCP.DESTPORT == 443" proxy-https
add vpn trafficPolicy intranet-tcp "(REQ.IP.DESTIP == 2.10.0.0 -netmask 255.255.0.0 || REQ.IP.DESTIP == 10.0.0.0 -netmask 255.0.0.0 || REQ.IP.DESTIP == 5.1.12.0 -netmask 255.255.255.0)" intranet-tcp
add vpn trafficPolicy intranet-http "(REQ.IP.DESTIP == 2.10.0.0 -netmask 255.255.0.0 || REQ.IP.DESTIP == 10.0.0.0 -netmask 255.0.0.0 || REQ.IP.DESTIP == 5.1.12.0 -netmask 255.255.255.0) && REQ.TCP.DESTPORT == 80" intranet-http

bind vpn vserver vpngateway -policy intranet-http -priority 40
bind vpn vserver vpngateway -policy intranet-tcp -priority 50
bind vpn vserver vpngateway -policy HTTP-TP -priority 100
bind vpn vserver vpngateway -policy HTTPS-TP -priority 110

add vpn trafficAction proxy-http http -SSO ON -kcdAccount NONE -proxy 1.2.3.4:8080
add vpn trafficAction proxy-https tcp -kcdAccount NONE -proxy 1.2.3.4:8080
add vpn trafficAction intranet-tcp tcp -kcdAccount NONE
add vpn trafficAction intranet-http http -SSO ON -kcdAccount NONE

2014-10-27

ntfs-3g legacy: how to get rid of it without having system preference pane

somehow I had some legacy setup of ntfs-3g and this is how I got rid of it:

sudo rm -r /Library/PreferencePanes/NTFS-3G.prefPane
sudo rm -r /System/Library/Filesystems/ntfs-3g.fs
sudo rm /sbin/mount_ntfs-3g /sbin/newfs_ntfs-3g
sudo rm /usr/local/bin/fuse_wait /usr/local/bin/ntfs-3g /usr/local/bin/ntfs-3g.probe /usr/local/bin/ntfs-3g_daemon /usr/local/bin/ntfscat /usr/local/bin/ntfscluster /usr/local/bin/ntfscmp /usr/local/bin/ntfsfix /usr/local/bin/ntfsinfo /usr/local/bin/ntfsls
sudo rm -r /usr/local/include/ntfs /usr/local/include/ntfs-3g
sudo rm /usr/local/lib/libntfs.* /usr/local/lib/libntfs-3g.* /usr/local/pkgconfig/libntfs-3g.pc
sudo rm /usr/local/sbin/mkntfs /usr/local/sbin/ntfsclone /usr/local/sbin/ntfscp /usr/local/sbin/ntfslabel /usr/local/sbin/ntfsresize /usr/local/sbin/ntfsundelete
sudo rm -r /usr/local/share/doc/ntfs-3g /usr/local/share/doc/ntfsprogs
sudo rm /usr/local/share/man/man8/libntfs-gnomevfs.8 /usr/local/share/man/man8/mkfs.ntfs.8 /usr/local/share/man/man8/mkntfs.8 /usr/local/share/man/man8/mount.ntfs-3g.8 /usr/local/share/man/man8/ntfs-3g.8 /usr/local/share/man/man8/ntfs-3g.probe.8 /usr/local/share/man/man8/ntfscat.8 /usr/local/share/man/man8/ntfsclone.8 /usr/local/share/man/man8/ntfscluster.8 /usr/local/share/man/man8/ntfscmp.8 /usr/local/share/man/man8/ntfscp.8 /usr/local/share/man/man8/ntfsfix.8 /usr/local/share/man/man8/ntfsinfo.8 /usr/local/share/man/man8/ntfslabel.8 /usr/local/share/man/man8/ntfsls.8 /usr/local/share/man/man8/ntfsmount.8 /usr/local/share/man/man8/ntfsprogs.8 /usr/local/share/man/man8/ntfsresize.8 /usr/local/share/man/man8/ntfsundelete.8

2014-10-14

Excel: Conditional Formatting of cells that contain question mark as text filter (use tilde question mark)

~?

If you want to color code some excel cells (conditional format) based on text value and the text value is a question mark, then use tilde question mark, otherwise it will match any character!

Google Missing functionality that I would like to add: News aggregation based on some sources

I believe that many people have their preferred news sources, based on a number or criteria.

Currently I use feedly and google+ and am disappointed in that it does not really help me use my time more wisely. I spend too much of my thought capacity and stress my eyes just to scroll through the messages of about 25 news sources.

No personal favorisation.
No news aggregation.
No multi language news aggregation.
No timeline and link to origin.
No peer rating and quality assesment.
No writer rating.
No suggestions for more news sources based on topic and some of the above points.
No auto translation with quality of translation rating for languages that I don't speak or do not speak good enough.
No theme based history and timeline of worthy articles based on some of the above points.
No partial article insertion, side by side view.
No resource aggregation (besides text). Show all images, audio, videos related
No video dissection and transformation to text, same goes for documents

Summly.com seems to have addressed certain problems, but I was not using it. Only after Yahoo released News Digest, did I start using it and stopped soon thereafter as it was showing content not really relevant to me and my liking or peer liking.

One of the worst usually is that all players ignore the fact that many people really try to speak more than one language and are actually interested in more than one place.

I've tried to use Google News and failed, tried to use Google Alerts and failed, tried MSN, yahoo and many others (Google Reader, Current, Flipboard, Pulse). Also I have a hard time finding articles that I read in the past and where, Apple's reading list does not really help, Pocket and others also not really.

I believe this can be done and would improve everyone's live. I would like to spend time building it (requirements are google computing resources, google APIs, a new computer language for people that don't like to code what trillions of people have already built, some clever people with drive).

No personal favorisation.

I like TheVerge, Wired, Heise, Caschys Blog, NYT, Cult of Mac, some others only partially, while others only very rarely (such as CNET).

I also do like about 150 Topics. (Summly seems to have addressed this, shame that I was not able to test it).

No news aggregation.

Same story, multiple languages, from all preferred news sources, flexible display start with highest rated writer, news source, most complete story, peer rating, complement by others, if only referencing original story outside of news sources link to original story and inserts bits and peaces by others (visible), maybe see where the stories divert, try to judge deviations and backup this with more data.
Offer more news sources if multiple factors are in favor, allow for my own rating (others can follow, i.e. benefit from my rating if they choose), allow for errors in my judgement, sometimes ignore my judgement.

What is the same story, what is a complete story, what is a diversion. Show visibly allow for MindMapping style of navigation drill down and up, move to the side etc.

No multi language news aggregation. 

I like stories in English and German, but I have tried to read some in Italian and French, did not even try to read Mandarin (my 1 year training does not really help) and other languages will have good news sources. the stories of my favorite languages must be combined.

No timeline and link to origin.

When showing a story, show the timeline of where the news originated, show time and date of the news article published allow display based on that, show origin of parts of news. Visibly.

No peer rating and quality assessment.

If Steven Levy points out an article to read, I'm more likely to read it than if it just is some article that is in some RSS feed of my non favorite writer and news source.


No writer rating.

Again, there are writers out there that I really enjoy reading.

I enjoy Caschy, but not some other writers on his blog, I enjoy Walt Mosberg, David Pogue, Steven Levy, and hundreds of writers that I cannot name from NYT, TheVerge, Wired, local news...


No suggestions for more news sources based on topic and some of the above points.


No auto translation with quality of translation rating for languages that I don't speak or do not speak good enough.

Add stories from languages that I don't speak, translated and if available have some rating of the quality of the translation also allow me to dislike certain translations, allow other users to aid in the process of improving the translation.


No theme based history and timeline of worthy articles based on some of the above points.

No partial article insertion, side by side view.

No resource aggregation (besides text). Show all images, audio, videos related


No video dissection and transformation to text, same goes for documents

There are videos out there that cover the same story, but I don't have the time to watch all the videos or am not capable of, but would love to get the bits and pieces if they add to the content or to compare to the written word stories and then judge if it is worthy to read. Segment videos, display images of the relevant parts that add visually to the story.

Oops, time flies and I have to work on something else now, let's hope that I will be able to work on the many ideas I have.

2014-10-12

HTTP/1.1: Still trying to understand, but now there are a set of new RFCs to the rescue

The IETF just published several new RFCs that update HTTP/1.1:
These documents make the original specification for HTTP/1.1 obsolete. As a HTTP geek, this is a big deal.

This is from:

Logitech K480: Disappointment on first touch (It's a play toy)

After reading the first reviews I was sure that logitech has made further advancements and produced a high quality product that is truly usable at the best price possible.

But:

- It's heavy
- It's plastic
- It feels cheap
- The keyboard spacing is not good
- And typing on the keyboard feels like your baby toys keyboard


2014-10-07

Excel: Hide content of cell

http://office.microsoft.com/en-001/excel-help/hide-or-display-cell-values-HP005255043.aspx

  • To hide all values, click Custom in the Category list, select the existing codes in the Type box, and then type;;; (three semicolons) in the Type box.

2014-10-01

How can I store my Wireshark captures on iCloud drive on a MAC OS X 10.10? Works for dropbox and google drive.

Wireshark 1.12.1 cannot save captures to iCloud drive?

Don’t know what path to browse or type in, anyone?


Most probably some X11 limitation not to be able to go to or some strange path?

2014-09-27

Learning: I actually prefer animated powerpoints. Looking for the best solution to explain tech to me and others using?? #HELP

So far I have seen some perfect examples of training Material from Infoblox that uses Adobe something.

Now I need a quick way to animate processes, show some tech concepts and compare with others.

Trying to find out the best tool that easily solves the issues.

Maybe someone can help?

The internet is full of information, but the quality of information is really not good.

Hopefully this blogger.com will get better over time to actually do animation in here!

Apple iPhone 6 Plus: Very sad but I'm not going to buy it

I always like to test out new technologies, at least in the past. Time is more scarce than ever.

My iPhone 5 is doing a great job, especially the camera that I use almost every day for just about anything, except naked selfies. But that might change if I have could save a doctors visit by just doing a ButtTime or so.

In my country the iPhone 6 launch was yesterday, albeit telling everyone of going at 4am to the Apple Store to queue, I did not show up.

During lunch break I went to a few tech shops around and played around with the 6 and 6 plus on display.

The looks don't convince me at all.

The camera and pictures I took don't really amaze me, had some troubles with auto HDR and flash and the speed at which the camera was able to take the pictures in low light. Nothing I really need.

Worst of all the size of the 6 plus did not convince me. I thought I can replace my iPhone 5 and the iPad mini retina with a single device. I most often use the iPhone and not the iPad but the iPhone is too small. The iPhone 6 Plus is not really much better, but why?

It's the screen ratio. I read a lot and I would've preferred an wider device than tall, so that I can read the PDFs in full size. iBooks is terrible with zooming in on a certain level and keep that level while paging through. Also rotating the phone is not really great as again the ratio of the screen is not ideal.

This is the same as the new 4K 28" screens on the market, the are rather wide and lack a lot in tallness. They don't really work for me.

Also if you take those gorgeous photos and the device displays it quite small with big black bars?? Zooming in manually is again a pain to page through the photos.

So, I save the money and wait what next year or in two years will come around. Most probably I can get a superb Mac Book Air for the same price as the 6 Plus 64GB version (here it costs $ 1070). My iPhone needed a couple times replacement and even the current one has a weak spot, but for a device of over $1000 I will definitely have more complaints.

#Bendgate did also contribute to my decision, especially the post Weakspot theory shows Bendgate’s not quite dead yet.

Currently you can get a Nexus 5 for $300. But I really don't like it. But what I mean is that Apple should have a phone a la iPhone 5 S2 for $450 (not the c).


2014-09-09

#Apple fails to amaze: Most of the things announced today fail to amaze and this is not the first time

There has been a time where Apple has truly amazed. That was the time they actually solved real world things.

Now today they fight on so many different arenas that they fail to amaze. 

Once they did have cool names, iMac, iPhone.
Once they had cool hardware and accessories, even if you could not use them (The Puck).
They still make the best laptops (Mac Book Air) but they fail to really innovate in that space.

Where they stand out today is iOS 8 and OS X Yosemite, truly amazing! 

So today's product announcements:

The Apple Watch, 

sounds boring. It's like the iPod Nano on steroids. 

(Actually the only thing I missed on the iPod Nano to make it a real smart watch, was the Bluetooth 4, so it could connect to the phone.)

I personally don't want to wear a watch and if I do I prefer some others. Most probably Apple should have made sensors and apply it to any watch, kind of a watch Kit. You can purchase whatever watch and we will make it be a smart watch (OSD, sensors). And for all the people that don't want that, we have a patch. Just Apply it to your left breast and you're good to go.

The iPhone 6 and 6 Plus,

 is like a 5 S Mark 2. (everybody else has a bigger phone), Nokia had already the OIS, lame that the iPhone 6 will not have it. NFC? Everyone has it, right?

What are the things Apple solved in the past:

Computer                  - iMac, later intel based to be able to run Microsoft OS
Notebook                  - Mac Book Air
Wireless Router        - Apple Airport Extreme
Keyboards                 - Wireless and cable based keyboards
TV Box                      - Apple TV
Software Suite           - iLife
OS                             - Mac OS X
Phone                        - iPhone (iOS)
Backup                      - TimeMachine

What are the things that would have truly mattered (this list is not ordered to any priority):

Waterproof and unbreakable (and small fee to replace if broken) - You shouldn't have to worry all the time
-------------------

Currently: It is a big worry, almost any day in every situation.

Nano coat and more durable or make it extremely easy and cheap to replace parts.



Siri - to make life easier
-----

Currently: Fails, only use it once a month or less, sometimes try to use it and keep being disappointed.

In many cases an interface is not needed if Siri would be great. Apple should also create some wireless knob where I can whisper my commands and get audio feedback. Kind of like a hearing aid. 

- Getting Siri to work without Internet. Or many reoccurring personal tasks.
- Getting Siri to really understand and learn, if only in english. I personally would love to be able to talk in my dialect and two more languages.

Battery - you should need to worry less
---------

Currently: I always have to worry about having enough juice to get through the day. 

- Battery live! Be able to use the iPhone with all things running for 24 hours straight. Today if you use GPS Navigation the phone looses 1% a minute or more. This should be 24 hours straight, maybe first 12 hours straight. Implement so more clever ways to have a backup buffer battery to access your tickets, Apple Pay with no real battery left.

- Wireless charging in less time


Screen - dynamically resizable, always readable (bright sun)
---------

Currently: The iPhone is too small the iPad mini is a little bit to big, but to small to work with


Global Sim - Add multiple SIMs to your phone
--------------

Many people I know still face this issue and use other brands that solve it elegantly. Real innovation would have been to be multi SIM. The issue is not going away that soon.

Affordable  - You have a family with a few kids and want to be able to give them something
-------------

Currently: I will never be able to buy an iPhone and an iWatch (sorry, Apple Watch (that's ugly)) for the whole family.

Apple should keep the product cycles but focus on delivering basic needs devices at the best price possible. Today that would be the 5c at $150 no contract.


Storage  -- Be able to store at market prices
---------

iCloud is double the price of Google Drive space, especially the 1 TB is 20 a month instead of the 10 at Google. That should not be!!


Camera -- We need optical zoom capabilities
----------

Every time I want to quickly take a picture of the landscape or the moon or some other things, the iPhone fails me because the detail I wanted is incredibly small. I would not mind to have an attachable optical zoom that does not cost a fortune, but comes from Apple. Even better would be 1/3 of the phone sized sensor (but maybe I'm wrong and you really need the lenses).

2014-08-07

Mac Book Air Mid 2013: Mavericks: after some upgrade (was done automatically) reboot did not work !!! found solution for me

  • using recovery and repair disk and repair permissions did not help.
  • selecting boot device did not help.
  • booting into safe mode (shift) did not work.
  • booting into single user mode (CMD + S) worked.
  • booting with verbose mode (CMD + V) stopped loading at:

var/db/BootCaches.playlist 2:no such file or ...

searching with google I found an entry which had the perfect solution for me.

Boot single user mode. CMD+S.
Follow instructions to mount disk in write mode.
Delete etc/launchd.conf
and reboot.

That worked like a charm.

I almost wanted to reinstall from Time Machine Backup. Many thanks to cgomezsantos!!!!!!

https://discussions.apple.com/thread/5737729



2014-07-13

iOS 8 Beta: Downgrade to 7.1.2 for support to exchange my iPhone.

My iPhone screen has an issue where there is a yellowish border around the whole screen and inside this 2 to 3 mm border there is some blueish border.

As I'm currently on iOS 8 Beta support told me to downgrade in order for the telephone to be serviced.

So here is the description I followed and worked flawlessly.

http://www.imore.com/how-downgrade-ios-711-ios-8-beta-iphone-and-ipad


2014-07-12

OS X: How to create a Mavericks install medium

http://osxdaily.com/2013/10/23/create-os-x-mavericks-install-drive/

2014-07-09

Apple Maps: Points of interest or delusion?

i have read like most others that apple maps improved a lot, so I decided to give it a try.

9 out of 10 points of interest where I live were incorrect. Location wrong. Businesses not existing anymore, new businesses (2 years of age) not listed.

Extremely frustrating.

Also the satellite imagery is of low res quality and outdated.

But the map's itself have improved. Only to a certain degree.

To fix the issues of my surroundings I estimate 2 hours.

Well I will try again in 1 to 2 years time. So long.

2014-06-26

Active Directory: Export search results from Active Directory Users and Computers (dsa.msc)

Now after you have made a search, it won't let you just select all and then copy paste or so.

You need to define a saved search, i.e. create a query, define as before custom search, name=*proxy* as ldap query and finish.

Then you can execute the search and use export list.

Active Directory: Search Active Directory Users and Computers (dsa.msc) using wildcards

Example find everything with *proxy* in name:

Open dsa.msc
Select the domain or switch to the domain you need
Click Action -> Find ....
Click in Find and select Custom Search
Click on Advanced Tab
In the entry field "Enter LDAP query:" type name=*proxy*
Click on Find Now

2014-06-23

Windows: Quickly create large file for test

C:\test>fsutil file

---- FILE Commands Supported ----


findbysid               Find a file by security identifier

queryallocranges        Query the allocated ranges for a file

setshortname            Set the short name for a file

setvaliddata            Set the valid data length for a file

setzerodata             Set the zero data for a file

createnew               Creates a new file of a specified size

queryfileid             Queries the file ID of the specified file

queryfilenamebyid       Displays a random link name for the file ID


C:\test>fsutil file createnew

Usage : fsutil file createnew <filename> <length>

   Eg : fsutil file createnew C:\testfile.txt 1000


C:\test>fsutil file createnew test1MB 1048576

File C:\test\test1MB is created


C:\test>fsutil file createnew test100MB 104857600

File C:\test\test100MB is created


C:\test>fsutil file createnew test1GB 1073741824

File C:\test\test1GB is created


http://tweaks.com/windows/62755/quickly-generate-large-test-files-in-windows/

 

2014-06-05

Apple Rant #9: A lot has changed but still far away -> Vision: All data is one, Apps apply structure

Some months have passed and Apple announced some surprising features that have the potential to bring us further.

But I believe that we are still not where current technology could bring us actually.


Vision:

All data is one. Everything is an information and the purpose of a program is just to represent the one data in whatever representation one chooses.

The topic is quite complex but I try to give a small example:

Calendar

  • Today I have to create calendar entries and specify certain parameters.
  • Most often the program does not allow to use whatever information is already existing, but you will need to copy partial information into this calendar entry. Each Program might have different capability.
  • What one needs is the capability to use all data and structure a calendar entry around this with possible additional information to clarify things.
  • It is not possible to add just any data, the size is limited as well as is also the type of the data.
In my vision this does not matter, data is one and the program is just the viewer that display data and to it's capability. Some program will show what it can while the rest of the data is accessible but might be garbled, another program might add a visualisation or other representation that no one else can do but all operate on the same data.

Apple has added two critical pieces to make it work in 2020. One is that it is opening up the data storage for all programs (via iCloud Drive) and the 2nd is the expansions.

One program is extensible, i.e. you can use existing capabilities and extend very easily what has already existed and not try to reinvent the wheel (have a look at the million PDF viewers out there).

If some clever guy creates something marvelous new he can now actually work with the data and not having to copy data. But here is something critical missing. The clever new guy must be able to add data and the old program should instantly benefit from it in some way, whatever way. One must be able to see that there is more data than the original program can correctly display and allow this data to be viewed via an extension (which can be the other new guys program or whatever possible, even just plainly display compact binary information).

Everyone talks big data (not me, I don' t really understand it). But I easily understand by experience that one should have unlimited access to all data and use whatever clever algorithm to try to make sense for whatever purpose one might be looking at data.

Today's operation systems and application programs are archaic and limit us in all our capabilities, we have to spend so much time in trying to work around the limitations or to try to understand what someone has deemed the correct way to work with data. 

As in the calendar entry, allow anything, everything but as soon as it has certain properties make it appear as a calendar entry. Whatever that might be. Be extremely open about filtering capabilites and allow any program to access data which then tries to show to the end user what it can. Allow it to alter what it can, but in such a way for everything else to just continue to work.

Let's have google web history for everything one does and not only by trying to fill in diary items or posting to your timeline. It should be done automatically with some neural networks based (as you can easily see, I have no clue about what I'm talking) learning algorithm to decide what one entity most probably wants to see at each point in time.

One data, limitless possibilities make it now.

Apple as have many before might go into the right direction but the move is not bold enough for me as I want to be benefiting from this still in my lifetime.

Currently I use about 5 programs for calendar and about the same number of programs for PDFs. This has to go. not the number of programs but that they operate on the same data and not having either multiple copies or different data storages for partial information.

Don't forget the limitation of almost all calendar programs to put tasks directly into your calendar and not somewhere near the calendar. Outlook 2013 can still not do it, from 2007 or 2010 you could place it below the day, which is not within the day.

Also reminders in iOS are not displayed in the calendar on the day.......

Google annoyances: Copy Past images (blogger), Translate web page (chrome)


As it turns out many tasks one thinks should be achievable and possible with actually no tinkering, simply fail.

As it is with the following 2 points:

  • OS X Screenshot to clipboard and then past directly into blogger.com
What makes this really bad is that while you edit the entry, you can actually copy paste the picture into the entry field, but once you publish and view it the pictures have ? placeholder first and maybe are gone later with no indication. I really don't like that Blogger does not have WYSIWYG interface. The editing capabilites are so 2011. Most probably an indication that it is soon another product on death row?
  • OS X translating a web page in German to English
Chrome identifies the web page to be in German and I see on the web page all german text, but applying the translate option does not change a single displayed character. Very strange but ultimately a fail.

VoIP: OS X: App Telephone: Making Voice calls using SIP application Telephone and FirtzBox 7390 (OS 06.05)


Configuring a MAC SIP Software to use FritzBox from AVM is a no-brainer.

Today I was testing a couple of new features of 10.10 and iOS 8 and suddenly I felt the urge to finally try to make phone calls through our quite recent change in telecommunication. 

Here every provider is getting rid of the classic analogue telephone and all calls are through either DSL or Cable.

Interesting enough my provider uses VoIP (G.711 in both directions) and they provide me with one of the most flexible platform on Earth -> AVMs 7390. This box does nearly everything possible (not true) and it learns constantly new stuff. (It's not the fastest and the GUI is not really a strong point. But they try and they have a very strong technical background and expose more details to a regular user than most others; or they did about 10 years ago).

It's a two step process:
  • Create a telephone config on FritzBox
  • Create an account in your SIP software of choice

First you need to create a WLAN/LAN phone on FritzBox (I could not manage to get the GUI in English, not even in chrome using the translate option :((

  • Log into the box using fritz.box
  • Click on Telefonie
  • Click on Telefoniegeräte
  • On the right side Choose Neues Gerät einrichten
  • Choose the first option "Telefon" and click on Weiter
  • Choose LAN/WLAN 
  • Specify a Name for your Device and click on Weiter
  • Now it will tell you the registrar (most probably is fritz.box)
  • It will show you your user name, which is automatically selected (in my case 622)
  • Choose a password and click Weiter
  • Choose your telephone number that you want your calls to originate from and then click on Weiter
  • Choose which numbers to pick up (usually any) then click on Weiter
  • It will show you a summary and then you have to click Übernehmen to finish configuring

Now to the MAC OS X Config:


Ok, I was looking for a free SIP Software, which I found in Telephone. After installation from AppStore on 10.10 I started it and it wanted 4 parameters:





Full Name: Whatever you like
Domain: Must be fritz.box (or whatever you have configured you FritzBox to be)
User Name: This is the Telephone (This is created was created on the FritzBox just before)
Password: Password specified for the telephone on the FritzBox

Telephone has a simple interface with access to your address book and it just works. Done within a few minutes and worked the first time.


Here is the page from AppStore. He should actually have charged .99 cents.

2014-05-08

Excel: =TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," ")))

Quite often the issue is a non-breaking space - CHAR(160) - especially from Web text sources -that CLEAN can't remove, so I would go a step further than this and try a formula like this which replaces any non-breaking spaces with a standard one
=TRIM(CLEAN(SUBSTITUTE(A1,CHAR(160)," ")))
Ron de Bruin has an excellent post on tips for cleaning data here
You can also remove the CHAR(160) directly without a workaround formula by
  • Edit .... Replace your selected data,
  • in Find What hold ALT and type 0160 using the numeric keypad
  • Leave Replace With as blank and select Replace All

2014-05-06

Google: Play Music: Can it be on iOS that I cannot select an entire compilation album (various artists) to play in its entirety and correct order?

Update: Short term solution is to search in library for the title of the compilation and then select more songs on the right side and start to play the first. But the order of the tracks is not correct. Not fun though. G
iving up, switching to Spotify Free going late night jazz...


Just uploaded another 2 CD compilation and started to play on chrome after upload.

Listen now, suggests this entire new album for me to listen. Great.

But then I want to switch over to the iPad Mini and I fail miserably!! The listen now only contains the 42 individual songs listed with each artist and if I go library and select album I see 42 individual songs with different artists??????

What am I doing wrong?

Easy right, works out of the box. nope.

Google Rant #2: I sure hope that google+ shares the same fate as ... what was the name of the tool they decided to shut down?

We live in the today and today is 2014 but we're still being trapped in a loop. We have seen and had almost everything back in the day. There seems to be only marginal improvements in tech. Most mundane tasks are still the same and the world only seems more complex and feature driven, hailing every new not really major breakthrough as the holy grail.

Today was the announcement that google maps gets some advanced features, that all my old world tech had for some years. Most often I don't use it and when I want to use it it fails me, such as when I took the wrong lane and had to drive for 30 minutes more just because of the lane information not up to date. If I only would have used my brain, not trying to make the tech work for me.

About 20 years back I was typing on some solaris machine with a text editor that was more capable than blogger.com today. (There is no real wysiwyg ;().

And I was really fast, most of the time as there were the same kind of bugs in Software as there are today, such as using Word for Windows and it crashing on me, same as today with Word 2013.

So far this blog entry is quite useless, just adding not any good information to any cause.

Ok, here's what I want to say.

Google please kill Google+ as you did with so many Buzz tools before, it's waisting my life. Try to share a picture to your Mom without it being added to your already cluttered screen. Everytime I want to look at my circles I see people that I don't want to see, the suggestions come up every single time. And I though Facebook was bad! Are they so desperate to get people to link each other and try to convince the rest of the world that they need to join. So we all spend useless brain power to either try to identify the people they want us to put in circles or is there some socialising experiment running in trying to match up people? I don't know. What I know is that the really got it wrong and they have to fix it by killing the product. The focus on simplicity and excel!

I want photos, documents, all information possible. Including my circles. The idea of circles and visualising is perfect, but it was only a showcase is now completely gone. Why not have all messages visualised by your circles and let the nodes expand on topics and filter dynamically what you want continually follow.

But this blog, stream, lifeline style with the singular long almost endless list is not how my brain works. I need a tree a mind map with different roots, with immediate hiding, moving, dynamic reorganisation (yes using the circles or some form).

Cut some slack, get rid of the unnecessary and and simplify!

I want the circles to be my starring point, hovering over a whatever level of circle to see that items (can be person's) stories (or posts), but not anything else. Just give me the parallel thread or indicator of more and I will choose to hover over it or not to reveal more if I'm interested.

Same can be said of the photos. I have now 70'000 photos uploaded to G+ and I cannot really make use of it. Search is not working for me, and worst of all on my Nexus 7 there are more #AutoAwesome Movies than when using Chrome on my Mac?

Stop this madness now, as you have done before. Get new leadership, simplify and done.

G+ today is like twitter, Facebook and lots of others meshed together and I'm still held at bay in a form that I had hated 20 years ago.

Google has a lot of potential but it did not manage to get me personally to a different level of automation that I dream of. And it's seems it is like always, wait another 20 years and you'll see that there will be major breakthroughs, right? I say wrong. I would still prefer my Palm Pilot and that everyone is using it and I can just been information to anybody I care. (Can you believe that to this day humans still print little paper cards to exchange useless and outdated information! Happens to me every week).

2014-03-23

Mac OS X: Pages: How to use an image in the background

Why is this function so hard to find and define.

Choose Arrange > Section Masters > Move Object to Section Master (from the Arrange menu at the top of your computer screen).

This information can be found in the online help.

Place objects in the background

You can add text, watermarks, logos, or other images that appear in the same place in the background of every page of your document. These repeated elements are called master objects.
If your document is divided into sections, you can add different master objects to each section.

Add a master object

  1. Add an object, text, or image to any page in the section, then drag it where you want it to appear on each page.
    To add an image, click Media first.
  2. With the object still selected, use the Opacity slider in the Style pane of the Format inspector to change the object’s transparency.
    The more transparent you make the object, the more it fades into the background behind the document content.
  3. Choose Arrange > Section Masters > Move Object to Section Master (from the Arrange menu at the top of your computer screen).
    The object is moved to the background of every page in the section.
Master objects are locked (made unselectable), by default.
SEE ALSO

2014-03-20

Wireshark: DNS: dns.time misleading

From a windows machine with 2 DNS servers configured via DHCP:

packet 1: 44.667  to DNS1
packet 2: 45.667  to DNS1
packet 3: 45.667  to DNS2
packet 4: 46.009 response from DNS1

all of the 3 packets, i.e. DNS Queries share the same ID (should this be?)

Wireshark calculates the time difference (dns.time) between packet 2 and 4 and not between 1 and 4!

So when you create a graph, the time difference looks ok, i.e. some 300 ms but actually it was 1300 ms.

Windows per default will resend DNS queries to all configured DNS servers after 1 second! That is packet 2 and 3.


  • Why is the ID the same? Is this a must or a bug?
  • What can I do to get the real time difference?


This is where I got the info on how to graph dns.time:

http://ask.wireshark.org/questions/3678/dns-transaction-latency

I use dns.time AVG(*) dns.time and Dot.


2014-03-11

IPAM: Infoblox: replacement for ibcli

https://github.com/slchorne/nimob

mscorsvw.exe *32: http://blogs.msdn.com/b/davidnotario/archive/2005/04/27/what-is-mscorsvw-exe-and-why-is-it-eating-up-my-cpu-what-is-this-new-clr-optimization-service.aspx

http://blogs.msdn.com/b/davidnotario/archive/2005/04/27/what-is-mscorsvw-exe-and-why-is-it-eating-up-my-cpu-what-is-this-new-clr-optimization-service.aspx