![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I wrote a long blog post on paper, and was looking forward to typing it up on a computer with a real keyboard, but got home to find that we had no internet access.
This may seem like a slightly odd thing for an internet addict to say, but: I hate home networking. I wouldn't hate it if it worked, of course -- if it was like electricity, working at the flick of a switch, no configuration required, total failure so rare that we're still talking about the last time it happened -- but it's never like that.
I'll freely admit that the real problem exists, as they say, between keyboard and chair. I don't understand most of the component layers of the problem, I don't really understand the way they interrelate, and as for understanding how to fix them when they go wrong -- hopeless.
My view of the setup is something like this: my laptop has a radio-thing in it that lets it talk to the Airport; the Airport is plugged into the router; the router is plugged into phone socket. So INTERNETS comes out of the phone socket, and the router speaks fluent internet, and interprets it for the Airport, which can shout loud enough for other stuff to hear it. Roughly. I can vaguely tell where the problem is (if the computer can get a wired connection directly via the router, then the Airport is probably the problem; if it can't, blame the router) but that's not a lot of help: if nothing has changed, why has one of these devices stopped working? Why does rebooting so frequently fix it? I feel like a superstitious idiot unplugging the magic white box and plugging it back in again, but 8 times out of 10 it fixes things. Sometimes unplugging doesn't work, but a 'hard reset' does; sometimes, power-cycling the router fixes everything. Sometimes, nothing works. Like today.
The other problem is that even if I really understood DNS, TCP/IP and so on [waves hands as if trying to unravel a large bundle of unidentified greyish wires], the INTERNETS would still be coming THROUGH THE PHONE SOCKET, and this part of the setup is a) magic and b) subject to the whim of BT and Eclipse. So any attempt to do the right things with the computer, Airport and router is constantly undermined by the fear that things are mysteriously Not Working outside the realm of Stuff I Control. It's not working... Have I got something wrong? It's working again... Is that because of what I did, or because Mr BT turned off the switch marked 'BOTLEY INTERNET FAIL'?
There's also the lurking worry that by buying a cheap router and a second-hand Airport I have doomed the whole project to failure. More superstition, probably: do the gods of internet require a costly sacrifice? But this is secondary to the real problem: too many components and not enough understanding.
So, rather than asking (as I have done previously on LJ) 'please to make mr understand internets', I will try to ask some more specific and practical (and probably dumb) questions:
1. How can I test the ADSL connection without using the possibly-rubbish router?
2. What could make a correctly-configured Airport/router suddenly stop working for no apparent reason? (If the answer is 'nothing' then my inference is that it's not correctly configured...)
3. If component A is intermittently malfunctioning, is it possible that rebooting component B could affect it? (If not, I fear I'm left with either loads of crazy coincidences or the increasing certainty that none of the components of this mess actually work reliably.)
Posted via LiveJournal.app.
no subject
Date: 2008-11-13 12:35 am (UTC)2. Umm. Radio interference? Depends on the distance between mac and airport, whether there's anything nearby emitting junk radio noise, other folk using the same wifi channel, cosmic rays, power surges...
3. Very unlikely. Rebooting B and it starting working again is arguably indistinguishable from the case where you did nothing for a couple of minutes and then tried again to see if A had spontaneously come back to life.
no subject
Date: 2008-11-13 01:08 am (UTC)By having a spare router (or just an ADSL modem) - preferably from a completely different manufacturer, so that any bugs or misbehaviours aren't likely to manifest on both at the same time - and having previously set it up and confirmed that it works. Then if suddenly, neither of your routers work, there's a good chance it's your ISP or BT that are to blame. This may be a slightly expensive option, but as the second router is a backup, it doesn't have to have all the features of the main one.
(This is where I have to find a point somewhere between technical and condescending.)
Bugs in the firmware, usually. Some oversight that is triggered by a rare, but not impossible, sequence of events, leading to the program getting itself in a knot, and either freezing completely, or working much less effectively than normal. Rebooting fixes it because the program gets to start again from scratch, completely forgetting about whatever mess it had previously encountered.
Check the manufacturer's website for firmware updates (and then see if they also have some support forums where other users have whinged about how the new firmware's worse than the old one).
It's possible - if component B's startup routine involves communicating with component A, then getting component B to do all its startup routines again could lead to it sending A some data that causes A to break (eg. due to circumstances described in the answer to question 2) while the previous time round it caught A at a different time, or sent a slightly different sequence, that didn't trigger the bug.
But with no knowledge of what A and B are, I'd think it more likely to be a coincidence. I'm assuming there's nothing in the manual like "make sure you've switched on A, plugged in all the cables and counted to ten before switching on B" that would imply such a connection?
no subject
Date: 2008-11-13 02:20 am (UTC)Typing HTTP://192.168.0.0 or HTTP://192.168.1.1 will probably call up a configuration page for your router. The password's always admin.
Wireless routers and 'Airport' devices have some interesting failure modes... Among them, overheating components, which fail when the device has worked for 10-20 minutes.
no subject
Date: 2008-11-13 04:06 am (UTC)no subject
Date: 2008-11-13 07:22 am (UTC)no subject
Date: 2008-11-13 07:57 am (UTC)Your ADSL router probably has a web-configuration interface (and a telnet one, but...); if you talk to that when the internets go away, you'll find whether it thinks it has ADSL-happyness or not.
Sometimes
traceroute
(your mac has it, in all likelihood) can help - if it finshes somewhere in your ISP, then it's probably their fault...My ISP will lend you an ADSL router for free, and also has web status pages telling you when it thinks your line is up/down/fish.
no subject
Date: 2008-11-13 08:19 am (UTC)Pretty much all other consumer grade gear I've used has sucked.
no subject
Date: 2008-11-13 08:21 am (UTC)no subject
Date: 2008-11-13 08:40 am (UTC)2) Overheating (make sure all devices and their wall warts have decent air-flow and are in a fairly cool place), external interference, bugs (if packet type X arrives right after packet types Y, D and Q... hung airport). Make sure the firmware is up to date (via the airport utility on da mac), try changing the channel manually (only 1, 6 and 11 are worth using). iStumbler on the Mac can tell you what other channels things are using in your area, use the least used one.
3) Unlikely but possible. If one device is wedged then rebooting a directly connected device could free it up... but yeah, rather unlikely.
Be methodical. My usual routine when something goes down is to check the computer is getting an IP, traceroute/mtr to www.google.com or similar and see how far it gets (if it fails, traceroute to an IP to see if DNS is failing). If it fails inside my network, try wired net. If it never gets ouside the house, check the router's information. If that doesn't respond, powercycle it.
no subject
Date: 2008-11-13 09:33 am (UTC)no subject
Date: 2008-11-13 09:36 am (UTC)no subject
Date: 2008-11-13 09:36 am (UTC)(although make sure you get the right headquarters)
no subject
Date: 2008-11-13 09:45 am (UTC)The technology does work.
no subject
Date: 2008-11-13 09:50 am (UTC)2) Last time I moved house I threw away two wireless routers, on each of which the wireless part had stopped working while the router still worked. Not sure exactly what happened but probably overheating killed the radio module.
3) Yes. Networking is particularly prone to this sort of thing. Trivial example: if you plug a cable from a router back into the same router, or otherwise make a loop in your network, the entire network will probably stop working.
no subject
Date: 2008-11-13 09:53 am (UTC)no subject
Date: 2008-11-13 10:13 am (UTC)no subject
Date: 2008-11-13 11:02 am (UTC)NB I don't use an Apple Airport so I don't know if you can fit an external antenna.
no subject
Date: 2008-11-13 11:04 am (UTC)I had bloody awful connectivity for a couple of hours on Tuesday afternoon: it kept cutting out and then only coming back for a few minutes, if that, before cutting out again. It's definitely the line in our case. If it starts doing it more often I think I'll have to call our ISP, but it's mostly OK.
no subject
Date: 2008-11-13 01:13 pm (UTC)All, except microwave ovens, use frequency-hopping, so shouldn't block a WiFi signal to the degree that it stops working entirely. And a microwave shouldn't normally interfere unless it's either close, large, or leaky.
no subject
Date: 2008-11-13 02:18 pm (UTC)My favourite networking bug:
Ascend Pipeline 50 ISDN routers were configured by default to proxy-arp for all addresses they thought were on the internet side, presumably to save you having to enter a router address into all the local clients. (DHCP-capable clients might not have been ubiquitous at that point.)
Unfortunately this meant that if you plugged it into a physical network with hosts that disagreed with the P50 about what IP network they were on, for instance if you plugged it into the office network while configuring it for a customer's intended settings, it would use ARP to advertise itself as the right target for all your local IP addresses. Any host that was slower than the P50 would therefore become inaccessible as everything tried to send all the traffic for it to the P50 instead.
Our Windows boxes crashed in short order when this happened! Turn off or unplug the P50, e.g. because you'd finished setting it up, and everything started behaving again, at least until the next one. Took us quite a few before we realized what was going on.
no subject
Date: 2008-11-13 05:50 pm (UTC)At least for you. It's never worked for me.
no subject
Date: 2008-11-14 12:06 am (UTC)Either way, it works for me as it's supposed to and never drops... so it works.