Atomic I/O letters column #157

Originally published 2014, in PC & Tech Authority
(in which Atomic magazine is now a section)
Reprinted here January 13, 2015
Last modified 18-Jan-2015.
 

The silent death

Do modern PCs still have beep error codes? There was a small power cut last night and my PC hasn't worked since (so this is yet another of your "I'm typing this on my phone, because..." letters). I've taken every component out of the motherboard except for the CPU and the power connections, and when I turn the machine on now the fans still spin, but there's no error beep for no-RAM, no-video-card, et cetera.

Any ideas on what's dead, besides "everything"?

J.

Answer:
Yes, you should get BIOS error beeps if you power up a motherboard without some essential component(s) connected to it. If there are no beeps then either you don't have a PC speaker plugged into (or built into) the motherboard, or something major is fried, or more temporarily non-functional (unplugged, temporarily shorted out by a stray screw...).

It might be something wrong with the power supply, which is the component most likely to get barbecued by mains power problems. This is by design; a PSU is meant to sacrifice itself to save the rest of the PC. Passing through mains weirdness to the other components is one of the things that crappy off-brand maybe-not-even-legal PSUs can be expected to do. If the fans are spinning, though, then the PSU is probably OK.

So, most probably, you've got a dead CPU, a dead motherboard, or possibly even both. If nothing else in the computer is old and flaky (no five-year-old drives, either spinning or SSD...), so you can't justify a whole new machine, then I'd just get a new CPU and mobo and turn the old ones into wall decorations.

 

Thumb-drive surgery

I trod on my flash drive - it had to be the 128GB one not the 4GB one, didn't it? - and snapped the connector off. The little circuit board's delaminated where the connector was soldered on, but the traces that went to the connector are clearly visible past the destroyed part of the board, and I reckon I could solder something onto them.

Is there a way to put a new connector on this thing, or will that be an express train to data corruption?

Christian

Answer:
Yes, you can fix it, and yes, it'll probably be fine, if ugly. As long as the mechanical damage really is only to the USB-connector portion of the board, and no cracks have gone further into the land of microscopic surface-mount components, then it really does just need a new connector. USB connectors only have four contacts, too, so a novice can solder them quite successfully. (As compared with, say, a DVI connector, which uses 24 contacts, plus another five for the optional cross-shaped analogue contacts. Some many-pinned connectors can be fixed near-magically with drag-soldering tricks, but usually hand-soldering them is about as fiddly as you'd expect.)

The easiest way to do this, especially with a drive with damage to the USB-plug traces, is to sacrifice a USB cable with an A plug on it (the same gender the drive had before). Chop the non-A-plug end off, strip the wires, figure out which one goes to which contact with your $10 yellow plastic multimeter in continuity mode, and then solder the wires onto whatever device has lost its plug.

[Any low-powered soldering iron is suitable for this job. 25 watts is plenty, a 15-watt "soldering pencil" is probably even better. I do not recommend you purchase one of the suspiciously-cheap mains-powered irons that abound on eBay, unless electric shocks and/or burning down your house excite you. Here in Australia you can get a perfectly good mains iron for less than $AU15; in the States you can get an actual brand-name Weller iron for only barely more. There are a multitude of soldering tutorials on the Web, and basic soldering really is something you can learn in an afternoon. Make sure you start with plain old tin/lead solder, thought, not the modern lead-free stuff. Lead-free is harder to work with; tin/lead melts at a lower temperature and flows better. If you are not in the habit of eating your workpieces or working in a hermetically sealed barrel, the toxicity of the lead is not a big deal.]

[A note on wire strippers: This kind of automatic stripper - sometimes known as a "T. Rex" or "Parrot" type - works fine at first but doesn't last very long. OK for home use, especially since they're on eBay for only a few dollars. (I haven't actually used one of those ultra-cheap eBay ones; perhaps they eat wires and break instantly. For sub-$2.50 delivered, though, you might as well give one a go.) This other kind of automatic wire stripper works better than the T. Rex kind, lasts much longer - I've never had one even look like wearing out - and doesn't cost vastly more. No automatic stripper works fabulously on thin wires, though, so for any kind of fine electronics work the best option is this boring old kind of stripper, which requires you to pick the right-sized notch for the wire you're stripping, but will not cut any strands of copper if you pick the right hole. This last kind of stripper is also pretty close to free on eBay, and lasts approximately forever. Here's an eBay search that finds all of them. It is also possible to strip wires perfectly using just a sharp knife if you practice for a while. Use of the notch between your front teeth is also popular, with the advantage that the more you do it, the larger the gauge of cable that'll fit in there!)

If you don't care about keeping the busted thumb drive, then you can improvise something without having to solder. Little alligator clips, syringe-type circuit test clip leads, paper clips... whatever's necessary to temporarily connect the circuit-board terminals to the USB socket of a computer for long enough to recover your data.

If you solder a cable onto the circuit board, though, you can keep using the thumb drive. Once you know it's working, just drown the board in hot-melt glue or some similar substance to protect the connection. (Although it is a great Half-Arsed Electrical Repairer tradition to use half a mile of vinyl electrical tape in this situation, please don't. You could use far-more-expensive self-amalgamating silicone repair tape, though. Old-style self-amalgamating tape is nasty sticky rubber, but the modern silicone stuff is slick, and has a thousand uses.)

The management, as usual, disclaims all responsibility if this advice results in you shorting a USB connector and blowing up your USB controller. That's about the worst that could happen, though, unless you take really extreme steps to deliberately electrocute yourself.

 

