Chit chat

======

Extremely upset.I have to redo Squirrelmail on the server.

if a picture is worth a thousand words, then is a movie worth a million words? Here are some of my original videos. Hope to make more and better ones soon,

https://www.youtube.com/results?search_query=thecomputoman

—————————————————–

Thinking about getting a stereo  for the office area, but really did not want to spend any money if I could use an old pc.Love to play free open source royalty free music.  If you think about it, the footprint of a stereo is like a pc but without the monitor. Maybe I could just use an old Linux box to get the job one.

Then I thought would it be nice if I could lt the pc stereo stand alone and then access it from a remote machine.  Something linux can do very easily using the ssh environment. Installed a switch and ran the cables from the desk top to the music server. You could also do this via wifi, but that can be a security issue.

Once you have everything set up, you will want to move your music files and then organize your music in some way before starting the shell command.

so

$ ssh oeorgan1

$ sudo apt-get install mplayer

Execute the shell command to play all the sonegs in the subdirectories from the main subdirectory. Note: if you know how to use the screen command, you can enhance your control a lot easier.

eddie@oeorgan1:/var/media/music$ mplayer -really-quiet -playlist <(find $PWD -type f)

Then you can use various keyboard commands to control the music. The ones I use most are:

<shift> >     next song

<shift> <     previous song

p                   pause

r                    continue

<control> c  stop

Here are two keyboard formats that might be of interest.

Like Alton Brown of “Good eats” fame, he detests single use appliances, Since computers are good at doing more than one thing, you take your pc stereo system and add web, mail, file and a host of other programs to make the systems more versatile. Let us see whether your gardent variety stereo can do that.

If you wanted something more interactive, you could install something like xvnc or xrdp and rim something like rhythymbox or whatever.

—————————————————–

Picture of Another almost free computers thin client set up Part II.

In this section we will add some internet safety software and allow access to the net from the ltsp clients.

Step 1: Setting up a proxy

To filter the internet we need a tool to allow us to do that. Tinyproxy allows us to do that.

Launch the Synaptic Package Manager from the “System” -> “Administration” menu.

We need to make sure that community open source packages are available. To do that under the menu “Settings” select “Repositories”. Make sure “Community maintained Open Source software (universe)” is selected.

Now on the tool menu click Search and type “tinyproxy”. Right-click on “tinyproxy” and select “Mark for Installation”. Now click Apply on the tool menu.

or

sudo apt-get install tinyproxy

Tinyproxy should now be installed.

Step 2: Content filtering.

Before we enable the internet connection to the thin clients we want to be able to filter or block sites that may not fit our needs. This is especially true for a day care center or even home use. Seems like it would take forever to build a list of sites that might be objectionable. Fortunately http://urlblacklist.com/ has a free list that can be downloaded ( go to http://urlblacklist.com/?sec=download ) and be used with the software we are going to install..

Dansgaurdian: DansGuardian is an award winning Open Source web content filter which currently runs on Linux, FreeBSD, OpenBSD, NetBSD, Mac OS X, HP-UX, and Solaris. It filters the actual content of pages based on many methods including phrase matching, PICS filtering and URL filtering. It does not purely filter based on a banned list of sites like lesser totally commercial filters. DansGuardian is designed to be completely flexible and allows you to tailor the filtering to your exact needs. It can be as draconian or as unobstructive as you want. The default settings are geared towards what a primary school might want but DansGuardian puts you in control of what you want to block.

Launch the Synaptic Package Manager from the “System” -> “Administration” menu. Now we can install DansGuardian, again click “Search” from the tool menu and type “dansguardian”. Right-click on “dansguardian” and select “Mark for Installation”. Now click “Apply” on the tool menu. The installation will error because DansGuardian is not yet configured.

(or sudo apt-get install dansguardian)

To configure DansGuardian, open a Terminal and type:gksudo gedit /etc/dansguardian/dansguardian.conf (or sudo nano /etc/dansguardian/dansguardian.conf)

Now comment out the line that says “UNCONFIGURED” by placing a ‘#’ at the beginning of that line.

Find the line that says “proxyport” and change the proxyport value to Tinyproxy’s default port#, which is 8888.

Note: the port is originally set to 3128 which is the default proxy port for squid proxy. An alternative to Tinyproxy. Instructions for setting this up are also in the Wiki, here https://help.ubuntu.com/community/SquidGuard, and it may be more suitable for network proxying

Save the file and exit.

Right-click on dansguardian in the Synaptic Package Manager again and select “Mark for Reinstallation”. Click “Apply”.

Congratulations! Your machine should now be running a fully functional Internet Content Filter on port 8080. To test your filter, open your web browser and tell it to use localhost port 8080 as its HTTP proxy.

To check configuration:

sudo /etc/init.d/dansguardian restart

You should get:

Restarting DansGuardian: * Restarting DansGuardian: [ OK ]

Step 3: Connecting to the internet.

You need to make sure some parameters are set up.

