Posts Tagged With: Education

Building a better home network

I finally got my home network in a place where I am happy with it. I wanted to share my setup and what I learned about it. There has never been a better time to set up a great home network; there are several new tools that have made this easier and better than in the past. Hopefully this will help you set up your home network!

My house

My house is two stories on a standard 25 x 100 square foot San Francisco lot. The ground floor looks roughly like this:

 --------------------------------------
|               |                      |
|               |         |   Office   |
|    Garage     | Mudroom |            |
|               |         |-------------
|                           | | | | | |
 ---------------------------------------

Upstairs looks like this:

 --------------------------------------
|    ___________                       |
|               |        Living Room   |
|    Bedroom    | Kitchen              |
|               |         -------------
|               |           | | | | | |
 ---------------------------------------

We have a Roku in the living room. My goals for home internet were:

  • Good wireless connection in every room
  • Ethernet connections in the office
  • Ethernet connection to the Roku
  • Synology network attached storage (NAS) and other external hard drives reachable from anywhere in the house

We are lucky to have Sonic Fiber internet service. Sonic comes in to a box in the garage, and an Ethernet line runs from there to the mudroom. None of the other rooms have Ethernet connections.

Initial setup

Sonic really wants to push Eero routers to everyone.1 Eero is fairly easy to set up, and Sonic collects a small fee from renting the router to you. You can extend your home network by adding more Eero's into a mesh network.

If you have a small apartment, an Eero is probably going to be a good fit. However, the mesh network was not great for achieving any of the goals I had in mind. The repeaters (Eero beacon) do not have any Ethernet out ports. It was difficult to extend the network from the mudroom to the bedroom without renting two extenders, which added about $100 per year, increased latency and lowered speeds. Further, clients on the network kept connecting to an Eero that was further away, instead of the closest one.

Powerline

(NB: please don't stop reading here as I don't recommend this.) My next step was to replace the Eero's with a traditional Netgear wireless router in the mudroom. This also could not reach to the bedroom. So I bought a powerline adapter and plugged one end in near the router and the other end in the bedroom.

Powerline adapters send signal via electric current in your house. They don't offer great speeds. Devices on your network that use a lot of electricity, like laundry machines or the microwave, can render the powerline connection unusable.

There are probably better solutions for you than powerline adapters in 2020.

Extending Ethernet to more rooms

I called a cabling company about the possibility of running Ethernet to more rooms in the house. We decided the bedroom would be very easy since it's directly above the garage. It took a team of two two hours to drill a hole in the garage, run a cable up the side of the house to the bedroom, and install an Ethernet port in the bedroom. This cost about $200.

We looked at running Ethernet to other rooms but the geography of the stairs made this really tricky.

Side note: future proofing cabling

Our house has coax cables - the traditional method of getting e.g. cable TV service - running from the garage to four rooms in the house, but it doesn't have Ethernet set up. This is disappointing since it was built within the last decade.

There are two things you can do to future proof cable runs in your house, and ensure that cables can be replaced/swapped out if mice eat them or whatever. I highly recommend you implement them any time you are running cable. One is to leave a pull cable in the wall next to whatever cable you are installing. If you need to run a new cable, you can attach it to the pull cable, and then pull it all the way through from one end to the other.

Normally cables will be stapled to the wall interior, which makes them impossible to pull through. The other option is to leave cables unstapled. This will let you use the coax/other cable directly as the pull cable. In general though it's better to just leave a second pull line in the wall behind the port.

Without either of these solutions in place, running new cables is going to be messy. You can either try to hide it by running it along the exterior walls or ceiling of your house, or drill holes in the wall every few feet, pass a new cable through, and then patch up the holes.

Side note: cat 5 vs. cat 6

Your internet speed will be bottlenecked by the slowest link in the network. Be careful it isn't your cables!

There are two flavors of Ethernet cable. Category 5 is cheaper, but can only support speeds of 100 Mbps. Category 6 is slightly more expensive but you will need it to get full gigabit speeds.

The Ethernet cables that come with the products you buy may be Cat 5 or 6. Be careful to check which one you are using (it should be written in small print on the outside of the cable).

DHCP

To load google.com, your computer looks up the IP address for Google and sends packets to it. So far so good, but how does Google send packets back? Each client on the network needs a unique local IP address. The router will translate between an open port to Google, say, port 44982, and a local IP address, say, 192.168.0.125, and send packets it receives from the broader Internet on port 44982 to the client with that IP address.