Config, schmonfig

I've got a new PC (but with Windows 7 x64, cos like all right thinking people I will not have Win8 in the house) and now I can install stuff in Program Files (x86), but some of the stuff I install gets error messages if it tries to make any files of its own, like config files, in the same folder.

Windows pops up a do-you-really-want-to-do-this thing when I install the programs, but there's no similar notification when the programs try to do stuff, it just fails every time.

I thought it was a permissions problem, but digging through account permissions and folder permissions only shows me that there are indeed some things my administrator account can't do, but they're all greyed out and I can't change them!

Don't make me smash this thing. It has an SSD and a GeForce 750. It's really nice. It's just allergic to boringprogram.cfg files.

Keith

Answer:
You've got User Account Control turned on, and your old programs weren't installed in a way that UAC could track. (Did you just copy a folder or two into Program Files, by any chance?) UAC thinks those programs may be doing something underhanded. But even then, as you say, it should tell you, not just deny those programs entry to the nightclub and swear it never even saw them.

UAC is a good idea, and by and large works, though it can also be a good idea to turn UAC off when you're setting up a new scratchbuilt computer, to avoid endless "yes, mother, I meant to install that one TOO" experiences. If UAC totally blocks some software that matters to you, though, just turn it off for good. You can still restrict the account permissions of your everyday login and get reasonable security, provided you actually read the requesters when things install.

(This is the big problem with many security systems that pop up "do you really want to..." requesters. The less experienced the user, and thus the more they actually need to be protected by that security system, the more likely it is that the miserable schemozzle of computer-security "training" these days will actually have just trained them to always click OK without reading. Especially if there's a promise of dancing pigs.)

 

An impenetrable Cat5 jungle

At my work the server room has a huge network patch panel, the backside of which is a horrorshow. Multiple cable colours, multiple cable LENGTHS, all just plugged in all over the place.

The front of the patch panel looks fine, though – neatly and correctly labelled, and everything works. I presume whoever wired the back just used every cable that came to hand before buying a reel of one colour, or something. But is this likely to be a problem in the future? We've had about the same number of network problems in this office that I've seen in every other job I've had (not very many), and none were traceable to the patch panel, but is it a ticking bomb situation?

T.

Answer:
It's probably fine.

The idea of the standard patch panel is that the back of it is wired up precisely once, when it's installed. Every single socket is supposed to be connected to the appropriate other socket, even if nowhere near all of them are yet needed. Then, the panel's pushed into its rack or into the corner or into an Ikea bookshelf (depending on your business's scale...) and the back of it is never touched again. The wiring behind the panel should be neat and tidy, but provided it doesn't break network rules (wrong cable grade, kinked conductors, outrageously long, that sort of thing) it can be as much of a spaghetti-explosion as you like, and still work fine.

It's hardly best practice to have random Medusa-hair cables all over the place behind the patch panel, but not so much for functional reasons as because old cables can be unreliable, network devices dangling from said cables can damage them, and passers-by may hook their foot in a loop of cable and cause a slapstick disaster.

This is also why many sexy super-organised zillion-cable network setups are entirely composed of unlabeled blue cables. Nobody needs to be able to tell them apart by sight. That sort of thing is strictly amateur league.

So this is another of those things that's only a worry insofar as it indicates that the person responsible for the ugly rack wiring might have done something just as ugly, but more likely to cause problems, somewhere else.

 

The h4xx0r-f0n3

I was sitting in a cafe the other day, and as I always do I tried to connect my phone to any local free WiFi, of which there wasn't any. The phone connected to an unencrypted network, but the browser just showed one of those "give us money for a magic code" pages, I think from the small hotel next door. OK, no problem, no surfing for me, get on with lunch.

Except after I finished lunch, I noticed that I now had new email downloaded to the phone. I definitely didn't get it via 3G or any other phone network, but there it was. But the Internet was still clearly blocked, because I hadn't gone next door with however much money they wanted.

How did this happen? Do I have a magic telephone?

Harry

Answer:
The network you connected to did not block your Internet access as well as it was meant to.

The "gateway" device that was supposed to block you until you typed a code into the "captive portal" correctly redirected port-80 HTTP requests to that portal page. But it passed port-110 POP e-mail traffic without complaint. It might also pass port-25 SMTP e-mail upload traffic, though any such activities on an unencrypted public network are not a great idea security-wise.

Holes like this can be exploited in a number of ways. You could, for instance, "tunnel" an encrypted SSH connection through some port that turns out to be un-blocked, and connect to the Internet quite securely via the server - like perhaps your home PC - at the other end of the tunnel. Or, for a clumsy but more straightforward solution, you could connect to a remote machine via VNC or Remote Desktop or something and just use a browser on that machine.

(My own tough-as-nails NSA-grade security-through-obscurity protection for the VNC server running on my main computer, beyond using a proper password, is to have it listen on a non-standard, high-numbered port.)

A properly configured pay-gateway should block all ports for non-paying users, but dumb ones that only block port 80, or let through any port higher than 999, are not hard to find.

Note that doing any of this stuff is now quite spectacularly illegal in many jurisdictions. Just accidentally checking your mail isn't likely to get you indefinitely detained as a cyber-terrorist, but deliberately exploiting such loopholes can, in the unlikely event that you're caught, get you in big trouble even if you haven't been downloading movies and/or sending death threats to world leaders.

 

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)