Skip to main content

Posts

Get IP address of the machine in Arch Linux

How to get IP address in Arch Linux? Well, it turns out to be easy: #: ip addr You should see something like: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo     inet6 ::1/128 scope host        valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000     link/ether 00:1f:c6:d5:32:4d brd ff:ff:ff:ff:ff:ff     inet 192.168.0.105/24 brd 192.168.0.255 scope global eth0     inet6 fe80::21f:c6ff:fed5:324d/64 scope link        valid_lft forever preferred_lft forever 3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000     link/ether 00:15:af:92:3e:8a brd ff:ff:ff:ff:ff:ff !Enjoy ts

Cisco VPN client failed to connect on Windows 8

I tried to connect to a remote location using Cisco AnyConnect VPN Client (v 2.2.0140) using Windows 8 Release Preview but failed with error message "The VPN client driver has encountered an error." Does this indicates that the client application is not compatible with Windows 8, at least for now? There is a workaround though. Following are the steps to make it to work. Open Registry Editor (like type regedit.exe). Navigate to  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\vpnva Locate key DisplayName , like mine shows  @oem3.inf,%vpnva_Desc%;Cisco AnyConnect VPN Virtual Miniport Adapter for Windows Change it to  Cisco AnyConnect VPN Virtual Miniport Adapter for Windows Close then open Cisco AnyConnect VPN Client. Retry to connect. It should work from here on. ~ts

ERROR: database disk image is malformed in Fedora 17

Got a spanking brand new Fedora 17 install, it looks a lot different from Fedora 16 on the surface which is a welcome change, quite refreshing actually. Tried to do a software update but instead got the following error message: ERROR: database disk image is malformed  Seems like my rpm database got corrupted for some reason but this is a new install on VirtualBox. Anyway, got it fixed by doing the following: $ sudo yum clean dbcache ~ts

Force ntp sync on OpenSUSE

I am running openSUSE under VirtualBox to play around with the distribution. I am not really using it on a regular basis so it can be in the "Saved state" for several days. I am also using the guest additions that comes with it and for some reason it is not syncing with the host automatically. Got no time to investigate today but I would like to sync the time so that I can check for updates. As always in Linux land, there are thousand ways to do this and below is one quick way of doing it. sudo /etc/init.d/ntp restart Of course you have to do this at the command line. Reference(s): http://www.krazyworks.com/force-ntp-time-update-on-linux/ Have fun!!! Technos

How to remotely manage Hyper-V on Windows 7

If you are running non-Windows OS or Windows OS without integration services installed in Hyper-V, then remotely managing those guest machines can be painful and in some cases not usable. Think non-Windows machine that you need to configure via GUI. GUI configuration of non-Windows machine over remote client connection (RDP) does not work - guest machine can't grab the mouse. To get around this limitation, you can install  Remote Server Administration Tools for Windows 7 and some other minor tweaks. Following are the steps: Of course you need to have a client OS, I will be using Windows 7 in this scenario but I hear that Windows Vista is also supported but not Windows XP and older versions.  Download and install Remote Server Administration Tools for Windows 7. This download link only works for Windows 7 with Sp1 (Enterprise, Ultimate, Prof). This is no small download, around 230MB for x86 as of this writing. And yes, the install also takes quite a while. Open Control Panel