Dan's Data letters #7

Publication date: 4-Nov-2002.
Last modified 03-Dec-2011.

 

Quart in a pint pot

I'm trying to set up a home LAN with my main PC, a laptop and a cable modem with Ethernet. Problem is, I have a 5-port switch but not a router. My ISP will charge me if they assign a second IP address. I've looked at some software for proxy servers and such, but all of them seem to require that the cable modem would be hooked up to my PC through USB and a second NIC. For money reasons, this isn't really an option for me. Are there any software routers that can solve my problem?

Jacob

Answer:
There's no easy way to share an Internet connection on a network, using Windows, without using some kind of gadget with more than one network adapter in it, unless your actual broadband adapter device (cable "modem" or DSL "modem"; neither of these devices is actually, technically, a modem) has a sharer box built in. In which case the broadband adaptor is the thing with the couple of network adapters in it, of course.

For any other solution, you need something that can connect to the broadband adapter, and to the network; a basic dedicated sharer box will just have WAN and LAN Ethernet ports on the back. To do it with a computer, you need two network adapters.

Note, however, that there's no reason why you have to use a USB network adapter to connect to your cable modem, if the cable modem is the usual kind with an Ethernet port on it. ISPs prefer USB network adapters because they're easy to install, but unless your ISP uses the network adapter MAC address for authentication (some do, and in that case you need either the network adapter they gave you, or another one with a changeable MAC address), any old network card will let you connect your PC to your cable modem.

Ordinary PCI network cards can be had really cheaply. If you can afford Internet access, I suspect you can scrape together enough for another network card.

 

Sloooooow storage

Would it be possible to use one of those FlashPath adaptors [mentioned in letters column #3] as a mini hard drive for transporting stuff to mates' places, school etc? I don't have USB, my computer is old, so I can't get one of the little USB things. Or would it be cheaper to buy a Zip drive or something?

P.S. Do you know where I can get plans for a trebuchet so I don't have to buy one?

Matt

Answer:
You could use a FlashPath adapter for carry around storage, but it'd be pretty painful.

The speed of a FlashPath adapter is limited by the speed of the floppy interface; you're unlikely to manage better than 40 kilobytes per second, and I've seen FlashPaths clocked at only about 30. Reading or writing the whole capacity of a "256Mb" memory card (real formatted capacity maybe 245Mb) will, at 40 kilobytes per second, take more than a hundred minutes. The life of the little lithium batteries would start to become a significant factor, I think.

You could get a used parallel port Zip drive pretty cheaply. A quick ebay.co.nz search (Matt is in New Zealand) turned up various cheap 100Mb drives and less-cheap 250Mb drives available to New Zealand; the shipping would be considerably more than the purchase price of most of them, but you could probably turn up a drive locally by checking out the classified ads.

Parallel port Zip drives can shift more than half a megabyte per second on all but the oldest and crustiest PCs, but the computer'll be pretty much paralysed while they're doing it.

If you're looking for trebuchet plans, you may find this page helpful.

 

Invisible nodes

I have a WinXP laptop, and a network of Win95, Win98 and WinME computers. I think I've heard that with WinXP, there is a little trouble viewing Win95 machines, and seeing their shared drives, etc. What I want to do is copy files from a Win95 PC to the laptop. A back up to be done once a week. I wanted to automate this using a batch file.

I could do it if I could see the Win95 PC, but I can only see the Win98/ME ones. Which means I would have to copy from Win95 to WinME then WinME to WinXP.

Can you execute a batch file on a remote PC (ie. the WinME machine that can see the Win95 machine) FROM the laptop, to copy the files from the Win95 to the WinME machine, then in the same batch file copy from WinME to the laptop?

Bryce

Answer:
You could use one or another piece of remote control software to do this, but it'd obviously be preferable to fix the networking problem itself.

If your XP machine can't see your 95 machine, my first guess about why it's happening is that you don't have a local DNS server (most LANs don't), and NetBIOS over TCP/IP is disabled. That'll make Win95-series machines inaccessible to WinXP boxes. All of the 95-series machines (95, 98 and ME) on your network should be invisible to the XP one in this case, of course, but humour me.