What happens if two clients on your network try to claim the same local IP address? That would be bad. Generally you set up a DHCP server to figure this out. When your phone connects to a wifi network it sends out a packet that says basically "I need an IP address." If a DHCP server is listening anywhere on the network it will find an empty IP address slot and send it back to the phone.2 The phone can then use that IP address.

Generally speaking, a consumer wireless router has three components:

  • wireless radios, that broadcast a network SSID and send packets to and from wireless clients.
  • an Ethernet switch that can split an incoming Internet connection into four or more out ports. Generally this has one WAN port (that connects to your modem/ISP) and four LAN ports (that connect to local devices on your network)
  • a DHCP server.

You can buy products that offer each of these independently - a four way switch without a radio or DHCP server will cost you about $15. But this is a convenient bundle for home networks.

If your network contains multiple switches or multiple routers you need to think about which of these devices will be giving out DHCP.

Two Routers, Too Furious

At this point my network had one router in the bedroom and one router upstairs in the living room, via an ungainly cable up the stairs. So I had good coverage in every room, and the Roku hooked up via Ethernet to the living room router, but this setup still had a few problems. I didn't have the office wired up, and the NAS only worked when you were connected to the living room router.

Furthermore, I kept running into issues where I would walk from the living room to the bedroom or vice versa but my phone/laptop would stay connected to the router in the room I was just in. Because that router was outside its normal "range", I would get more latency and dropped packets than usual, which was frustrating.

How to diagnose and measure this problem

On your laptop, hold down Option when you click the wifi button, and you'll get an extended menu that looks like this.

The key value there is the RSSI parameter, which measures the signal quality from your client to the router. This is currently at -46, a quite good value. Lower than -65 and your connection quality will start to get dicey - you will see lower bandwidth and higher latency and dropped packets.

Apple devices will hang on to the router they are currently connected to until the RSSI gets to -75 or worse, which is a very low value. This is explained in gory detail on this page. Because router coverage areas are supposed to overlap a little bit, this means the connection will have to get very bad before your phone or laptop will start looking for a new radio.

Adjust the power

Generally this means that you don't want the coverage area for the router to reach to the center of the coverage area for the other router, if you can help it. If the coverage areas don't overlap that much, clients will roam to the closest router, which will improve the connection.

You can adjust the coverage area either by physically moving the router or by lowering the power for the radios (which you may be able to do in the admin panel for the router).

If neither of these works, as a last ditch attempt you can give your routers different network names. But this makes it more difficult to keep a connection when you roam from one router to the other.

Ethernet Over... Coax?

I had not managed to get a fixed connection to the office, which would have required snaking a Ethernet cable over at least two doorways and three walls. However, I heard recently about a new technology called MoCA (multimedia over coax), which makes it possible to send an Ethernet signal over the coax line from the garage to the office. I bought a MoCA adapter for each end of the connection - about $160 in total - and wired it up and... it worked like a charm!

Moca ethernet over coax connector in
office

The latency is slightly higher than traditional Ethernet, but only by a few milliseconds, and the bandwidth is not as high as a normal wired connection but it's fine - I am still glad to be able to avoid a wireless connection in that room.

This change let me move my NAS into the office as well, which I'm quite happy about.

Letting Everything Talk to Each Other

At this point I had a $15 unmanaged switch in the garage that received a connection from the Sonic Fiber router, and sent it to three places - the bedroom, the living room and my office. However, the fact that it was unmanaged meant that each location requested a public IP address and DHCP from Sonic. Sonic was not happy with this arrangement - there is a limit of 8 devices per account that are stored in a table mapping a MAC address to an IP address, and after this you need to call in to have the table cleared out. This design also meant that the clients on my network couldn't talk to each other - I couldn't access the NAS unless I was connected to the living room router.

The solution was to upgrade to a "managed" switch in the garage that could give out DHCP. You can buy one that is essentially a wifi router without the radio for about $60. This has the same dashboard interface as your router does and can give out DHCP.

Once this switch was in place, I needed to update the routers to stop giving out DHCP (or put them in "pass through mode") so only a single device on the network was assigning IP addresses. I watched the routers and NAS connect, then assigned static IP's on the local network to each one. It's important to do this before you set them in pass-through mode so you can still access them and tweak their settings.

You should be able to find instructions on pass-through mode or "disable DHCP" for your router online. You may need to change the IP address for the router to match the static IP you gave out in the previous paragraph.

