Posts tagged caption

Cable Internet – Isolate the Problem

Motorola SB5120 Modem

Image via Wikipedia

After rewiring my entire house the ultimate way to isolate the problem is to put the cable modem directly on the main line. Replace all splitters, and ask the cable company to drop a new main line, and you can feel confident that the problem is no longer in your house. I rewired my entire house, replaced all splitter, then called the cable company. They replaced the splitter outside, and then dropped a new main line. The problem is no longer in my house. My router is loosing its external ip address. So far the cable company said they will compensate us for one months service, if this continues more compensation is warranted.

Every time the internet goes down, this website, my other websites, and all of my email services go offline. I rely on this website to get me through the day when I am at work. What is a day of work when you can blog about things :)

Reblog this post [with Zemanta]

Apache2 Server Side Includes

Server side includes allow for external html documents to be injected into a page prior to it rendering on the client web browser. The benifit of this is eliminating the need to repetitiously repeat code over and over again. If you include the same scripts, on each of your website pages, you can create an external html document and inject it using a server side include with a single line of code. If your using virtual host containers, you can include the server parameters directly in the file. Add the following directory block and make the directory path that of the virtual host block’s document root:

<Directory /var/www/*>
Options +Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</Directory>

Make .shtml the extension of the files you are including. I think you can make it anything, I just used “.html”.

Then enable the module:

sudo a2enmod include

Reload apache2:

sudo /etc/init.d/apache2 restart

Then include external html files using:

<!-- #include virtual="/mrtg/file1.html" -->

Linux Anti Virus for Websites

Windows 7 is the latest stable Windows operati...

Image via Wikipedia

Just because you run linux does not mean you completely forgo anti virus. Your website can be broadcasting Windows viruses or malware. Clamav, run from the command line, will scan your web directories recursively to identify various concerns. Install Clamav:

sudo apt-get install clamav

Then you can run Clam manually or you can install a cron job for it to be run automatically. Running Clam as root allows you to scan the higher level directories. The following command will scan the entire computer and remove viruses and malware:

sudo clamscan -r / --remove

Set this as a cronjob to run in the middle of the night; add it to the root crontab list:

0 2 * * * clamscan -r / --remove

Reblog this post [with Zemanta]

Reasonable Backup Routines – Service and Desktop Integrity

The device pictured is a 128MiB PNY Attaché US...

Image via Wikipedia

You should have backups of all your files all the time. For a desktop machine always have a backup of your entire /home partition. Use a cronjob and rsync. Mount a usb drive to the /media directory. Use a cronjob as follows:

1 1 0 0 0 rsync -r /home/user /media/backup/user

The above rsync will recursively transfer all folders and files from the user directory to /media/backup/user directory.

You should have at least 1 backup. You can also implement a raid 1 array in case of a hardware failure, which is highly unlikely but does indeed happen. My configuration involves a usb backup drive, mounted as above, and another machine that I rsync the backup to via the network.

Reblog this post [with Zemanta]

iPhone Error 9 Cannot Restore

Broken iPhone

Broken iPhone

Apparent there is either a sensitive aspect to iPhone software, or an integrated kill mechanism. I have a friends iPhone that simply cannot be restored. There is an error 9 that cannot be avoided. I have placed the phone in DFU mode, which is apparently the ultimate restore mode, from which even the most damaged iPhone should be able to restore; but not in this case. I have tried restoring the phone from three different computer including a MAC. The error 9 is on all 3 computers. There are no other options, no other ways of doing a restore. I think a recurring error 9 means the phone is done for; dead, not recoverable. Maybe someone has an idea?

Personal Cloud Computing From Your Own Server – EyeOS

EyeOS

EyeOS

EyeOS is a fully functional personal cloud desktop. Install it on your server, with or without mysql database support. The software supports flat file storage, so basically drag and drop the package, set a couple of file and folder permissions, walk through the administrator panel and your good to go with your own personal cloud computer. Best of all you are not paying any subscription fees. If you host your own server, there you go, and if you rent space, there you go too. In your browser remove the status bar from the bottom; which is most likely in the view tab. Then hit maximize and viola a fullscreen desktop anywhere you have a web browser. Frankly it works just fine for most things. Clearly its not going to run Windows applications, or Linux apps for that matter, but you can do the basics. Word processing, spreadheets and all that office goodness. FTP, and a web browser so you don’t have to leave your cloud desktop to search the net. I think the idea of a cload computer is excellent. Functionality is the most important thing, and it still feels like a desktop in your web browser is missing a couple of things. In time maybe the browser based desktop experience may feel more seamless, which hopefully is the primary goal of such projects.