Config snippets : Timezones for Cisco devices
One thing which came handy for me was list of timezones I can use on Cisco devices. That came very useful during NTP deployment. So, here is is… timezones available for use on Cisco platform.
One thing which came handy for me was list of timezones I can use on Cisco devices. That came very useful during NTP deployment. So, here is is… timezones available for use on Cisco platform.
Quick config snippet to setup external NTP server to synchronize time on Cisco IOS router.
labisr-01(config)#ip name-server 4.2.2.2 labisr-01(config)#ntp server 0.europe.pool.ntp.org Translating "0.europe.pool.ntp.org"...domain server (4.2.2.2) [OK] labisr-01(config)#clock timezone GMT 0 labisr-01(config)#
Once NTP server is set we can check status of it:
labisr-01#sh ntp associations address ref clock st when poll reach delay offset disp *~88.191.227.26 82.197.188.130 3 37 64 377 38.7 2.04 1.4 * master (synced), # master (unsynced), + selected, - candidate, ~ configured labisr-01#
labisr-01#sh ntp status Clock is synchronized, stratum 4, reference is 88.191.227.26 nominal freq is 250.0000 Hz, actual freq is 250.0000 Hz, precision is 2**18 reference time is D442C30E.7A93ED17 (22:58:22.478 GMT Mon Nov 5 2012) clock offset is 2.0449 msec, root delay is 71.69 msec root dispersion is 61.25 msec, peer dispersion is 1.36 msec labisr-01#
Here is how to turn Raspberry PI with Linksys WUSB100 v2.0 adapter and Raspbian into wireless access point. This might be handy for conference rooms where you have wired connection, but wireless signal is too low. Just quick setup on Raspberry, plugin the cable and you have wireless available.
apt-get install firmware-ralink wireless-tools hostapd bridge-utils
auto lo br0 iface lo inet loopback iface eth0 inet manual allow-hotplug wlan0 iface wlan0 inet manual iface br0 inet dhcp bridge_ports eth0 wlan0
Once network configuration is modified reboot Raspberry PI.
interface=wlan0 driver=nl80211 bridge=br0 country_code=PL ieee80211d=1 ssid=raspb3rry-wifi hw_mode=g channel=6 wme_enabled=0 macaddr_acl=0 auth_algs=1 wpa=2 wpa_passphrase=raspberry123 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP rsn_pairwise=CCMP
That will make hostapd daemon to start automatically each time Raspberry PI will bootup.
DAEMON_CONF="/etc/hostapd/hostapd.conf"
In order to have Apache2 started automatically after reboot use:
systemctl enable apache2.service
Recently I went through troubleshooting of Site-to-Site Layer-2 link. One of the things we did during troubleshooting of that link was checking interface statistics for interfaces which were connecting two geographical sites together.
Below quick overview how ot check and reset port statistics if required during troubleshooting process.
At least with Apple iOS 6 upgrade process didn’t cause headaches (like previous iOS’ upgrades :)). For those who wants to see what happenes with iPad after upgrade here are screenshots of welcome wizard which shows after upgrade is completed.
After upgrading to macOS Mojave you might experience following error when trying to run some command line tools like git, for example:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
To resolve that run those commands in Terminal:
sudo xcode-select --switch /Applications/Xcode.app sudo xcode-select --switch /Library/Developer/CommandLineTools
Issue should be resolved.
Some handy wmic commands which might be helpful when automating OS deployment:
wmic bios get serialnumber wmic computersystem get manufacturer wmic computersystem get model
Mailboxes created for conference rooms (on Exchange 2007 Recipient Type : Room Mailbox) by default has disabled auto accept for calendar appointments. That causes issue when people trying to book room as all appointments show as tentative and manual interaction/accept is required. In order to streamline process and make it more handy for people (in case nobody is assigned to control room bookings) you can enable auto accept feature, so all appointments will be accepted automatically. To do that use PowerShell:
Just released small app for Android platform. This app allows to decrypt type 7 password from Cisco devices as well as passwords from Cisco VPN profiles (PCF files).
Password which can be recovered using this app:
You can find app in Google Play: