Skip to main content

Posts

Showing posts from March, 2011

Flush/Clear Windows host name to IP

Generally, Windows machine's host name to IP resolution is managed by NetBIOS. This is specially true for machines in a workgroup environment. There are cases where the NetBIOS name resolution on the local machine can get out of sync against other machines IP address and host name. This can happen when the machine has been  turned off for a few hours and  the IP getting reused. Since file sharing and any other network related activities in Windows commonly uses host name then this can get problematic if you need to access network shares. Now to fix this out of sync scenario, run the following command: nbtstat -R This should clear the local name to IP cache.

Changing hostname on OpenSUSE

When I installed openSUSE, the installer assigned a seemingly random name to the machine. As is the case with Linux there are many ways to do it. It can be changed graphically in openSUSE. To do so click on kicker  ( ), then select Computer  ( ), finally click on YAST ( ). Running YAST requires root (administrative) password, so for this screen supply your root password. Figure 1. Enter root password. Once root password is entered you should see this screen.  Figure 2. YaST Control Center Now click on Network Devices then Network Settings .From Network Settings, select Hostname/DNS tab. Figure 3. YaST2 Network Settings Supply new value for the hostname field, click on OK and you are done.

KDE menus goes blank

I am using OpenSUSE 11.3 with KDE 4.4. I changed hostname of the machine and noticed that the menus of KDE goes blank. The icons are still there and I can still see the description when I hover over the icons. Removing /home/.kde4 (or better yet backup the folder) and a reboot fixed it. Is it the right way of doing it? I don't know but I am back to business. Of course my customization where all gone.

Installing Adobe flash player in Fedora

Fedora 14 does not include Adobe flash player in their repository as it is non-free. To install the plugin for Firefox, Mozilla or SeaMonkey you have to do it manually. To do this go to http://get.adobe.com/flashplayer/ , select YUM for Linux. Download this to a convenient location, by default  this goes to /home/[user]/Downloads if you are using Firefox. Open a console and do: cd ~/Downloads su -c 'rpm -ivh adobe-release-i386-1.0-1.noarch.rpm' What we have just done is install the repositories file, if you check /etc/yum.repos.d, you should see adobe-linux-i386.repo. This allows Fedora update manager to automatically update our copy of flash player should new version is available. To complete this part we have to import GPG key, thus say: su -c 'rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux' Now to install the plugin do: su -c 'yum install nspluginwrapper alsa-plugins-pulseaudio flash-plugin' You can check if the plugin is working by hitting th