Home

Forums

Statistics

Surveys

Top Ten

Your Account


Login
Nickname

Password

Security Code: Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like a private journal and posting comments or additions to articles.

Who's Online
There are currently, 10 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

Donations
If you find the information here useful,
help keep this web site online with a donation!
YTD Donations
$1.00
Thank You!

Host referer


  
AnOldMan.com: 3: More Magnia / Linux stuff

Search on This Topic:   
[ Go to Home | Select a New Topic ]

FUN WITH BLACKLISTS - URLfilterDB
Posted by anoldman on Tuesday, March 04 @ 19:34:54 CST (637 reads)
Topic 3: More Magnia / Linux stuff

Updated 24 APR 08

Blacklists can be very important:
They help control bandwidth.
They lessen risk of spyware and malware.
They speed up browsing - killing ads and such.
They let a parent relax -a little- when their child goes online.

With Internet Caching already turned on via Squid, a Magnia user just needs to find a HELPER PROGRAM that will work with their system. I tried SquidGuard, but couldn't get it to work (BerkleyDB), and it was SLOW.
URLfilterDB was my next choice, and I got it working. I don't do automatic updates of my Blacklists, but I am happy with the results.

You can download the files from the download section, and give it a try yourself.
Here are step-by-step instructions for installation:





(Read More... | 9535 bytes more | Score: 5)

HOW I UPDATED MY MAGNIA FOR THE NEW DST CHANGE
Posted by anoldman on Tuesday, March 13 @ 17:05:02 CDT (1474 reads)
Topic 3: More Magnia / Linux stuff

HOW I UPDATED MY MAGNIA FOR THE NEW DST CHANGE

(updated for 2008)

First I logged into the Magnia via VNC - you can also use TELNET or WEBMIN
(Others - Command Shell and just paste the blue commands you see below)

Next I verified I had the wrong DST changes by typing at the bash prompt:

# zdump -v /etc/localtime | grep 2008

Mine showed April 6th as the date of change... and not March 9.

So I went to http://www.twinsun.com/tz/tz-link.htm and found the ftp link to download tzdata2008a.tar.gz
(this is the most current DATA file for the TZ app)

