Found a neat picture that is the ultimate in the steps you should use in recycling equipment.
Recycling experiment with per se non toxic chemicals. Pyrex not really required yet.
More and more of the plastic routers you get from a retailer are limiting you from installling a third party firmware to make the unit more valuable. So it is nice you can put an old pc back to work and install the same kind of firmware you would put on the store bought routers. Also with the pc you can swap the nic cards for better nics without getting a whole new system.
Pulled out of the closet the pc I was using as a router and found that a few things have changed. I just went ahead and installed the latest openwrt kamikaze image on the system. What does the system have? Intel PII 266 mhz with 192 meg ram. The openwrt hard drive is only 2 gig. Thinking about using another case. The system actually has two drives. one with a minimal Debian linux to be able to get the latest image or dd (or install) to the openwrt drive. The Debian linux drive is usally left unconnected.
First thing I did was to change the dead motherboard battery. Second thing I did was change the password from the console.
There have been a few changes and a few quirks. When I cranked up the system it did not seem to see the wan (internet). so I had to do a couple of things.
# Copyright (C) 2006 OpenWrt.org
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
config interface lan
option ifname eth0
option type bridge
option proto static
option ipaddr 192.168.6.1
option netmask 255.255.255.0
config interface wan
option ifname eth1
option proto dhcp
First I had to add the wan interface to the /etc/config/network file. Those are the last three lines. then I had to bring up the interface with:
# ifup eth1
I also changed the default ipaddress of the lan from 192.168.1.1 to 192.168.6.1 so as to not interfere with my local network.
local network 192.168.1.x) > router > private network (192.168.6.x)
Then there were changes to some of the commands. You used to use ipkg, so now to update the system you would use (opkg replaced ipkg):
# opkg update
You can ssh root@openwrtbox and do everything remotey from the command line.
So far so good. Then I tried to access a web interface remotely. Did not work, So I had to install a web interface to the system. There are actually three to choose from. I chose Luci or the first on the list suggested in the install notes. To do that you have to add the repository (where to get the files from). So you add that repository to the /etc/opkg.conf file. In this case it was just one line or the last line in the file:
src/gz snapshots http://downloads.openwrt.org/kamikaze/8.09.2/x86/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /jffs
src luci http://downloads.openwrt.org/kamikaze/8.09.2/x86/packages
Now you let the system know the file has changed, so again you do:
# opkg update
The you need to install the web interface. There are quite a few modules you can install, but I just did the basic interface. You can add more later.
# opkg install luci-web
At this point it would not hurt to do a reboot. You should then be able to see the router’s web page.
Cool! Almost forgot. If you have more than one pc to connect to the router, you will need to get a switch.
Note: Some people say that using a pc for a router has much better throughput that the plastic store bought routers. Your mileage may very.
Lets play with assembly language programming one last time. This time let’s use dos assembly language programming. A program is a set of instructions much like a recipe. With this recipe, we will have to use commands like you might use stir in a recipe.To make this recipe, we will use debug.com which is sort of a simple interactive assembler/disassembler. Our goal with the program is to print out the letter A. Now that seems a bit simple, but you have to start somewhere. So fire up debug from the command prompt. We are going to use dosbox (dos simulator) to make it easy to capture images. Thall shalt document. But first let us look at the letter A. If we went to an ascii (american standard code for information interchange) table we can see the letter A is 65. So far so good.. But the computer does not recognize that nunber as the letter A. You remember base 10 arithmetic. where you have ten fingers to work with to do math. Well the computer in this case has 16 fingers or base 16,.so we have to translate that base 10 A to a base 16 A. Base 16 is also known as hexadecimal. Fortunately there is a chart to do that so we do not have to calculate it. So base 10 A is 65, therefor base 16 A is 41. So we will have to use 41 to let the computer know we want to print out the letter A. Seemed like a lot of work, but it is not really.
Testing some antennas
Also wanted to test the composite output of an old computer I have.
Next antenna, I think is a Gray-Hoverman antenna. I tried to follow the specs the best I could.
The last antenna I tested was a fractal based antenna. it was definitely directional.
Went in the closet and found two really old Gateway laptops. One was from back in 2002. The Solo 3350 was sort of a notebook before there were notebooks. It has a detachable drive that you could either insert a floppy or a dvd-rom drive. Shame it only had a max of 256 megs f memory per gateway specifications. It had a foobarred Ubuntu install. I just went ahead and installed Debian Squeeze on it.. I can use it to access network devices, Anyway there was on quirk in that the boot record did not install correctly. No problem. rebooted witt e install cd and went into the rescue mode. chrooted to the hard drive root, then ran the command:
Rebooted and all was well! Reinstalled Debian squeeze on the other system and then upgraded to wheezy. Let both machine recharged the batteries. Surprised me to no end that the batteries still worked at least for the short time I tested them.
Generating electricity with hot and cold water.
Piadizza(cross between a roman taco called a piadina ) and a pizza.