To check this, go to Control Panel -> Network Connections on the WinXP machine, right-click the LAN connection and select Properties from the menu. Select TCP/IP and click the Properties button, click the Advanced button, go to the WINS tab, click the Enable NetBIOS over TCP/IP radio button, and OK your way out. Now go outside and meditate for a few minutes, because it may take the XP machine that long to see a Win95/98/ME one. Or just reboot everything in sight; when it's all back up the change should have been made.

If this doesn't help, there are other things you can try.

Update both machines to the latest Windows patch version using Windows Update, and update your network card drivers as well, if you can. This might solve the problem by itself. It doesn't hurt to try.

Make sure you haven't accidentally turned on WinXP's firewall feature in the Properties for the Athlon's LAN connection.

Disable any other firewall software you're running on either machine.

Disable other extra software, like virus checkers. Virus checkers don't usually cause problems like this, but they can.

Also, if any box can't see any other one in Network Neighborhood, that may just be because the invisible computer doesn't have any resources shared. Machines with nothing shared don't show up.

 

Amnesiac Athlon

Sometimes when I start up my computer the startup message says "Bad CMOS Checksum...", then when I go to BIOS I see all values have been reset to default. This happened twice in the past month and a bit, after I updated the BIOS. It's an Athlon XP 2000 on an MSI KT3 Ultra2 with 512Mb PC2100 ValueRam. I also have a Gigabyte Radeon 8500, using the Catalyst drivers from the ATI site (non-reference, when I downloaded the latest drivers the reference drivers weren't released yet).

Could it be the non-reference drivers giving me problems, because there were no problems at all when I updated my BIOS. Do you have any ideas or suggestions?

Kevin

Answer:
I haven't played with your model of motherboard myself, but if it's like a couple of its close relatives, then after a BIOS flash you have to press F1 when you get this message, and hang about for a strangely long time (like, most of a minute), before you'll get the BIOS setup screen. Then you change anything that needs changing, save the changes, and you're in business again.

If that doesn't help, though, and the message doesn't come up every time you start the computer, then I'd guess that you need a new CMOS battery. On newer computers, including yours, the CMOS battery is an ordinary lithium button cell, which you can change yourself. The button cell's next to the memory slots on your board.

 

Mystery washers

Do the little red insulating washers sit on top of or below the motherboard once it is mounted? On the first computer I built I put them on both sides, but I want to get it right this time.

Christopher

Answer:
They're meant to go on top of the board, where you'd expect a screw-washer to sit, but it doesn't really matter. The purpose of those tough little red washers is not electrical insulation - because all of the screw-pads on the motherboard are part of its ground plane - but mechanical protection. The washers slip a little, and that allows the case to flex and bend slightly without lots of rock-solid fastening points straining the motherboard at the same time.

The washers also help to protect the board from over-tightened screws, and provide a bit of shake-proofing to stop the screws from slowly backing out.

It's safe not to use the washers at all. It's just slightly safer if you do use them.

 

LED lighting

Can you run LEDs off of a transformer?

What I need is a bright single light behind an alabaster head, which I intend to sink into a square niche in a brick wall. It will be a tight fit, so I need a light that doesn't generate too much heat. It also needs to run off the mains and be connected to the main light switch. Here in the UK we run off 240V.

What I would like is an even light if possible, if not a small spotlight that picks up the main part of the head from the rear.

I don't know if I can buy such a setup or would have to build one from scratch. I'm a carpenter not a sparks, but hopefully with some guidance I feel I could put something together that would work.

Gary

Answer:
Yes, this can be done. As a non-electrician, you definitely don't want to roll your own power supply, but you could just buy yourself a "wall wart" plugpack with an appropriate rating, chop off the barrel plug, and wire on an LED (or LED array) with an appropriate current limiting resistor for the LED(s) you're using and the supply voltage you've got.

