simple code to grab wifi information