That's it

I finally have a network that supported everything I want to do with it! I can never move now.

Garage router setup

I hope this post was helpful. I think the most important thing to realize is that if you haven't done this in a few years, or your only experience is with consumer grade routers, there are other tools/products you can buy to make your network better.

If you are interested in this space, or interested in improving your office network along these lines, I'm working with a company that is making this drop dead easy to accomplish. Get in touch!

1. I posted on the sonic.net forums to get help several times. Dane Jasper, the Sonic CEO who's active on the forums, responded to most of my questions with "you should just use Eero." I love that he is on the forums but Eero is just not great for what I'm trying to do.

2. I'm simplifying - there are two roundtrips, not one - but the details are really not that important.

Liked what you read? I am available for hire.

Guarantee These Rights

From the Cato Institute: "I once attended a dinner discussion with a bunch of health care big-wigs. One highly educated woman — she is both an M.D. and a J.D. — began the dinner by declaring, “We need to make health care a right in this country, just as we make education a right.” Later in the dinner, she complained that her organization’s materials must be written at an 8th-grade level to be understood by their target audience. I interrupted to ask how she reconciled those two statements: if we really have created a right to education, why the poor reading comprehension? And if we create a parallel right to health care, how many people’s medical care will be stuck at an 8th-grade level? Her answer was non-responsive."

Liked what you read? I am available for hire.

Posner on college

From Richard Posner: "...colleges and graduate (including professional) schools provide a screening and certifying function. Someone who graduates with good grades from a good college demonstrates intelligence more convincingly than if he simply tells a potential employer that he's smart; and he also demonstrates a degree of discipline and docility, valuable to employers, that a good performance on an IQ test would not demonstrate. (This is an important point; if all colleges did was separate the smart from the less smart, college would be an inefficient alternative to simple testing."

Liked what you read? I am available for hire.

Coulson on Educational Standards

From the Washington Post Online: "Cementing the coalition, Sen. Christopher Dodd (D-Conn.) and Rep. Vernon Ehlers (R-Mich.) have recently proposed a bill to create a national curriculum in reading and math. The bill's supporters rightly tell us that by the end of high school, American students have fallen behind their international peers. Dodd and Ehlers use that observation to conclude that we need such a curriculum "to compete in the global economy." "But how exactly would homogenizing our curriculum and testing make us more competitive? "National standards would help propel U.S. economic competitiveness, because they would allow the country to set expectations higher than those of our international competitors," write Rudy Crew and Paul Vallas, the superintendents of the Miami and Philadelphia school districts, in a recent Education Week commentary. ..."But sports and manufacturing are competitive fields, while public schooling currently is not. Standards advocates mistakenly assume that high external standards produce excellence, but in fact it is the competitive pursuit of excellence that produces high standards. "We understand this point implicitly in every field outside of education. We didn't progress from four-inch black-and-white cathode ray tubes to four-foot flat panels because the federal government raised television standards. Apple did not increase the capacity of its iPod from 5 to 80 gigabytes in five years because of some bureaucratic mandate. And the Soviet Union did not collapse because the targets for its five-year plans were insufficiently ambitious."

Liked what you read? I am available for hire.

Cheap Education Quote

From Andrew J. Coulson of the Cato Institute: "...it would be institutionally suicidal for a monopoly school system to do a good job of teaching market economics. The very fact that we continue to have a monopoly school system is retroactive proof that market economics has not been well taught. Monopolies, after all, tend to be frowned on by the economically savvy."

Liked what you read? I am available for hire.

Are You F***ing Serious?

Just finished reading in the Philadelphia Inquirer about the second straight day of riots at West Philadelphia High, after a popular principal learned he was being fired in a newspaper. Some quotes from the article: "Problems at West Philadelphia High exploded last week after teachers there complained that assaults on staff in some cases were being downplayed. Initially, Vallas said he would replace James soon but he speeded the process after another staffer was attacked. On Friday, several small fires were set in the school and another teacher was assaulted during an evacuation...Two female students were arrested at the school entrance when metal detectors found a razor on one and a nail file on the other - items prohibited under the district weapons policy. More arrests are pending for two small fires that were set in lockers. The school was evacuated at 11 a.m. and again a short time later. Attendance was down to between 40 and 50 percent yesterday, said Ozzie Wright, acting co-principal. It's usually at 75 percent." And then, the kicker - "District officials hope they can calm the school today so 11th graders can take the Pennsylvania System of School Assessment, the high-stakes test that determines whether schools meet federal achievement targets." I mean, come on, who's being kidded here? What are you going to say to the kids? "Hey there, I know we've had two fires and several assaults over the past week, but we really want you to show up to fill out some bubbles on a test that has no real purpose. The standardized test tells the state how smart you guys are." My guess is the smart students are at home, watching the Wire and looking out for their own safety. If I'm a WPHS student right now, there are bigger issues than a standardized test. Sorry, Philly school staff.