$ sudo nano /etc/network/options and it should have the following options.

ip_forward=yes

spoofprotect=yes

syncookies=no

then enable the connection

$ sudo sh -c ‘echo 1 > /proc/sys/net/ipv4/ip_forward’

Now go to an ltsp client and see if you can get on the internet.

Step 4: Using a proxy.

Browse the Web with Firefox via a Proxy Server

SUMMARY: If security restrictions require accessing the Internet through a proxy server, here’s how to configure Mozilla Firefox to do so.

For security reasons, if you access the Internet through a proxy server, you need to configure Mozilla Firefox with the correct settings, else you may not be able to access web sites, FTP servers, and the like through your web browser.

1. Click “Tools” – “Options”.

2. When the “Options” dialog box appears, click the “Advanced” button.

3. Click the “Network” tab.

4. Click the “Settings” button next to “Configure how Firefox connects to the Internet”.

5. A “Connection Settings” dialog box will appear. Here you can decide whether to use:

Firefox Connection Settings dialog box

* No proxy (default)

* Auto-detect proxy settings for this network

* Manual proxy configuration

* Automatic proxy configuration URL (if you select this, enter the URL).

6. If you require a proxy, auto-detection fails, and you do not have an automatic configuration URL, you need to configure Mozilla Firefox manually with the proxy settings.

* Enter proxy information for the following protocols: HTTP, SSL, FTP, Gopher (!), and / or SOCKS. If all use the same proxy settings, click the “Use the same proxy for all protocols” button.

* Next to “No Proxy for”, enter addresses that don’t require a proxy server to access.

7. When done, click “OK” on the dialog boxes to close them.

This tip was written for Mozilla Firefox v3.0.4. Screenshots and instructions for other versions may vary.

Step 5: Other packages to consider.

External project not included in Ubuntu at this time.

Teachertool – Fl_TeacherTool is a program to help teachers teach by utilizing the benefits of a Linux Terminal Server. It was designed to fit into the K12LTSP distribution but may also work with other LTSP system

Installable from ubuntu

ltsp controlaula – Classroom management tool (must be installed in client root not host root)

thin-client-manager-backend – control ubuntu LTSP connections

thin-client-manager-gnome – control ubuntu LTSP connections

—————————————————–

 

Picture of Part III LTSP Maintenance.

This is for LTSP,  mainly for keeping software installed via the standard repositories up to date.  You definitely really need to be at least an intermediate linux user to accomplish this project. Ask for help from an expert if you fell uncomfortable with it. With ltsp you really have two separate file systems to update. One for the regular file system and one for the file system clients. Actually you could have several file systems to update if you are supporting more than one kind of thin client hardware. By now you should be handy enough with the command line that I do not have to put a picture of every result. Quick hint: you can ssh into your server and then cut and paste all the commands from a file or this web page. That is what I am doing now.

Update the sources (where the upgrade/update files will come from).

$ sudo apt-get update

Do the upgrade

$ sudo apt-get upgrade

In some cases if you did a system upgrade instead of a clean install, you might not get all packages upgraded.

$ sudo apt-get dist-upgrade will usually do the job.

Last of all some clean up.

$ sudo apt-get autoclean

With the client directories, you want to make sure that the list of sources for the client file system is the same as the server or there will be some incompatibilities. (note: i386 is the architecture type.)

$ sudo cp /etc/apt/sources.list /opt/ltsp/i386/etc/apt/.

$ export LTSP_FILE_DAEMONS=false

Now you need to temporarily need to change file systems so that the updates go to the proper file system.

$ sudo chroot /opt/ltsp/i386

$ mount -t proc proc /proc

Here we go:

$ sudo apt-get update

$ sudo apt-get dist-upgrade

$ sudo apt-get clean

$ exit

$ sudo ltsp-update-kernels

$ sudo umount /opt/ltsp/i386/proc

$ sudo ltsp-update-sshkeys

$ sudo ltsp-update-image

One of the few times that rebooting the might be a good idea.

$ sudo chroot /

$ sudo reboot

So nice only to have to update just one computer instead of a whole lab full or more of computers. You would still work with user accounts and etc as you would with a standalone system.

—————————————————–

Ethernet splitter.variant cable saver. Need to be well shielded.

FX94K053V6EP27ZK0O.MEDIUM

Take the other end of the cable, cut it to 9 inches and punch down the four pairs using the following wiring scheme: You will need two of them.

Jack #1:

1 White/Orange to pin 1keystone jack

2 Orange to pin 2 keystone jack

3 White/Green to pin 3 keystone jack

6 Green to pin 6 keystone jack

Jack #2:

4 Blue to pin 2 keystone jack

5 White/Blue to pin 1 keystone jack

7 White/Brown to pin 3 keystone jack

8 Brown to pin 6 keystone jack

Once all the pairs are punched down, you can glue together side by side the two keystone jacks.

Essentially:

Screenshot from 2015-03-30 00:22:51

—————————————————–

