Thursday, August 25, 2011

Static IPv6 on Solaris 10

I tried to avoid it since I'm retiring these Solaris boxes soon, but I had to put static IPv6 on Solaris 10 so I could troubleshoot. So here's how to do it, and it's not quite the same as Solaris 9.

First, get your baseline.

sudo ifconfig -a6

sudo ifconfig -a

netstat -nr

Start with loopback, the easy one.

cd /etc

sudo touch hostname6.lo0

sudo ifconfig lo0 inet6 plumb up

Move on to an actual interface, changing eri0 to your interface as needed. This is a change from the Solaris 9 approach!

sudo vi hostname6.eri0

This time, the /etc/hostname6.eri0 file should contain 'addif ipv6:addr:ess/64 up' – not just the IPv6 address/prefix, but the extra directives as well.

Now make it so!

sudo ifconfig eri0 inet6 plumb up

sudo ifconfig eri0:1 inet6 plumb

sudo ifconfig eri0:1 inet6 ipv6:host:addy/64 up

Add a route to the default router, and put its address in that file to survive reboots.

sudo route add -inet6 default ipv6:rtr:addy

sudo vi /etc/defaultrouter6

You'll want ndp running too.

sudo /usr/lib/inet/in.ndpd -a

Check your work against your baseline.

sudo ifconfig -a6

sudo ifconfig -a

netstat -nr

OK! That seems to work for now.

Tuesday, August 16, 2011

Chicken

On my Mac, I upgraded from Chicken of the VNC to Chicken (and you should too) because it works with IPv6 connections. It's also a very easy VNC client.

Tuesday, August 9, 2011

Color Your Mail

By using the number keys (zero to five) in Thunderbird (my preferred mailreader) I can easily assign different colors to the mails in the inbox. I’ve made a little system of my own where one color means urgent, another “less important todos” and so on.

My mailbox is IMAP-based and through the magic of IMAP, the color codes even carries themselves between the different machines I use (and works within Apple’s Mail.app too).

It may not revolutionize your life, but it sure helps me just a little bit – each and every day

from Color code your mail « Netfactory

I used to use the IMAP tags to color-code my email in Thunderbird heavily, until we switched from good ol' IMAP to Exchange 2010. Even though this Exchange server has IMAP enabled (thank goodness!), Microsoft doesn't support IMAP tags, so my color-coded tags no longer show up in all of my Thunderbird clients.

That takes some of the shine off of Thunderbird. Add in its memory usage, and I'm trying Apple's Mail.app yet again. I'm now accustomed to messages being colored per-client, but I still wanted to color my messages without creating complicated Rules in Mail.app. Luckily, I found an old post:

If you want to color code your messages in the Mail app just press Apple-Shift-C to bring up the color palette. Select any color and you’re done.

Awesome! I may be able to take the leap this time!