OpenWRT Router Setup

From LinuxMCE
(Redirected from Alx9r's Router Setup)
Jump to: navigation, search
Alx9r's Sample Setup
System Diagram

My internet connection is DSL provided by Telus. That connection is protected by a hardware router/firewall. The "EXTERNAL" network card in the LinuxMCE Core/Hybrid is plugged into that router/firewall. Other media directors will be connected to the "INTERNAL" network.

The system diagram provides a decent overview of the network topology.

I am using a Linksys WRT54GL wireless router v1.1 running OpenWrt/X-WRT.

I ended up making some changes to the router's setup to nicely accomodate the LinuxMCE system. I've described them in the sections below.

User Friendly URLs and Particular IP Addresses

To give the core and laptop orbiter static IP addresses (in this case and 80.1), I added the following line to the WRT54GL's dnsmasq.conf file:


To make the IP addresses map to some user-friendlier names, I added the following line to the WRT54GL's hosts file:  orbiterlaptop	mc mediacenter mce linuxmce dcerouter

In order to access the address, I changed Network=>WAN-LAN=>Netmask to

With these entries, you can enter http://mce into the address bar of a browser and end up at the admin page. No IP address entry necessary.

Note: Some orbiters need the core to be at

Bittorrent Port Forwarding

Under Network->Firewall, I created a port forwarding entry that looks like this:

Match                     Target          Port	 
Destination Ports: 60000   60000


Under Network->QoS, I configured as follows:

  • QoS Service: Enabled
  • QoS Overhead Calculation: Enabled
  • Wan Upload Speed and Wan Download Speed see below

To get numbers for the two speed fields, I stopped all other internet access and ran a speed test here, then filled in the up and down speeds. I noticed that the speeds reported seem to vary quite a bit over the course of a week. I recommend filling in the worst-case speeds which turned out to be 200/1600 upload/download for my connection. If you overstate the speeds web browsing, email, VoiP, etc will get starved by bittorrent downloads.


Alx9r's Sample Setup
Materials Network Gear · Hybrid Core (living room) · AV Gear (living room) · Orbiters · Glue
Preparation Router Setup · Aquos TV Power-on
Hybrid Core pre-LinuxMCE Setup Assembly · BIOS Tweaks · Hardware Testing · NAS Media Drive Setup
Hybrid Core LinuxMCE Installation Bare-metal Install · AV Wizard · Sarah (Setup Wizard) · Special Steps · PVR-150 Remote · Aquos TV · Denon Receiver · Media Drive Setup · Laptop Orbiter · Webpad Orbiter
Hybrid Core Additional Software Bittorrent · Synergy
Toolkit Laptop · telnet/ssh client · Remote Mouse and Keyboard · Partition Tools
Design Rationale Network Topology · NAS