Working on the mythical school website

 

Screenshot from 2015-04-03 15:43:36 Screenshot from 2015-03-13 12:15:56 Screenshot from 2015-03-13 12:15:30 Screenshot from 2015-03-13 12:16:29

Screenshot from 2015-04-03 15:45:07Screenshot from 2015-04-03 15:44:33

Screenshot from 2015-03-31 02:27:39 Screenshot from 2015-03-31 02:28:26Screenshot from 2015-03-31 01:20:04

—————————————————–

Oldee but goodie:

 

This is way out of date, but it has it’s points

Done Item: Geek Bucket list. (from “Daily cup of tech”)
Geek Bucket list. (from “Daily cup of tech”)
——————————————————
1. Add a Third Monitor
2. Build a Linux Firewall
3. Build a Network File Server
4. Build a PC
5. Build a Robot
6. Build an HTML based Website using Notepad
7. Bypass a Computer Password on All Major Operating Systems
8. Bypass School or Work Website Blocks
9. Carry a Computer Cleaning Arsenal on Your USB Drive
10. Compile a Linux Kernel
11. Control Your House Lights with a Computer
12. Convert Cassette Tapes to Digital Audio Files
13. Crack a Wi-Fi Password
14. Create “Hello, World” in at Least Five Different Programming languages
15. Create a Disposable E-Mail Account
16. Create a Recovery Drive Image of Your Computer
17. Create a WordPress Plugin
18. Create a WordPress Theme from Scratch
19. Create an Add-On for Firefox
20. Create an SSH Tunnel
21. Create Music with Keyboard
22. Design and Build a Circuit Board
23. Do Cool Things to Altoids Tins
24. Download a Video from YouTube
25. Download Wikipedia
26. Execute a Shell Script
27. Find a Users IP Address on AIM
28. Find a Website IP Address Without Web/CommandPrompt Access
29. Flash System BIOS
30. Hack a Pop Machine
31. Hack a USB Drive Startup File
32. Hide a File Behind a JPEG
33. Homebrew Hack Game Systems
34. Increase Wi-Fi Range
35. Install a Content Management System for a Website
36. Irrecoverably Protect Data
37. Jailbreak an iPhone
38. Know the Meaning of Technical Acronyms
39. Know Who Mulder and Scully Are
40. Learn and Write Javascript
41. Learn At Least One Fictional Language
42. Learn Hexadecimal and Binary Number Systems
43. Learn How to Convert a DVD to x264 (or XviD or DivX)
44. Learn How to Hot Wire a Car
45. Learn How to Install Mac OS X on a PC
46. Learn How to Reset RAM
47. Learn Important Keyboard Shortcuts
48. Learn the Fastest way to Kill a Computer
49. Learn to Identify Keyloggers
50. Learn to Identify Major Constellations
51. Load Rockbox onto an MP3 Player
52. Lock Your Computer with a USB Drive
53. Make a Cat5 Patch and Crossover Cable
54. Make a Laptop Cooling Pad
55. Make Your Office Ergonomic
56. Mod a Flash Drive Case
57. Monitor Network Traffic
58. Mount and ISO in a Virtual DVD Drive
59. Move Completely To Open Source
60. Permanently Delete Data on a Hard Drive
61. Permanently Delete Your Facebook Account
62. Pick a Lock
63. Play a Geek Practical Joke
64. Play Retro Games without Retro Consoles
65. Put LEDs Inside a Light Bulb
66. Put Open Source Firmware on a Router
67. Read 1337 At Normal Speed
68. Recover Deleted Files
69. Recover Master Boot Record
70. Register Your Name as an Internet Domain
71. Remotely Control a Computer
72. Replace a Laptop Keyboard
73. Replacing a Laptop LCD
74. Retrieve Data off Hard Drive
75. Rip Streaming Videos
76. Run an Operating System from a USB Thumb Drive
77. Run Multiple Computers with one Keyboard and Mouse
78. Run Operating System inside a Virtual Computer
79. Run Your Own Ethernet Line
80. Screw with Wi-Fi Leeches
81. Setup a Computer in the Cloud
82. Setup a Streaming Media Server
83. Setup a VPN
84. Setup an Apache, MySQL, Mail, PHP server on Windows and Linux
85. Shrink a Website URL
86. Soldering Glasses Together
87. Strip Windows DRM
88. Surf the Web Anonymously
89. Survive in a Linux Argument
90. Tethering a Smartphone
91. Turn a Laptop into a Digital Picture Frame
92. Turn Webcams into Security Cameras
93. Unbrick a Smartphone
94. Understand What “There’s no Place Like 127.0.0.1″ Means
95. Unleash a Laser Pointer’s full potential
96. Unlock an iPhone
97. Upload a Video to YouTube
98. Use a Camera in Manual Mode
99. Use Bittorrent Effectively
100. Wire a Home Theatre System

—————————————————–

Make your own lard

SUNP0005aSUNP0008SUNP0010

Good day.

Advertisements