Difference between revisions of "OpenWRT Router Setup"

From LinuxMCE
Jump to: navigation, search
Line 24: Line 24:
 
  Match                    Target          Port  
 
  Match                    Target          Port  
 
  Destination Ports: 60000  192.168.1.103  60000
 
  Destination Ports: 60000  192.168.1.103  60000
 +
 +
{{Alx9rSampleSetupNavbox}}

Revision as of 04:22, 31 May 2008

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

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

dhcp-host=192.168.1.102,orbiterlaptop
dhcp-host=192.168.1.103,dcerouter

To make the IP addresses map to some user-friendlier names, I added the following line to the WRT54GL's hosts file:

192.168.1.102  orbiterlaptop
192.168.1.103	mc mediacenter mce linuxmce dcerouter

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.

Bittorrent Port Forwarding

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

Match                     Target          Port	 
Destination Ports: 60000  192.168.1.103   60000



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