So I thought it was time to add something useful again to my blog.
Working with something for work, I had to configure a FC4 box with multiple IPs on different subnets, binding them to a sub nterface (eth0:1, eth0:2 and so on)
When we first got everythng on, only the primary IP address were working (bound to eth0 and eth1). All other interfaces were resolving to the physical ESXi servers MAC address on the switch, which is no good. After looking around, I found out there wasn’t support for this, everyone was saying to configure a Brige, or NAT everything through the local machine, which would NOT work out in our situation.
So after thinking a bit, I remembered the other issue we had with older OpenBSD 3.8 machines and the native VIC driver which was making the machines randomly crash reporting an unsupported mode. Well the resolution for that was to shut down the guest, and add in ethernet0.VirtualDev = “e1000″ and ethernet1.VirtualDev = “e1000″ to the guest-name.vmx file. So I figured I would try this on the Fc4 machine too, figuring I couldn’t lose anything. Well, I didn’t lose anything, but I gained a working ssystem, with sub-interfaces!
So for all of those out there with weird networing issues on an ESXi (ESX as well) guests, try changing the network emulation from built-in VIC to intel e1000!
So I am browsing around my Fuze registry, just being bored, and I stumbled upon the registry settings to add/change the open/close sound effects (yea I probably could have googled for it, but its more fun to find it yourself!).
After finding it, thinking back to what I said when my friend Chris got his phone with open/close sound effects, “dude, I so want that, Id make it play the transformers sounds!”
Well, now I have a phone that supports it, and well, I did it!
You will need 2 things. The Zip file, and a registry editor for Windows Mobile phones.
The ZIP file (Contains the sounds and a .reg file for importing it)
Most of your friends are from the internet, and the only time you see them is when you drive six hours to a meetup or convention. You find it much easier to communicate with people on the internet rather than in face-to-face settings, and you never really feel comfortable in social situations. But you’re a god in some sphere, be it World of Warcraft, Second Life, some message board or a “scene.”
So, we all see them, we install them because we think they are very important, which they are.
Until you stumble accross this, like myself and a friend at work did today.
We were investigating some issues with a server acting wonky (we then realized it was broken into), but in the midst of investingating, we realied there was a c:\windows\ie7\iexplore.exe file, which ran….and looks like ie6. Aparrently, its the IE6 skin, with the IE7 rendering engine. Normally IE7 is ran from c:\program files\internet explorer\iexplore.exe.
So, out of curiousity, we did a file search for iexplore.exe….Woah, my friend had 12, and I had 31!
To top it all off, they all have different versions! So in reality, if you run your windows updates, someone can still use the old version unless you clean them up!
So I am sitting here, upgrading my servers (mostly gentoo) and on the world (full system) update, its telling me it wants to install a different version of the kernel.
Let me jump back for a second. Gentoo has very good customizations on what you can do, and for instance, I originally installed the gentoo-sources-2.6.26-r1 on one of my servers, and told it not to upgrade anything newer. Everythings been going fine, until today, when its like “oh, you can install 2.6.25-r9!” But wait, thats a downgrade. So I tell Gentoo not to install anything older then 2.6.26-r1, and then it complains. “!!! Ebuilds for the following packages are either all masked or don’t exist: sys-kernel/gentoo-sources.” Well, whatever. So I undid those changes, and decide to remove “gentoo-sources” from the world file, which basically says that its installed. So now it works as intended. But if I go to install an application dependant on the kernel source, then it will try to re-emerge them. So I told the system that I’ve provided the software and specific version, which is basically saying “pretend its installed.” And it still works. So WTF
Long story short, if you use Gentoo, and its wanting to upgrade or downgrade the kernel, try removing gentoo-sources fromthe world file, but adding the exact version to the portage/packages.mask and portage/profile/packages.provided.
As a side note, on Fedora/Redhat/CentOS/YUM based systems, add a line stating “exclude=kernel*” to the /etc/yum.conf file (or the .repo files) and it will lock out kernel upgrades on those systems.
Once added, type source ~/.bash_profile (or ~/.bashrc)
This will parse the ~/.ssh/known_hosts file on login, and find any hostnames (but not IPs) and store them in a temporary variable. This variable is parsed to add tab completion to the ssh and scp commands.
To use, type ssh dan-[tab] and it will auto complete the domain (if it was previously listed in the known_hosts file!)
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-(+) s:+ a- C++ UBL++++ P+>++ L++(+++) E--- W++ N o K- w O M V-- PS
PE Y+ PGP t 5 X+ R tv b(-) DI D G e+ h+ r-- y+
------END GEEK CODE BLOCK------