Note that non-regulated plugpacks will deliver more than their rated voltage when they're not fully loaded. Get a regulated plugpack instead. If you want something that's made for behind-the-wall installation, one of the transformers made for 12-volt halogen downlights should do you. It'll have a lot more capacity than you'll use, but that ought not to be a problem.

 

Pointer twiddling

I had a laser pointer one some time ago, and I discovered, way before reading it on Everything2, that it indeed is the perfect cat toy.

Sadly, I broke it long ago, much to the disappointment of my little feline friend.

Now a girl I know has given me hers, but I have an issue. I don't want to use it with the dinky little button batteries: they are weak, expensive and with the intense use I'm planning (diets aren't working, so the cat has to get thinner by burning calories), I'd have to change them way too often. So I was thinking of wiring an external battery (a 3.6V 700MAH rechargeable pack from an old dead cordless phone).

I've tried doing it, and it works. It's very bright (though, of course, not overdriven), and the batteries are likely to last for a long time. But the moment I pressed the button and saw it worked, a thought crossed my mind, and I switched it off immediately. I thought that maybe I need to wire a resistor in series with the battery. I know that LEDs can be safely run from button batteries, but they burn out if you connect them to standard ones. Does this apply to laser pointers, too?

Meltdown

Answer:
Actually, your pointer probably is being driven harder than it was from three button cells. Those tiny cells aren't meant to power anything much more demanding than a wristwatch; in laser pointers, they're being beaten to death, and their output voltage sags quite a lot. That's why tiny LED flashlights that work from two nominal-three-volt lithium coin cells in series will blow up if you connect their LED to a six-volt lantern battery; the lantern battery can deliver six volts to the LED, but the coin cells can't.

The startup voltage of three fresh button cells, though, is still going to be 4.5 volts or more, for the brief moment before they sag under load. Startup is also when the laser diode will draw the most current from a given voltage, because it hasn't warmed up yet. Most of the bulk, and weight, of the diode modules in laser pointers is the heat sink that's there to stop the diode proper from baking itself.

Add to this the fact that laser diodes that're driven even marginally past their maximum current will die instantly, and it becomes clear that the driver circuitry behind the actual laser diode in the pointer's module is built to keep it safe from 4.5 volts, at unusually high current. So, indeed, 3.6 volts is likely to be fine for arbitrary periods of time. But it's still, probably, more than the module was getting from three button cells, even fresh ones. Hence the high brightness.

What all this means is that you don't need to add anything to protect the laser diode. Laser diodes need some sort of driver circuitry, unless you run them from really well regulated DC supply, or you're happy to keep them well below full power. Even a very brief overcurrent spike will smoke a laser diode.

But because the modules in laser pointers have the driver circuitry built in already, there's nothing more you need to do. In cheap diode modules, the "driver" may indeed just be an in-line resistor; there's often a filter cap across the diode as well, and better diode modules have a full regulator setup, that keeps them nice and bright as the batteries slump down towards zero. In any case, there will be something there, so any reasonably well regulated 3.6 volt DC source (NOT a simple unregulated "3.6 volt" plugpack, whose low-load output will be above 5V...) should be fine.

For tons more info on laser diodes, check this out.

If you want to ask me a question, feel free - but please read this and this first.

Other letters columns

I/O #1
I/O #2
I/O #3
I/O #4
I/O #5
I/O #6
I/O #7
I/O #8
I/O #9
I/O #10
I/O #11
I/O #12
I/O #13
I/O #14
I/O #15
I/O #16
I/O #17
I/O #18
I/O #19
I/O #20
I/O #21
I/O #22
I/O #23
I/O #24
I/O #25
I/O #26
I/O #27
I/O #28
I/O #29
I/O #30
I/O #31
I/O #32
I/O #33
I/O #34
I/O #35
I/O #36
I/O #37
I/O #38
I/O #39
I/O #40
I/O #41
I/O #42
I/O #43
I/O #44
I/O #45
I/O #46
I/O #47
I/O #48
I/O #49
I/O #50
I/O #51
I/O #52
I/O #53
I/O #54
I/O #55
I/O #56
I/O #57
I/O #58
I/O #59
I/O #60
I/O #61
I/O #62
I/O #63
I/O #64
I/O #65
I/O #66
I/O #67
I/O #68
I/O #69
I/O #70
I/O #71
I/O #72
I/O #73
I/O #74
I/O #75
I/O #76
I/O #77
I/O #78
I/O #79
I/O #80
I/O #81
I/O #82
I/O #83
I/O #84
I/O #85
I/O #86
I/O #87
I/O #88
I/O #89
I/O #90
I/O #91
I/O #92
I/O #93
I/O #94
I/O #95
I/O #96
I/O #97
I/O #98
I/O #99
I/O #100
I/O #101
I/O #102
I/O #103
I/O #104
I/O #105
I/O #106
I/O #107
I/O #108
I/O #109
I/O #109
I/O #110
I/O #111
I/O #112
I/O #113
I/O #114
I/O #115
I/O #116
I/O #117
I/O #118
I/O #119
I/O #120
I/O #121
I/O #122
I/O #123
I/O #124
I/O #125
I/O #126
I/O #127
I/O #128
I/O #129
I/O #130
I/O #131
I/O #132
I/O #133
I/O #134
I/O #135
I/O #136
I/O #137
I/O #138
I/O #139
I/O #140
I/O #141
I/O #142
I/O #143
I/O #144
I/O #145
I/O #146
I/O #147
I/O #148
I/O #149
I/O #150
I/O #151
I/O #152
I/O #153
I/O #154
I/O #155
I/O #156
I/O #157
I/O #158
I/O #159
I/O #160
I/O #161
I/O #162
I/O #163
I/O #164
Dan's Data letters #1
Dan's Data letters #2
Dan's Data letters #3
Dan's Data letters #4
Dan's Data letters #5
Dan's Data letters #6
Dan's Data letters #7
Dan's Data letters #8
Dan's Data letters #9
Dan's Data letters #10
Dan's Data letters #11
Dan's Data letters #12
Dan's Data letters #13
Dan's Data letters #14
Dan's Data letters #15
Dan's Data letters #16
Dan's Data letters #17
Dan's Data letters #18
Dan's Data letters #19
Dan's Data letters #20
Dan's Data letters #21
Dan's Data letters #22
Dan's Data letters #23
Dan's Data letters #24
Dan's Data letters #25
Dan's Data letters #26
Dan's Data letters #27
Dan's Data letters #28
Dan's Data letters #29
Dan's Data letters #30
Dan's Data letters #31
Dan's Data letters #32
Dan's Data letters #33
Dan's Data letters #34
Dan's Data letters #35
Dan's Data letters #36
Dan's Data letters #37
Dan's Data letters #38
Dan's Data letters #39
Dan's Data letters #40
Dan's Data letters #41
Dan's Data letters #42
Dan's Data letters #43
Dan's Data letters #44
Dan's Data letters #45
Dan's Data letters #46
Dan's Data letters #47
Dan's Data letters #48
Dan's Data letters #49
Dan's Data letters #50
Dan's Data letters #51
Dan's Data letters #52
Dan's Data letters #53
Dan's Data letters #54
Dan's Data letters #55
Dan's Data letters #56
Dan's Data letters #57
Dan's Data letters #58
Dan's Data letters #59
Dan's Data letters #60
Dan's Data letters #61
Dan's Data letters #62
Dan's Data letters #63
Dan's Data letters #64
Dan's Data letters #65
Dan's Data letters #66
Dan's Data letters #67
Dan's Data letters #68
Dan's Data letters #69
Dan's Data letters #70
Dan's Data letters #71
Dan's Data letters #72
Dan's Data letters #73
Dan's Data letters #74
Dan's Data letters #75
Dan's Data letters #76
Dan's Data letters #77
Dan's Data letters #78
Dan's Data letters #79
Dan's Data letters #80
Dan's Data letters #81
Dan's Data letters #82
Dan's Data letters #83
Dan's Data letters #84
Dan's Data letters #85
Dan's Data letters #86
Dan's Data letters #87
Dan's Data letters #88
Dan's Data letters #89
Dan's Data letters #90
Dan's Data letters #91
Dan's Data letters #92
Dan's Data letters #93
Dan's Data letters #94
Dan's Data letters #95
Dan's Data letters #96
Dan's Data letters #97
Dan's Data letters #98
Dan's Data letters #99
Dan's Data letters #100
Dan's Data letters #101
Dan's Data letters #102
Dan's Data letters #103
Dan's Data letters #104
Dan's Data letters #105
Dan's Data letters #106
Dan's Data letters #107
Dan's Data letters #108
Dan's Data letters #109
Dan's Data letters #110
Dan's Data letters #111
Dan's Data letters #112
Dan's Data letters #113
Dan's Data letters #114
Dan's Data letters #115
Dan's Data letters #116
Dan's Data letters #117
Dan's Data letters #118
Dan's Data letters #119
Dan's Data letters #120
Dan's Data letters #121
Dan's Data letters #122
Dan's Data letters #123
Dan's Data letters #124
Dan's Data letters #125
Dan's Data letters #126
Dan's Data letters #127
Dan's Data letters #128
Dan's Data letters #129
Dan's Data letters #130
Dan's Data letters #131
Dan's Data letters #132
Dan's Data letters #133
Dan's Data letters #134
Dan's Data letters #135
Dan's Data letters #136
Dan's Data letters #137
Dan's Data letters #138
Dan's Data letters #139
Dan's Data letters #140
Dan's Data letters #141
Dan's Data letters #142
Dan's Data letters #143
Dan's Data letters #144
Dan's Data letters #145
Dan's Data letters #146
Dan's Data letters #147
Dan's Data letters #148
Dan's Data letters #149
Dan's Data letters #150
Dan's Data letters #151
Dan's Data letters #152
Dan's Data letters #153
Dan's Data letters #154
Dan's Data letters #155
Dan's Data letters #156
Dan's Data letters #157
Dan's Data letters #158
Dan's Data letters #159
Dan's Data letters #160
Dan's Data letters #161
Dan's Data letters #162
Dan's Data letters #163
Dan's Data letters #164
Dan's Data letters #165
Dan's Data letters #166
Dan's Data letters #167
Dan's Data letters #168
Dan's Data letters #169
Dan's Data letters #170
Dan's Data letters #171
Dan's Data letters #172
Dan's Data letters #173
Dan's Data letters #174
Dan's Data letters #175
Dan's Data letters #176
Dan's Data letters #177
Dan's Data letters #178
Dan's Data letters #179
Dan's Data letters #180
Dan's Data letters #181
Dan's Data letters #182
Dan's Data letters #183
Dan's Data letters #184
Dan's Data letters #185
Dan's Data letters #186
Dan's Data letters #187
Dan's Data letters #188
Dan's Data letters #189
Dan's Data letters #190
Dan's Data letters #191
Dan's Data letters #192
Dan's Data letters #193
Dan's Data letters #194
Dan's Data letters #195
Dan's Data letters #196
Dan's Data letters #197
Dan's Data letters #198
Dan's Data letters #199
Dan's Data letters #200
Dan's Data letters #201
Dan's Data letters #202
Dan's Data letters #203
Dan's Data letters #204
Dan's Data letters #205
Dan's Data letters #206
Dan's Data letters #207
Dan's Data letters #208
Dan's Data letters #209
Dan's Data letters #210

 



Give Dan some money!
(and no-one gets hurt)