Showing posts with label fix. Show all posts
Showing posts with label fix. Show all posts

Monday, April 19, 2010

Fixing 169.254.x.x problem with network bridge

You may get 169.254.x.x because of the Automatic Private IP Address (APIPA) feature of windows. The windows OS may assign a private IP if the network card is setup to get IP from a DHCP server and is not able to do so. This can be a generic problem and the solution will be specific to the problem. The above info should give you some pointer to explore further. One of the most common problems is that a firewall on you machine may be preventing your machine from getting the IP from the DHCP server.

The problem that we are going to solve today is when this problem may happen because of network bridge. A network bridge is typically used to share the internet between two network devices. One of it could be a wireless device and the other a wired device. The exact problem that I am facing is as follows:

I have a network bridge between my wireless device and my ethernet card. When I connect to internet using LAN cable between the ethernet port of my PC and router, I could share the internet on my LAN with the devices connected to my wireless. Also, if I do not have the network bridge, I can connect to the internet over my wireless. But while having the network bridge, if I try to connect to the internet over wireless, I am not able to do so. I get the 169.254.x.x IP which is not in the range of my router's IP. The fix is as follows:

  1. Open the command window (from Run->cmd.exe or programs)
  2. Issue the command "netsh bridge show adapter"
  3. See the id of the adapter that is not working
  4. If the "compatibility mode" is not enabled, you should force it
  5. Issue the command "netsh bridge set adapter id forcecompatmode=enable" (Replace "id" with the number of adapter id)
  6. Run the command "netsh bridge show adapter" and verify that it is enabled.
  7. Issue the command "ipconfig /renew" to renew the IP and then issue "ipconfig".
  8. You should see an IP that is in the range of your router's IP address.
  9. Enjoy!


Source: Microsoft Knowledgebase

Saturday, January 16, 2010

Fix for itunes not grouping the same albums together

Sometimes it happens that even though a set of files has the same album name, they are not grouped together. This becomes a bigger problem when they are transferred into the iphone/ipod. In the iphone, they will be presented under different albums and hence with different covers. So, the nice cover flow feature of the iphone becomes ugly. Stupidly, even though the same album is shown with different covers, the list of songs under each cover will be the same. For me, this is an irritating problem.

After some googling, I found that itunes does not use just the album name to group the songs. It uses other fields like artist name, album art etc to group it. So, the fix is to have the same artist name, album artist name for the entire album. Even the album art does matter. If you want to be religious about the artist name do not want to change it, you still have a way. You can group them under a single compilation. See the discussions here, here, and here to get more details about the fix.

You can use itunes to change the properties of the music files. But, if you manage your own mp3 without itunes, it may be a good idea to use a tool to do batch edit of ID3 tag names. I use a software named "Media Monkey" to do this. Its a nice and feature rich tool. You can apply tags to set of files at the same time. Previously I used to use "ID3 TagIT". When you use a different tool other than itunes, you should remember that you should delete the files from itunes and reload them. Removing form the playlist is not enough, it should be removed from the music library also. Or else, if you place the files in the playlist, it will still retain the old tags. (I faced this problem first hand ;) )

Fix (Summary):
- Make sure that the artist name is the same
- Make sure that the album artist name is the same
- Make sure that the album art is the same
- Optionally, Try to group them as single compilation
- If you are not using itunes to change tags, remember to remove songs from itunes library (not playlist) and reload

Saturday, June 20, 2009

How to fix 169.x.x.x IP problem in windows vista

The other day me and my friend were struggling to fix this funny problem in windows vista where it always gets 169.x.x.x IP address. And because of this the PC is not able to connect to the internet. When we searched that net I am surprised to see the number of people facing this problem. But unfortunately, the solutions offered in those forums did not work for us. We tried many things like disabling the DHCP and assigning a static IP address, editing some settings in registery entry for the network connection, remvoing and adding the connection again etc.

At the end of an hour or so, when we found the fix for the problem we felt like slapping our face because the problem is such a stupid problem. Ok, the problem is that the mcafee is installed on the machine and the firewall is enabled thereby forming a proxy network which is not allowing us to directly connect to the internet. We simply disabled the firewall in mcafee and voila!, we are able to connect to the internet.

It may not be such a good idea to completely disable the firewall as the machine is directly exposed to the internet. There should be some solution to connect to the internet while the firewall is enabled. But, we will worry about it for some other day.

Friday, May 1, 2009

Mouse customizations not working after standby

I was using Logitech marble mouse(trackball mouse) for a quite some time. BTW, it is a very nice alternative for the regular mouse especially for people who get pain in the wrist. I closed down on this item mainly because of its cost effectiveness and good set of features. First of all its ergonomic. It fits well for both left-handed and right-handed people. In general, trackball mouses causes less strain on the muscles because you need not hold the mouse and move it. It stays in a place and we only have to move the ball on top with our fingers. I read on the internet that gripping the mouse contributes to most of the strain caused by mouse usage. Though its very less strain to do it once, we catch the mouse a few hundred times in a day and it causes RSI(Repetetive Stress Injury). I used to get pain in my wrist earlier because of my typing and mouse usage. Now, my pain reduced a lot after using this trackball and a softkey keyboard.

Coming back to the main topic of my post, recently, I started getting one strange problem with my mouse. I customized the mouse buttons to do page up and page down when I press the small buttons on the mouse. (By default they are assigned to previous and next for the browser). When I boot my machine from scratch I do not have any problem and my customizations work fine. There is a mouse icon in the system tray which can be used to customize the button assignments. The problem starts when I put the machine and standby mode and come out of it. The mouse icon in the system tray is missing and my customizations do not work any more. Everything goes to default. Rebooting the system is not an acceptable solution for me.

Finally, I found a solution to the problem where I need not reboot the machine. The trick is to get back the mouse icon in the system tray, i.e. get back the necessary daemon/service working. From the list of applications that run during the startup, I figured that LOGI_MWX.EXE is the one that corresponds to the mouse service. It is located in c:\windows\logi_mwx.exe. The solution is to run this application after coming out of standby mode. You will get back your customizations. You can create a shortcut to this application on the desktop for easy access.