Liked what you read? I am available for hire.

On Being an Elementary School Teacher

The NYT has a new blog up (subscription required) featuring posts from five schoolteachers from around America. Reading the last post from Mor Regev, a brand-new teacher in the Bronx, about how her attempts to discipline a student not only made him more disobedient but threw off her plans for the rest of the class. Schoolteaching is possibly the only discipline where we take brand-new teachers and throw them in a classroom with thirty (in this case, forty-two) students, with virtually no supervision or feedback. Furthermore, because teaching carries such a low salary, it is difficult to find qualified teachers for positions. There are two things which, based on my experience as a student, will most dramatically improve quality of education: improve the quality of the teachers, and have smaller class sizes. Improved technology in classrooms may be nice, but it doesn't do a thing if the teacher is horrible; indeed, it may be a bigger distraction to students. Furthermore, I highly doubt teachers in the 1940's and 50's were hindered by their lack of access to computers and email.
We can improve the quality of teachers first and foremost by raising salaries, but also by improving mentoring programs to give better feedback and introducing better sharing of lesson plans and effective techniques for handling and teaching a class of kids. Reducing class size will only be made possible by investing in more classrooms and more teachers at each grade level. The problem boils down to money, and better use of the money we spend. For now, we'll have our brand-new elementary school teachers on the verge of tears because they're trying their best, and failing, to control a class with forty-odd kids.

Liked what you read? I am available for hire.

Undergraduate Research

I wrote my Econ 1 professor today and asked her if there were any professors looking for research assistants. She said that professors rarely take undergraduate assistants. Fair enough. Which led me to the idea of having undergraduates form teams based on appealing ideas, and do their own research, maybe led by one or two full-time advising staff. You'd need to set up a large amount of infrastructure to accomplish this, but it has a lot of potential - it works like this: Students submit ideas, other students express an interest in developing the idea, and you form a research team. The adviser is exactly that - to advise on complex economic issues and provide guidance in producing tangible results. This would be useful, I think.

Liked what you read? I am available for hire.

The Difference Between Knowledge & Intelligence

Right now I'm reading Justin Menkes' Executive Intelligence. Menkes points out that many top businessmen aren't competent and fail basic management objectives, and wonders how the screening process failed to winnow out the bad executives. He defines executive intelligence, shows examples of exec-intelligent CEO's who lead their companies to success, and proposes ways to screen for it that would be better than our current measures. I'm reading it because I think the SAT is a crappy, racist test, and I want to see what tests Menkes proposes and if they'd be good for high school seniors. By far the heaviest hitting part of the book was when he talked about the difference between knowledge and intelligence, and how we confuse the two.
"The distinction between knowledge and intelligence is frequently blurred. For example, most people are familiar with the popular television show Jeopardy!, on which contestants are rewarded for the amount of knowledge they possess of a wide variety of topics. Often the winners are referred to as "exceptionally smart." But the truth is that they are exceptionally knowledgeable. Successful Jeopardy! contestants haven't really proven anything about their intelligence...[Joseph Fagan, chair of psychology at Case Western] has done research focusing on racial differences in test scores, and his experiments found that measures that required certain kinds of academic knowledge, such as vocabulary or complex math, yielded significantly different scores between racial groups. But tests focused on reasoning or processing skills, such as picture and spatial pattern recognition, showed no such differences."
I generally score well on IQ and SAT tests and people call me smart, but I don't think my ability to take tests well is any measure of 'intelligence.' I run my mouth when I shouldn't, run in with cops when they have the power to detain me, and sometimes fail to grasp the rules of simple social situations. What I can do, I think, is aggregate information, discard the useless parts, repeat things other more intelligent people say, and use my fantastic memory to recall information and arguments at will. If we are going to rely on tests as much as we do as a society (just look at No Child Left Behind), we need to make sure the tests are measuring what they're supposed to measure, and that we want to rely on test measures to determine success.

Liked what you read? I am available for hire.