Buffalo WLI-TX4-G54HP

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:08, 8 January 2011 (edit)
Rdblue (Talk | contribs)
(New page: == Basic info == * [http://www.buffalo-technology.com/products/wireless/wireless-g-mimo-performance/wli-tx4-g54hp-wireless-g-mimo-performance-ethernet-converter/ Buffalo product page] * S...)
← Previous diff
Revision as of 17:29, 8 January 2011 (edit) (undo)
Rdblue (Talk | contribs)
(Adding a WAN port)
Next diff →
Line 7: Line 7:
It is possible to change one of the 4 default LAN ports into a WAN port. The typical disclaimers apply; messing with this stuff could brick your unit. It is possible to change one of the 4 default LAN ports into a WAN port. The typical disclaimers apply; messing with this stuff could brick your unit.
 +
 +=== Preliminary ===
 +
 +This procedure was tested using v24-SP2, release 08/07/10 (SVN revision: 14896), with the VPN build.
 +
 +Facts you should know:
 +* <code>eth0</code> is the interface to access all physical network ports
 +* <code>eth1</code> is the wireless network interface
 +* <code>vlan0</code> is the virtual network device that represents LAN ports. It's "real" device is <code>eth0</code>.
 +* <code>vlan1</code> is the virtual network device that represents WAN ports. It's "real" device is ''also'' <code>eth0</code>.
 +
 +=== Procedure ===
 +
 +# Install dd-wrt, turn on the SSH server, and set your public key.
 +# SSH into the router.
 +# Update the boardflags from <code>0x3658</code> to <code>0x3758</code> (add <code>0x0100</code>):
 + root@wli-tx4-g54hp:~# nvram get boardflags
 + 0x3658
 + root@wli-tx4-g54hp:~# nvram set boardflags="0x3758"
 + root@wli-tx4-g54hp:~# nvram commit
 +: Adding <code>0x0100</code> is necessary because the hardware doesn't have a WAN port and the firmware is initially configured without VLAN support. I tried this because the hardware is basically the same as the WHR-HP-G54, which supports VLANs.
 +3. Reboot. After booting, there should now be a "VLAN" tab under "Setup" and there should be two new interfaces in the "Networking" tab: <code>vlan0</code> and <code>vlan1</code>.
 +
 +=== Troubleshooting ===
 +
 +== See also ==
 +
 +* [[Default Internal Device Network]] - Understanding this will save a lot of trouble. It explains the default VLANs and interfaces.
 +* [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=492915&sid=114c7c72668b878e89d85f5474cb7e82 More on boardflags]. The relevant one for this article is:
 + #define BFL_ENETVLAN 0x00000100 /* Board has VLAN capability */

Revision as of 17:29, 8 January 2011

Contents

Basic info

Adding a WAN port

It is possible to change one of the 4 default LAN ports into a WAN port. The typical disclaimers apply; messing with this stuff could brick your unit.

Preliminary

This procedure was tested using v24-SP2, release 08/07/10 (SVN revision: 14896), with the VPN build.

Facts you should know:

  • eth0 is the interface to access all physical network ports
  • eth1 is the wireless network interface
  • vlan0 is the virtual network device that represents LAN ports. It's "real" device is eth0.
  • vlan1 is the virtual network device that represents WAN ports. It's "real" device is also eth0.

Procedure

  1. Install dd-wrt, turn on the SSH server, and set your public key.
  2. SSH into the router.
  3. Update the boardflags from 0x3658 to 0x3758 (add 0x0100):
root@wli-tx4-g54hp:~# nvram get boardflags
0x3658
root@wli-tx4-g54hp:~# nvram set boardflags="0x3758"
root@wli-tx4-g54hp:~# nvram commit
Adding 0x0100 is necessary because the hardware doesn't have a WAN port and the firmware is initially configured without VLAN support. I tried this because the hardware is basically the same as the WHR-HP-G54, which supports VLANs.

3. Reboot. After booting, there should now be a "VLAN" tab under "Setup" and there should be two new interfaces in the "Networking" tab: vlan0 and vlan1.

Troubleshooting

See also

#define BFL_ENETVLAN 0x00000100 /* Board has VLAN capability */