nbalonso.com

Blog Migration

| Comments

If you ever visited this site before you might have noticed a slight change in the looks of it.

I recently decided to move the blog to Octopress.

Initially it all started with a RapidWeaver template in a paid shared hosting; then I moved to a Wordpress and now to Octopress in Red Hat’s OpenShift.

The website is hosted in a free small diy cartridge with a custom install of Nginx, cached for free by CloudFare. All for just static content! so yeah speed :)

And here is a graphical view of the evolution over these years

The website has lost the built-in search capability but… meh

Create VNC Shortcuts

| Comments

If you want to create a shortcut where you can double click and launch a VNC connection, you can just modify this template and save it as servername.vncloc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>URL</key>
  <string>vnc://192.168.1.200</string>
  <key>restorationAttributes</key>
  <dict>
      <key>autoClipboard</key>
      <true/>
      <key>controlMode</key>
      <integer>0</integer>
      <key>isFullScreen</key>
      <false/>
      <key>quality</key>
      <integer>3</integer>
      <key>scalingMode</key>
      <true/>
  </dict>
</dict>
</plist>

View Extra DHCP Info

| Comments

When configuring services that are part of the DHCP offers, like PXE or automatic proxy configuration, it is very handy to be able to verify from the client side which options are we getting.

With this simple command you’ll be able to verify all the information the client received from the DHCP server.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
bash-3.2$ ipconfig getpacket en0
op = BOOTREPLY
htype = 1
flags = 0
hlen = 6
hops = 0
xid = 2351191707
secs = 0
ciaddr = 0.0.0.0
yiaddr = 192.168.1.29
siaddr = 192.168.1.96
giaddr = 0.0.0.0
chaddr = 40:6c:8f:b8:56:4
sname =
file = smsboot\x86\wdsnbp.com
options:
Options count is 11
dhcp_message_type (uint8): ACK 0x5
renewal_t1_time_value (uint32): 0x54600
rebinding_t2_time_value (uint32): 0x93a80
lease_time (uint32): 0xa8c00
server_identifier (ip): 192.168.1.1
subnet_mask (ip): 255.255.254.0
router (ip_mult): {192.168.1.1}
domain_name_server (ip_mult): {192.168.1.2, 192.168.1.3}
domain_name (string): NBALONSO.COM
proxy_auto_discovery_url (string): http://nbalonso.com/proxy.pac
end (none):