I used QuickZip to extract the northamerica file into the /home/public directory
(that's 192.168.1.1/public across your network)
and executed:

# zic -d /home/public/Timezone /home/public/northamerica

to compile the timezone data files into a subdirectory called Timezone.
I then copied the EST5EDT file to the /usr/share/zoneinfo/ directory:
(you may want a different zone file, copy them all if you feel the need!)

# cp /home/public/Timezone/EST5EDT /usr/share/zoneinfo/EST5EDT

Then I did a quick test to make sure the new configuration was good:

# zdump -v /etc/localtime | grep 2008

the output now showed Sun Mar 9.

Congratulations all around!
(the /home/public/northamerica and related files can now be deleted, you will need to use WEBMIN's file manager to delete the Timezone directory and subdirectories - there are hidden files you can't see from windows)

Finally I went into WEBMIN and verified the time settings - the system and hardware values were out of sync and needed updating.




(Read More... | 2402 bytes more | comments? | Score: 4)

phpNuke HowTo and Graphical Navbars
Posted by anoldman on Wednesday, March 29 @ 15:14:43 CST (508 reads)
Topic 3: More Magnia / Linux stuff

I did alot of modding on this site - see: Strangely familiar... - and then added an article about
running PHP-Nuke on the Magnia - see: QUICK AND DIRTY WEB SERVER (with WEBMIN examples)

So then I added the PHP-Nuke_HOWTO module to my site.

I have modded it as well, making it behave in a more civilized fashion.
If you wish to install my modded version, instead of the original, email me at webmaster@anoldman.com

Now I have a new article showing how to mod your PHP-Nuke site to use graphics in the navigation module.
I have published this article directly into the PHP-Nuke_HOWTO module instead of the stories archive.

17.2.3 Creating a Graphical Modules Block

It is very easy to change the whole look of PHP-Nuke by changing the theme, or installing a new theme, but one of the common characteristics of all PHP-Nuke sites is the module navigation block.

The colors can be changed, the top frame of the block made graphical, but the navigation links remain stubbornly text.

Grab ahold of a good paint program, we are about to change all of that.

Table of Contents
17.2.3.1. Making a new themesidebox() function
17.2.3.2. Modifying mainfile.php
17.2.3.3. Modifying block-Modules
17.2.3.4. Implementing New themesidebox2() function
17.2.3.5. Modifying block-Modules for conditional display
17.2.3.6. Final step
17.2.3.7. Advanced

Remember: Questions can be posted in the FORUM section !




(Read More... | Score: 0)

QUICK AND DIRTY WEB SERVER (with WEBMIN examples)
Posted by anoldman on Wednesday, March 22 @ 15:56:23 CST (1060 reads)
Topic 3: More Magnia / Linux stuff

Are you sure you want to do this?
Web Hosting services only cost $5 a month!

Ok, I use the server to test my site before changing/publishing.

*************************WARNING*************************
THERE ARE SECURITY ISSUES, WHICH ARE NOT COVERED HERE!
*************************WARNING*************************

Step 1: Disable current Intranet
Step 2: Reconfiguring Samba Shares
Step 3: Enable Web Server & Test
Step 4: Installing a Web Portal

Once you have phpNuke installed, here is the user's guide:

If you want to modify the httpd.conf for better services/security - DON'T
Mess with httpd.intranet (or a copy) instead. You've been warned.




(Read More... | 1842 bytes more | Score: 0)

Hard to Find Files for the Magnia SG20 and SG30
Posted by anoldman on Sunday, March 12 @ 02:06:19 CST (1380 reads)
Topic 3: More Magnia / Linux stuff
Anonymous writes "Here is a link to an OFFSITE location where you can downlod all or any of the files that came with the Toshiba Magnia SG20 and SG30. Much of this stuff is hard to find.

Available for download are the original source files, original disk images, ISO images of the CDs that shipped with them originally and more.

http://eswebs.com/files

I hope this can help those in need.

Regards,
Eric S.

Note by OldMan:
This site is not hosted, he runs it on his personal high-speed connection from a Magnia in his laundry room, pages make take some time to load. File downloads can take considerable time. When I wrote this note, the site was down.

"


(Read More... | 894 bytes more | Score: 0)

Tutorials for Toshiba Magnia SGxx Series Internet Server Appliances
Posted by anoldman on Saturday, March 11 @ 18:42:43 CST (1194 reads)
Topic 3: More Magnia / Linux stuff
Anonymous writes "Here are links to some OFFSITE tutorials on how to extend the capabilities of your Magnia SGxx (SG10, SG20, SG25 and SG30). Topic titles include:



Soon to come are articles on configuring BIND and Postfix. BIND is a fully capable name server that offers full control of your domain and subdomains. Postfix is a complete POP and SMTP mail server system.

Regards,
Eric S.
eswebs.com

Note by OldMan:
This site is not hosted, he runs it on his personal high-speed connection from a Magnia in his laundry room, pages make take some time to load. File downloads can take considerable time. When I wrote this note, the site was down.

"


(Read More... | 1390 bytes more | Score: 5)

Want a little Wine with that?
Posted by anoldman on Tuesday, February 28 @ 22:42:39 CST (639 reads)
Topic 3: More Magnia / Linux stuff

Running a Windows-based server on your Linux machine!

I recently started playing with MainLobby from Cinemar. It's a great program for my application: keeping track of a BUNCH of DVD's!  It allows me to have multiple DVD megachangers and use a computer or  wi-fi pocket pc to select/play a movie.  The pocket pc is now the remote for the changers.  Before, I had to unplug the changer I didn't want responding to the remote!

Anyway, the point:  MainLobby's server program is windows only!  Here I've got this marvelous Linux box running 24/7, and now I have to run a windows box 24/7 as well?

A little WINE and my problem goes away!  No, I don't mean drinking, or complaining.

Wine is an Open Source implementation of the Windows API on top of X and Unix.

It really works, I about fell over laughing when I got Internet Explorer running on my Xfree86 desktop.

Here is Cinemar's MainLobby Server (for windows) running on my Magnia.  If you can follow this: The MainLobby Server is running through Wine (configured with Wine Tools) in a VNC Server session on the Xfree86 desktop of a Linux box and being controlled/viewed through the Webmin VNC client module with Internet Explorer running on a windows pc... and it works fine!

CLICK TO ENLARGE

If you feel a burning need  to duplicate this technological terror, let me know.  I will post a step-by-step install procedure and the RPM list.

Remember: Questions can be posted in the FORUM section !




(comments? | Score: 0)

Having problems with MAKE and INSTALL due to kernel source ?
Posted by anoldman on Sunday, February 26 @ 21:41:21 CST (614 reads)
Topic 3: More Magnia / Linux stuff

Extrapolated from: http://www.tldp.org/LDP/lkmpg/2.6/html/x380.html

Correcting your kernel source when using make and the script complains that your source does not match your kernel.

Install the kernel source that matches your current kernel.
You can issue a uname -a if you don't know.
2.4.20-28.8tosh in my case, so I need to find and install
kernel-source-2.4.20-28.8.i386.rpm.

Next I'm going to change the directory name from
/usr/src/linux-2.4.20-28.8 to
/usr/src/linux-2.4.20-28.8tosh
(this may not be absolutely necessary, but I'm going to do it anyway)

Next I'm going to edit the file /usr/src/linux-2.4.20-28.8tosh/include/linux/version.h to stick "tosh" in:


#include
#if defined(__module__smp)
#define UTS_RELEASE "2.4.20-28.8smp"
#elif defined(__module__BOOT)
#define UTS_RELEASE "2.4.20-28.8BOOT"
#elif defined(__module__bigmem)
#define UTS_RELEASE "2.4.20-28.8bigmem"
#else
#define UTS_RELEASE "2.4.20-28.8
tosh"
#endif
#define LINUX_VERSION_CODE 132116
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

and /usr/src/linux-2.4.20-28.8tosh/Makefile

VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
EXTRAVERSION = -28.8tosh

Then I'll use WebMin's File Manager, go to /usr/src/linux-2.4 symlink, and use
"Info" button in File Manager to edit and change link to linux-2.4.20-28.8tosh

ALL DONE! MAKE DOESN'T EXIT WITH AN ERROR ANY MORE!




(Read More... | 2279 bytes more | comments? | Score: 0)

UPDATED: Forwarding Ports on your Magnia SG20
Posted by anoldman on Sunday, February 26 @ 20:33:14 CST (2536 reads)
Topic 3: More Magnia / Linux stuff

Don't you wish there was an easy way to set up port forwarding and other firewall / routing rules in your magnia?  When Toshiba released the upgraded SG30, they didn't just upgrade the hardware!  They added the ability for the user to edit firewall rules.  I don't know why they haven't made this upgrade available to SG20 users.  It does seem to work fine.  For all I know there is a fatal flaw, however, so keep that in mind.




(Read More... | 3813 bytes more | comments? | Score: 5)

Creating a startup script for MisterHouse - or any program
Posted by anoldman on Saturday, February 25 @ 22:22:06 CST (2012 reads)
Topic 3: More Magnia / Linux stuff

Starting and stopping MisterHouse automatically

This example applies to any program or service you wish to have started every time the system boots.
This example applies to Redhat linux RH7.3 or higher. It may work with other builds.

First you need to create a script and save it in the init.d directory.
With WebMin you can use File Manager to navigate to the directory and create a new file named "MisterHouse"
(you want the "New" button that looks like a piece of paper)
and just copy/paste the script into it.

Initialization script to be created in:

/etc/rc.d/init.d/




(Read More... | 3714 bytes more | Score: 5)

  
Old Articles
Thursday, December 29
· Network Printer Install with WindowsXP

Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2003 by AnOldMan.com
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.07 Seconds