Posts Tagged ‘fix’
I recently re-flashed my Linksys WRT54G and Motorola WR850G routers with updated DD-WRT firmware after running into some stability issues. So far they have both been stable since the re-flash and have not required manual restarting (I still put them on a scheduled reboot at 3AM). However, when I attempted to run my BitTorrent client, qBitTorrent, after all the appropriate ports were forwarded in the router’s firewall and settings applied in the client itself, no connection could be made. I did some digging around the internet and finally stumbled across this little firewall command for DD-WRT. The problem was fixed after entering the command and rebooting the router.
To apply the command, log into your router’s DD-WRT web interface and navigate to Administration > Commands. Paste the following within the command box and press ‘Save Firewall’. Afterward, you can either ‘Run Command’ or reboot the router to execute.
iptables -t nat -A POSTROUTING -j MASQUERADE
By the way, I’m using DD-WRT v24-sp2 mini build 14929 on the Linksys WRT54G v2 router and build 14896 on the Motorola WR850G v2. The WRT54G operates as the main wireless router; the WR850G is wired to the WRT54G and only operates in AP mode.
I know I am not the only person who experiences this from time to time. As a Windows user this might be a familiar irritation to you: A document is sent to print and all the printer does is choke up and refuse to print anything. Or maybe the document you sent is too large and is just taking too long to execute in the queue. Whatever your reason, you either end up having to restart the computer or power-cycling the the printer. Here, I will show you a simple way of clearing the printer queue using a batch script.
The batch script takes the manual effort out of purging the print queue. It turns off the Print Spooler, deletes the temporary files created from your print request, and restarts the Print Spooler. That’s all! You can do this manually, but why bother when double-clicking on a single file will do all of that for you?
Using a simple text editor such as Notepad or Notepad++, paste the following into a new file and, when ready to save, do so with quotes and a .bat file extension. For example, “force-print-purge.bat”.
@echo off echo Stopping Spooler echo. net stop spooler echo Deleting jobs in print queue... echo. del “%systemroot%\system32\spool\printers\*.shd” del “%systemroot%\system32\spool\printers\*.spl” echo Restarting Spooler. echo. net start spooler
The next time your printer is being stubborn, locate this file and execute it. You’re welcome.
You have probably been aware of Facebook’s “theatre mode” for viewing images since the last features upgrade about 2 months back. While I admire Lightbox-like image galleries, Facebook’s implementation does not seem quite as polished, in my opinion. Understandably, keeping the eyecandy to a minimum allows for faster delivery of the myriad of other scripts loaded upon visiting Facebook. At the same time, however, there should have been an accessible option to disable “theatre mode” altogether. Here, I will show you how this feature can be disabled using an easy-to-install Greasemonkey script.
If you have a web browser that supports Greasemonkey (for Firefox) or script importation (Opera natively supported; for IE; NinjaKit on Chrome; GreaseKit or NinjaKit on Safari), make sure that it is installed and activated.
Next, go to Userscripts.org and install the ‘facebook Photo Theatre Killer’ script and you are done! Wasn’t that easy? Now, revisit a photo gallery via your Facebook account and the annoying “theatre mode” should be gone.
Once in a while you might download an AVI video file and, when you try to play it, are disappointed to see an error message stating that the video is corrupt so cannot be played. Free media players such as the popular cross-platform “plays everything” VLC media playerwill sometimes recognize the corrupt video and offer to fix it. While VLC does a very good job at fixing corrupt AVI files, the fix is not applied to the original video. Therefore, any subsequent attempts to play the corrupt AVI again through VLC will always result in this prompt being initially displayed. If you are running Linux (in this case I am using Ubuntu 10.04), there is an easy way to apply the fix permanently via a quick command.
Obviously, this is geared for those running Ubuntu, so some flavour of Linux is involved. Additionally, you will need to have MEncoder installed. If you have already set up Ubuntu for multimedia playback, then there should be nothing to stop you from immediately jumping in to the fix. However, if MEncoder is not installed something has to be done about it. For multimedia playback I like to execute the following 2 commands. They will take care of installing VLC, MEncoder and a lot of codecs.
sudo aptitude install vlc mplayer
sudo aptitude install non-free-codecs libxine1-ffmpeg gxine mencoder mpeg2dec vorbis-tools id3v2 mpg321 mpg123 libflac++6 ffmpeg libmp4v2-0 totem-mozilla icedax tagtool easytag id3tool lame nautilus-script-audio-convert libmad0 libjpeg-progs libmpcdec3 libquicktime1 flac faac faad sox ffmpeg2theora libmpeg2-4 uudeview flac libmpeg3-1 mpeg3-utils mpegdemux liba52-dev
- Launch a command terminal by going to Applications > Accessories > Terminal.
- Locate the folder containing the AVI file you want fixed. In my case it was located in the Videos directory, so I entered:
- Once there, enter the following command. Modify the file names to match the file names you are using:
mencoder -forceidx -oac copy -ovc copy corruptvideo.avi -o fixedvideo.avi
- Press ENTER and watch the magic take place! The entire process should not take more than a minute to complete.
Once complete, you can retry playing the video through your favourite media player to see if the file was fixed.
Alternative for Windows
If you are a Windows user, on the other hand, and prefer something with a graphical interface, give DivFix++ a try.
Are you one who experiences frequent problems with Windows? I think all Windows users would answer that question with a ‘YES’. Well, whether you are a novice or advanced Windows user, common problems do arise and looking for the appropriate fix can be tedious. If you frequent the Microsoft Knowledgebase you may have noticed that Microsoft started introducing downloadable quick-fix solutions for some of the issues users may encounter. Recently, the software giant released a public beta of their Fix it program, which features a simple-to-use interface that guides users through the troubleshooting process of commonly-encountered Windows issues. It is definitely worth trying. Who knows, it might be the best tool for those of us who are “technically” challenged.
The Microsoft Fix it beta is a free download for Windows 7, Vista and XP.